:root {
  /* INDUSTRIAL OBSIDIAN / CHARCOAL / ARCHITECTURAL ORANGE PALETTE */
  --bg-obsidian: #08080a;
  --bg-panel: #101013;
  --bg-card: #151519;
  --bg-elevated: #1d1d23;
  --border-subtle: #27272f;
  --border-strong: #383844;
  --border-gold: rgba(255, 149, 0, 0.62);
  --accent-gold: #ff9500;
  --accent-gold-bright: #ffad33;
  --accent-orange-glow: rgba(255, 149, 0, 0.12);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --emerald: #10b981;
  --amber: #ff9500;
  --crimson: #ef4444;
  --blue: #38bdf8;
  --purple: #c084fc;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: 'Be Vietnam Pro', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

b,
strong {
  font-weight: 700;
  font-family: inherit;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
  font-family: inherit;
  font-synthesis: none;
}

/* ============================================================================
 * TOP STUDIO HEADER (ARCH-PHOTOGRAMMETRY INSPIRED)
 * ============================================================================ */
.studio-topbar {
  min-height: 68px;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 22px;
  position: sticky;
  top: 0;
  z-index: 120;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
}

.sidebar-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.sidebar-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  background: var(--accent-orange-glow);
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-gold);
  color: #09090b;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 149, 0, 0.28);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-sub {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.res-pill-group {
  display: inline-flex;
  background: #0d0d10;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}

.res-pill-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.res-pill-btn:hover {
  color: var(--text-primary);
}

.res-pill-btn.active {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-orange-glow);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-bright);
  padding: 7px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.credit-pill:hover {
  background: rgba(255, 149, 0, 0.22);
  transform: translateY(-1px);
}

/* ============================================================================
 * MAIN STUDIO SHELL & COLLAPSIBLE SIDEBAR
 * ============================================================================ */
.studio-shell {
  display: grid;
  grid-template-columns: 286px 1fr;
  min-height: calc(100vh - 68px);
  transition: grid-template-columns 0.2s ease;
}

.studio-shell.sidebar-collapsed {
  grid-template-columns: 0px 1fr;
}

.studio-shell.sidebar-collapsed .studio-sidebar {
  padding: 0;
  border-right: none;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.studio-sidebar {
  background: var(--bg-panel);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.18s ease;
}

.sidebar-section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* Extending Horizontal Section Header Line (Signature Reference Style) */
.arch-section-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 12px;
}

.arch-section-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.project-item,
.space-item {
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #131317;
  cursor: pointer;
  margin-bottom: 7px;
  transition: all 0.15s ease;
}

.project-item:hover,
.space-item:hover {
  border-color: #3f3f4a;
  background: #18181e;
}

.project-item.active {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
}

.project-item.active > div:first-child {
  color: var(--accent-gold-bright);
}

.space-item.active {
  background: rgba(255, 149, 0, 0.08);
  border-color: rgba(255, 149, 0, 0.5);
}

.studio-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-obsidian);
}

/* ============================================================================
 * 6-STAGE PIPELINE STEPPER (CLEAN HIGH-CONTRAST BLOCKS)
 * ============================================================================ */
.stage-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 14px 24px;
  background: #0c0c0f;
  border-bottom: 1px solid var(--border-subtle);
}

.stage-tab {
  background: #121216;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  cursor: pointer;
  text-align: left;
  color: var(--text-secondary);
  transition: all 0.16s ease;
  position: relative;
}

.stage-tab:hover {
  border-color: #42424f;
  color: #ffffff;
}

.stage-tab.active {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.18);
}

.stage-tab .step-num {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.stage-tab.active .step-num {
  color: var(--accent-gold-bright);
}

.stage-tab .step-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workspace-canvas {
  padding: 22px 26px 72px;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================================================
 * CARDS, SEGMENTED SWITCHES, BUTTONS & INPUTS
 * ============================================================================ */
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 18px;
}

.panel-card.gold-border {
  border-color: var(--border-gold);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.panel-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.panel-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.segmented-switch {
  display: flex;
  background: #0d0d10;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 4px;
  gap: 4px;
}

.seg-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.16s ease;
}

.seg-btn:hover:not(:disabled) {
  color: var(--text-primary);
}

.seg-btn.active {
  background: #1d1d24;
  border-color: rgba(255, 149, 0, 0.45);
  color: var(--accent-gold-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-subtle);
  background: #18181e;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover:not(:disabled) {
  background: #22222b;
  border-color: #464655;
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--accent-gold);
  color: #09090b;
  border-color: var(--accent-gold);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.22);
}

.btn-gold:hover:not(:disabled) {
  background: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  color: #09090b;
  transform: translateY(-1px);
}

.btn-orange-outline {
  background: var(--accent-orange-glow);
  color: var(--accent-gold-bright);
  border: 1px solid var(--accent-gold);
  font-weight: 800;
}

.btn-orange-outline:hover:not(:disabled) {
  background: rgba(255, 149, 0, 0.22);
  border-color: var(--accent-gold-bright);
  color: #ffffff;
}

.btn-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
}

.btn-emerald:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.24);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 8px;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
select,
textarea {
  width: 100%;
  background: #0d0d10;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 13px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(255, 149, 0, 0.14);
}

/* ============================================================================
 * DROPZONE & 7-ROLE ASSET CARDS
 * ============================================================================ */
.dropzone-box {
  border: 1.5px dashed rgba(255, 149, 0, 0.48);
  background: #101014;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.dropzone-box:hover {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
}

.dropzone-box > *:not(input) {
  pointer-events: none;
}

