/* DAJAI.IO — DAW · 2027 AI SUPER-DAW
   Multi-track timeline + mixer + AI tools. Mobile-responsive.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..900&family=Inter:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-deep:       #060403;
  --bg:            #0d0908;
  --surface-1:     #14100e;
  --surface-2:     #1c1714;
  --surface-3:     #261f1a;
  --surface-4:     #312822;
  --rail:          #0a0706;
  --top:           #100c0a;

  --line:    rgba(255,238,212,0.07);
  --line-2:  rgba(255,238,212,0.04);
  --line-3:  rgba(255,238,212,0.16);

  --glass:         rgba(255,255,255,0.05);
  --glass-2:       rgba(255,255,255,0.08);
  --glass-border:  rgba(255,255,255,0.08);
  --glass-border-2:rgba(255,255,255,0.14);

  --text:    #fdf7ec;
  --text-2:  rgba(253,247,236,0.72);
  --text-3:  rgba(253,247,236,0.48);
  --text-4:  rgba(253,247,236,0.28);

  /* Stem colors */
  --vox:     #ff5cb0;
  --vox-d:   #4d1838;
  --drum:    #ff5b35;
  --drum-d:  #4d1a10;
  --bass:    #f0c878;
  --bass-d:  #4a3818;
  --keys:    #b18cff;
  --keys-d:  #2e1d4d;
  --strings: #6fc8ff;
  --strings-d:#1a3a52;
  --synth:   #8bff9a;
  --synth-d: #1c4022;
  --atmos:   #a8a8a8;
  --atmos-d: #2a2a2a;
  --fx:      #d4a352;

  --rec:     #ff3a44;
  --ai:      #b18cff;
  --like:    #ff4d6d;
  --ok:      #8bff9a;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans:    'Inter', system-ui, sans-serif;
  --serif:   'Instrument Serif', serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease:    cubic-bezier(0.2, 0.8, 0.2, 1);

  --tl-px-per-bar: 64px;
  --row-h: 80px;
  --header-w: 224px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  user-select: none;
}
body::before {
  /* warm ambient glow */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 10% -10%, rgba(255,107,61,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 110%, rgba(177,140,255,0.06) 0%, transparent 50%),
    var(--bg-deep);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,238,212,0.12); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,238,212,0.24); }

/* ============================================================
   APP SHELL
   ============================================================ */
.daw {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  grid-template-rows: 56px 1fr 260px 60px;
  grid-template-areas:
    "top top top"
    "left timeline inspector"
    "left mixer inspector"
    "left transport inspector";
  height: 100vh; width: 100vw;
  gap: 0;
  background: var(--bg-deep);
}

.daw-top      { grid-area: top; }
.daw-left     { grid-area: left; }
.daw-timeline { grid-area: timeline; }
.daw-inspector{ grid-area: inspector; }
.daw-mixer    { grid-area: mixer; }
.daw-transport{ grid-area: transport; }

/* ============================================================
   TOP BAR
   ============================================================ */
.daw-top {
  display: grid;
  grid-template-columns: 280px 1fr auto auto;
  align-items: center;
  background: var(--top);
  border-bottom: 1px solid var(--line);
  padding: 0 18px 0 0;
  z-index: 5;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px;
  height: 100%;
  border-right: 1px solid var(--line);
}
.brand-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--vox) 0%, var(--drum) 100%);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800;
  color: #1a0a05; font-size: 18px; letter-spacing: -0.04em;
  box-shadow: 0 4px 12px rgba(255,92,176,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.brand-logo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name .sub {
  display: block; font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px;
}

.project-meta {
  display: flex; align-items: center; gap: 18px;
  padding: 0 20px; min-width: 0;
}
.project-name {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: -0.018em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.project-name .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rec);
  box-shadow: 0 0 8px var(--rec); animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.project-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  cursor: pointer; transition: background 0.12s;
}
.project-chip:hover { background: var(--surface-3); }
.project-chip .l {
  font-family: var(--sans); color: var(--text-3); font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px;
}
.project-chip .v { color: var(--text); }
.project-chip.bpm .v { color: var(--vox); }
.project-chip.key .v { color: var(--keys); }
.project-chip.sig .v { color: var(--strings); }

