/* THE ANALOG MIXER · generated by analog_surface.py.
   Channel strips in a row, which is the only layout an analog desk has ever
   had, because the strip IS the channel. */

.amx { --amx-ink:#8C97A4; }
.amx__bar { display:flex; align-items:center; gap:9px; flex-wrap:wrap;
  margin:0 0 8px; font:700 9px/1 'Courier New',monospace;
  letter-spacing:.13em; text-transform:uppercase; color:var(--amx-ink); }
.amx__bar b { color:var(--ink,#e7ecf2); letter-spacing:.05em; }
.amx__out { margin-left:auto; font:400 9px/1.3 'Courier New',monospace;
  color:#5D6873; letter-spacing:.05em; text-transform:none; }

.amx__strips { display:flex; gap:5px; overflow-x:auto; padding-bottom:5px;
  align-items:stretch; }

/* ── A STRIP. Top to bottom is the signal path, which is not decoration:
   gain, filter, EQ, sends, pan, fader. Learn it here and you can read any
   console in the world top to bottom. ─────────────────────────────────── */
.amxs { flex:0 0 76px; min-width:76px; display:flex; flex-direction:column;
  gap:4px; border:1px solid var(--rule,#2a3340); border-radius:5px;
  background:linear-gradient(180deg,#141A21,#0F1419); padding:5px 5px 6px; }
.amxs--st { background:linear-gradient(180deg,#16131E,#0F0D16);
  border-color:#2E2A3D; }
.amxs__nm { font:700 9px/1.2 'Segoe UI',sans-serif; color:var(--ink,#e7ecf2);
  text-align:center; white-space:nowrap; overflow:hidden;
  text-overflow:ellipsis; }
.amxs__src { font:400 7px/1.25 'Segoe UI',sans-serif; color:#5D6873;
  text-align:center; min-height:17px; }
/* ⛔ the hairline boxes are what a real strip is screen-printed with, and
   they are the reason you can tell the EQ section from the sends without
   reading a word. */
.amxs__sec { border-top:1px solid rgba(255,255,255,.055); padding-top:4px;
  display:flex; flex-direction:column; gap:3px; align-items:center; }
.amxs__sec > .amxs__seclab { font:700 6.5px/1 'Courier New',monospace;
  letter-spacing:.14em; text-transform:uppercase; color:#4A535F; }
.amxs__k { display:flex; flex-direction:column; align-items:center; gap:1px; }
.amxs__k .sk__knob { width:34px; height:34px; }
.amxs__klab { font:700 6.5px/1 'Courier New',monospace; color:#5D6873;
  letter-spacing:.06em; text-transform:uppercase; }
.amxs__kval { font:700 7.5px/1 'Courier New',monospace;
  color:var(--ink,#e7ecf2); font-variant-numeric:tabular-nums; }

.amxs__sws { display:flex; gap:3px; justify-content:center; flex-wrap:wrap; }
.amxs__sw { cursor:pointer; border:1px solid var(--rule,#2a3340);
  border-radius:2px; background:#161B21; color:#5D6873; padding:3px 4px;
  font:700 6.5px/1 'Courier New',monospace; letter-spacing:.04em; }
.amxs__sw:hover { border-color:var(--gel,#C9A84C); }
.amxs__sw.on { background:var(--gel,#C9A84C); border-color:var(--gel,#C9A84C);
  color:#17120a; }
.amxs__sw.on.is-red { background:#D64545; border-color:#D64545; color:#fff; }

/* ── THE FADER. A real one: a slot, a cap, and the scale printed beside it
   because every console prints it. ──────────────────────────────────── */
.amxs__fad { position:relative; flex:1; min-height:92px; display:flex;
  justify-content:center; padding:4px 0 2px; }
.amxs__slot { position:relative; width:11px; height:100%;
  cursor:ns-resize; touch-action:none; border-radius:6px;
  background:linear-gradient(90deg, transparent 4px,
    rgba(0,0,0,.6) 4px, rgba(0,0,0,.6) 7px, transparent 7px); }
.amxs__cap { position:absolute; left:50%; width:25px; height:13px;
  margin-left:-12.5px; margin-top:-6.5px; border-radius:2px;
  background:linear-gradient(180deg,#525C69,#262C35 52%,#15191E);
  border:1px solid #0A0D11; box-shadow:0 1px 4px rgba(0,0,0,.6);
  pointer-events:none; }
.amxs__cap::after { content:''; position:absolute; left:2px; right:2px;
  top:50%; height:1px; margin-top:-.5px; background:rgba(255,255,255,.4); }
/* ⛔ 0 is NOT the top. Unity on a real fader is about three-quarters up, and
   a student who learns the top is normal will run everything into the stop
   and have nowhere to go. The mark is printed. */
.amxs__unity { position:absolute; left:50%; margin-left:-13px; width:26px;
  height:1px; background:rgba(201,168,76,.5); }
.amxs__unity::after { content:'0'; position:absolute; left:28px; top:-5px;
  font:700 6.5px/1 'Courier New',monospace; color:#6B5A2E; }

/* the channel meter, beside the fader where it belongs */
.amxs__met { position:absolute; right:3px; top:4px; bottom:2px; width:4px;
  border-radius:2px; background:#10141A; overflow:hidden; }
.amxs__metf { position:absolute; left:0; right:0; bottom:0; height:0;
  background:linear-gradient(0deg,#4FD38A 0%,#4FD38A 62%,#C9A84C 82%,
    #D64545 100%); }

.amxs__dbv { text-align:center; font:700 8px/1 'Courier New',monospace;
  color:var(--ink,#e7ecf2); font-variant-numeric:tabular-nums; }

/* ── THE FX + MASTER BLOCK. Taller than a strip, which is what it is. ── */
.amxm { flex:0 0 132px; min-width:132px; display:flex; flex-direction:column;
  gap:5px; border:1px solid rgba(201,168,76,.4); border-radius:5px;
  background:linear-gradient(180deg,#1A1B16,#121310); padding:6px; }
.amxm__h { font:700 8px/1 'Courier New',monospace; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gel,#C9A84C); text-align:center; }
.amxm__fxsel { width:100%; background:#0D1116;
  border:1px solid var(--rule,#2a3340); border-radius:3px; color:#e7ecf2;
  font:600 9px/1 'Segoe UI',sans-serif; padding:4px 5px; }
.amxm__row { display:flex; gap:5px; justify-content:center; }
.amxm__mets { display:flex; gap:4px; justify-content:center; flex:1;
  min-height:62px; }
.amxm__met { position:relative; width:8px; border-radius:3px;
  background:#10141A; overflow:hidden; }
.amxm__metf { position:absolute; left:0; right:0; bottom:0; height:0;
  background:linear-gradient(0deg,#4FD38A 0%,#4FD38A 62%,#C9A84C 82%,
    #D64545 100%); }
.amxm__lr { display:flex; gap:4px; justify-content:center;
  font:700 6.5px/1 'Courier New',monospace; color:#4A535F; }

/* ── THE EXPLAINER. What your hand is on, and why that control exists. ─ */
.amx__why { margin-top:9px; border-top:1px solid var(--rule,#2a3340);
  padding-top:8px; display:flex; gap:11px; align-items:flex-start; }
.amx__whyk { flex:0 0 auto; }
.amx__whyn { font:700 12px/1 'Courier New',monospace;
  color:var(--ink,#e7ecf2); }
.amx__whyv { margin-top:3px; font:700 10px/1 'Courier New',monospace;
  color:var(--gel,#C9A84C); font-variant-numeric:tabular-nums; }
.amx__whyt { flex:1; min-width:0; margin:0;
  font:400 11.5px/1.5 'Segoe UI',sans-serif; color:#6B7785; }
.amx__whyt b { color:var(--ink,#e7ecf2); }