.dropzone-box.is-dragover,
.is-dragover-sync {
  background: rgba(255, 149, 0, 0.2) !important;
  border-color: var(--accent-gold-bright) !important;
  box-shadow: 0 0 24px rgba(255, 149, 0, 0.3);
  transform: scale(1.008);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.asset-card {
  background: #111115;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.asset-thumb-wrap {
  height: 175px;
  background: #060608;
  position: relative;
  overflow: hidden;
}

.asset-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-ledger-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  background: rgba(9, 9, 11, 0.9);
  color: var(--accent-gold-bright);
  padding: 4px 9px;
  border-radius: 6px;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-gold);
}

.asset-ratio-badge {
  position: absolute;
  bottom: 9px;
  right: 9px;
  background: rgba(9, 9, 11, 0.9);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
}

.asset-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* ============================================================================
 * BADGES & PILLS
 * ============================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-gold {
  background: var(--accent-gold);
  color: #09090b;
  font-weight: 800;
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.38);
}
.badge-amber {
  background: var(--accent-orange-glow);
  color: var(--accent-gold-bright);
  border: 1px solid var(--border-gold);
}
.badge-crimson {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.badge-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.32);
}
.badge-purple {
  background: rgba(255, 149, 0, 0.12);
  color: var(--accent-gold-bright);
  border: 1px solid rgba(255, 149, 0, 0.36);
}

/* ============================================================================
 * STAGE 2 BEFORE / AFTER SPLIT SLIDER
 * ============================================================================ */
.compare-slider-wrap {
  --split: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050507;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  user-select: none;
}

.compare-slider-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.compare-overlay-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  pointer-events: none;
  z-index: 2;
}

.compare-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2.5px;
  background: var(--accent-gold);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-gold);
  color: #09090b;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
  border: 2px solid #09090b;
}

.compare-range-input,
input[type='range'].compare-range-input,
input[type='range'].ba-range-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0 !important;
  cursor: ew-resize;
  z-index: 6;
}

.landing-ba-card .compare-slider-wrap img {
  object-fit: cover;
}

.compare-label {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  z-index: 5;
  pointer-events: none;
}

/* ============================================================================
 * STAGE 3 CINEMA HERO SHOT VIEWPORT (IMAGE-FIRST NEAR-FULLSCREEN SHOWCASE)
 * ============================================================================ */
.shot-cinema-card {
  background: #111115;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 22px;
  transition: border-color 0.2s ease;
}

.shot-cinema-card.is-latest {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.cinema-shot-viewport {
  position: relative;
  width: 100%;
  background: #040406;
  border: 1px solid #26262e;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.cinema-shot-viewport.has-image {
  cursor: zoom-in;
  border-color: rgba(255, 149, 0, 0.42);
}

.cinema-shot-viewport img.cinema-hero-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.cinema-Floating-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 5;
  gap: 10px;
}

.cinema-Floating-badges > * {
  pointer-events: auto;
}

.cinema-loupe-btn {
  background: rgba(9, 9, 11, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 149, 0, 0.55);
  color: var(--accent-gold-bright);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cinema-loupe-btn:hover {
  background: var(--accent-gold);
  color: #09090b;
}

.director-action-dock {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upscale-export-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 15px;
  background: #16161b;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
}

.variation-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 9px;
  background: #141419;
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.variation-pill-btn:hover {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  transform: translateY(-1px);
}

.variation-pill-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #52525b;
}

.variation-pill-btn:hover .dot {
  background: var(--accent-gold);
}

/* ============================================================================
 * CHOICE CARDS (ARCH-PHOTOGRAMMETRY PILL GRID STYLE)
 * ============================================================================ */
.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.choice-card {
  background: #111115;
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 13px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.choice-card:hover {
  border-color: #454552;
  background: #17171d;
}

.choice-card.selected {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.2);
}

/* PROMPT INTEGRITY & VERBATIM AUDIT BAR */
.prompt-audit-box {
  background: #0c0c0f;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 12px;
}

.prompt-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.prompt-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.prompt-check-pill.ok {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.prompt-check-pill.warn {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.42);
}

/* ============================================================================
 * CENTERED FLOATING TASK EXECUTION POP-UP MODAL
 * ============================================================================ */
.task-exec-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.task-exec-backdrop.open {
  display: flex;
  animation: taskModalIn 0.16s ease-out;
}

@keyframes taskModalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.task-exec-card {
  width: 100%;
  max-width: 540px;
  background: #121216;
  border: 1.5px solid var(--accent-gold);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 0 0 42px rgba(255, 149, 0, 0.16);
}

.task-exec-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.task-spinner-ring {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 999px;
  border: 3.5px solid rgba(255, 149, 0, 0.18);
  border-top-color: var(--accent-gold);
  border-right-color: var(--accent-gold-bright);
  animation: taskSpin 0.85s linear infinite;
}

@keyframes taskSpin {
  to {
    transform: rotate(360deg);
  }
}

.task-exec-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.task-live-dot {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
}

.task-elapsed-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--accent-orange-glow);
  border: 1px solid rgba(255, 149, 0, 0.4);
  color: #ffffff;
}

.task-exec-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.42;
}

.task-progress-track {
  margin-top: 18px;
  height: 6px;
  width: 100%;
  background: #202028;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.task-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(90deg, #ff7b00, #ffad33, #ff7b00);
  border-radius: 99px;
  animation: taskIndeterminate 1.35s ease-in-out infinite;
}

@keyframes taskIndeterminate {
  0% {
    left: -42%;
  }
  100% {
    left: 100%;
  }
}

.task-exec-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ============================================================================
 * FULLSCREEN CINEMA LIGHTBOX MODAL
 * ============================================================================ */