.top-transport {
  display: flex; align-items: center; gap: 6px;
  padding: 0 20px; border-left: 1px solid var(--line);
  height: 100%;
}
.tt-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 0; color: var(--text-2);
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.12s, color 0.12s;
}
.tt-btn:hover { background: var(--surface-2); color: var(--text); }
.tt-play {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--text); color: var(--bg-deep); border: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  transition: transform 0.1s var(--spring);
}
.tt-play:hover { transform: scale(1.06); }
.tt-play.playing { background: var(--ok); }
.tt-record {
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 0; color: var(--rec);
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.12s;
}
.tt-record.armed { background: rgba(255,58,68,0.16); animation: pulse 1.2s ease-in-out infinite; }
.tt-record:hover { background: rgba(255,58,68,0.1); }
.tt-record .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--rec);
  box-shadow: 0 0 8px var(--rec);
}

.timecode {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 0 16px; border-left: 1px solid var(--line);
  height: 100%; justify-content: center;
  font-family: var(--mono);
}
.timecode .t {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--text); font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.timecode .l {
  font-size: 9px; color: var(--text-3); letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 2px;
}

.top-actions {
  display: flex; align-items: center; gap: 8px;
  padding: 0 0 0 16px; border-left: 1px solid var(--line);
  height: 100%;
}
.collab-stack { display: flex; align-items: center; }
.collab {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, var(--vox)), var(--c2, var(--drum)));
  color: #1a0a05; font-weight: 700; font-size: 12px;
  display: grid; place-items: center;
  border: 2px solid var(--top);
  margin-left: -8px; cursor: pointer; position: relative;
}
.collab:first-child { margin-left: 0; }
.collab.live::after {
  content: ''; position: absolute; bottom: -1px; right: -1px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
  border: 2px solid var(--top);
}
.btn-ai-top {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ai), var(--vox));
  color: #1a0a05; font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: -0.005em; border: 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(177,140,255,0.35);
  transition: transform 0.12s var(--spring);
}
.btn-ai-top:hover { transform: scale(1.04); }
.btn-ai-top .orb {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%), #fff;
  animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   LEFT RAIL
   ============================================================ */
.daw-left {
  background: var(--rail);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.left-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px; gap: 4px;
  border-bottom: 1px solid var(--line);
}
.left-tab {
  padding: 8px 0; border-radius: 6px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); transition: background 0.12s, color 0.12s;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.left-tab:hover { color: var(--text); }
.left-tab.active {
  background: var(--surface-2); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.left-tab .ic { color: inherit; }

.left-body { flex: 1; overflow-y: auto; padding: 12px; }

/* Library tab */
.lib-search {
  position: relative; margin-bottom: 12px;
}
.lib-search input {
  width: 100%; padding: 9px 12px 9px 34px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text);
  font-family: inherit; font-size: 13px; outline: 0;
}
.lib-search input::placeholder { color: var(--text-3); }
.lib-search input:focus { border-color: var(--text-3); }
.lib-search .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); display: flex; }
.lib-result-count {
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.lib-row {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 10px; align-items: center;
  padding: 7px 8px; border-radius: 7px;
  cursor: pointer; transition: background 0.12s;
  position: relative;
}
.lib-row:hover { background: var(--surface-2); }
.lib-row .cv {
  width: 36px; height: 36px; border-radius: 5px; overflow: hidden;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.lib-row .cv svg { width: 100%; height: 100%; display: block; }
.lib-row .info { min-width: 0; }
.lib-row .t {
  font-size: 13px; font-weight: 500; color: var(--text);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lib-row .s {
  font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 2px;
  display: flex; gap: 6px;
}
.lib-row .add-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: transparent; border: 0; color: var(--text-3);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; transition: opacity 0.12s, color 0.12s, background 0.12s;
}
.lib-row:hover .add-btn { opacity: 1; }
.lib-row .add-btn:hover { background: var(--ai); color: #1a0a05; }

/* AI tab */
.ai-card {
  padding: 12px 14px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(177,140,255,0.1), rgba(255,92,176,0.05));
  border: 1px solid rgba(177,140,255,0.18);
  margin-bottom: 10px; cursor: pointer;
  transition: background 0.12s, transform 0.12s var(--spring);
}
.ai-card:hover { transform: translateY(-2px); background: linear-gradient(135deg, rgba(177,140,255,0.16), rgba(255,92,176,0.08)); }
.ai-card .kicker {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--ai); text-transform: uppercase;
  margin-bottom: 6px;
}
.ai-card .t {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: -0.018em; color: var(--text); margin-bottom: 4px;
}
.ai-card .s {
  font-size: 11px; color: var(--text-3); line-height: 1.4;
}

/* FX tab */
.fx-list { display: flex; flex-direction: column; gap: 4px; }
.fx-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 7px;
  background: var(--surface-2); cursor: grab;
  transition: background 0.12s;
}
.fx-row:hover { background: var(--surface-3); }
.fx-row .ic {
  width: 28px; height: 28px; border-radius: 5px;
  background: linear-gradient(135deg, var(--c, var(--keys)), var(--c2, var(--ai)));
  color: #1a0a05; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 11px;
}
.fx-row .info { min-width: 0; }
.fx-row .t {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.fx-row .s {
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.1em;
}
.fx-row .drag { color: var(--text-3); }

.section-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 4px 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
}
.section-hd .more { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 0; display: flex; }

