/* studio.css — XStream Studio DAW dark theme */

:root {
  --bg: #07080c;
  --surface: #0d0f16;
  --surface-2: #141420;
  --accent: #00FF41;
  --accent-dim: rgba(0,255,65,0.12);
  --accent-glow: rgba(0,255,65,0.25);
  --text: #e8eaf0;
  --text-muted: #6b7080;
  --text-dim: #3a3d4a;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
  --radius-sm: 6px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── LAYOUT ───────────────────────────────────────────────────────────────── */
.studio-layout {
  display: grid;
  grid-template-rows: 56px 1fr auto;
  grid-template-columns: 1fr 320px;
  height: 100vh;
  overflow: hidden;
}

.studio-header {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.studio-header-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-header-brand .logo-dot {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-header-brand .logo-dot svg { width: 16px; height: 16px; stroke: #000; fill: none; }

.studio-project-name {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  outline: none;
  width: 200px;
}

.studio-project-name:focus { border-color: var(--accent); }

.studio-spacer { flex: 1; }

.studio-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── HEADER BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s;
}

.btn svg { width: 14px; height: 14px; }

.btn-accent {
  background: var(--accent);
  color: #000;
}

.btn-accent:hover { background: #33ff6a; }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-outline:hover { border-color: rgba(0,255,65,0.3); color: var(--text); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
}

.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* ── MAIN AREA + SIDEBAR ──────────────────────────────────────────────────── */
.studio-main {
  grid-column: 1;
  grid-row: 2;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.studio-sidebar {
  grid-column: 2;
  grid-row: 2;
  background: var(--surface);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── TRANSPORT BAR ─────────────────────────────────────────────────────────── */
.transport {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  flex-shrink: 0;
}

.transport-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
}

.transport-btn svg { width: 14px; height: 14px; }

.transport-btn.play-btn { background: var(--accent); border-color: var(--accent); color: #000; }
.transport-btn.play-btn:hover { background: #33ff6a; }

.transport-btn.record-btn { color: #ff4444; border-color: rgba(255,68,68,0.3); }
.transport-btn.record-btn.active { background: rgba(255,68,68,0.2); border-color: #ff4444; animation: recordBlink 1s infinite; }

@keyframes recordBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.transport-time {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
  min-width: 90px;
}

.transport-bpm {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.transport-bpm input {
  width: 52px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.75rem;
  padding: 0.25rem 0.375rem;
  text-align: center;
  outline: none;
}

.transport-bpm input:focus { border-color: var(--accent); }

.transport-spacer { flex: 1; }

.transport-speed select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  outline: none;
  cursor: pointer;
}

/* ── TIMELINE ─────────────────────────────────────────────────────────────── */
.timeline-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.timeline-ruler {
  height: 28px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  user-select: none;
}

.timeline-ruler canvas {
  display: block;
  width: 100%;
  height: 28px;
}

.timeline-body {
  height: 56px;
  position: relative;
  background: var(--bg);
  cursor: crosshair;
}

.timeline-body canvas {
  display: block;
  width: 100%;
  height: 56px;
}

.loop-region {
  position: absolute;
  top: 0; bottom: 0;
  background: rgba(0,255,65,0.08);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
}

.playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ── TRACK LANES ───────────────────────────────────────────────────────────── */
.track-lanes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-lane {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  min-height: 90px;
  position: relative;
  transition: border-color 0.2s;
}

.track-lane:hover { border-color: rgba(255,255,255,0.1); }

.track-lane.drop-target { border-color: var(--accent); background: rgba(0,255,65,0.04); }

.track-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.track-color-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.track-controls button {
  width: 28px; height: 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-controls button:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.track-controls button.mute-btn.active { background: rgba(255,200,0,0.15); color: #ffc800; border-color: rgba(255,200,0,0.3); }
.track-controls button.solo-btn.active { background: rgba(0,255,65,0.15); color: var(--accent); border-color: rgba(0,255,65,0.3); }
.track-controls button.del-btn:hover { background: rgba(255,68,68,0.15); color: #ff4444; border-color: rgba(255,68,68,0.3); }

.track-drop-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  min-height: 60px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.track-drop-zone:hover, .track-drop-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.track-drop-zone.drag-over { border-style: solid; }

.track-drop-zone-inner {
  text-align: center;
  pointer-events: none;
}

.track-drop-zone-inner svg { width: 28px; height: 28px; stroke: var(--text-dim); margin-bottom: 0.25rem; }
.track-drop-zone-inner p { font-size: 0.75rem; color: var(--text-dim); }

.track-drop-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.track-waveform canvas {
  display: block;
  width: 100%;
  height: 60px;
}

.track-meters {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 60px;
  padding-left: 0.5rem;
}

.vu-bar {
  width: 6px;
  border-radius: 2px;
  background: var(--surface-2);
  transition: background 0.05s;
  max-height: 100%;
}

/* ── ADD TRACK BUTTON ──────────────────────────────────────────────────────── */
.add-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  width: 100%;
  font-family: var(--font-body);
}

.add-track-btn:hover { border-color: rgba(0,255,65,0.3); color: var(--accent); }

.add-track-btn svg { width: 16px; height: 16px; }

/* ── EFFECTS DRAWER ───────────────────────────────────────────────────────── */
.effects-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.effect-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
}

.effect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.effect-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.effect-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.effect-toggle label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.effect-toggle input[type=checkbox] {
  appearance: none;
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: var(--border);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.effect-toggle input[type=checkbox]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: all 0.2s;
}

.effect-toggle input[type=checkbox]:checked {
  background: var(--accent);
}

.effect-toggle input[type=checkbox]:checked::after {
  left: 16px;
  background: #000;
}

.effect-param {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.effect-param label {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
}

.effect-param input[type=range] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.effect-param input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.effect-param .param-val {
  font-size: 0.6875rem;
  color: var(--text-muted);
  width: 40px;
  text-align: right;
}

/* ── EQ SECTION ────────────────────────────────────────────────────────────── */
.eq-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
}

.eq-preset-row {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.eq-preset-btn {
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
}

.eq-preset-btn:hover, .eq-preset-btn.active { background: var(--accent-dim); border-color: rgba(0,255,65,0.3); color: var(--accent); }

.eq-bands {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.eq-band {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.eq-band input[type=range] {
  -webkit-appearance: none;
  width: 32px;
  height: 80px;
  writing-mode: vertical-lr;
  direction: rtl;
  background: var(--surface);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.eq-band input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.eq-freq {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: center;
}

.eq-gain-label {
  font-size: 0.625rem;
  color: var(--text-dim);
}

.eq-canvas-wrap {
  margin-top: 0.75rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.eq-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 60px;
}

/* ── MIXER ────────────────────────────────────────────────────────────────── */
.mixer-section {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mixer-channel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem;
}

.mixer-channel-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mixer-fader-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mixer-fader-wrap input[type=range] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.mixer-fader-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.mixer-fader-val {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: center;
}

.mixer-pan input[type=range] {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.master-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.master-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.master-fader-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.master-fader-wrap input[type=range] {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent), rgba(0,255,65,0.2));
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.master-fader-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 6px var(--accent-glow);
}

.master-db {
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 40px;
  text-align: right;
}

/* ── VU METERS ────────────────────────────────────────────────────────────── */
.vu-meter {
  width: 8px;
  height: 80px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.vu-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 4px;
  transition: height 0.05s;
  background: linear-gradient(to top, var(--accent), #ffd700, #ff4444);
}

/* ── RECORDER ──────────────────────────────────────────────────────────────── */
.recorder-section {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.recorder-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.recorder-status {
  font-size: 0.8125rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recorder-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.recorder-dot.recording { background: #ff4444; animation: recordBlink 1s infinite; }
.recorder-dot.ready { background: var(--accent); }

.recorder-waveform {
  height: 40px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}

.recorder-waveform canvas {
  display: block;
  width: 100%;
  height: 40px;
}

.recorder-actions {
  display: flex;
  gap: 0.5rem;
}

.recorder-actions button {
  flex: 1;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.18s;
  font-family: var(--font-body);
}

.recorder-actions button:hover { background: rgba(255,255,255,0.08); }
.recorder-actions button.record-start { border-color: rgba(255,68,68,0.3); color: #ff4444; }
.recorder-actions button.record-start:hover { background: rgba(255,68,68,0.1); }
.recorder-actions button.record-stop { background: #ff4444; border-color: #ff4444; color: #fff; }
.recorder-actions button.record-stop:hover { background: #ff5555; }

/* ── PROJECTS ──────────────────────────────────────────────────────────────── */
.projects-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
}

.project-item:hover { border-color: rgba(0,255,65,0.3); }

.project-item-name {
  font-size: 0.8125rem;
  color: var(--text);
  font-weight: 500;
}

.project-item-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.project-actions {
  display: flex;
  gap: 0.25rem;
}

.project-actions button {
  width: 24px; height: 24px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.18s;
}

.project-actions button:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.project-actions button.del:hover { background: rgba(255,68,68,0.15); color: #ff4444; }

/* ── PLAYER BAR ───────────────────────────────────────────────────────────── */
.studio-player-bar {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 10;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
}

.player-artwork {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--surface-2);
  object-fit: cover;
  flex-shrink: 0;
}

.player-track-info {
  min-width: 0;
}

.player-track-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist-name {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.player-controls button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
}

.player-controls button svg { width: 14px; height: 14px; }
.player-controls button.play-main { background: var(--accent); color: #000; }
.player-controls button.play-main:hover { background: #33ff6a; }

.player-scrubber {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-scrubber input[type=range] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.player-scrubber input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.player-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  min-width: 36px;
  text-align: center;
}

/* ── SHARE MODAL ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close:hover { color: var(--text); }

.modal-title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.modal-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .studio-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 56px 1fr auto auto;
  }

  .studio-sidebar {
    grid-column: 1;
    grid-row: 4;
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 300px;
  }

  .studio-player-bar {
    grid-row: 3;
  }

  .track-lane {
    grid-template-columns: 1fr;
  }

  .track-info {
    flex-direction: row;
    align-items: center;
  }

  .eq-bands {
    flex-wrap: wrap;
  }
}

/* ── SCROLLBAR ─────────────────────────────────────────────────────────────── */
.studio-main::-webkit-scrollbar,
.studio-sidebar::-webkit-scrollbar {
  width: 6px;
}

.studio-main::-webkit-scrollbar-track,
.studio-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.studio-main::-webkit-scrollbar-thumb,
.studio-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}