.cinema-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
}

.cinema-lightbox-backdrop.open {
  display: flex;
}

.cinema-lightbox-bar {
  padding: 14px 24px;
  border-bottom: 1px solid #24242c;
  background: rgba(12, 12, 15, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cinema-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: auto;
}

.cinema-lightbox-stage img {
  max-width: 96vw;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
}

/* ============================================================================
 * MODALS, WALLET & TOAST
 * ============================================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.84);
  backdrop-filter: blur(8px);
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.pkg-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.pkg-card.popular {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.12), #101014);
}

pre.code-viewer {
  background: #08080a;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 12.5px;
  color: #e4e4e7;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow-y: auto;
}

.toast-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #141418;
  border: 1.5px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 12px;
  z-index: 9600;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.8);
  display: none;
  max-width: 460px;
}

/* EDITORIAL LOOKBOOK PRINT LAYOUT */
.lookbook-sheet {
  background: #faf8f5;
  color: #18181b;
  border-radius: 12px;
  padding: 40px;
}

.lookbook-sheet h1 {
  font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

/* ============================================================================
 * STAGE 3 FULL STORY / FULL IMAGES & ADD (X) SHOTS AUTOMATION DOCK
 * ============================================================================ */
.batch-director-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 17px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.09), #0e0e12);
  border: 1px solid rgba(255, 149, 0, 0.45);
  border-radius: 13px;
}

.batch-director-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.add-x-shot-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 11px;
  background: #121217;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
}

.add-x-shot-group input[type='number'] {
  width: 64px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--accent-gold-bright);
  background: #09090c;
  border-color: rgba(255, 149, 0, 0.4);
}

@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .studio-topbar,
  .studio-sidebar,
  .stage-stepper,
  .no-print,
  .task-exec-backdrop,
  .cinema-lightbox-backdrop {
    display: none !important;
  }
  .studio-shell {
    display: block !important;
  }
  .workspace-canvas {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .lookbook-sheet {
    padding: 0 !important;
    border: none !important;
  }
  .lookbook-shot-page {
    page-break-inside: avoid;
    margin-bottom: 28px;
  }
}

/* ============================================================================
 * SMART INTERACTIVE INTERVIEW WIZARD (ONE-BY-ONE CARD DECK — OBSIDIAN/ORANGE)
 * ============================================================================ */
.interview-wizard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-round-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 15px;
  background: #101014;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.wizard-round-bar.critical-bias {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.45);
}

.wizard-stepper-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.wizard-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: #121216;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
}

.wizard-step-pill:hover {
  border-color: #464655;
  color: var(--text-primary);
}

.wizard-step-pill.active {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
}

.wizard-step-pill.answered:not(.active) {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.38);
  color: #34d399;
}

.question-focus-card {
  background: #111115;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: wizardFadeIn 0.18s ease-out;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.obj-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--accent-orange-glow);
  border: 1px solid rgba(255, 149, 0, 0.4);
  color: var(--accent-gold-bright);
}

.question-context-note {
  font-size: 13px;
  color: var(--text-secondary);
  background: #16161b;
  border-left: 3px solid var(--accent-gold);
  padding: 9px 13px;
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
}

.ai-bias-callout {
  font-size: 13px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.11);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.question-prompt-heading {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.44;
}

.option-tiles-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.option-tile {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: 10px;
  background: #15151a;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.option-tile:hover {
  background: rgba(255, 149, 0, 0.07);
  border-color: rgba(255, 149, 0, 0.48);
  transform: translateX(2px);
}

.option-tile.selected {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.25);
}

.option-key-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  background: #1f1f26;
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold-bright);
  margin-top: 1px;
}

.option-tile.selected .option-key-badge {
  background: var(--accent-gold);
  color: #09090b;
  border-color: transparent;
}

.option-body {
  flex: 1;
  min-width: 0;
}

.option-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.option-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.42;
}

.mode-picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 11px;
  background: #131317;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
}

.mode-card:hover:not(.disabled) {
  border-color: var(--accent-gold);
  background: var(--accent-orange-glow);
  transform: translateY(-1px);
}

.mode-card.recommended {
  border-color: var(--border-gold);
  background: linear-gradient(90deg, rgba(255, 149, 0, 0.12), #121216);
}

.mode-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
}

/* ============================================================================
 * STAGE 3 VISUAL GEOMETRY ANCHOR THUMBNAIL STRIP & SMART SYNC BANNER
 * ============================================================================ */
.anchor-visual-bar {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0d0d11;
  border: 1px solid #23232b;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anchor-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.anchor-visual-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  align-items: stretch;
}

.anchor-thumb-card {
  position: relative;
  width: 158px;
  min-width: 158px;
  border-radius: 10px;
  overflow: hidden;
  background: #141419;
  border: 2px solid #272730;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
}

.anchor-thumb-card:hover {
  border-color: rgba(255, 149, 0, 0.65);
  transform: translateY(-2px);
}

.anchor-thumb-card.active {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(255, 149, 0, 0.45), 0 8px 22px rgba(255, 149, 0, 0.2);
  background: rgba(255, 149, 0, 0.09);
}

.anchor-thumb-card.compact {
  width: 132px;
  min-width: 132px;
}

.anchor-thumb-media {
  position: relative;
  width: 100%;
  height: 88px;
  background: #08080a;
  overflow: hidden;
}

.anchor-thumb-card.compact .anchor-thumb-media {
  height: 68px;
}

.anchor-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

.anchor-thumb-card:hover .anchor-thumb-media img {
  transform: scale(1.04);
}

