/* ==========================================================================
   Cuppacks Design Studio - app-style 3D cup customizer
   Layout: top bar / [tool rail | properties panel | 3D canvas | inspector] / status bar
   Loaded after style.css: overrides the legacy customizer control styles.
   ========================================================================== */

.studio-section {
  --st-bg: #0B0C0E;
  --st-surface: #131518;
  --st-surface-2: #1A1D21;
  --st-line: rgba(255, 255, 255, 0.07);
  --st-line-strong: rgba(255, 255, 255, 0.13);
  --st-text: #E8EBEF;
  --st-muted: #8B93A0;
  --st-accent: var(--color-gold-primary);
  --st-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  padding: 100px 0 110px;
  background:
    radial-gradient(1200px 500px at 50% 0%, rgba(196, 164, 124, 0.12), transparent 70%),
    #08090A;
  color: var(--st-text);
  position: relative;
  overflow: hidden;
}

.studio-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-intro .section-title { color: #FFFFFF; margin-bottom: 14px; }
.studio-intro .section-lead { color: #A0A7B1; }

.studio-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

/* App window */
.studio-app {
  display: flex;
  flex-direction: column;
  background: var(--st-bg);
  border: 1px solid var(--st-line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(196, 164, 124, 0.08);
}

.studio-app svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.studio-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 14px 0 18px;
  background: linear-gradient(180deg, #17191C, #121417);
  border-bottom: 1px solid var(--st-line);
}

.studio-topbar-left,
.studio-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-topbar-right { justify-content: flex-end; }

.studio-window-dots { display: flex; gap: 7px; margin-right: 8px; }
.studio-window-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3D42; }
.studio-window-dots i:nth-child(1) { background: #FF5F57; }
.studio-window-dots i:nth-child(2) { background: #FEBC2E; }
.studio-window-dots i:nth-child(3) { background: #28C840; }

.studio-app-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #D9BB93, #A88458);
  color: #111215;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-app-mark svg { width: 16px; height: 16px; stroke-width: 2.2; }

.studio-app-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #C9CED6;
  white-space: nowrap;
}

.studio-app-name b { color: #FFFFFF; font-weight: 800; }

.studio-chip {
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(196, 164, 124, 0.4);
  color: var(--st-accent);
  font-family: var(--st-mono);
  font-size: 0.68rem;
  font-weight: 600;
}

.studio-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--st-line);
  font-size: 0.82rem;
  white-space: nowrap;
}

.studio-doc-name { color: #FFFFFF; font-weight: 600; }
.studio-doc-sep { color: #4A4F57; }
.studio-doc-meta { color: var(--st-muted); }

.studio-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid var(--st-line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #D5D9DF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.studio-top-btn svg { width: 15px; height: 15px; }
.studio-top-btn:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }

.studio-top-btn-primary {
  background: var(--st-accent);
  border-color: var(--st-accent);
  color: #111215;
  font-weight: 800;
}

.studio-top-btn-primary:hover { background: #D9BB93; color: #111215; }

/* --------------------------------------------------------------------------
   Body grid
   -------------------------------------------------------------------------- */
.studio-body {
  display: grid;
  grid-template-columns: 76px 300px minmax(0, 1fr) 280px;
  grid-template-areas: "rail panel canvas inspector";
  min-height: 620px;
}

/* Tool rail */
.studio-rail {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  background: var(--st-surface);
  border-right: 1px solid var(--st-line);
}

.studio-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 10px;
  color: var(--st-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.studio-tool svg { width: 20px; height: 20px; }
.studio-tool:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.05); }

.studio-tool.active {
  color: var(--st-accent);
  background: rgba(196, 164, 124, 0.12);
}

.studio-tool.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--st-accent);
}

.studio-tool.done::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27AE60;
}

/* Properties panel */
.studio-panel {
  grid-area: panel;
  background: var(--st-surface);
  border-right: 1px solid var(--st-line);
  padding: 22px 20px;
  overflow-y: auto;
}

.studio-pane { display: none; flex-direction: column; gap: 20px; }
.studio-pane.active { display: flex; animation: paneIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes paneIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

.pane-head h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 4px 0 4px;
}

.pane-head p { font-size: 0.82rem; line-height: 1.55; color: var(--st-muted); }

.pane-step {
  font-family: var(--st-mono);
  font-size: 0.68rem;
  color: var(--st-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pane-field { display: flex; flex-direction: column; gap: 10px; }

.studio-section .picker-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #9AA2AE;
}

.studio-section .picker-label span { font-family: var(--st-mono); color: #FFFFFF; letter-spacing: 0; }

.pane-tip {
  font-size: 0.8rem;
  color: var(--st-muted);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--st-line-strong);
}

.pane-next {
  margin-top: 4px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--st-line-strong);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.pane-next:hover { border-color: var(--st-accent); color: var(--st-accent); }

.pane-next-final {
  background: var(--st-accent);
  border-color: var(--st-accent);
  color: #111215;
}

.pane-next-final:hover { background: #D9BB93; color: #111215; }

/* Size grid */
.studio-section .size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0;
}

.studio-section .size-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--st-surface-2);
  border: 1px solid var(--st-line);
  color: #FFFFFF;
  text-align: left;
}

.studio-section .size-pill-btn b { font-family: var(--font-heading); font-size: 1rem; }
.studio-section .size-pill-btn small { font-family: var(--st-mono); font-size: 0.7rem; color: var(--st-muted); }
.studio-section .size-pill-btn:hover { border-color: var(--st-line-strong); background: #20242A; }

.studio-section .size-pill-btn.active {
  background: rgba(196, 164, 124, 0.12);
  border-color: var(--st-accent);
  box-shadow: inset 0 0 0 1px var(--st-accent);
  color: #FFFFFF;
}

.studio-section .size-pill-btn.active small { color: var(--st-accent); }

/* Colors */
.studio-section .color-dot-choices { display: flex; flex-wrap: wrap; gap: 8px; }

.studio-section .color-dot-btn,
.studio-section .color-custom-input {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px transparent;
}

.studio-section .color-dot-btn:hover,
.studio-section .color-custom-input:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }

.studio-section .color-dot-btn.active {
  transform: none;
  border-color: #111215;
  box-shadow: 0 0 0 2px var(--st-accent);
}

.hex-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #0E1012;
  border: 1px solid var(--st-line);
}

