:root { color-scheme: light; background: #ebe7d8; color: #182520; font: 1rem/1.55 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
.mast { background: #172820; color: #fff7df; padding: .8rem clamp(.9rem, 4vw, 3rem); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem; font: .84rem/1.5 ui-monospace, monospace; }
.mast a { color: inherit; }
main { width: min(66rem, 100% - 1.7rem); margin: 1.5rem auto 2rem; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 1.25rem; }
.intro { align-self: center; padding: clamp(.5rem, 4vw, 2.2rem); border-top: 7px solid #182820; }
.eyebrow { font: 700 .8rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; color: #6a3a16; }
h1 { margin: .25em 0; font: 800 clamp(2.3rem, 7vw, 4.5rem)/.92 system-ui, sans-serif; letter-spacing: -.075em; }
h2 { margin: 0 0 .6rem; font: 700 1.15rem/1.3 ui-monospace, monospace; }
.dispatch { background: #fffdf4; border: 1px solid #8b806b; padding: clamp(.75rem, 3vw, 1.3rem); box-shadow: 4px 4px 0 #b1a38c; }
.controls { display: grid; gap: .55rem; }
label { display: grid; font-weight: 650; font-size: .92rem; gap: .2rem; }
select { color: inherit; background: #fffdf4; padding: .42rem; min-height: 2.6rem; max-width: 100%; font: inherit; border: 1px solid #786e5c; }
:focus-visible { outline: 3px solid #a24300; outline-offset: 3px; }
caption { text-align: left; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font: .88rem/1.3 ui-monospace, monospace; }
th,td { padding: .35rem; border-bottom: 1px solid #b7ac97; text-align: left; }
.board { grid-column: 1 / -1; background: #172820; color: #fff7df; padding: clamp(.8rem, 3vw, 1.5rem); }
.board :focus-visible { outline-color: #f8ae70; }
#comparison { color: #fff1b6; font-weight: 700; }
.lane + .lane { border-top: 1px solid #86958a; margin-top: .9rem; }
.lane h3 { font-size: 1rem; margin-bottom: .5rem; }
.timeline { margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.timeline li { display: grid; flex: var(--ticks) 1 3.3rem; place-content: center; text-align: center; min-width: 3rem; min-height: 3rem; background: #fac480; color: #1e241f; font: .9rem/1.1 ui-monospace, monospace; }
.timeline li[data-job="B"], .timeline li[data-job="D"] { background: #bce1bf; }
.timeline li[data-job="C"], .timeline li[data-job="E"] { background: #b9dbe9; }
.timeline li[data-job="Idle"] { background: #3c5347; color: #fff7df; border: 1px dashed #aebfac; }
summary { cursor: pointer; }
footer { grid-column: 1 / -1; font: .78rem/1.4 ui-monospace, monospace; }
@media (max-width: 40rem) { main { grid-template-columns: minmax(0,1fr); } }