.anchor-role-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(8, 8, 10, 0.86);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.anchor-thumb-card.active .anchor-role-tag {
  background: var(--accent-gold);
  color: #09090b;
  border-color: transparent;
}

.anchor-zoom-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.84);
  color: #ffffff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.14s ease;
}

.anchor-zoom-btn:hover {
  background: var(--accent-gold);
  color: #09090b;
  border-color: transparent;
}

.anchor-source-pill {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 1.5px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.anchor-source-pill.is-5500k {
  background: rgba(16, 185, 129, 0.9);
  color: #042f2e;
}

.anchor-source-pill.is-raw {
  background: rgba(245, 158, 11, 0.9);
  color: #1c1917;
}

.anchor-active-check {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 1.5px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(9, 9, 11, 0.9);
  color: var(--accent-gold-bright);
  border: 1px solid rgba(255, 149, 0, 0.55);
}

.anchor-thumb-meta {
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anchor-thumb-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #f4f4f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anchor-thumb-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anchor-auto-card {
  width: 136px;
  min-width: 136px;
  border-radius: 10px;
  border: 2px dashed #32323e;
  background: #121217;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  transition: all 0.16s ease;
}

.anchor-auto-card:hover {
  border-color: rgba(255, 149, 0, 0.6);
  color: #ffffff;
}

.anchor-auto-card.active {
  border-style: solid;
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.1);
  color: #ffffff;
}

.anchor-mismatch-banner {
  margin-bottom: 14px;
  padding: 13px 16px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(255, 149, 0, 0.16), rgba(20, 20, 25, 0.96));
  border: 1px solid var(--accent-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.beat-mini-thumb {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .stage-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
  .studio-shell {
    grid-template-columns: 240px 1fr;
  }
}

/* ============================================================================
 * v3.18 VISUAL-FIRST MINIMALIST STUDIO EDITION (ZERO-TEXT-CLUTTER GALLERY UX)
 * ============================================================================ */
.stage-stepper.minimal-4-steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 11px 24px;
}

.stage-stepper.minimal-5-steps {
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  padding: 11px 22px;
}

.ui-mode-switch {
  display: inline-flex;
  background: #0d0d10;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
}

.ui-mode-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ui-mode-btn:hover {
  color: var(--text-primary);
}

.ui-mode-btn.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.ui-mode-btn.expert.active {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
}

/* Visual Mood Swatch Cards for Stage 3 Setup */
.mood-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.mood-swatch-card {
  background: #131318;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
}

.mood-swatch-card:hover {
  border-color: rgba(255, 149, 0, 0.6);
  transform: translateY(-2px);
}

.mood-swatch-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.09);
  box-shadow: 0 6px 22px rgba(255, 149, 0, 0.18);
}

.mood-swatch-bar {
  height: 36px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.mood-swatch-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Stage 3 Minimalist Contact-Sheet / 2-Column Photo Grid */
.visual-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

@media (max-width: 1180px) {
  .visual-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.visual-shot-card {
  background: #111116;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.visual-shot-card:hover {
  border-color: #3f3f4c;
}

.visual-shot-card.is-latest {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.visual-shot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #050507;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-gallery-cinema .visual-shot-stage {
  aspect-ratio: auto;
  min-height: 400px;
}

.visual-shot-stage.has-img {
  cursor: zoom-in;
}

.visual-shot-stage img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.visual-gallery-cinema .visual-shot-stage img.hero-photo {
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.visual-shot-stage.has-img:hover img.hero-photo {
  transform: scale(1.012);
}

.visual-shot-overlay-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}

.visual-shot-overlay-top > * {
  pointer-events: auto;
}

.visual-shot-pill {
  background: rgba(9, 9, 12, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visual-shot-footer {
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #121217;
}

.quick-chip-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.quick-mood-chip {
  padding: 5px 9px;
  border-radius: 7px;
  background: #191921;
  border: 1px solid #2b2b36;
  color: #d4d4d8;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
  white-space: nowrap;
}

.quick-mood-chip:hover {
  background: var(--accent-orange-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
}

.mini-anchor-strip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0b0b0f;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid #252530;
}

.mini-anchor-dot {
  width: 34px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid #32323e;
  cursor: pointer;
  opacity: 0.65;
  padding: 0;
  background: #000;
  transition: all 0.14s ease;
}

.mini-anchor-dot:hover {
  opacity: 1;
}

.mini-anchor-dot.active {
  border-color: var(--accent-gold);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 149, 0, 0.5);
}

.mini-anchor-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clean-command-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 15px;
  background: #101015;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  margin-bottom: 16px;
}

/* ============================================================================
 * v3.19 UNIFIED UPGRADE: BRIEF CHIPS, GOOGLE MAPS, CURATED EXPORT & RESPONSIVE
 * ============================================================================ */

.sidebar-mobile-backdrop {
  display: none;
}

.brief-context-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  margin-top: 15px;
}

.brief-card-box {
  background: #101015;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.brief-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.brief-chip-btn {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  background: #181820;
  border: 1px solid #2d2d39;
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.14s ease;
}

.brief-chip-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  background: var(--accent-orange-glow);
}

.leaflet-map-box {
  width: 100%;
  height: 390px;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  background: #0a0d12;
  overflow: hidden;
  z-index: 2;
}

.geo-resolved-preview {
  background: #0e1117;
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.5;
}

/* Minimalist Step 2 Material Summary Cards (Zero 63-Table Wall) */
.material-lock-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.material-pill-card {
  background: #121218;
  border: 1px solid #292935;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Shot Export Star Pinning Badge */
.shot-export-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(9, 9, 12, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e4e4e7;
  cursor: pointer;
  transition: all 0.15s ease;
}

.shot-export-pin-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
}

