/* ==========================================================================
   Omnizart — Bespoke Acoustic Studio Design System
   High-Precision Audio Tool Aesthetic (Acoustic Hardware & Precision Interface)
   Typography: Plus Jakarta Sans (Display) + JetBrains Mono (Technical)
   Palette: Obsidian & Titanium with Acoustic Brass / Amber Highlights
   ========================================================================== */

:root,
html[data-theme="dark"],
[data-theme="dark"] {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Dark Theme — Deep Studio Obsidian */
  --bg-base: #090b0e;
  --bg-surface: #11141a;
  --bg-elevated: #181d26;
  --bg-subtle: #202632;
  --bg-hover: #29303e;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-active: rgba(255, 255, 255, 0.25);
  --border-dashed: rgba(255, 255, 255, 0.18);

  --text-main: #f8fafc !important;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Acoustic Brass & Amber Accents */
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.2);
  --accent-amber-subtle: rgba(245, 158, 11, 0.1);
  --accent-amber-text: #090b0e;

  /* Primary Action Button (Crisp Titanium Pill in Dark Mode) */
  --btn-primary-bg: #f8fafc;
  --btn-primary-text: #090b0e;
  --btn-primary-hover: #ffffff;
  --btn-primary-shadow: 0 4px 14px rgba(248, 250, 252, 0.15);

  --accent-red: #ef4444;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Light Theme — Gallery Paper & Warm Bronze */
html[data-theme="light"],
[data-theme="light"] {
  --bg-base: #f7f7f8;
  --bg-surface: #ffffff;
  --bg-elevated: #f0f1f3;
  --bg-subtle: #e5e7eb;
  --bg-hover: #d1d5db;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-active: rgba(0, 0, 0, 0.24);
  --border-dashed: rgba(0, 0, 0, 0.18);

  --text-main: #090b0e !important;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --accent-amber: #d97706;
  --accent-amber-glow: rgba(217, 119, 6, 0.2);
  --accent-amber-subtle: rgba(217, 119, 6, 0.08);
  --accent-amber-text: #ffffff;

  /* Primary Action Button (Obsidian Pill in Light Mode) */
  --btn-primary-bg: #090b0e;
  --btn-primary-text: #f8fafc;
  --btn-primary-hover: #1e293b;
  --btn-primary-shadow: 0 4px 14px rgba(9, 11, 14, 0.2);

  --accent-red: #dc2626;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Precision Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

/* Studio Header */
.topbar {
  height: 60px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

/* Custom Acoustic Harmonic Bars Glyph */
.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
  padding: 2px 0;
}

.brand-bar {
  width: 3px;
  background: var(--accent-amber);
  border-radius: 1.5px;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.brand-bar:nth-child(1) { height: 10px; opacity: 0.7; }
.brand-bar:nth-child(2) { height: 16px; opacity: 1.0; }
.brand-bar:nth-child(3) { height: 12px; opacity: 0.85; }
.brand-bar:nth-child(4) { height: 7px; opacity: 0.6; }

.brand:hover .brand-bar:nth-child(1) { height: 14px; }
.brand:hover .brand-bar:nth-child(2) { height: 12px; }
.brand:hover .brand-bar:nth-child(3) { height: 16px; }
.brand:hover .brand-bar:nth-child(4) { height: 10px; }

.brand-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 6px var(--accent-amber);
}

/* Language Selector Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--bg-elevated);
  color: var(--text-main);
}

[data-theme="light"] .lang-btn.active {
  background: #ffffff;
  color: #090b0e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Theme Toggle Button */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.theme-btn .icon-sun {
  display: inline-block;
  font-size: 12px;
}

.theme-btn .icon-moon {
  display: none;
  font-size: 12px;
}

[data-theme="light"] .theme-btn .icon-sun {
  display: none;
}

[data-theme="light"] .theme-btn .icon-moon {
  display: inline-block;
}

.nav-demo-link {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}

.nav-demo-link:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

/* Main Workspace */
.app-main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 60px;
  transition: max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Widescreen DAW expansion: Expands when results card is active or in demo */
.app-main:has(.results-card.active),
.app-main.daw-wide-mode {
  max-width: min(1440px, 95vw);
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 36px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--accent-amber);
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Deck Container & Card */
.deck-container {
  width: 100%;
}

.studio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-inner);
}

/* Tactile Viewfinder Dropzone */
.dropzone {
  position: relative;
  border: 1px dashed var(--border-dashed);
  border-radius: var(--radius-md);
  padding: 50px 24px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-base);
  transition: border-color 0.15s ease;
}

/* Precision Viewfinder Corners */
.dropzone::before,
.dropzone::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--border-strong);
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.dropzone::before {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid var(--border-strong);
  border-left: 1.5px solid var(--border-strong);
}

.dropzone::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid var(--border-strong);
  border-right: 1.5px solid var(--border-strong);
}

.dropzone:hover::before,
.dropzone:hover::after,
.dropzone.drag-over::before,
.dropzone.drag-over::after {
  border-color: var(--accent-amber);
}

.dropzone:hover, .dropzone.drag-over {
  border-color: var(--accent-amber);
  background: var(--accent-amber-subtle);
}