.hex-swatch { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.2); background: #FFFFFF; }
.hex-readout code { font-family: var(--st-mono); font-size: 0.8rem; color: #E8EBEF; }

/* Logo upload */
.studio-section .upload-wrapper { display: flex; flex-direction: column; gap: 8px; }

.studio-section .btn-upload-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 14px;
  border-radius: 12px;
  border: 1.5px dashed rgba(196, 164, 124, 0.45);
  background: rgba(196, 164, 124, 0.05);
  color: #FFFFFF;
}

.studio-section .btn-upload-trigger svg { width: 26px; height: 26px; color: var(--st-accent); }
.studio-section .btn-upload-trigger strong { font-family: var(--font-heading); font-size: 0.92rem; }
.studio-section .btn-upload-trigger small { font-size: 0.75rem; color: var(--st-muted); }

.studio-section .btn-upload-trigger:hover,
.studio-section .btn-upload-trigger.is-over {
  background: rgba(196, 164, 124, 0.12);
  border-color: var(--st-accent);
}

.studio-section #fileNameLabel { font-family: var(--st-mono); font-size: 0.72rem; color: var(--st-muted); }

.studio-section .transform-controls-group {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: #0E1012;
  border: 1px solid var(--st-line);
}

.studio-section .transform-row { margin-bottom: 14px; }
.studio-section .transform-row:last-child { margin-bottom: 0; }

.studio-section .design-range { height: 4px; background: rgba(255, 255, 255, 0.1); accent-color: var(--st-accent); }

.studio-section .design-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--st-accent);
}

/* Text */
.studio-section .text-design-input {
  padding: 12px 14px;
  border-radius: 10px;
  background: #0E1012;
  border: 1px solid var(--st-line-strong);
  font-size: 0.95rem;
}

.studio-section .text-design-input:focus { border-color: var(--st-accent); background: #0E1012; }

/* Lid */
.studio-section .lid-option-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.studio-section .lid-option-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  border-radius: 12px;
  background: var(--st-surface-2);
  border: 1px solid var(--st-line);
  color: #C9CED6;
  font-size: 0.8rem;
  cursor: pointer;
}