/* ============================================================
   TIMELINE
   ============================================================ */
.daw-timeline {
  background: var(--bg);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.tl-ruler-row {
  display: grid; grid-template-columns: var(--header-w) 1fr;
  height: 32px; border-bottom: 1px solid var(--line);
  background: var(--surface-1);
}
.tl-ruler-corner {
  border-right: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--text-3); letter-spacing: 0.16em;
}
.tl-ruler {
  position: relative; overflow: hidden;
}
.tl-ruler .ticks {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 calc(var(--tl-px-per-bar) - 1px),
    rgba(255,238,212,0.12) calc(var(--tl-px-per-bar) - 1px) var(--tl-px-per-bar)
  );
}
.tl-ruler .bar-label {
  position: absolute; top: 4px;
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: 0.06em;
}

.tl-body {
  flex: 1; overflow: auto;
  background:
    linear-gradient(to right, var(--surface-1) 0 var(--header-w), transparent var(--header-w));
}
.tl-tracks {
  display: flex; flex-direction: column;
  min-height: 100%;
}

/* TRACK ROW */
.tl-track {
  display: grid; grid-template-columns: var(--header-w) 1fr;
  border-bottom: 1px solid var(--line-2);
  min-height: var(--row-h);
  position: relative;
}
.tl-track.selected { background: rgba(255,238,212,0.03); }
.tl-track:hover .tl-th-actions { opacity: 1; }

.tl-th {
  position: sticky; left: 0; z-index: 2;
  display: grid; grid-template-rows: auto auto auto;
  gap: 6px;
  padding: 10px 12px 10px 14px;
  background: var(--surface-1);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.tl-th-row1 {
  display: grid; grid-template-columns: 6px 1fr auto;
  gap: 10px; align-items: center;
}
.tl-th .color {
  width: 4px; height: 24px; border-radius: 2px; background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.tl-th .name {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: -0.015em; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.tl-th .name:hover { color: var(--c); }
.tl-th .kind {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  color: var(--c); letter-spacing: 0.12em; text-transform: uppercase;
}

.tl-th-controls {
  display: flex; align-items: center; gap: 4px;
}
.tl-btn {
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 5px; background: var(--surface-3); border: 0;
  color: var(--text-2); cursor: pointer;
  font-family: var(--mono); font-size: 9px; font-weight: 800;
  letter-spacing: 0.04em; display: grid; place-items: center;
  transition: background 0.12s, color 0.12s;
}
.tl-btn:hover { background: var(--surface-4); color: var(--text); }
.tl-btn.on  { background: var(--c); color: #1a0a05; }
.tl-btn.m.on { background: var(--text-3); color: #1a0a05; }
.tl-btn.s.on { background: var(--bass); color: #1a0a05; }
.tl-btn.r.on { background: var(--rec); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
.tl-btn.ai-bolt {
  background: linear-gradient(135deg, var(--ai), var(--vox));
  color: #1a0a05; padding: 0 7px;
}
.tl-btn.ai-bolt:hover { filter: brightness(1.1); }

.tl-th-row3 {
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px; align-items: center;
}
.tl-th .vol-bar {
  position: relative; height: 4px; background: var(--surface-3);
  border-radius: 999px; cursor: pointer;
}
.tl-th .vol-bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--c); border-radius: 999px;
  box-shadow: 0 0 6px var(--c);
}
.tl-th .vol-bar .head {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px var(--c);
}
.tl-th .vol-num {
  font-family: var(--mono); font-size: 10px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
  min-width: 36px; text-align: right;
}

.tl-lane {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(var(--tl-px-per-bar) - 1px),
      rgba(255,238,212,0.04) calc(var(--tl-px-per-bar) - 1px) var(--tl-px-per-bar)
    );
}

/* CLIP */
.clip {
  position: absolute; top: 8px; bottom: 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c) 0%, var(--c-d) 100%);
  cursor: grab;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 10px rgba(0,0,0,0.35);
  border: 1px solid color-mix(in oklch, var(--c) 70%, white 30%);
  transition: transform 0.1s var(--spring), box-shadow 0.12s;
}
.clip:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 16px rgba(0,0,0,0.5); }
.clip.selected {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}
.clip .clip-label {
  position: absolute; top: 4px; left: 8px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em; color: #1a0a05;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  right: 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}
.clip .clip-wave {
  position: absolute; left: 0; right: 0; top: 18px; bottom: 0;
  pointer-events: none;
}
.clip.ai::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ai);
  box-shadow: 0 0 8px var(--ai);
}

