:root { color-scheme: dark; --shell: #211e21; --ink: #fff5e9; --quiet: #d2c3b7; --rule: #685e61; --amber: #ffbd72; --mint: #7be7c3; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #181619; font: 1rem/1.5 system-ui, sans-serif; }
main { width: min(100% - 2rem, 54rem); margin: auto; padding: 1.4rem 0 3rem; }
a { color: var(--amber); text-underline-offset: .2em; }
header { margin: 1.7rem 0 1.4rem; }
h1 { margin: .3rem 0; font-size: clamp(2.3rem, 8vw, 4.3rem); line-height: .99; letter-spacing: -.045em; }
h2 { margin: .25rem 0 0; line-height: 1.12; }
p { margin: .45rem 0 .65rem; }
header > p:last-child, #challenge { color: var(--quiet); }
.plate, figcaption, label { font: 750 .73rem/1.35 ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; }
.plate { color: var(--amber); margin: 0; }
.plate span { margin-inline: .4rem; }
.chassis { padding: clamp(.85rem, 4vw, 1.6rem); border: 1px solid var(--rule); border-top: .3rem solid var(--amber); border-radius: .6rem; background: var(--shell); box-shadow: 0 .4rem 0 #0b0a0b; }
.rack-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.rack-head label { display: block; margin-bottom: .15rem; color: var(--quiet); }
button, select { min-height: 2.75rem; padding: .4rem .75rem; font: inherit; color: var(--ink); background: #302b30; border: 1px solid var(--rule); border-radius: .3rem; }
button { font-weight: 750; cursor: pointer; }
button:hover:enabled, select:hover { border-color: var(--amber); }
button:disabled { color: var(--quiet); opacity: .68; cursor: default; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.display { margin: 1rem 0; padding: .55rem .7rem .45rem; border: 1px solid #40655a; border-radius: .4rem; background: #091d18; }
.display svg { display: block; width: 100%; height: auto; }
.scope-grid { fill: none; stroke: #34544a; stroke-width: 1; }
#wave { fill: none; stroke: var(--mint); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
figcaption { display: flex; justify-content: space-between; gap: .25rem; color: var(--mint); border-top: 1px solid #34544a; padding-top: .4rem; }
.sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.6rem), 1fr)); gap: .55rem; }
.strip { min-width: 0; padding: .65rem; border: 1px solid var(--rule); border-radius: .3rem; background: #2b262b; }
.strip label { display: flex; justify-content: space-between; gap: .3rem; }
.strip output { color: var(--amber); white-space: nowrap; }
.strip p { margin: 0; color: var(--quiet); font-size: .82rem; }
input[type="range"] { display: block; width: 100%; height: 2.75rem; margin: 0; accent-color: var(--amber); cursor: ew-resize; }
.transport { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
#play:enabled { color: #211717; background: var(--amber); border-color: var(--amber); }
#mute[aria-pressed="true"] { color: #211717; background: var(--mint); border-color: var(--mint); }
#status { color: var(--quiet); min-height: 2.3rem; margin-bottom: 0; }