.studio-section .lid-option-btn img,
.lid-custom-swatch {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.lid-custom-swatch {
  display: block;
  background: conic-gradient(#E53935, #FDD835, #43A047, #1E88E5, #8E24AA, #E53935);
}

.studio-section .lid-color-custom {
  width: auto;
  height: auto;
  overflow: visible;
}

.studio-section .lid-color-custom input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.studio-section .lid-option-btn:hover { border-color: var(--st-line-strong); color: #FFFFFF; }

.studio-section .lid-option-btn.active {
  background: rgba(196, 164, 124, 0.12);
  border-color: var(--st-accent);
  box-shadow: inset 0 0 0 1px var(--st-accent);
  color: #FFFFFF;
  transform: none;
}

/* Finish */
.studio-section .finish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  background: none;
  border: none;
}

.studio-section .finish-pill-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--st-surface-2);
  border: 1px solid var(--st-line);
  color: #FFFFFF;
}

.studio-section .finish-pill-btn b { font-family: var(--font-heading); font-size: 0.95rem; }
.studio-section .finish-pill-btn small { font-size: 0.75rem; color: var(--st-muted); }

.studio-section .finish-pill-btn.active {
  background: rgba(196, 164, 124, 0.12);
  border-color: var(--st-accent);
  box-shadow: inset 0 0 0 1px var(--st-accent);
}

/* --------------------------------------------------------------------------
   Canvas
   -------------------------------------------------------------------------- */
.studio-canvas {
  grid-area: canvas;
  position: relative;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    #0F1113;
  min-width: 0;
}

.studio-canvas-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  font-family: var(--st-mono);
  font-size: 0.68rem;
  color: #6C737E;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  pointer-events: none;
}

.studio-section .cup3d-stage {
  height: 100%;
  min-height: 620px;
  border-radius: 0;
}

/* Floating viewport toolbar (bottom centre) */
.studio-section .cup3d-toolbar {
  top: auto;
  right: auto;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.85);
  border: 1px solid var(--st-line-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.studio-section .cup3d-tool-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: 1.15rem;
}

.studio-section .cup3d-tool-btn:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.studio-section .cup3d-tool-btn.active { background: var(--st-accent); color: #111215; }

.cup3d-zoom-label {
  min-width: 48px;
  text-align: center;
  font-family: var(--st-mono);
  font-size: 0.75rem;
  color: #D5D9DF;
}

.cup3d-toolbar-sep { width: 1px; height: 20px; background: var(--st-line-strong); margin: 0 4px; }

.studio-section .cup3d-hint { bottom: 16px; color: #626975; font-size: 0.72rem; }

.studio-section .cup3d-stage:fullscreen .cup3d-toolbar,
.studio-section .cup3d-stage.is-fullscreen .cup3d-toolbar {
  top: auto;
  right: auto;
  bottom: 50px;
}

/* Drop overlay */
.studio-drop-overlay {
  position: absolute;
  inset: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--st-accent);
  border-radius: 16px;
  background: rgba(196, 164, 124, 0.1);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.studio-drop-overlay svg { width: 34px; height: 34px; color: var(--st-accent); }
.cup3d-stage.is-drop-target .studio-drop-overlay { opacity: 1; }

/* --------------------------------------------------------------------------
   Inspector
   -------------------------------------------------------------------------- */
.studio-inspector {
  grid-area: inspector;
  display: flex;
  flex-direction: column;
  background: var(--st-surface);
  border-left: 1px solid var(--st-line);
}

.inspector-block {
  padding: 20px 18px;
  border-bottom: 1px solid var(--st-line);
}

.inspector-title {
  display: block;
  font-family: var(--st-mono);
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6C737E;
  margin-bottom: 8px;
}

.studio-section .customizer-heading {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.inspector-summary { list-style: none; display: flex; flex-direction: column; }

.inspector-summary li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--st-line);
}

.inspector-summary li:last-child { border-bottom: none; }
.inspector-summary span { color: var(--st-muted); }

.inspector-summary b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 600;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspector-summary code { font-family: var(--st-mono); font-size: 0.78rem; }
.sum-swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.25); background: #FFFFFF; }

.studio-section .specs-data-table {
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--st-line);
  border: 1px solid var(--st-line);
}

