/* Shared upload visuals; desktop parameter alignment below stays SKU-only. */
.production-workspace .production-upload.sku-basketball-upload {
  --shot-orange: #ff6934;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  height: 230px;
  min-height: 230px;
  padding: 0;
  border: 0 !important;
  border-radius: 14px;
  background: #eff1f5 !important;
  box-shadow: none;
  text-align: center;
  isolation: isolate;
}
.production-upload.sku-basketball-upload .sku-basketball-target {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: calc(100% - 16px);
  height: 145px;
  min-height: 145px;
  margin: 12px 8px 0;
  padding: 16px 4px 0;
  border: 1.5px dashed #c9ced8;
  border-radius: 13px;
  background: #fff;
  color: #26272b;
  cursor: pointer;
  overflow: visible;
  transition: border-color .18s, background-color .18s;
}
.sku-basketball-upload .sku-basketball-target > svg { flex: none; color: #7e8593; margin-bottom: 2px; }
.production-workspace .sku-basketball-upload .sku-basketball-target strong {
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.6;
  font-weight: 600;
  white-space: nowrap;
}
.sku-basketball-upload .sku-basketball-invitation { color: #969caa; font-size: 10px; line-height: 1.6; white-space: nowrap; }
.sku-basketball-upload .sku-basketball-target .sku-basketball-art {
  position: absolute;
  z-index: 1;
  top: 72px;
  left: 50%;
  width: min(150px, 112%);
  max-width: none;
  height: auto;
  transform: translateX(-56%);
  pointer-events: none;
  user-select: none;
}
.production-upload.sku-basketball-upload .image-upload-paste-hint {
  display: none;
}
.production-upload.sku-basketball-upload .image-upload-paste-hint[data-error="true"] {
  display: block;
  position: static;
  width: calc(100% - 16px);
  margin: 70px 8px 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--danger, #d85539);
}
.production-workspace .production-upload.sku-basketball-upload:has(.image-upload-paste-hint[data-error="true"]) {
  height: auto;
}
.sku-basketball-upload .sku-basketball-target:focus-visible { outline: 2px solid var(--shot-orange); outline-offset: 3px; }
.sku-basketball-upload .sku-basketball-target:hover,
.production-upload.sku-basketball-upload.is-drop-target .sku-basketball-target {
  border-color: var(--shot-orange);
  background: #fffaf7;
}
.production-upload.sku-basketball-upload.is-drop-target .sku-basketball-target { border-style: solid; }
.production-upload.sku-basketball-upload[aria-disabled="true"] { opacity: .55; }
.production-upload.sku-basketball-upload .sku-basketball-target:disabled { cursor: not-allowed; }
html[data-theme="dark"] .production-workspace .production-upload.sku-basketball-upload { background: #272b33 !important; }
html[data-theme="dark"] .production-upload.sku-basketball-upload .sku-basketball-target { background: #20232a; border-color: #535a67; color: #eceef3; }
html[data-theme="dark"] .production-upload.sku-basketball-upload.is-drop-target .sku-basketball-target { border-color: #ff865b; background: #332923; }
@media (prefers-reduced-motion: reduce) { .sku-basketball-upload .sku-basketball-target { transition: none; } }

/* One content-height baseline for the desktop SKU parameter columns. */
@media (min-width: 1100px) {
  .production-workspace .sku-horizontal-workbench .sku-parameter-columns {
    --sku-control-height: 230px;
    align-items: stretch !important;
  }
  .sku-horizontal-workbench .sku-image-input-body {
    grid-template-rows: 20px minmax(var(--sku-control-height), auto) auto;
    align-content: start;
  }
  .sku-horizontal-workbench .sku-full-frame-panel {
    grid-row: 1 / span 3;
    grid-template-rows: subgrid;
  }
  .sku-horizontal-workbench .sku-full-frame-heading { height: 20px; line-height: 20px; }
  .sku-horizontal-workbench .sku-full-frame-heading > span { line-height: 16px; }
  .sku-horizontal-workbench .sku-full-frame-panel > :is(.sku-full-frame-upload, .sku-full-frame-preview) {
    grid-row: 2;
    min-height: var(--sku-control-height);
    height: var(--sku-control-height);
    align-content: center;
  }
  .sku-horizontal-workbench .sku-full-frame-upload { padding: 8px 6px; gap: 6px; }
  .sku-horizontal-workbench .sku-full-frame-panel > [data-frame-status] { grid-row: 3; }
  .sku-horizontal-workbench .sku-products .sku-thumbnails {
    min-height: var(--sku-control-height);
    max-height: var(--sku-control-height);
  }
  .sku-horizontal-workbench .sku-parameter-group-heading { height: 20px; }
  .sku-horizontal-workbench .sku-direct-input { margin: 0 !important; }
  .production-workspace .sku-horizontal-workbench .sku-direct-input textarea {
    height: var(--sku-control-height);
    min-height: var(--sku-control-height);
  }
  .sku-horizontal-workbench .sku-direct-footer { margin-top: 4px; }
  .production-workspace .sku-horizontal-workbench .sku-direction-fields {
    height: var(--sku-control-height);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .sku-horizontal-workbench .sku-direction-fields label { min-height: 0; margin: 0 !important; }
  .sku-horizontal-workbench .sku-direction-fields label > span { flex: none; }
  .production-workspace .sku-horizontal-workbench .sku-direction-fields textarea {
    flex: 1;
    height: auto;
    min-height: 0;
  }
  .production-workspace .sku-horizontal-workbench .sku-parameter-mode { align-self: stretch; }
}
@media (min-width: 1251px) {
  .production-workspace .sku-horizontal-workbench .sku-parameter-mode {
    grid-template-rows: 20px var(--sku-control-height);
    gap: 12px;
    align-content: start;
  }
  .sku-horizontal-workbench .sku-parameter-mode > .production-field-heading { height: 20px; margin: 0; }
  .production-workspace .sku-horizontal-workbench .sku-parameter-mode .sku-mode-options {
    height: var(--sku-control-height);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}
