:root {
  --bg-obsidian: #0A0A0C;
  --bg-surface: #131317;
  --bg-elevated: #1C1C23;
  --bg-glass: rgba(24, 24, 30, 0.88);
  --text-primary: #F4F4F6;
  --text-secondary: #9E9EA9;
  --text-muted: #666672;
  --accent-amber: #E5A93C;
  --accent-amber-soft: rgba(229, 169, 60, 0.16);
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

[hidden] {
  display: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: #050507;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Desktop Simulator Wrapper */
.desktop-frame-toolbar {
  display: none;
}

.app-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: var(--bg-obsidian);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 680px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: radial-gradient(circle at 50% 20%, #171721 0%, #060608 75%);
  }

  .desktop-frame-toolbar {
    width: 100%;
    height: 40px;
    padding: 0 20px;
    background: rgba(12, 12, 16, 0.9);
    border-bottom: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    flex-shrink: 0;
  }

  .desktop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-amber);
  }

  .desktop-toolbar-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
  }

  .desktop-toolbar-hint {
    color: var(--text-secondary);
    padding-left: 10px;
    border-left: 1px solid var(--border-hairline);
  }

  .desktop-toolbar-actions {
    display: flex;
    gap: 6px;
  }

  .desktop-mode-btn {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-hairline);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
  }

  .desktop-mode-btn.active {
    background: var(--accent-amber-soft);
    color: var(--accent-amber);
    border-color: rgba(229, 169, 60, 0.45);
  }

  body.phone-shell-mode .app-shell {
    width: 430px;
    height: calc(100dvh - 56px);
    max-height: 910px;
    margin: auto 0;
    border-radius: 38px;
    border: 6px solid #24242D;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  body.expanded-studio-mode .app-shell {
    width: 100%;
    max-width: 1080px;
    height: calc(100dvh - 40px);
    border-left: 1px solid var(--border-hairline);
    border-right: 1px solid var(--border-hairline);
  }
}

/* Minimal Top Bar */
.top-bar {
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  flex-shrink: 0;
  z-index: 20;
}

.logo-mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-primary);
}

.view-mode-toggle {
  display: flex;
  background: #0A0A0D;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid var(--border-hairline);
}

.view-mode-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-mode-btn.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.top-add-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Spacious Canvas Stage */
.canvas-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at center, #14141B 0%, #09090B 100%);
  overflow: hidden;
  padding: 12px 12px 8px;
}

/* Empty State Card */
.empty-state-card {
  max-width: 300px;
  background: rgba(22, 22, 28, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  margin: auto;
  z-index: 15;
}

.empty-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-subtitle {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.empty-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.primary-amber-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--accent-amber);
  color: #09090B;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.secondary-glass-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Single-Slide Interactive Stage */
.swipe-stage-wrapper {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.canvas-mount {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  touch-action: none;
}

#activeSlideCanvas {
  display: block;
  cursor: grab;
  touch-action: none;
}

#activeSlideCanvas:active {
  cursor: grabbing;
}

.gesture-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gesture-toast.visible {
  opacity: 1;
}

.slide-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.72);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.slide-nav-arrow.prev { left: 0px; }
.slide-nav-arrow.next { right: 0px; }
.slide-nav-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Continuous Multi-Slide Strip Overview Stage */
.strip-stage-wrapper {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.strip-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.strip-canvas-row {
  display: inline-flex;
  align-items: center;
  margin: 0 auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.strip-slide-cell {
  position: relative;
  display: flex;
  flex-shrink: 0;
  cursor: pointer;
}

.strip-slide-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  border-right: 1.5px dashed rgba(229, 169, 60, 0.85);
  z-index: 5;
  pointer-events: none;
}

.strip-slide-cell.active-slide {
  outline: 2px solid var(--accent-amber);
  outline-offset: -2px;
  z-index: 6;
}

.strip-slide-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(10, 10, 14, 0.75);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 5px;
  border-radius: 4px;
  pointer-events: none;
}

.strip-helper-caption {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Stage Footer Bar: Subtle Corner Pill + Clean Slide Dots */
.stage-footer-bar {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  flex-shrink: 0;
  margin-top: 6px;
}

.minimal-crop-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(24, 24, 31, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  height: 26px;
  padding: 0 4px;
}

.pill-action {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 0 8px;
  height: 100%;
  cursor: pointer;
}

.pill-action:active {
  color: var(--accent-amber);
}

.pill-divider {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
}

.slide-dots-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.slide-dot.active {
  width: 18px;
  border-radius: 999px;
  background: var(--accent-amber);
}

.slide-counter-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
}

.slide-mini-btn {
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}

.slide-mini-btn.muted {
  color: var(--text-secondary);
  padding: 0 7px;
}

