@font-face{font-family:"Timeline Serif";src:url(fonts/timeline-serif-regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"Timeline Serif";src:url(fonts/timeline-serif-bold.woff) format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"Timeline Serif";src:url(fonts/timeline-serif-italic.woff) format("woff");font-style:italic;font-display:swap}
:root{--bg:#fbfaf7;--ink:#1c1b19;--soft:#5d584f;--line:#ddd7ca;--road:#ebe6da;--maroon:#7b1e2b;--wash:rgba(123,30,43,.075);
--c0:#4a3aa7;--c1:#1baf7a;--c2:#2a78d6;--c3:#eda100;color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.45 "Timeline Serif","Source Serif 4",Georgia,serif;font-feature-settings:"kern","liga"}
main{max-width:1320px;margin:0 auto;padding:14px 32px 44px}
h1,h2,h3,p,dl,dd{margin:0}
h1{font-size:clamp(27px,2.75vw,38px);line-height:1.08;letter-spacing:-.018em;font-weight:700;text-wrap:balance}
h2{font-size:22px;line-height:1.2;letter-spacing:-.01em}
.js noscript{display:none}html:not(.js) .needs-js{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.top{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.dek{font-size:17px;line-height:1.38;max-width:104ch;margin-top:6px;text-wrap:pretty}
.how{font-size:15px;line-height:1.4;max-width:118ch;margin-top:5px;text-wrap:pretty}.rm .how .step{display:inline}
.notice{font-size:15px;color:var(--soft);margin-top:4px}.notice strong{color:var(--ink)}
.hero{width:296px}
.nums{display:flex;align-items:baseline;justify-content:space-between;font-feature-settings:"lnum","tnum";line-height:1;letter-spacing:-.02em}
.nums span{font-size:30px;color:var(--soft)}.nums .big{font-size:56px;color:var(--maroon)}
.nums svg{width:44px;height:15px;fill:none;stroke:var(--line);stroke-width:2;align-self:center}
.cap{display:flex;justify-content:space-between;font-size:13px;color:var(--soft);margin-top:3px}
.hero p{font-size:13px;color:var(--soft);border-top:1px solid var(--line);margin-top:5px;padding-top:4px}

.stage{display:grid;grid-template-columns:minmax(0,1fr) 344px;grid-template-areas:"cars cars" "trip bars" "controls bars";column-gap:40px;margin-top:8px}
.cars{grid-area:cars;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);margin-bottom:9px}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;touch-action:manipulation}
.cars button{text-align:left;padding:7px 10px 8px 0;border-bottom:3px solid transparent;margin-bottom:-2px;color:var(--soft);line-height:1.25}
.cars b{color:var(--ink);margin-right:7px}.cars button:hover{color:var(--ink)}
.cars [aria-pressed=true]{border-color:var(--maroon);color:var(--ink)}.cars [aria-pressed=true] b{color:var(--maroon)}
:focus-visible{outline:3px solid var(--maroon);outline-offset:3px;border-radius:3px}
.trip{grid-area:trip;display:grid;grid-template-columns:236px minmax(0,1fr);column-gap:22px}
.lab{font-size:14px;font-weight:700;letter-spacing:0;line-height:20px}.lab span{font-weight:400;color:var(--soft)}
.plothead{display:flex;justify-content:space-between;gap:12px;padding-left:42px}
.key,.legend{font-size:13px;color:var(--soft);line-height:20px}
.key i,.legend i{display:inline-block;width:14px;height:11px;margin:0 5px 0 10px;vertical-align:-1px;border:1px solid var(--maroon);border-radius:2px}
.k-used{background:var(--maroon)}.key .k-skip{border-color:#b5ad9e}
svg{display:block;width:100%;overflow:visible}
svg text{font-family:inherit;font-size:12.5px;fill:var(--soft);font-feature-settings:"lnum","tnum"}
#map{height:286px}#plot{height:286px;cursor:ew-resize;touch-action:pan-y}
.status{grid-column:1/-1;min-height:24px;font-size:15px;margin-top:2px;text-align:left;padding-left:300px}
.road{fill:none;stroke:var(--road);stroke-width:13;stroke-linecap:round;stroke-linejoin:round}
.mused{fill:none;stroke:var(--maroon);stroke-opacity:.28;stroke-width:4;stroke-linejoin:round}
.mdone,.pdone{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.mtick{fill:var(--bg);stroke:#8d8678;stroke-width:1}
.pfull{fill:none;stroke:#c5bdad;stroke-width:1.6;stroke-linejoin:round}
.hair{stroke:var(--line);stroke-width:1}.wash{fill:var(--wash)}
.edge{stroke:#d3ccbe;stroke-width:1;stroke-dasharray:1 3}
.seg{fill:var(--bg);stroke:#c2baab;stroke-width:1}.seg.u{fill:#f0e2e1;stroke:var(--maroon);stroke-opacity:.45}.seg.u.on{fill:var(--maroon);stroke-opacity:1}
.segn{text-anchor:middle;font-weight:700;fill:var(--maroon)!important}.on+.segn{fill:#fff!important}
.frame{fill:#f4f1ea}
.now{stroke:var(--maroon);stroke-width:1.5}.dot{fill:var(--maroon);stroke:var(--bg);stroke-width:2.5}
.flag{stroke:var(--ink);stroke-width:1.5}.flagt{font-weight:700;fill:var(--ink)!important;paint-order:stroke;stroke:var(--bg);stroke-width:4px;stroke-linejoin:round}

.range{--p:0%;appearance:none;-webkit-appearance:none;display:block;height:32px;background:none;margin:0;cursor:pointer}
.range::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--maroon) var(--p),var(--line) var(--p))}
.range::-moz-range-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--maroon) var(--p),var(--line) var(--p))}
.range::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;margin-top:-8px;border-radius:50%;background:var(--maroon);border:3px solid var(--bg);box-shadow:0 0 0 1px var(--maroon)}
.range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--maroon);border:3px solid var(--bg);box-shadow:0 0 0 1px var(--maroon);box-sizing:border-box}
#time{width:calc(100% - 32px);margin-left:32px}

.bars{grid-area:bars;border-left:1px solid var(--line);padding-left:30px}
.truth{font-size:15px;color:var(--soft)}.truth strong{display:flex;align-items:center;gap:9px;font-size:27px;line-height:1.15;color:var(--ink);letter-spacing:-.012em}
.sw{width:14px;height:14px;border-radius:3px;flex:none}
.seenrow{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:9px 0 14px;font-size:15px}.tkey{font-size:13px;color:var(--soft);white-space:nowrap}.tkey i{display:inline-block;height:13px;border-left:2px dashed var(--ink);margin-right:6px;vertical-align:-2px}
.rows{position:relative}
.row{display:grid;grid-template-columns:1fr auto;line-height:1.2;margin-bottom:11px;position:relative}
.row em{font-size:13px;color:var(--soft);margin-left:6px}
.row .v{font-feature-settings:"lnum","tnum"}.row.top-class span{font-weight:700}
.track{grid-column:1/-1;height:15px;margin-top:4px;background:#f0ece2;border-radius:2px;position:relative}
.tk{position:absolute;top:-3px;bottom:-3px;border-left:2px dashed var(--ink);margin-left:-1px}
.fill{height:100%;width:0;border-radius:0 4px 4px 0;transition:width .28s ease-out}.snap .fill{transition:none}
.axis{display:flex;justify-content:space-between;font-size:12.5px;color:var(--soft);margin-top:-5px}
.decision{font-size:15px;line-height:1.35;border-top:1px solid var(--line);margin-top:10px;padding-top:8px;min-height:50px}
.fine{font-size:13px;line-height:1.4;color:var(--soft);margin-top:6px}

.controls{grid-area:controls;display:flex;align-items:center;gap:8px;padding:8px 0 0;background:var(--bg)}
.controls button{height:44px;padding:0 15px;border:1px solid var(--line);border-radius:6px;white-space:nowrap}
.controls button:hover{border-color:var(--maroon)}
.controls .primary{background:var(--maroon);border-color:var(--maroon);color:#fff;font-weight:700}
.controls .primary:hover{background:#651722}
.controls button:disabled{opacity:.45;cursor:default}
#play{display:flex;align-items:center;gap:9px;min-width:106px;justify-content:center}#play svg{width:14px;height:14px;fill:currentColor}
#restart svg{display:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin:auto}
.speeds{display:flex;margin-left:8px}
.controls .speeds button{padding:0;width:50px;border-radius:0;margin-left:-1px;font-feature-settings:"lnum"}
.speeds button:first-child{border-radius:6px 0 0 6px}.speeds button:last-child{border-radius:0 6px 6px 0}
.controls .speeds [aria-pressed=true]{color:var(--maroon);font-weight:700;border-color:var(--maroon);position:relative}
.clock{margin-left:auto;text-align:right;line-height:1.25;font-feature-settings:"lnum","tnum"}.clock small{display:block;font-size:13px;color:var(--soft)}
.step{display:none}.rm .step{display:block}.rm .motion{display:none!important}

.group{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;margin-top:40px;padding-top:28px;border-top:1px solid var(--ink)}
html:not(.js) .group{display:none}
.fig>p{margin-top:8px;max-width:68ch}.fig .legend{margin-top:12px}
.legend i{border:0;width:22px;height:0;vertical-align:4px;border-radius:0}.legend i{margin-left:0}.legend span{white-space:nowrap;margin-right:14px}.nw{white-space:nowrap}.halo{paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round}
.legend .l-first{border-top:2.5px solid var(--ink)}.legend .l-rand{border-top:2.5px dashed #857d6e}
.legend .l-now{width:11px;height:11px;border-radius:50%;background:var(--maroon);vertical-align:-1px}
.chartwrap{position:relative}#ap{height:290px;margin-top:8px}#dec{height:180px}
.tip{position:absolute;background:var(--bg);border:1px solid var(--ink);border-radius:4px;padding:6px 9px;font-size:13px;line-height:1.4;pointer-events:none;white-space:nowrap;font-feature-settings:"lnum","tnum"}
.thresh{display:grid;grid-template-columns:1fr auto;align-items:baseline;margin-top:14px}
.thresh output{font-size:34px;line-height:1;color:var(--maroon);font-feature-settings:"lnum","tnum"}.thresh input{grid-column:1/-1;width:100%;margin-top:4px}
.fig .lab2{font-size:14px;font-weight:700;margin:6px 0 4px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.stats dt{font-size:14px;line-height:1.3;color:var(--soft)}.stats dd{font-size:26px;line-height:1.2;font-feature-settings:"lnum","tnum"}
.stats small{display:block;font-size:13px;color:var(--soft)}.stats div{display:flex;flex-direction:column-reverse;justify-content:flex-end}
.table{margin-top:24px}.table summary{cursor:pointer;padding:10px 0;width:max-content;color:var(--maroon);text-decoration:underline;text-underline-offset:3px}
.scroll{overflow-x:auto}table{border-collapse:collapse;font-size:15px;font-feature-settings:"lnum","tnum"}
th,td{text-align:right;padding:6px 14px 6px 0;border-bottom:1px solid var(--line)}
.notes{display:grid;grid-template-columns:repeat(5,1fr);gap:30px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;line-height:1.45}
.notes h3{font-size:15px;margin-bottom:4px}.notes p{color:#45413a}
.still{margin:24px 0}.still img{width:100%;max-width:720px;height:auto}

@media(max-width:1260px){.dek{font-size:16px}.hero{width:276px}.top{gap:20px}.notes{grid-template-columns:repeat(3,1fr)}.stage{grid-template-columns:minmax(0,1fr) 310px;column-gap:28px}.bars{padding-left:24px}
 .trip{grid-template-columns:170px minmax(0,1fr)}.status{padding-left:234px}.group{gap:40px}}
@media(max-width:1000px){main{padding:18px 24px 36px}.top{gap:24px}.hero{width:220px}.nums .big{font-size:46px}
 .stage{grid-template-columns:minmax(0,1fr) 250px;column-gap:20px}.bars{padding-left:18px}.trip{grid-template-columns:1fr}.maphold{display:grid;grid-template-columns:110px 1fr;align-items:center}
 .cars{grid-template-columns:repeat(4,auto);justify-content:space-between}.cars button{font-size:15px;padding-right:0}.seenrow{flex-wrap:wrap;gap:0 10px}.seenrow p{white-space:nowrap}
 #map{height:112px}#plot{height:236px}.status{padding-left:0;min-height:44px}.controls{grid-column:1/-1;position:sticky;bottom:0;z-index:2;padding:8px 0;border-top:1px solid var(--line);margin-top:8px}.stage{grid-template-areas:"cars cars" "trip bars" "controls controls"}.group{grid-template-columns:1fr}.speeds{margin-left:0}}
@media(max-width:680px){body{font-size:16px}main{padding:16px 16px 28px}.top{grid-template-columns:1fr;gap:12px}.hero{width:100%;max-width:300px}
 .dek{font-size:16px}.stage{grid-template-columns:minmax(0,1fr);grid-template-areas:"cars" "trip" "bars" "controls"}
 .cars{grid-template-columns:1fr 1fr;justify-content:stretch;column-gap:14px;margin-bottom:10px}.cars button{font-size:14px;padding-right:0;min-height:50px}.cars b{display:block}
 .maphold{grid-template-columns:72px 1fr}#map{height:96px}#plot{height:198px}.plothead{padding-left:0;flex-wrap:wrap;gap:0 12px}.key i:first-child{margin-left:0}
 .bars{border-left:0;padding:8px 0 0}.truth strong{font-size:22px}.seenrow{margin:4px 0 8px}.row{margin-bottom:7px}.track{height:11px;margin-top:2px}.axis{margin-top:-2px}
 .controls{flex-wrap:wrap;gap:6px;padding:5px 0 8px}.controls button{padding:0 10px}#play{min-width:0;flex:1;gap:6px}
 #restart{width:44px;padding:0}#restart svg{display:block}#restart span{display:none}.controls .speeds button{width:42px}
 .clock{order:-1;width:100%;display:flex;justify-content:space-between;align-items:baseline;font-size:14px;margin:0}.rm .controls .step{flex:1}
 .group{margin-top:28px;padding-top:22px;gap:36px}#ap{height:240px}.stats{grid-template-columns:1fr;gap:10px}.notes{grid-template-columns:1fr;gap:18px}
 .legend span{display:block}}
@media(prefers-reduced-motion:reduce){.fill{transition:none}}
