/* Figures of "What a generated track carries": SVG line art in the plate's inks, drawn at the plate's width. What is
 * generated is the plate's accent; what people made, its second ink. */
.d-svg svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.d-svg .tick { font: 11px var(--mono); letter-spacing: .02em; fill: var(--ink-2); }
.d-svg .head { font: 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; fill: var(--ink-2); }
.d-svg .name { font: 12px var(--body); fill: var(--ink); }
.d-svg .mark { font: 500 12px var(--body); fill: var(--ink); }
.d-svg .axis { stroke: var(--ink-3); stroke-width: 1; }
.d-svg .grid { stroke: var(--ink-3); stroke-width: 1; }
.d-svg .kept { fill: rgb(255 255 255 / .05); }
.d-svg .dot { fill: var(--blue); fill-opacity: .85; }
.d-svg .dot.real { fill: none; stroke: var(--ink-2); stroke-width: 1.25; }
.d-svg .mid { stroke: var(--ink); stroke-width: 1; }
.d-svg .part.tones { fill: var(--ink-3); }
.d-svg .part.noise { fill: var(--blue); }
.d-svg .part.attacks { fill: var(--ink); }
.d-svg .line { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.d-svg .line.hot { stroke: var(--blue); }
.plate .readout { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.plate .controls { color: var(--ink-2); }
.plate [data-name] { background: rgb(255 255 255 / .06); }
.plate [data-name] button { color: var(--ink-2); font-size: 13px; }
.plate [data-name] button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.plate :is(button, [tabindex]):focus-visible { outline-color: var(--blue); }
.d-key { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.d-key.tones { background: var(--ink-3); } .d-key.noise { background: var(--blue); } .d-key.attacks { background: var(--ink); }
/* fig 6.1: play, what it is, where it is; the stages it planned, lit while the remaster is heard */
.d-head { display: grid; grid-template-columns: auto minmax(0, 15rem) minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; }
.d-head .play { min-width: 5.5em; padding: 6px 12px; font-size: 13px; }
.d-what { display: grid; line-height: 1.35; }
.d-what b { font-weight: 500; font-size: 15px; color: var(--ink); }
.d-what small { font: 11px/1.45 var(--mono); color: var(--ink-2); }
.d-what a { color: inherit; }
.d-bar { position: relative; height: 28px; border-radius: 4px; background: rgb(255 255 255 / .06); overflow: hidden; cursor: pointer; }
.d-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: rgb(255 255 255 / .08); border-right: 1.5px solid var(--blue); }
.d-time { font: 12px var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.d-said { margin: 14px 0 6px; font-size: 14px; color: var(--ink); }
.d-stages { margin: 0; padding: 0; list-style: none; }
.d-stages li { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 2px 16px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.d-stages code { font: 12px/1.5 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
[data-heard="after"] .d-stages li { color: var(--ink-2); }
[data-heard="after"] .d-stages code { color: var(--blue); }
@media (max-width: 640px) { .d-head { grid-template-columns: auto minmax(0, 1fr) auto; } .d-bar { grid-column: 1 / -1; grid-row: 2; } .d-stages li { grid-template-columns: minmax(0, 1fr); } }
/* the tables: a tool a row, a track a row; words, not figures, so set from the left and wrapped */
.table.words :is(th, td) { text-align: left; white-space: normal; vertical-align: top; }
.table.words :is(th, td):first-child { white-space: nowrap; }
.table.words td.n { text-align: right; font-variant-numeric: tabular-nums; }
.table.words th:nth-child(3) { text-align: right; }
.table.words table:not(:has(td.n)) th:nth-child(3) { text-align: left; }
.table td code { font-size: 12px; overflow-wrap: anywhere; }
.table td .none { color: var(--mute); }
/* a script, as the lab's other articles set one */
pre.code { margin: 18px 0 14px; padding: 14px 16px; overflow-x: auto; border-radius: 10px; background: oklch(0% 0 0 / .06); font: 13px/1.6 var(--mono); tab-size: 2; }
pre.code code { font: inherit; }
pre.code i { font-style: normal; color: var(--mute); }
.article > pre.code { max-width: 46rem; }
.plate .readout code { font-size: inherit; }

.plate .hint { color: var(--ink-2); }