.shot-export-pin-btn.selected {
  background: rgba(16, 185, 129, 0.92);
  border-color: #34d399;
  color: #042f2e;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

/* Step 5 / Screen 6 Smart Multi-Collection Curated Export Dock */
.curated-export-dock {
  background: #101015;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.export-scope-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.curated-tray-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 4px 6px 6px 0;
}

.curated-group-block,
.curated-group-box {
  background: #0d0f15;
  border: 1px solid #252836;
  border-radius: 12px;
  padding: 12px 14px;
}

.curated-thumb-strip,
.curated-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.curated-thumb-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #2b2f40;
  background: #131620;
  cursor: pointer;
  opacity: 0.82;
  display: flex;
  flex-direction: column;
  transition: all 0.16s ease;
}

.curated-thumb-card:hover {
  opacity: 1;
  border-color: rgba(255, 149, 0, 0.72);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.curated-thumb-card.included,
.curated-thumb-card.selected {
  opacity: 1;
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.5), 0 8px 22px rgba(16, 185, 129, 0.16);
}

.curated-thumb-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #07080c;
  overflow: hidden;
}

.curated-thumb-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

.curated-thumb-card:hover img {
  transform: scale(1.03);
}

.curated-thumb-check,
.curated-thumb-card .thumb-check {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(9, 10, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e4e4e7;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.curated-thumb-card.included .curated-thumb-check,
.curated-thumb-card.selected .thumb-check {
  background: var(--emerald);
  border-color: transparent;
  color: #022c22;
}

.curated-thumb-card .thumb-num {
  position: absolute;
  bottom: 7px;
  left: 7px;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(9, 10, 15, 0.88);
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 3;
}

.curated-thumb-res,
.curated-thumb-card .thumb-res-tag {
  position: absolute;
  bottom: 7px;
  right: 7px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(9, 10, 15, 0.88);
  border: 1px solid rgba(255, 149, 0, 0.45);
  color: var(--accent-gold-bright);
  z-index: 3;
}

.curated-zoom-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 10, 15, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
  transition: all 0.14s ease;
}

.curated-zoom-btn:hover {
  background: var(--accent-gold);
  color: #09090b;
  border-color: transparent;
}

.curated-thumb-meta {
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #e4e4e7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lookbook-editable-field {
  border-radius: 4px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.lookbook-editable-field:hover {
  background: rgba(255, 149, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 149, 0, 0.35);
}

.lookbook-editable-field:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--accent-gold);
  padding: 2px 5px;
}

/* ============================================================================
 * FULL MULTI-DEVICE RESPONSIVE DESIGN (TABLETS, IPAD PORTRAIT & SMARTPHONES)
 * ============================================================================ */

@media (max-width: 1024px) {
  .studio-topbar {
    padding: 8px 14px;
    gap: 8px;
  }

  .brand-sub {
    display: none;
  }

  .studio-shell,
  .studio-shell.sidebar-collapsed {
    grid-template-columns: 1fr !important;
  }

  .studio-sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: 292px;
    max-width: 84vw;
    z-index: 160;
    overflow-y: auto;
    transform: translateX(-104%);
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 18px 14px !important;
    border-right: 1px solid var(--border-gold) !important;
    box-shadow: 16px 0 42px rgba(0, 0, 0, 0.85);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .studio-shell.mobile-sidebar-open .studio-sidebar {
    transform: translateX(0);
  }

  .studio-shell.mobile-sidebar-open .sidebar-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(5, 5, 8, 0.72);
    backdrop-filter: blur(4px);
    z-index: 150;
  }

  .stage-stepper,
  .stage-stepper.minimal-4-steps,
  .stage-stepper.minimal-5-steps {
    display: flex !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 14px;
    scrollbar-width: thin;
  }

  .stage-tab {
    flex: 0 0 auto;
    min-width: 168px;
  }

  .brief-context-grid {
    grid-template-columns: 1fr;
  }

  .workspace-canvas {
    padding: 16px 14px;
  }
}