[data-theme="light"] .dropzone {
  background: #fbfbfd;
  border-color: rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .dropzone::before,
[data-theme="light"] .dropzone::after {
  border-color: rgba(0, 0, 0, 0.28);
}

.dropzone-glyph {
  color: var(--accent-amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.dropzone:hover .dropzone-glyph, .dropzone.drag-over .dropzone-glyph {
  transform: translateY(-2px);
}

.dropzone-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.btn-browse-trigger {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.dropzone:hover .btn-browse-trigger {
  color: var(--accent-amber);
}

.dropzone-hint {
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Selected File Pill */
.selected-file-pill {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  margin-top: 18px;
}

.selected-file-pill.active {
  display: flex;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-glyph {
  color: var(--accent-amber);
  font-size: 15px;
}

.file-details {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.file-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-main);
}

.file-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.btn-remove-file {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.btn-remove-file:hover {
  color: var(--text-main);
}

/* Error Alert */
.alert-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
}

.alert-error.active {
  display: flex;
}

/* Dual Mode Selection Deck */
.mode-selection-deck {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mode Cards Grid (Segmented Studio Cards) */
.mode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mode-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.mode-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.mode-card.active {
  border-color: var(--accent-amber);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--accent-amber), 0 4px 16px var(--accent-amber-glow);
}

[data-theme="light"] .mode-card {
  background: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mode-card:hover {
  background: #fbfbfd;
  border-color: var(--border-strong);
}

[data-theme="light"] .mode-card.active {
  border-color: var(--accent-amber);
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--accent-amber), 0 4px 14px rgba(217, 119, 6, 0.15);
}

.mode-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mode-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-icon {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.mode-card.active .mode-icon {
  color: var(--accent-amber);
}

.mode-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.mode-time-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2.5px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

[data-theme="light"] .mode-time-badge {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.22);
  color: var(--accent-amber);
}

.mode-card-desc {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}

.mode-card.active .mode-card-desc {
  color: var(--text-muted);
}

/* MultiTrack Helper Line */
.multitrack-helper-line {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-amber-subtle);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

.multitrack-accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-amber);
}

.multitrack-helper-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

[data-theme="light"] .multitrack-helper-line {
  background: rgba(217, 119, 6, 0.06);
  border-color: rgba(217, 119, 6, 0.18);
}

.pill-glyph {
  font-size: 12px;
  line-height: 1;
}

/* Deck Controls Row */
.deck-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.model-picker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.picker-label {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Segmented Pills for Models */
.segmented-pills {
  display: inline-flex;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2.5px;
  gap: 2px;
}

.model-pill-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pill-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.pill-desc {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.model-pill-btn:hover .pill-name {
  color: var(--text-main);
}

.model-pill-btn.active {
  background: var(--bg-elevated);
}

.model-pill-btn.active .pill-name {
  color: var(--accent-amber);
}

[data-theme="light"] .model-pill-btn.active {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .model-pill-btn.active .pill-name {
  color: var(--accent-amber);
}

/* Tactile Primary Pill Button */
.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  box-shadow: var(--btn-primary-shadow);
  text-decoration: none;
}

.btn-primary-pill:hover:not(:disabled) {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
}

.btn-primary-pill:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary-pill:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-secondary-pill:hover {
  background: var(--bg-elevated);
  border-color: var(--border-active);
}

/* Progress Card */
.progress-card {
  display: none;
}

.progress-card.active {
  display: block;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.progress-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.elapsed-timer {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-amber);
  background: var(--bg-base);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.progress-bar-container {
  height: 3px;
  background: var(--bg-base);
  border-radius: 1.5px;
  overflow: hidden;
  margin-bottom: 22px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-amber);
  border-radius: 1.5px;
  transition: width 0.3s ease;
}

.stages-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.stage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.2s ease;
}

.stage-item.active {
  color: var(--text-main);
  font-weight: 600;
}

.stage-item.active .stage-dot {
  background: var(--accent-amber);
  box-shadow: 0 0 6px var(--accent-amber);
  transform: scale(1.3);
}

.stage-item.completed {
  color: var(--text-muted);
}

.stage-item.completed .stage-dot {
  background: var(--accent-amber);
}

/* Results Card & DAW */
.results-card {
  display: none;
}

.results-card.active {
  display: block;
}

.results-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}

.results-heading h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.results-heading p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* DAW Toolbar */
.daw-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 10px 16px;
}

.transport-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-play-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-amber);
  color: #090b0e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px var(--accent-amber-glow);
}

.btn-play-round:hover {
  transform: scale(1.05);
}

.btn-play-round:active {
  transform: scale(0.95);
}

.btn-transport-tool {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-transport-tool:hover {
  color: var(--text-main);
  background: var(--bg-elevated);
}

.transport-timecode {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-icon {
  font-size: 11px;
  color: var(--text-dim);
}

.volume-slider {
  width: 75px;
  accent-color: var(--accent-amber);
  cursor: pointer;
}

.zoom-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Roll Viewport */
.roll-viewport {
  background: #090b0e;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 440px;
  position: relative;
}

[data-theme="light"] .roll-viewport {
  background: #ffffff;
}

.roll-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* DAW Footer Statistics */
.daw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 8px 16px;
  font-size: 11.5px;
}

.footer-stats {
  display: flex;
  align-items: center;
  gap: 18px;
}

.f-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}

.f-stat-label {
  color: var(--text-dim);
  font-weight: 500;
}

.f-stat-val {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 600;
}

.engine-tag {
  color: var(--text-dim);
  font-size: 10.5px;
  font-family: var(--font-mono);
}

/* Minimal Research Footer */
.app-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 24px;
  text-align: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer-inner p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 680px) {
  .mode-cards {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 0 16px;
  }
  .app-main {
    padding: 24px 16px 44px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 13.5px;
  }
  .studio-card {
    padding: 18px;
  }
  .dropzone {
    padding: 36px 14px;
  }
  .deck-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary-pill {
    width: 100%;
  }
}