/* PLAYHEAD */
.tl-playhead {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: var(--rec);
  box-shadow: 0 0 8px var(--rec);
  pointer-events: none; z-index: 3;
}
.tl-playhead::before {
  content: ''; position: absolute; top: 0; left: -5px;
  border: 6px solid transparent; border-top-color: var(--rec);
}
.tl-loop-region {
  position: absolute; top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,107,61,0.04), rgba(255,107,61,0));
  border-left: 1px dashed rgba(255,107,61,0.55);
  border-right: 1px dashed rgba(255,107,61,0.55);
  pointer-events: none;
}

/* Add-track row */
.tl-add {
  display: grid; grid-template-columns: var(--header-w) 1fr;
  min-height: 56px;
  border-bottom: 1px solid var(--line-2);
}
.tl-add .add-row {
  border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-3);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.12s, color 0.12s;
}
.tl-add .add-row:hover { background: var(--surface-2); color: var(--text); }
.tl-add .add-row .ic { margin-right: 6px; }

/* ============================================================
   INSPECTOR (right rail)
   ============================================================ */
.daw-inspector {
  background: var(--rail);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.insp-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--text-3);
  text-transform: uppercase;
}
.insp-hd .pill {
  padding: 3px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--text);
  font-size: 9px; letter-spacing: 0.14em;
}
.insp-body { flex: 1; overflow-y: auto; padding: 16px; }
.insp-section { margin-bottom: 22px; }
.insp-section-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 10px;
}
.insp-section-hd .more { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 0; }

.insp-clip-name {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.022em; color: var(--text); margin-bottom: 4px;
}
.insp-clip-meta {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: 0.04em;
}
.insp-stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 14px;
}
.insp-stat {
  padding: 10px; border-radius: 8px; background: var(--surface-2);
}
.insp-stat .l {
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.insp-stat .v {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.025em; color: var(--text); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.fx-chain-item {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 8px;
  background: var(--surface-2);
  margin-bottom: 6px;
}
.fx-chain-item .pwr {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 6px var(--ok);
  cursor: pointer;
}
.fx-chain-item .pwr.off { background: var(--text-4); box-shadow: none; }
.fx-chain-item .name {
  font-size: 12px; font-weight: 600;
}
.fx-chain-item .preset {
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: 0.06em;
}
.fx-chain-item .gear { color: var(--text-3); cursor: pointer; background: none; border: 0; }

.ai-quick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.ai-quick {
  padding: 12px 10px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(177,140,255,0.08), rgba(255,92,176,0.04));
  border: 1px solid rgba(177,140,255,0.16);
  text-align: left; cursor: pointer; color: var(--text);
  transition: background 0.12s, transform 0.12s var(--spring);
}
.ai-quick:hover { transform: translateY(-2px); background: linear-gradient(135deg, rgba(177,140,255,0.14), rgba(255,92,176,0.08)); }
.ai-quick .t {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: -0.012em; margin-bottom: 3px;
}
.ai-quick .s {
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.08em; line-height: 1.3;
}

.ai-prompt {
  padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(177,140,255,0.12), rgba(255,92,176,0.06));
  border: 1px solid rgba(177,140,255,0.24);
  margin-bottom: 14px;
}
.ai-prompt textarea {
  width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.06);
  color: var(--text); padding: 10px 12px; border-radius: 8px;
  font-family: var(--serif); font-style: italic; font-size: 15px;
  outline: 0; resize: none; min-height: 60px;
}
.ai-prompt textarea::placeholder { color: var(--text-3); }
.ai-prompt-row {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px;
}
.ai-prompt-row .actions { display: flex; gap: 6px; }
.ai-go {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ai), var(--vox));
  color: #1a0a05; font-family: var(--display); font-size: 12px; font-weight: 700;
  border: 0; cursor: pointer;
  transition: transform 0.12s var(--spring);
}
.ai-go:hover { transform: scale(1.04); }