.studio-section .spec-cell { padding: 10px 12px; background: #101215; }
.studio-section .spec-cell-wide { grid-column: 1 / -1; }
.studio-section .spec-label { font-size: 0.65rem; color: #6C737E; }
.studio-section .spec-value { font-size: 0.88rem; }

.inspector-cta {
  margin-top: auto;
  padding: 20px 18px;
}

.inspector-cta p { font-size: 0.8rem; line-height: 1.55; color: var(--st-muted); margin-bottom: 12px; }
.inspector-cta .btn-header-cta { width: 100%; padding: 12px 14px; font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   Status bar
   -------------------------------------------------------------------------- */
.studio-statusbar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 32px;
  padding: 0 16px;
  background: #0E1012;
  border-top: 1px solid var(--st-line);
  font-family: var(--st-mono);
  font-size: 0.68rem;
  color: #6C737E;
  white-space: nowrap;
  overflow: hidden;
}

.status-live { display: inline-flex; align-items: center; gap: 6px; color: #9FD9B5; }
.status-live i { width: 7px; height: 7px; border-radius: 50%; background: #27AE60; animation: pulseGreen 1.8s infinite; }
.status-right { margin-left: auto; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .studio-body {
    grid-template-columns: 76px 290px minmax(0, 1fr);
    grid-template-areas:
      "rail panel canvas"
      "inspector inspector inspector";
  }

  .studio-inspector {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--st-line);
  }

  .studio-inspector .inspector-block {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--st-line);
  }

  .studio-section .specs-data-table { grid-template-columns: repeat(3, 1fr); }
  .studio-section .spec-cell-wide { grid-column: auto; }
  .inspector-cta { margin-top: 0; flex: 0 0 260px; align-self: center; }
}

@media (max-width: 900px) {
  .studio-section { padding: 70px 0 80px; }
  .studio-shell { padding: 0 12px; }

  .studio-topbar { grid-template-columns: 1fr auto; height: 52px; }
  .studio-topbar-center, .studio-window-dots, .studio-chip { display: none; }
  .studio-top-btn span { display: none; }
  .studio-top-btn { padding: 0 10px; }
  .studio-top-btn-primary { padding: 0 12px; }

  .studio-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "canvas"
      "rail"
      "panel"
      "inspector";
    min-height: 0;
  }

  .studio-rail {
    flex-direction: row;
    justify-content: space-between;
    overflow-x: auto;
    padding: 8px;
    border-right: none;
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
  }

  .studio-tool { flex: 1; min-width: 52px; }

  .studio-tool.active::before {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: -8px;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .studio-panel { border-right: none; padding: 20px 16px; }
  .studio-section .cup3d-stage { min-height: 420px; }

  .studio-inspector { flex-direction: column; }
  .studio-inspector .inspector-block { border-right: none; border-bottom: 1px solid var(--st-line); }
  .inspector-cta { flex: none; align-self: stretch; }
  .studio-section .specs-data-table { grid-template-columns: 1fr 1fr; }
  .studio-section .spec-cell-wide { grid-column: 1 / -1; }

  .status-hide-sm { display: none; }
}

@media (max-width: 580px) {
  .studio-section .cup3d-stage { min-height: 360px; height: 360px; }
  .studio-section .cup3d-toolbar { bottom: 34px; }
  .studio-section .cup3d-hint { font-size: 0.66rem; }
  .studio-tool span { font-size: 0.62rem; }
  .studio-app-name { font-size: 0.85rem; }
}

/* --------------------------------------------------------------------------
   Pantone field
   -------------------------------------------------------------------------- */
.pantone-field {
  padding: 14px;
  border-radius: 12px;
  background: rgba(196, 164, 124, 0.06);
  border: 1px solid rgba(196, 164, 124, 0.3);
}

.pantone-input-row {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--st-line-strong);
  background: #0E1012;
}

.pantone-input-row:focus-within { border-color: var(--st-accent); }

.pantone-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--st-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--st-accent);
  border-right: 1px solid var(--st-line);
}

.pantone-input-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 10px;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--st-mono);
  font-size: 0.85rem;
}

.pantone-apply {
  padding: 0 14px;
  background: var(--st-accent);
  color: #111215;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
}

.pantone-apply:hover { background: #D9BB93; }

.pantone-target { display: flex; gap: 6px; }

.pantone-target-btn {
  flex: 1;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--st-line);
  color: var(--st-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.pantone-target-btn.active {
  border-color: var(--st-accent);
  color: #FFFFFF;
  background: rgba(196, 164, 124, 0.12);
}

.pantone-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--st-muted);
}

.pantone-status.is-ok { color: #9FD9B5; }
.pantone-status.is-miss { color: #F0C27B; }
.pantone-status i { flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.25); }

.pane-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5F6670;
}

.pane-divider::before,
.pane-divider::after { content: ''; flex: 1; height: 1px; background: var(--st-line); }
