:root{color-scheme:light;--ink:#244448;--muted:#75817d;--line:#e2e7e0;--paper:#fffefa;--accent:#2c655c}
*{box-sizing:border-box}
body{margin:0;background:transparent;color:var(--ink);font:14px/1.5 "Avenir Next",Avenir,"Trebuchet MS",sans-serif}
button,input,select{font:inherit}button,select{color:inherit}button{cursor:pointer;border:1px solid transparent;background:transparent;padding:6px 10px;border-radius:5px;font-size:12px;transition:background .15s,color .15s}
button:hover{background:#f0f3ed}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #b47c4c;outline-offset:3px}
.lab{max-width:1200px;margin:auto;padding:23px 26px 15px;background:var(--paper);border:1px solid #dde3d9;border-radius:10px;overflow:hidden}
.masthead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.masthead h1{font:400 23px/1.2 Georgia,serif;letter-spacing:-.45px;margin:0}.mode{display:flex;gap:1px;padding:2px;background:#f1f3ed;border-radius:6px}.mode button{font-size:11px;padding:5px 10px;color:var(--muted)}.mode [aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 3px #243d3210}
.method-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);padding-bottom:0;margin-bottom:18px;flex-wrap:wrap}.method-tabs button{flex:1;white-space:nowrap;padding:9px 7px 11px;border-radius:0;border-bottom:2px solid transparent;color:var(--muted);font-size:12px}.method-tabs [aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent);font-weight:650}.method-tabs button:hover{background:#f5f6f0}
.controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.primary{background:var(--ink);color:#fffefa;min-width:72px}.primary:hover{background:var(--accent)}#position-label{margin-left:auto;font-size:11px;color:var(--muted)}input[type=range]{display:block;width:100%;height:12px;accent-color:#517c6c;cursor:pointer;margin:10px 0 5px}
.chapters{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:13px}.chapters button{font-size:11px;color:var(--muted);padding:4px 8px}.chapters b{margin-right:5px;font-size:12px}.chapters [data-episode="0"] b{color:#b7552d}.chapters [data-episode="1"] b{color:#246f79}.chapters [data-episode="2"] b{color:#78609c}.chapters [aria-current=true]{color:var(--ink);background:#eef2e9}.chapters #finish{margin-left:auto}
.boards{display:grid;grid-template-columns:1fr;gap:24px}.boards.compare{grid-template-columns:1fr 1fr}.board{min-width:0}.board-head{padding:8px 0}.board-head label{font-size:9px;letter-spacing:1.2px;color:var(--muted)}select{border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:4px 7px;margin-left:5px;font-size:12px}.board-head select{display:block;margin:4px 0 0;padding:3px 23px 3px 0;border:0;font:400 20px Georgia,serif;letter-spacing:0}
.method-summary{font-size:12px;color:#6d7c74;margin:0 0 12px;line-height:1.6;max-width:750px}.map-viewport svg{display:block;width:100%;height:auto;max-height:490px}.grid-lines path{fill:none;stroke:#e0e5dc;stroke-width:1}.cell rect{stroke:#d3ddd3;stroke-width:1;transition:fill .15s}.cell .value{font:500 22px "Avenir Next",sans-serif;fill:#294c40;font-variant-numeric:tabular-nums}.cell .state-name{font:600 13px "Avenir Next",sans-serif;fill:#5b746a}.cell.changed>rect{stroke:#c67a3e;stroke-width:2.5}.cell.terminal>rect{fill:#36575b;stroke:#36575b}.cell.terminal .value{fill:#fffefa}.cell.terminal .state-name{fill:#ccdbd2;font-size:9px;letter-spacing:1px}.cell .delta{font:600 11px "Avenir Next",sans-serif;fill:#ae6938;paint-order:stroke;stroke:var(--paper);stroke-width:4}.cell .update-badge rect{fill:#eff1e9;stroke:#cfdbd2;stroke-width:1}.cell .update-badge text{fill:#64776c;font:600 9px "Avenir Next",sans-serif}.membership,.update-badge{pointer-events:none}.route{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.backup-flow{fill:none;stroke:#399773;stroke-width:3;stroke-dasharray:5 4;opacity:.85;animation:travel 1.1s linear infinite;pointer-events:none}.trace-glow{fill:none;stroke:#9676bb;stroke-width:3}.cursor{transition:transform .15s ease;pointer-events:none}.cursor circle{stroke:var(--paper);stroke-width:3}.cursor .outer{fill:var(--paper);stroke-width:5}.pulse{display:none}
.update-details{margin:9px 0 0;color:var(--muted);font-size:11px}.update-details>summary{list-style:none;cursor:pointer;display:inline-block}.update-details>summary::-webkit-details-marker{display:none}.update-details>summary:before{content:'+';display:inline-block;width:14px}.update-details[open]>summary:before{content:'−'}.board-status{padding-top:10px}.status-title{color:var(--ink);font-weight:600}.board-status p{margin:5px 0}.numeric,.equation{font:11px/1.7 "SFMono-Regular",Consolas,monospace;overflow-wrap:anywhere;color:#456152}.equation{white-space:pre-line;margin:10px 0}
.legend{display:flex;gap:9px 20px;flex-wrap:wrap;justify-content:center;padding:18px 0 15px;color:var(--muted);font-size:10px}.legend span{display:flex;align-items:center;gap:6px}.changed-key{width:9px;height:9px;border:2px solid #c67a3e;border-radius:2px}.flow-key{width:20px;border-top:2px dashed #399773}.heat-key,.update-key{width:42px;height:8px;border-radius:3px;border:1px solid #d6e0d5;background:linear-gradient(90deg,#fff,#6eb197)}.update-key{background:linear-gradient(90deg,#fff,#cde9db,#b9d9f2,#d2c3ee)}
.settings{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:11px}.settings>summary{cursor:pointer;list-style:none}.settings>summary::-webkit-details-marker{display:none}.settings>summary:after{content:' +';color:#87938b}.settings[open]>summary:after{content:' −'}.settings-controls{display:flex;gap:14px 22px;align-items:center;flex-wrap:wrap;padding:18px 0 4px}.settings-controls label{display:flex;align-items:center;gap:5px}.settings input{accent-color:var(--accent)}.settings p{max-width:850px;line-height:1.7}.settings a{color:var(--accent)}
[hidden]{display:none!important}@keyframes travel{to{stroke-dashoffset:-18}}
@media(max-width:760px){.lab{padding:17px 15px 13px}.boards.compare{grid-template-columns:1fr}.method-tabs button{flex:1 0 21%;font-size:11px;padding:7px 4px}.masthead h1{font-size:21px}.legend{gap:7px 13px}.map-viewport svg{max-height:460px}}
@media(max-width:420px){.lab{padding:13px 9px}.masthead{gap:5px}.masthead h1{font-size:19px}.mode button{padding:5px 8px}#position-label{flex-basis:100%;margin:5px 0 0}.chapters{gap:0}.chapters button{font-size:10px;padding:4px 5px}.chapters #finish{margin-left:0}.legend{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.equation,.numeric{white-space:normal;overflow-x:auto;padding:5px 0;font-size:11px}.equation .katex,.numeric .katex{font-size:1.05em}
.method-summary{width:100%;max-width:692px;min-height:82px;padding:9px 12px;border-left:2px solid transparent;margin:0 auto 8px}
.sharing .method-summary{background:#edf5ef;border-left-color:#399773;border-radius:0 6px 6px 0;color:#426555}
.sharing-title{display:block;color:#245d4c;font-size:13px;font-weight:650;margin-bottom:2px}
.cell.shared-source>rect{stroke:#248b6a;stroke-width:3}
.cell.shared-source .pulse{display:block;fill:none;stroke:#248b6a;stroke-width:1.5;r:34;opacity:.35}
.cell.shared-source .delta{fill:#248b6a;font-size:10px}
.sharing .backup-flow{stroke-width:4;opacity:1;stroke-dasharray:6 4}

.cell.moment-target .pulse{display:block;fill:none;stroke:#c67a3e;stroke-width:1.5;r:34;opacity:.35}
.sharing-title{animation:insight-appear .25s ease-out}@keyframes insight-appear{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){.method-summary{max-width:650px}}
.transfer-tracks,.transfer-caption{pointer-events:none}
.transfer-lane{fill:none;stroke-linecap:round;stroke-linejoin:round}
.evidence-lane{stroke-width:11;opacity:.22}
.receiving-lane{stroke-width:11;opacity:.18}
.transfer-wave{stroke-width:4;stroke-dasharray:2 15;animation:transfer-wave 1.2s linear infinite}
.has-transfer .ghost-paths{opacity:.16!important}
.has-transfer .active-route{opacity:.22!important}
.has-transfer .backup-flow{stroke-width:2;opacity:.5;animation:none}
.transfer-caption rect{fill:#fffefa;fill-opacity:.97;stroke:#dce5dc;stroke-width:1}
.transfer-caption-title{font:600 10px "Avenir Next",sans-serif;letter-spacing:1.25px;fill:#76847b}
.transfer-caption-main{font:600 15px "Avenir Next",sans-serif;fill:#294d44}
.transfer-caption-note,.evidence-label{font:11px "Avenir Next",sans-serif;fill:#62766b}
.evidence-label{paint-order:stroke;stroke:#fffefa;stroke-width:4}
@keyframes transfer-wave{to{stroke-dashoffset:-34}}
.evidence-glow{pointer-events:none}
.cell .evidence-glow rect{fill:none;stroke:currentColor}
.cell .evidence-glow .evidence-aura{stroke-width:10;opacity:.19;animation:evidence-breathe 1.8s ease-in-out infinite}
.cell .evidence-glow .evidence-outline{stroke-width:2;opacity:.85}
.cell.evidence-node:not(.terminal):not(.shared-source):not(.moment-target)>rect{fill:color-mix(in srgb,var(--evidence-color) 24%,#fffefa);stroke:var(--evidence-color);stroke-width:2}
@keyframes evidence-breathe{50%{opacity:.34}}
.episode-token{display:inline-block;border:1px solid currentColor;border-radius:4px;padding:1px 6px;background:#fffefa;white-space:nowrap;font-size:11px}
.transfer-direction{padding:0 4px;color:#76847b}