/* ============================================================
   MIXER (bottom panel)
   ============================================================ */
.daw-mixer {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mixer-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.mixer-hd .ttl {
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 10px;
}
.mixer-hd .ttl .icon {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--surface-3); display: grid; place-items: center;
  color: var(--text-2);
}
.mixer-hd .actions {
  display: flex; gap: 6px;
}
.mixer-hd .iconbtn {
  width: 30px; height: 30px; border-radius: 6px;
  background: transparent; border: 0; color: var(--text-2);
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.12s, color 0.12s;
}
.mixer-hd .iconbtn:hover { background: var(--surface-2); color: var(--text); }
.mixer-hd .iconbtn.ai { color: var(--ai); }

.mixer-body {
  flex: 1; overflow-x: auto; overflow-y: hidden;
  display: flex; padding: 14px 16px; gap: 10px;
}
.mixer-body::-webkit-scrollbar { height: 8px; }

/* Channel strip */
.chstrip {
  width: 84px; min-width: 84px; flex-shrink: 0;
  display: flex; flex-direction: column;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px;
  position: relative;
}
.chstrip.selected {
  outline: 1px solid var(--c, var(--text-3));
  background: var(--surface-3);
}
.chstrip.master { background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); }
.chstrip-hd { text-align: center; min-height: 36px; }
.chstrip-hd .name {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: -0.005em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chstrip-hd .num {
  font-family: var(--mono); font-size: 9px; color: var(--c, var(--text-3));
  margin-top: 3px; letter-spacing: 0.1em;
}

.chstrip-meter {
  position: relative; height: 110px;
  display: grid; grid-template-columns: 1fr 14px;
  gap: 8px; margin: 8px 0;
}
.chstrip-fader {
  position: relative; cursor: ns-resize;
}
.chstrip-fader-track {
  position: absolute; left: 50%; top: 6px; bottom: 6px;
  width: 3px; transform: translateX(-50%);
  background: var(--surface-4); border-radius: 999px;
}
.chstrip-fader-knob {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 28px; height: 12px; border-radius: 3px;
  background: linear-gradient(180deg, var(--text), color-mix(in oklch, var(--text) 70%, black));
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  cursor: ns-resize;
}
.chstrip-fader-knob::after {
  content: ''; position: absolute; top: 50%; left: 4px; right: 4px;
  height: 1px; background: rgba(0,0,0,0.4);
  transform: translateY(-50%);
}
.chstrip-vu {
  position: relative;
  background: var(--surface-4); border-radius: 4px;
  overflow: hidden;
}
.chstrip-vu .lvl {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--rec) 0%, var(--bass) 25%, var(--ok) 70%);
  transition: height 0.08s linear;
}
.chstrip-vu .marks {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.4) 0 1px, transparent 1px 7%);
  pointer-events: none;
}