@media (max-width: 680px) {
  .studio-topbar {
    flex-wrap: wrap;
    min-height: auto;
    padding: 8px 10px;
  }

  .brand-title {
    font-size: 14.5px;
    letter-spacing: 0.06em;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
  }

  .topbar-controls {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .topbar-controls select {
    flex: 1 1 140px;
    min-width: 120px;
    width: auto !important;
  }

  .res-pill-btn {
    padding: 5px 8px;
    font-size: 11px;
  }

  .credit-pill {
    padding: 6px 10px;
    font-size: 12.5px;
  }

  .panel-card {
    padding: 14px 12px;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .modal-dialog {
    padding: 16px 14px;
    max-height: 93vh;
  }

  .leaflet-map-box {
    height: 290px;
  }

  .compare-handle-knob {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .lookbook-sheet {
    padding: 20px 15px;
  }

  .lookbook-sheet h1 {
    font-size: 22px;
  }

  .lookbook-caption-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .wallet-qr-split-grid,
  .admin-two-col-grid,
  .stage0-two-col-grid,
  .stage2-two-col-grid,
  .stage3-prompt-split-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   v3.19.1 — 3x3 PROJECT-MATCHED SYNERGY MATRIX (DNA x LIGHTING/AESTHETIC)
   ========================================================================== */

.synergy-matrix-container {
  background: linear-gradient(180deg, rgba(20, 21, 28, 0.96) 0%, rgba(12, 13, 18, 0.98) 100%);
  border: 1px solid rgba(255, 149, 0, 0.28);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.synergy-matrix-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.synergy-matrix-board {
  display: grid;
  grid-template-columns: 192px repeat(3, minmax(215px, 1fr));
  gap: 9px;
  min-width: 840px;
  align-items: stretch;
}

.synergy-matrix-corner {
  background: #0d0e13;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.synergy-col-head {
  background: #13141b;
  border: 1px solid #272833;
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
}

.synergy-col-head:hover {
  border-color: rgba(255, 149, 0, 0.55);
}

.synergy-col-head.active-axis {
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.08);
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.12);
}

.synergy-col-body {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.synergy-row-head {
  background: #13141b;
  border: 1px solid #272833;
  border-radius: 11px;
  padding: 11px 12px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.synergy-row-head:hover {
  border-color: rgba(255, 149, 0, 0.55);
}

.synergy-row-head.active-axis {
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.08);
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.12);
}

.synergy-cell {
  position: relative;
  background: #15161f;
  border: 1.5px solid #282936;
  border-radius: 11px;
  padding: 10px 12px 11px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
}

.synergy-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cell-swatch, linear-gradient(90deg, #f59e0b, #fbbf24));
  opacity: 0.72;
}

.synergy-cell:hover {
  border-color: rgba(255, 149, 0, 0.7);
  transform: translateY(-2px);
  background: #1a1c27;
}

.synergy-cell.rank-1 {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.07) 0%, #15161f 100%);
}

.synergy-cell.selected {
  border-color: var(--accent-gold) !important;
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.16) 0%, rgba(255, 149, 0, 0.05) 100%) !important;
  box-shadow: 0 0 0 1px rgba(255, 149, 0, 0.5), 0 10px 24px rgba(255, 149, 0, 0.18);
}

.synergy-cell.selected::before {
  height: 4px;
  opacity: 1;
}

.synergy-cell-vibe {
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.synergy-cell.selected .synergy-cell-vibe {
  color: #f4f4f5;
}

.synergy-selected-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(255, 149, 0, 0.09);
  border: 1px solid rgba(255, 149, 0, 0.35);
  font-size: 12.5px;
}

/* ============================================================================
 * QUIET LUXURY & LIFESTYLE CHOREOGRAPHY DIRECTOR (V5.LUX TRUMP CARD v3.19.2)
 * ============================================================================ */

.lifestyle-director-box {
  background: linear-gradient(180deg, #111218 0%, #0d0e13 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lifestyle-director-box.is-lux-trump {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.09) 0%, #101117 100%);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.lifestyle-axis-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lifestyle-axis-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #e4e4e7;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lifestyle-pills-wrap {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.lifestyle-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  background: #171821;
  border: 1px solid #2b2d3c;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.lifestyle-pill-btn:hover {
  border-color: rgba(255, 149, 0, 0.65);
  background: #1e202c;
  transform: translateY(-1px);
}

.lifestyle-pill-btn.active {
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.2) 0%, rgba(255, 149, 0, 0.08) 100%);
  border-color: var(--accent-gold);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 149, 0, 0.35);
}

.quick-mood-chip.lux-chip {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.09);
  color: #fde68a;
}

.quick-mood-chip.lux-chip:hover {
  border-color: var(--accent-gold-bright);
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
}

.variation-pill-btn.lux-pill {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
}

.variation-pill-btn.lux-pill:hover {
  border-color: var(--accent-gold-bright);
  background: rgba(212, 175, 55, 0.18);
}

/* ============================================================================
 * v3.20.0 — 11-GEM DOMAIN INTELLIGENCE, SMART LOCKS BAR & DIAGNOSTIC CHIPS
 * ============================================================================ */

.smart-locks-strip {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: linear-gradient(180deg, #111218 0%, #0c0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.smart-lock-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.smart-lock-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: 2px;
}

.smart-lock-pill {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  background: #171822;
  border: 1px solid #2a2c3b;
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.14s ease;
  white-space: nowrap;
}

.smart-lock-pill:hover {
  border-color: rgba(255, 149, 0, 0.6);
  color: #fff;
}

.smart-lock-pill.active {
  background: rgba(255, 149, 0, 0.18);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  font-weight: 700;
}

.smart-lock-pill.lux-toggle.active {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-color: #fbbf24;
  color: #fef3c7;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.lifestyle-director-box.is-sacred-domain {
  background: linear-gradient(180deg, rgba(180, 83, 9, 0.11) 0%, #0f1015 100%);
  border-color: rgba(217, 119, 6, 0.42);
}

.lifestyle-atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

@media (max-width: 900px) {
  .lifestyle-atmosphere-grid {
    grid-template-columns: 1fr;
  }
}

.diag-fix-chips-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.diag-fix-chip {
  padding: 3.5px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fde68a;
  cursor: pointer;
  transition: all 0.14s ease;
}

.diag-fix-chip:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
  color: #fff;
}

/* ==========================================================================
   v3.21.0: STAGE-CONTEXTUAL AI MODEL BARS, MULTI-MODEL BASELINE TABS & 2K/4K GATE
   ========================================================================== */

.stage-model-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(24, 24, 34, 0.96) 0%, #0d0e14 100%);
  border: 1px solid rgba(255, 149, 0, 0.28);
  border-radius: 11px;
}

