/* Topline — a late-set jazz room: ink-blue night, brass for your voice,
   the whiteboard's purple for guide tones and green for tensions.
   Layout: transport strip → stage (chord lane over the pitch ribbon, time-aligned)
   → voicing controls → desk (now | options) → instrument → score. */
:root {
  --bg: #ECEFF3;
  --surface: #FFFFFF;
  --surface-2: #F5F7FA;
  --ink: #131A25;
  --muted: #5A6475;
  --line: #D3D9E2;
  --melody: #C8501A;
  --guide: #6236C9;
  --tension: #1E7D4C;
  --colour: #B4296E;
  --avoid: #C62828;
  --root: #6E7889;
  --lane-a: rgba(19, 26, 37, 0.035);
  --lane-b: rgba(19, 26, 37, 0.0);
  --glow: rgba(200, 80, 26, 0.16);
  --shadow: 0 1px 2px rgba(19, 26, 37, .06), 0 8px 24px -12px rgba(19, 26, 37, .18);

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-chord: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --f-hand: 'Kalam', 'Bradley Hand', 'Segoe Print', cursive;
  --hand-green: #17543F; --hand-brown: #6A2B1E; --hand-olive: #4F6B26; --highlight: rgba(245, 150, 50, .5); --peak-ink: var(--ink-c);
  --chord-ink: #D2491A; --scribble: #E8B820; --highlight-soft: rgba(245, 150, 50, .22); --hand-blue: #24527F;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1018; --surface: #121924; --surface-2: #18212E; --ink: #EDE8DE; --muted: #8E98A8; --line: #263142;
    --hand-green: #7FD6AE; --hand-brown: #E9A88E; --hand-olive: #B7D27C; --highlight: rgba(255, 139, 66, .9); --peak-ink: #1B1209; --chord-ink: #FF8B4E; --scribble: #F2CF4A; --highlight-soft: rgba(255, 139, 66, .18); --hand-blue: #9CC3EE;
    --melody: #FF8B42; --guide: #A88BFF; --tension: #52D08C; --colour: #FF6BAE; --avoid: #FF6B6B; --root: #8E98A8;
    --lane-a: rgba(237, 232, 222, 0.035); --lane-b: rgba(237, 232, 222, 0); --glow: rgba(255, 139, 66, 0.18);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1018; --surface: #121924; --surface-2: #18212E; --ink: #EDE8DE; --muted: #8E98A8; --line: #263142;
  --hand-green: #7FD6AE; --hand-brown: #E9A88E; --hand-olive: #B7D27C; --highlight: rgba(255, 139, 66, .9); --peak-ink: #1B1209; --chord-ink: #FF8B4E; --scribble: #F2CF4A; --highlight-soft: rgba(255, 139, 66, .18); --hand-blue: #9CC3EE;
    --melody: #FF8B42; --guide: #A88BFF; --tension: #52D08C; --colour: #FF6BAE; --avoid: #FF6B6B; --root: #8E98A8;
  --lane-a: rgba(237, 232, 222, 0.035); --lane-b: rgba(237, 232, 222, 0); --glow: rgba(255, 139, 66, 0.18);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--f-display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--melody); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.app {
  max-width: 1320px; margin: 0 auto;
  padding-block: 18px 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; gap: 16px;
}

.eyebrow {
  font: 600 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .hint { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 8px; opacity: .8; }

/* ── header ── */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { height: 44px; width: auto; display: block; }
.logo-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-dark { display: none; } :root:not([data-theme="light"]) .logo-light { display: block; } }
:root[data-theme="dark"] .logo-dark { display: none; } :root[data-theme="dark"] .logo-light { display: block; }
.word h1 {
  margin: 0; font-family: var(--f-display); font-weight: 850; font-stretch: 125%;
  font-size: clamp(30px, 4.4vw, 46px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
}
.word p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.input-switch { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); flex-wrap: wrap; }
.input-switch button {
  border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
}
.input-switch button .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.input-switch button.on { background: var(--ink); color: var(--bg); }
.input-switch button.on .dot { background: var(--melody); box-shadow: 0 0 0 3px var(--glow); }
.input-switch button.live .dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }

/* ── transport ── */
.transport {
  display: flex; flex-wrap: wrap; align-items: end; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow);
}
.play {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--melody); color: #fff; flex: none;
  display: grid; place-items: center; box-shadow: 0 6px 18px -6px var(--melody);
  transition: transform .15s ease;
}
.play:active { transform: scale(.96); }
.play svg { width: 24px; height: 24px; fill: currentColor; }
.play .i-stop { display: none; }
.play.on .i-play { display: none; }
.play.on .i-stop { display: block; }
.field { display: grid; gap: 4px; min-width: 0; }
.field > span { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field > span b { color: var(--ink); font-weight: 600; }
.field.grow { flex: 1 1 260px; }
select, input[type="text"] {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; min-width: 0; max-width: 100%;
}
select { padding-right: 28px; }
input[type="range"] { accent-color: var(--melody); width: 100%; }
.field.tempo { width: 170px; }
.toggles { display: flex; gap: 6px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; }
.chk input { accent-color: var(--melody); margin: 0; }
.prog-note { margin: -4px 4px 0; color: var(--muted); font-size: 14px; max-width: 70ch; }

/* ── stage: lane + ribbon share one timeline ── */
.stage {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  overflow-x: auto; position: relative;
}
.stage-inner { min-width: 100%; }
.lane { display: grid; min-height: 220px; }
.card {
  position: relative; padding: 14px 12px 12px; border-right: 1px solid var(--line); min-width: 0; cursor: pointer;
  display: grid; grid-template-rows: auto auto auto 1fr; gap: 6px; background: transparent; border-top: 0; border-left: 0; border-bottom: 0; text-align: left;
  transition: background .2s ease;
}
.card:last-child { border-right: 0; }
.card:nth-child(even) { background: var(--lane-a); }
.card.sel { box-shadow: inset 0 -3px 0 var(--ink); }
.card.live { background: var(--glow); }
.card .prog { position: absolute; left: 0; top: 0; height: 3px; background: var(--melody); width: 0; }
.card .csym { position: relative; z-index: 1; font-family: var(--f-hand); font-weight: 700; color: var(--chord-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1; white-space: nowrap; }
.card .csym sup { font-size: .6em; font-weight: 700; vertical-align: .5em; }
.chead { position: relative; justify-self: start; padding: 4px 6px 2px 2px; max-width: 100%; overflow: visible; }
.cloud { position: absolute; inset: -8px -12px -10px -10px; width: calc(100% + 22px); height: calc(100% + 18px); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.cloud path { fill: none; stroke: var(--scribble); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.card.live .cloud, .card.sel .cloud { opacity: 1; }
/* the board rows */
.board { display: grid; gap: 2px; align-self: end; margin-top: 6px; }
.brow { position: relative; display: flex; align-items: flex-end; min-height: 50px; padding: 2px 0 4px; container-type: inline-size; cursor: pointer; border-radius: 8px; }
.brow.active { min-height: 64px; }
.brow.two { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; min-height: 96px; }
.brow.two.active { min-height: 126px; }
.brow:not(.active):hover { background: var(--lane-a); }
.brow:not(.active) .hw { opacity: .82; }
.card:first-child .brow { padding-left: 32px; }
.rtag { position: absolute; left: 0; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px/1 var(--f-hand); color: var(--chord-ink); background: var(--highlight-soft); border: 1.5px solid var(--chord-ink); }
.rtag.word { width: 24px; height: auto; border: 0; background: none; border-radius: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; bottom: 6px; white-space: nowrap; }
.brow.active .rtag:not(.word) { background: var(--chord-ink); color: var(--surface); }
.brow.active .rtag.word { text-decoration: underline; text-underline-offset: 3px; }
.bnone { color: var(--muted); font-family: var(--f-hand); font-size: 22px; }
.hw.ink-wide { --ink-c: var(--hand-blue); }
.csym sup { font-size: .55em; font-weight: 600; margin-left: 1px; vertical-align: .55em; }
.acc { font-family: 'Noto Music', 'Apple Symbols', 'Segoe UI Symbol', sans-serif; font-style: normal; font-weight: 400; font-size: .74em; margin: 0 .02em 0 .04em; }
.csym .slash { font-size: .6em; color: var(--muted); }
.card .cflav { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: 3px; align-items: flex-start; align-content: flex-start; }
.chip { font: 600 10.5px/1 var(--f-mono); padding: 3px 5px; border-radius: 5px; border: 1px solid currentColor; }
.chip.T { color: var(--tension); }
.chip.C { color: var(--colour); border-style: dashed; }
.chip.A { color: var(--avoid); text-decoration: line-through; opacity: .75; }
.stack { display: grid; gap: 6px; align-self: end; margin-top: 8px; container-type: inline-size; }
/* the voicing, written on the board: one row, bottom to top, degrees above, double line under */
.hw { display: inline-grid; justify-self: start; --ink-c: var(--hand-green); }
.hw.ink-guide { --ink-c: var(--guide); }
.hw.ink-brown { --ink-c: var(--hand-brown); }
.hw.ink-quartal { --ink-c: var(--hand-olive); }
.hrow { display: flex; align-items: flex-end; gap: .1em; font-family: var(--f-hand); font-size: min(30px, calc(100cqi / var(--n, 4) / 1.12)); line-height: 1; padding: 0 .12em; }
.hc { display: grid; justify-items: center; position: relative; animation: ink .3s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--d, 0) * 110ms); }
.hc i { font-style: normal; font-weight: 700; font-size: .46em; color: var(--guide); line-height: 1.1; min-height: 1.1em; white-space: nowrap; }
.hc b { font-weight: 700; color: var(--ink-c); position: relative; z-index: 1; }
.hc.peak b { color: var(--peak-ink, var(--ink-c)); }
.hc .acc { font-size: .72em; margin-left: .02em; vertical-align: .32em; }
.hc i .acc { vertical-align: .1em; font-size: .95em; }
.hc.peak b::before { /* orange highlighter swipe over the note you sing */
  content: ''; position: absolute; z-index: -1; left: -.12em; right: -.14em; top: .12em; bottom: .02em;
  background: var(--highlight); border-radius: 40% 55% 45% 60% / 60% 40% 55% 45%; transform: rotate(-8deg) skewX(-6deg);
}
.hul { display: block; width: 100%; height: 9px; margin-top: 1px; overflow: visible; animation: ink .4s ease both; animation-delay: calc(var(--n, 4) * 110ms); }
.hul path { fill: none; stroke: var(--ink-c); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@keyframes ink { from { clip-path: inset(-40% 100% -40% -40%); opacity: .3; } to { clip-path: inset(-40% -40% -40% -40%); opacity: 1; } }
.mkb { display: block; width: 100%; max-width: 150px; height: 26px; }
.mkb .mw { fill: #F7F5F0; stroke: #9AA1AC; stroke-width: .6; }
.mkb .mb { fill: #1A1D22; }
.card.shuffled .csym::after { content: 'shuffled'; font: 600 9px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--melody); margin-left: 6px; vertical-align: middle; font-style: normal; }

.ribbon { display: block; width: 100%; height: 210px; border-top: 1px solid var(--line); }

/* ── style bar ── */
.style-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font-weight: 650; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.seg button.on { background: var(--ink); color: var(--bg); }
.seg-label { align-self: center; padding: 0 6px 0 12px; margin-left: 4px; border-left: 1px solid var(--line); font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.seg.small button { font-size: 12.5px; padding: 7px 10px; }
.field.vl { width: 150px; }
.style-blurb { margin: -4px 4px 0; color: var(--muted); font-size: 14px; }

/* ── desk ── */
.desk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.now, .options, .instrument, .score-wrap, .custom {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); min-width: 0;
}
.now { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-content: start; }
.now .sym { font-family: var(--f-chord); font-style: italic; font-weight: 700; font-size: clamp(40px, 5vw, 62px); line-height: 1; margin-top: 6px; }
.now .flav { font: 500 12px/1.3 var(--f-mono); color: var(--muted); margin-top: 6px; }
.sung-note { font-weight: 850; font-stretch: 112%; font-size: clamp(40px, 5vw, 62px); line-height: 1; color: var(--melody); margin-top: 6px; }
.sung-what { font-size: 14px; margin-top: 6px; min-height: 2.8em; }
.sung-what b { font-weight: 700; }
.tuner { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--avoid), var(--tension) 40% 60%, var(--avoid)); opacity: .45; margin-top: 8px; }
.tuner i { position: absolute; top: -4px; left: 50%; width: 3px; height: 14px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: left .08s linear; }
.tensions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.tc { text-align: center; padding: 6px 0 5px; border-radius: 7px; border: 1px solid var(--line); font: 600 11px/1.15 var(--f-mono); color: var(--muted); min-width: 0; }
.tc b { display: block; font: 700 13px/1.2 var(--f-display); color: var(--ink); }
.tc.chord { border-color: var(--root); }
.tc.guide { border-color: var(--guide); color: var(--guide); }
.tc.T { border-color: var(--tension); color: var(--tension); }
.tc.C { border-color: var(--colour); border-style: dashed; color: var(--colour); }
.tc.A { color: var(--avoid); text-decoration: line-through; }
.tc.out { opacity: .35; }
.tc.here { background: var(--melody); border-color: var(--melody); color: #fff; }
.tc.here b { color: #fff; }
.reharm { grid-column: 1 / -1; border-left: 3px solid var(--colour); padding: 8px 12px; background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 14px; }

.options { display: grid; gap: 12px; align-content: start; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.opt {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 12px; text-align: left;
  display: grid; gap: 8px; align-content: start; min-width: 0; transition: border-color .15s ease, transform .15s ease;
}
.opt:hover { border-color: var(--muted); }
.opt.on { border-color: var(--melody); box-shadow: 0 0 0 3px var(--glow); }
.opt .ot { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.opt.on .ot { color: var(--melody); }
.opt { container-type: inline-size; }
.opt .mkb { margin-top: 2px; }
.opt .mkb { max-width: 170px; height: 30px; }
.opt.shuf { border-style: dashed; border-color: var(--melody); }
.shuffle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.shufbtn {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--melody); color: var(--melody); background: transparent;
  border-radius: 999px; padding: 8px 14px 8px 11px; font-weight: 700; font-size: 13.5px;
}
.shufbtn:hover:not(:disabled) { background: var(--glow); }
.shufbtn:active:not(:disabled) { transform: translateY(1px); }
.shufbtn:disabled { opacity: .4; }
.shufbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shufbtn kbd { font: 600 10px/1 var(--f-mono); border: 1px solid currentColor; border-radius: 4px; padding: 2px 4px; opacity: .7; }
.shufnote { margin: 0; color: var(--muted); font-size: 13px; flex: 1 1 200px; }
.shufhint { margin: -2px 0 0; color: var(--muted); font-size: 12.5px; }
.opt .empty { color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ghost { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; }
.ghost:hover { border-color: var(--ink); }

/* ── instrument ── */
.instrument { display: grid; gap: 12px; }
.tabs { display: flex; gap: 4px; }
.tabs button { border: 1px solid var(--line); background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 650; font-size: 13px; color: var(--muted); }
.tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ins-view { overflow-x: auto; }
.ins-view svg { display: block; max-width: 100%; height: auto; }
.ins-view svg.kb { min-width: 640px; max-width: none; width: 100%; }
.ins-hint { margin: 0; color: var(--muted); font-size: 13px; }
.kb .w { fill: #F7F5F0; stroke: #B9BEC6; }
.kb .b { fill: #1A1D22; }
.kb .lab { fill: #7A808A !important; }
.kb rect { cursor: pointer; }
.kb .lab { font: 600 9px var(--f-mono); fill: var(--muted); pointer-events: none; }
.kb .dl { font: 700 10px var(--f-mono); pointer-events: none; }

.voices { display: grid; gap: 8px; }
.vrow { display: grid; grid-template-columns: 92px 70px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.vrow .part { font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.vrow .part small { display: block; font: 500 11px var(--f-mono); color: var(--muted); text-transform: none; letter-spacing: 0; }
.vrow .vn { font-weight: 800; font-size: 26px; line-height: 1; }
.vrow .vd { font: 500 13px var(--f-mono); color: var(--muted); }
.vrow.you { border-color: var(--melody); background: var(--glow); }
.vrow .warn { color: var(--avoid); font: 600 12px var(--f-mono); }

.gtr .str { stroke: var(--muted); }
.gtr .fret { stroke: var(--line); }
.gtr .nut { stroke: var(--ink); }
.gtr text { font-family: var(--f-mono); }

/* ── score ── */
.score-wrap { display: grid; gap: 10px; }
.score { overflow-x: auto; }
.score svg { display: block; }
.score .vf-stavenote, .score path, .score rect { }
.score text.csym-svg { font-family: var(--f-chord); font-style: italic; font-weight: 700; }
.score text.deg-svg { font-family: var(--f-mono); font-weight: 600; }

/* ── custom ── */
.custom { display: grid; gap: 10px; }
.custom-row { display: flex; flex-wrap: wrap; gap: 8px; }
.custom-row input { flex: 1 1 280px; font-family: var(--f-mono); }
.custom-err { margin: 0; color: var(--avoid); font-size: 14px; }

.mic-note {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); z-index: 10;
  max-width: calc(100% - 32px);
}
.foot { color: var(--muted); font-size: 12.5px; }
.foot p { margin: 0; max-width: 90ch; }

@media (max-width: 900px) {
  .desk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .input-switch { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; }
  .input-switch button { justify-content: center; padding: 8px 4px; font-size: 12px; gap: 5px; }
  .field.grow { flex: 1 1 200px; }
  .now { grid-template-columns: 1fr; }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tensions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .vrow { grid-template-columns: 80px 56px 1fr; }
  .field.tempo, .field.vl { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