.chstrip-pan {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 8px;
}
.chstrip-pan .knob {
  width: 28px; height: 28px; border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--c, var(--text)) 0deg var(--p-deg, 0deg), var(--surface-4) var(--p-deg, 0deg) 270deg, transparent 270deg);
  display: grid; place-items: center;
  cursor: pointer; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.chstrip-pan .knob::after {
  content: ''; position: absolute; inset: 4px;
  background: var(--surface-3); border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.chstrip-pan .knob::before {
  content: ''; position: absolute; top: 4px; left: 50%;
  width: 2px; height: 8px; background: var(--c, var(--text)); transform: translateX(-50%);
  z-index: 1; border-radius: 1px;
  transform-origin: 50% 10px;
  transform: translateX(-50%) rotate(var(--p-rot, 0deg));
}
.chstrip-pan .l {
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.1em; margin-top: 3px;
}

.chstrip-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; margin-bottom: 6px;
}
.chstrip-btns .b {
  height: 22px; border-radius: 4px; border: 0;
  background: var(--surface-4); color: var(--text-2);
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  cursor: pointer; transition: background 0.12s;
}
.chstrip-btns .b:hover { background: var(--surface-3); }
.chstrip-btns .b.on.m { background: var(--text-3); color: #1a0a05; }
.chstrip-btns .b.on.s { background: var(--bass); color: #1a0a05; }
.chstrip-sends {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.chstrip-send {
  font-family: var(--mono); font-size: 9px;
  padding: 3px 4px; border-radius: 3px;
  background: var(--surface-4); color: var(--text-3);
  text-align: center; cursor: pointer;
  transition: background 0.12s;
}
.chstrip-send:hover { background: var(--surface-3); color: var(--text); }
.chstrip-send.active { background: var(--c, var(--text)); color: #1a0a05; }

.chstrip-db {
  text-align: center; margin-top: 4px;
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.chstrip-db.master { color: var(--ok); }

/* ============================================================
   TRANSPORT BAR (bottom)
   ============================================================ */
.daw-transport {
  background: var(--top);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  gap: 14px;
}
.t-left, .t-right { display: flex; align-items: center; gap: 10px; }
.t-right { justify-content: flex-end; }
.t-mid { display: flex; align-items: center; gap: 16px; }
.t-status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-2);
}
.t-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 6px var(--ok);
}
.t-cpu {
  display: flex; flex-direction: column;
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  letter-spacing: 0.1em;
}
.t-cpu .l { color: var(--text-3); }
.t-cpu .v { color: var(--text-2); font-size: 11px; font-weight: 600; margin-top: 2px; }

/* AI floating chip on transport */
.t-ai-input {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(177,140,255,0.1), rgba(255,92,176,0.04));
  border: 1px solid rgba(177,140,255,0.18);
  padding: 7px 14px; border-radius: 999px;
  min-width: 320px;
  cursor: text;
}
.t-ai-input .orb {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%), var(--ai);
  box-shadow: 0 0 8px var(--ai);
  animation: spin 4s linear infinite;
}
.t-ai-input input {
  flex: 1; background: none; border: 0; outline: 0;
  color: var(--text); font-family: var(--serif); font-style: italic;
  font-size: 14px;
}
.t-ai-input input::placeholder { color: var(--text-3); }
.t-ai-input .kbd {
  font-family: var(--mono); font-size: 9px; color: var(--text-3);
  padding: 3px 6px; border-radius: 4px; background: rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
}

/* ============================================================
   AI MODAL (floating panel)
   ============================================================ */
.ai-modal-veil {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  animation: veil 0.2s ease-out;
}
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
.ai-modal {
  width: 640px; max-width: 92vw;
  background: var(--surface-1); border-radius: 18px;
  border: 1px solid var(--glass-border-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: modal-in 0.22s var(--spring);
}
@keyframes modal-in { from { transform: scale(0.96) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.ai-modal-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(177,140,255,0.16), rgba(255,92,176,0.06));
}
.ai-modal-hd .ttl {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: -0.018em;
  display: flex; align-items: center; gap: 10px;
}
.ai-modal-hd .ttl .orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%), var(--ai);
  box-shadow: 0 0 12px var(--ai);
  animation: spin 4s linear infinite;
}
.ai-modal-bd { padding: 20px; }
.ai-modal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 14px;
}

/* ============================================================
   MOBILE
   ============================================================ */
.mobile-tabbar { display: none; }