.stage-model-bar.is-gemini {
  border-color: rgba(56, 189, 248, 0.32);
  background: linear-gradient(180deg, rgba(14, 28, 42, 0.72) 0%, #0d0f15 100%);
}

.stage-model-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.stage-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #141620;
  border: 1px solid #2b2e3d;
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stage-model-pill:hover:not(:disabled) {
  border-color: var(--accent-gold);
  color: #fff;
}

.stage-model-pill.active {
  background: rgba(255, 149, 0, 0.18);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  box-shadow: 0 0 12px rgba(255, 149, 0, 0.14);
}

.stage-model-pill.active-gemini {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #7dd3fc;
}

.stage-model-pill:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.baseline-model-tabs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 12px;
  background: #0c0d13;
  border-bottom: 1px solid var(--border-subtle);
}

.baseline-model-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.baseline-model-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #151722;
  border: 1.5px solid #2a2d3d;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.baseline-model-tab:hover {
  border-color: rgba(255, 149, 0, 0.55);
  color: #fff;
}

.baseline-model-tab.active {
  background: rgba(255, 149, 0, 0.16);
  border-color: var(--accent-gold);
  color: #fff;
}

.baseline-model-tab.confirmed-v5 {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.baseline-confirm-gate-box {
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.13) 0%, rgba(15, 17, 24, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.baseline-confirm-gate-box.is-confirmed {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0%, rgba(15, 17, 24, 0.95) 100%);
  border-color: rgba(16, 185, 129, 0.48);
}

.collection-engine-select {
  width: auto !important;
  min-width: 195px;
  padding: 5px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background: #141620 !important;
  border: 1px solid rgba(255, 149, 0, 0.4) !important;
  color: var(--accent-gold-bright) !important;
}

.upsell-upgrade-banner {
  padding: 12px 15px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 17, 24, 0.96) 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================================
 * v3.22 PROJECT CATALOG MANAGER (SEARCH, SORT, PIN, RENAME & BULK DELETE)
 * ============================================================================ */
.catalog-sidebar-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 9px;
}

.catalog-sidebar-controls input,
.catalog-sidebar-controls select {
  font-size: 11.8px !important;
  padding: 6px 9px !important;
  border-radius: 7px !important;
  background: #101218 !important;
  border: 1px solid #262936 !important;
}

.project-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.project-item-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-mini-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  background: #181a24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.project-item-actions {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  opacity: 0.55;
  transition: opacity 0.14s ease;
}

.project-item:hover .project-item-actions,
.project-item.active .project-item-actions,
.space-item:hover .project-item-actions,
.space-item.active .project-item-actions {
  opacity: 1;
}

.proj-icon-btn {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  width: 23px;
  height: 23px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.14s ease;
}

.proj-icon-btn:hover {
  background: rgba(255, 149, 0, 0.18);
  border-color: rgba(255, 149, 0, 0.45);
  color: #fff;
}

.proj-icon-btn.danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fca5a5;
}

.proj-icon-btn.pinned {
  color: var(--accent-gold-bright);
  background: rgba(255, 149, 0, 0.15);
  border-color: rgba(255, 149, 0, 0.35);
}

.mini-help-pill {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mini-help-pill:hover {
  background: rgba(56, 189, 248, 0.28);
  color: #fff;
}

.catalog-manager-row {
  display: grid;
  grid-template-columns: 28px 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #11131a;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.14s ease;
}

.catalog-manager-row:hover {
  border-color: rgba(255, 149, 0, 0.4);
}

.catalog-manager-row.is-checked {
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.08);
}

/* ============================================================================
 * v3.22.1 STAGE 3 BASELINE QUALIFICATION PICKER CARDS (2K/4K READY VS 1K WARN)
 * ============================================================================ */
.s3-baseline-picker-box {
  padding: 13px 15px;
  border-radius: 12px;
  background: #0e1017;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s3-baseline-cards-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.s3-baseline-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #141722;
  border: 1.5px solid #282c3d;
  cursor: pointer;
  min-width: 225px;
  max-width: 310px;
  transition: all 0.16s ease;
}

.s3-baseline-card:hover {
  border-color: rgba(255, 149, 0, 0.6);
  transform: translateY(-1px);
}

.s3-baseline-card.is-active-v5 {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.11);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.16);
}

.s3-baseline-card.is-unqualified-1k {
  border-style: dashed;
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(24, 24, 32, 0.72);
}

.s3-baseline-card.is-unqualified-1k img {
  opacity: 0.72;
}

.s3-baseline-thumb {
  width: 56px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

/* ============================================================================
 * v3.23.3 ZERO-SCROLL CINEMA HERO SHOWCASE & COMPACT STUDIO AUTH DOCK
 * ============================================================================ */
.auth-landing-wrap {
  width: 100%;
  max-width: 1760px;
  height: calc(100vh - 68px);
  min-height: 590px;
  margin: 0 auto;
  padding: 10px 26px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
}

.auth-top-headline-bar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auth-headline-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--accent-gold-bright);
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.38);
  white-space: nowrap;
}

.auth-hero-heading {
  font-size: clamp(18.5px, 1.68vw, 25.5px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.auth-hero-lead {
  font-size: 12.8px;
  line-height: 1.42;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-hero-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 18px;
  align-items: stretch;
}

.auth-showcase-col {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.landing-ba-card {
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, #141620 0%, #0d0e14 100%);
  border: 1px solid rgba(255, 149, 0, 0.4);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.58);
  display: flex;
  flex-direction: column;
}

.compare-slider-wrap.landing-hero-viewport {
  flex: 1;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto !important;
  border-radius: 10px;
}

.landing-floating-hint {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  color: #e4e4e7;
}

.auth-form-col {
  width: 100%;
  min-width: 0;
  min-height: 0;
  position: static;
  display: flex;
  flex-direction: column;
}

.auth-glass-card {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin-bottom: 0 !important;
  padding: 15px 18px !important;
  background: linear-gradient(180deg, #13151e 0%, #0c0d13 100%) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card-head {
  text-align: center;
  margin-bottom: 10px;
}

.auth-card-head h2 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.auth-card-head p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.google-auth-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-bottom: 8px;
  width: 100%;
}

.google-signin-fallback-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: 9px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.google-signin-fallback-btn:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.14);
}