/* Streamlined 4-Step Bottom Dock */
.control-dock {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.dock-panel-container {
  height: 146px;
  padding: 10px 14px;
  overflow: hidden;
}

.dock-panel {
  display: none;
  height: 100%;
}

.dock-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

.panel-header-links {
  display: flex;
  gap: 12px;
}

.text-link-btn {
  background: none;
  border: none;
  color: var(--accent-amber);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.text-link-btn.muted {
  color: var(--text-secondary);
}

/* STEP 1: PHOTOS FILMSTRIP */
.photo-filmstrip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  height: 102px;
  padding: 2px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-filmstrip::-webkit-scrollbar {
  display: none;
}

.filmstrip-item {
  position: relative;
  width: 76px;
  height: 94px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-elevated);
  flex-shrink: 0;
  cursor: pointer;
}

.filmstrip-item.assigned-active {
  border-color: var(--accent-amber);
}

.filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.filmstrip-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.82);
  color: #FFF;
  border: none;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filmstrip-index-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(10, 10, 14, 0.78);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
}

.filmstrip-add-tile {
  width: 76px;
  height: 94px;
  border-radius: 8px;
  border: 1.5px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
}

/* STEP 2: LAYOUT (RATIO + VISUAL SPLIT CARDS) */
.layout-step-rows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 8px;
}

.compact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  width: 44px;
  flex-shrink: 0;
}

.ratio-pills-row,
.layout-pills-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.ratio-pills-row::-webkit-scrollbar,
.layout-pills-row::-webkit-scrollbar {
  display: none;
}

.ratio-pill {
  height: 36px;
  min-width: 58px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.ratio-pill strong {
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.ratio-pill span {
  font-size: 8.5px;
  color: var(--text-secondary);
}

.ratio-pill.active,
.layout-pill.active {
  background: var(--accent-amber-soft);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.layout-pill {
  height: 68px;
  min-width: 78px;
  padding: 6px 8px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
}

.layout-icon-box {
  width: 34px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 2px;
  display: flex;
  gap: 2px;
  opacity: 0.85;
  position: relative;
}

.layout-icon-box .cell {
  background: currentColor;
  opacity: 0.45;
  flex: 1;
  border-radius: 1px;
}

.layout-pill-name {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* STEP 3: THEME & MARGIN (MERGED VIEW) */
.theme-main-view {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.themes-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.themes-carousel::-webkit-scrollbar {
  display: none;
}

.theme-card {
  width: 106px;
  height: 76px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-hairline);
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
  text-align: left;
}

.theme-card.active {
  border-color: var(--accent-amber);
  background: rgba(229, 169, 60, 0.08);
}

.theme-card-preview {
  width: 100%;
  height: 36px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.22);
}

.theme-mini-slot {
  height: 100%;
  flex: 1;
  border-radius: 1.5px;
}

.theme-card-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Unified Margin + Color Bar under Theme Cards */
.margin-and-color-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding-top: 4px;
  border-top: 1px solid var(--border-hairline);
}

.primary-margin-slider {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 145px;
  flex-shrink: 0;
}

.primary-margin-slider label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  min-width: 68px;
}

.primary-margin-slider label span {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.primary-margin-slider input[type="range"] {
  width: 72px;
  accent-color: var(--accent-amber);
}

.swatches-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
}

.swatches-row::-webkit-scrollbar {
  display: none;
}

.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  flex-shrink: 0;
}

.color-swatch.active {
  border: 2px solid var(--accent-amber);
  transform: scale(1.12);
}

.custom-color-label {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff5e5e, #ffbe5e, #5eff8e, #5ecaff, #b85eff, #ff5e5e);
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.custom-color-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.fine-tune-toggle-btn {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

/* Optional Fine-Tune View */
.theme-finetune-view {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.finetune-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 10px;
  align-items: end;
}

.slider-control {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
}

.mono-val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 10px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-amber);
  cursor: pointer;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-field label {
  font-size: 9.5px;
  color: var(--text-secondary);
}

.detail-field select,
.detail-field input[type="text"] {
  height: 26px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0 6px;
  font-size: 10.5px;
  font-family: var(--font-sans);
  width: 100%;
}

/* STEP 4: EXPORT PANEL */
.export-step-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.export-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.export-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.export-ready-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
}

.export-quality-pills {
  display: inline-flex;
  background: #0A0A0D;
  padding: 2px;
  border-radius: 6px;
  border: 1px solid var(--border-hairline);
}

.quality-pill {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.quality-pill.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.export-main-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 14px;
}

.export-step-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--border-hairline);
}

.export-mini-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  height: 58px;
}

.export-mini-strip::-webkit-scrollbar {
  display: none;
}

.export-thumb-btn {
  position: relative;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.export-thumb-btn img {
  height: 100%;
  width: auto;
  display: block;
}

.export-fallback-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

/* 4-Step Bottom Navigation Bar */
.dock-tab-bar {
  height: 50px;
  background: #0D0D11;
  border-top: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.dock-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-tab.active {
  color: var(--text-primary);
}

.dock-tab.active .step-num {
  background: var(--accent-amber);
  color: #09090B;
  font-weight: 700;
}