@media (max-width: 900px) {
  .daw {
    grid-template-columns: 1fr;
    grid-template-rows: 48px 1fr 56px 60px;
    grid-template-areas:
      "top"
      "view"
      "transport"
      "tabbar";
  }
  .daw-left,
  .daw-inspector,
  .daw-mixer { display: none; }
  .daw-timeline { grid-area: view; }

  /* Top bar reshuffle */
  .daw-top {
    grid-template-columns: 1fr auto auto;
    padding: 0 14px 0 0;
  }
  .brand { padding: 0 12px; gap: 8px; }
  .brand-logo { width: 28px; height: 28px; border-radius: 6px; font-size: 16px; }
  .brand-name { font-size: 14px; }
  .brand-name .sub { display: none; }
  .project-meta { display: none; }
  .top-transport { padding: 0 10px; }
  .tt-btn, .tt-record { width: 30px; height: 30px; }
  .tt-play { width: 34px; height: 34px; }
  .timecode { display: none; }
  .top-actions { padding: 0 0 0 8px; }
  .top-actions .collab-stack { display: none; }
  .btn-ai-top span { display: none; }
  .btn-ai-top { padding: 8px; border-radius: 50%; width: 36px; height: 36px; gap: 0; }

  /* Mobile tab bar */
  .mobile-tabbar {
    grid-area: tabbar;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--top);
    border-top: 1px solid var(--line);
    padding: 0 4px;
    z-index: 5;
  }
  .mob-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 6px 0;
    background: transparent; border: 0; color: var(--text-3);
    cursor: pointer;
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: color 0.12s;
  }
  .mob-tab .ic { color: inherit; }
  .mob-tab.active { color: var(--text); }
  .mob-tab.active .ic { color: var(--vox); }

  /* Mobile view containers */
  .mob-view { height: 100%; overflow-y: auto; padding: 16px; background: var(--bg); }
  .mob-view-tracks { padding: 0; }
  .mob-view-mixer { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
  .mob-view-mixer .chstrip {
    width: 100%; flex-direction: row; gap: 16px; padding: 14px; align-items: center;
    background: var(--surface-2); border-radius: 14px;
  }
  .mob-view-mixer .chstrip-hd { min-height: 0; min-width: 70px; text-align: left; }
  .mob-view-mixer .chstrip-hd .name { font-size: 13px; }
  .mob-view-mixer .chstrip-meter { flex: 1; height: 18px; grid-template-columns: 1fr; }
  .mob-view-mixer .chstrip-fader { display: none; }
  .mob-view-mixer .chstrip-vu { height: 18px; }
  .mob-view-mixer .chstrip-vu .lvl { left: 0; right: auto; top: 0; bottom: 0; background: linear-gradient(90deg, var(--ok) 0%, var(--bass) 75%, var(--rec) 100%); }
  .mob-view-mixer .chstrip-pan { display: none; }
  .mob-view-mixer .chstrip-btns { display: flex; gap: 6px; margin: 0; }
  .mob-view-mixer .chstrip-sends { display: none; }
  .mob-view-mixer .chstrip-db { margin: 0; min-width: 40px; text-align: right; }

  /* Mobile track row */
  .mob-tracks { display: flex; flex-direction: column; }
  .mob-track {
    display: grid; grid-template-rows: auto auto;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-2);
  }
  .mob-track-hd {
    display: grid; grid-template-columns: 4px 1fr auto auto auto;
    gap: 10px; align-items: center;
  }
  .mob-track .color {
    width: 4px; height: 28px; border-radius: 2px; background: var(--c);
    box-shadow: 0 0 8px var(--c);
  }
  .mob-track .name {
    font-family: var(--display); font-size: 14px; font-weight: 700;
  }
  .mob-track .kind {
    font-family: var(--mono); font-size: 9px; color: var(--c);
    letter-spacing: 0.1em;
  }
  .mob-track .tl-btn { padding: 5px 9px; }
  .mob-lane {
    margin-top: 8px;
    position: relative; height: 56px;
    background: var(--surface-1); border-radius: 8px; overflow: hidden;
  }

  .t-ai-input { display: none; }
  .t-cpu { display: none; }
  .daw-transport { grid-template-columns: 1fr auto; padding: 0 14px; }
  .t-status { display: none; }
  .t-mid { gap: 8px; }
  .timecode { display: flex; }
  .timecode .t { font-size: 14px; }
  .timecode .l { display: none; }

  /* AI view */
  .mob-ai .ai-prompt { background: var(--surface-2); border-color: var(--line); }
  .mob-ai-h1 {
    font-family: var(--display); font-size: 24px; font-weight: 800;
    letter-spacing: -0.025em; margin: 0 0 4px;
  }
  .mob-ai-sub { color: var(--text-3); font-size: 13px; margin-bottom: 16px; line-height: 1.4; }
}

/* ============================================================
   IOS FRAME PREVIEW (desktop side-by-side)
   ============================================================ */