.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  color: var(--text-muted);
  font-size: 10.8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-or-divider::before,
.auth-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.topbar-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
  flex-shrink: 0;
}

.auth-seg-switch {
  margin-bottom: 10px;
  padding: 3px;
}

.auth-glass-card .seg-btn {
  padding: 7px 8px;
  font-size: 11.3px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.auth-compact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-compact-form label {
  font-size: 10.6px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-compact-form input {
  padding: 8px 11px;
  font-size: 13px;
}

.auth-submit-btn {
  padding: 10px 12px !important;
  margin-top: 3px;
  font-size: 13px !important;
  font-weight: 800;
}

.auth-trust-badges {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.4px;
  font-weight: 600;
  color: var(--text-secondary);
}

.auth-demo-box {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--border-subtle);
}

.auth-demo-label {
  margin-bottom: 5px;
  font-size: 10.4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.auth-pillars-grid {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
}

.auth-pillar-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 13px;
  border-radius: 11px;
  background: #101219;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.auth-pillar-card:hover {
  border-color: rgba(255, 149, 0, 0.45);
  transform: translateY(-1px);
}

.auth-pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.auth-pillar-card strong {
  display: block;
  font-size: 12.6px;
  color: #ffffff;
  margin-bottom: 2px;
}

.auth-pillar-card p {
  margin: 0;
  font-size: 11.2px;
  line-height: 1.38;
  color: var(--text-secondary);
}

/* WELCOME HUB DASHBOARD (POST-LOGIN) */
.welcome-hub-banner {
  padding: 26px 28px;
  border-radius: 16px;
  background: radial-gradient(circle at top right, rgba(255, 149, 0, 0.16), transparent 52%),
    linear-gradient(135deg, #141722 0%, #0c0e15 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.welcome-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.welcome-action-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: #11131b;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.16s ease;
}

.welcome-action-card:hover {
  border-color: var(--accent-gold);
  background: #151824;
  transform: translateY(-2px);
}

.welcome-action-card.is-primary {
  border-color: rgba(255, 149, 0, 0.55);
  background: linear-gradient(145deg, rgba(255, 149, 0, 0.12) 0%, #12141d 100%);
}

.welcome-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.welcome-prj-card {
  border-radius: 13px;
  background: #11131b;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.16s ease;
}

.welcome-prj-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.welcome-prj-media {
  aspect-ratio: 16 / 10;
  background: #090a0f;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-prj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-steps-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 15px 18px;
  border-radius: 13px;
  background: #0e1017;
  border: 1px solid var(--border-subtle);
}

@media (max-width: 1150px), (max-height: 640px) {
  .auth-landing-wrap {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 16px 18px 36px;
  }
  .auth-hero-lead {
    white-space: normal;
  }
  .auth-hero-grid {
    grid-template-columns: 1fr;
  }
  .compare-slider-wrap.landing-hero-viewport {
    aspect-ratio: 16 / 9 !important;
    height: auto;
  }
  .auth-form-col {
    position: static;
    max-width: 460px;
    margin: 0 auto;
  }
  .auth-pillars-grid,
  .welcome-steps-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .auth-pillars-grid,
  .welcome-steps-strip {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
 * COMMERCIAL BILINGUAL SWITCHER (VI / EN) & 2-CREDIT PROMPT IP VAULT
 * ============================================================================ */
.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background: #141419;
  border: 1px solid #2b2b35;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.lang-switch-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.03em;
}

.lang-switch-btn:hover {
  color: #fff;
}

.lang-switch-btn.active {
  background: rgba(255, 149, 0, 0.18);
  color: var(--accent-gold-bright);
  box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.45);
}

.locked-prompt-vault {
  position: relative;
  background: #0d0d12;
  border: 1px solid rgba(255, 149, 0, 0.32);
  border-radius: 10px;
  padding: 11px 13px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.locked-prompt-head-snippet {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #e4e4e7;
  margin-bottom: 6px;
}

.locked-prompt-blur-body {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 12px;
  line-height: 1.52;
  color: #a1a1aa;
  filter: blur(5.2px);
  opacity: 0.58;
  pointer-events: none;
  user-select: none;
  max-height: 118px;
  overflow: hidden;
}

.locked-prompt-cta-overlay {
  position: absolute;
  inset: auto 10px 10px 10px;
  background: linear-gradient(180deg, rgba(14, 14, 20, 0.86), rgba(9, 9, 13, 0.97));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 149, 0, 0.45);
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

/* ============================================================================
 * SAVED ACCOUNTS 1-CLICK DEVICE PICKER & REMEMBER DEVICE CHECKBOX
 * ============================================================================ */
.remember-device-row {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  text-transform: none !important;
  cursor: pointer;
  margin-top: 2px;
  user-select: none;
}

.remember-device-row input[type='checkbox'] {
  width: 14px;
  height: 14px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  margin: 0;
}

.saved-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.saved-account-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #14141b;
  border: 1px solid #282834;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.saved-account-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 149, 0, 0.08);
  transform: translateY(-1px);
}

.saved-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 149, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #09090b;
  font-weight: 800;
  font-size: 13px;
}

.saved-account-remove-btn {
  border: none;
  background: transparent;
  color: #71717a;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

.saved-account-remove-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}