.preview-host {
  display: grid;
  grid-template-columns: 1fr 432px;
  height: 100vh; width: 100vw; gap: 24px; padding: 24px;
  background: #050304;
  overflow: hidden;
}
.preview-host > .daw {
  height: calc(100vh - 48px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.preview-host .phone {
  width: 384px; height: 816px;
  background: #050304;
  border: 11px solid #18181a;
  border-radius: 56px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative; align-self: center; justify-self: center;
  overflow: hidden;
}
.preview-host .phone::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #000; border-radius: 999px;
  z-index: 5;
}
.preview-host .phone .phone-inner {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 44px;
}

/* When preview mode active, scale the DAW into the phone frame as if mobile */
.preview-host .phone .daw {
  width: 384px; height: 816px;
  grid-template-columns: 1fr;
  grid-template-rows: 48px 1fr 56px 60px;
  grid-template-areas:
    "top"
    "view"
    "transport"
    "tabbar";
}
.preview-host .phone .daw-left,
.preview-host .phone .daw-inspector,
.preview-host .phone .daw-mixer { display: none; }
.preview-host .phone .daw-timeline { grid-area: view; }
.preview-host .phone .daw-top {
  grid-template-columns: 1fr auto auto;
  padding: 0 14px 0 0;
}
.preview-host .phone .brand { padding: 0 12px; gap: 8px; }
.preview-host .phone .brand-logo { width: 28px; height: 28px; border-radius: 6px; font-size: 16px; }
.preview-host .phone .brand-name { font-size: 14px; }
.preview-host .phone .brand-name .sub { display: none; }
.preview-host .phone .project-meta { display: none; }
.preview-host .phone .top-transport { padding: 0 8px; }
.preview-host .phone .tt-btn, .preview-host .phone .tt-record { width: 28px; height: 28px; }
.preview-host .phone .tt-play { width: 32px; height: 32px; }
.preview-host .phone .timecode { display: none; }
.preview-host .phone .top-actions .collab-stack { display: none; }
.preview-host .phone .btn-ai-top span { display: none; }
.preview-host .phone .btn-ai-top { padding: 6px; border-radius: 50%; width: 32px; height: 32px; gap: 0; }
.preview-host .phone .mobile-tabbar {
  display: grid; grid-area: tabbar;
  grid-template-columns: repeat(5, 1fr);
  background: var(--top);
  border-top: 1px solid var(--line);
}
.preview-host .phone .mob-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 6px 0; background: transparent; border: 0; color: var(--text-3);
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.preview-host .phone .mob-tab.active { color: var(--text); }
.preview-host .phone .mob-tab.active .ic { color: var(--vox); }
.preview-host .phone .t-ai-input,
.preview-host .phone .t-cpu,
.preview-host .phone .t-status { display: none; }
.preview-host .phone .daw-transport { grid-template-columns: 1fr auto; padding: 0 12px; }
.preview-host .phone .timecode { display: flex; }
.preview-host .phone .timecode .t { font-size: 14px; }
.preview-host .phone .timecode .l { display: none; }

/* Preview toggle button (floats top-right when in preview mode) */
.preview-toggle {
  position: fixed; top: 16px; right: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); font-family: var(--mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.08em; cursor: pointer;
  text-transform: uppercase;
}
.preview-toggle:hover { background: rgba(0,0,0,0.7); }

/* Mobile-only overrides INSIDE the phone preview (so they always apply) */
@media (min-width: 901px) {
  .preview-host .phone .mob-view-mixer { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
  .preview-host .phone .mob-view-mixer .chstrip {
    width: 100%; flex-direction: row; gap: 16px; padding: 14px; align-items: center;
    background: var(--surface-2); border-radius: 14px;
  }
  .preview-host .phone .mob-view-mixer .chstrip-hd { min-height: 0; min-width: 70px; text-align: left; }
  .preview-host .phone .mob-view-mixer .chstrip-meter { flex: 1; height: 18px; grid-template-columns: 1fr; }
  .preview-host .phone .mob-view-mixer .chstrip-fader { display: none; }
  .preview-host .phone .mob-view-mixer .chstrip-vu { height: 18px; }
  .preview-host .phone .mob-view-mixer .chstrip-vu .lvl { left: 0; right: auto; top: 0; bottom: 0; background: linear-gradient(90deg, var(--ok) 0%, var(--bass) 75%, var(--rec) 100%); }
  .preview-host .phone .mob-view-mixer .chstrip-pan { display: none; }
  .preview-host .phone .mob-view-mixer .chstrip-btns { display: flex; gap: 6px; margin: 0; }
  .preview-host .phone .mob-view-mixer .chstrip-sends { display: none; }
  .preview-host .phone .mob-view-mixer .chstrip-db { margin: 0; min-width: 40px; text-align: right; }
}
