@font-face{font-family:Inter;src:url('vendor/inter/Inter.var.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#0c1421;--panel:#121e2d;--raised:#1b2a3d;--ink:#edf2f7;--muted:#acbbcd;--rule:#304156;--blue:#8cccf4;--left:#efbc68;--right:#baacf7;--red:#ffaaaa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 Inter,system-ui,sans-serif}button,select,input{font:inherit}button,select{color:var(--ink);background:var(--raised);border:1px solid var(--rule);border-radius:6px;min-height:36px;padding:7px 11px}select{width:100%;padding-right:25px;cursor:pointer;min-width:0}button{cursor:pointer;line-height:1.4}button:hover:not(:disabled){background:#253b53;border-color:#58738f}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}a{color:var(--blue)}[hidden]{display:none!important}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;flex-shrink:0;margin:0}.shell{max-width:1480px;margin:auto;padding:0 32px}.masthead{display:flex;justify-content:space-between;padding:20px 0 15px;border-bottom:1px solid var(--rule)}.masthead a{text-decoration:none;font-size:12px;color:var(--muted)}.masthead a:first-child{font-weight:600;color:var(--ink)}.hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 0 24px}.eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin:0 0 7px;font-weight:600}h1{font-size:clamp(25px,2.6vw,36px);font-weight:560;letter-spacing:-.035em;line-height:1.2;margin:0}.hero>p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}h2{font-size:18px;line-height:1.4;font-weight:550;letter-spacing:-.02em;margin:0}h3{font-size:21px;line-height:1.4;letter-spacing:-.025em;margin:0 0 8px;font-weight:550}
.setup{display:grid;grid-template-columns:1.1fr 1.15fr 1.1fr .65fr;gap:14px;padding:16px 18px;margin-bottom:24px;background:var(--panel);border:1px solid var(--rule);border-radius:10px}.setup label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.setup select{font-size:13px;background:#0e1724;min-height:39px}.laboratory{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);gap:28px;align-items:start}.live{position:sticky;top:18px;min-width:0;border:1px solid var(--rule);border-radius:10px;background:var(--panel);overflow:hidden}.live-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;gap:12px}.live-header h2{font-size:16px}.status{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.status i{height:6px;width:6px;border-radius:50%;background:var(--muted)}.status i.running{background:#88cdb1}.equation{margin:0 20px 18px;color:var(--blue);font-size:16px;min-height:40px}.equation .equation-caption{color:var(--muted);font-size:12px;margin-top:4px}.transport-controls{display:flex;gap:8px;padding:0 20px}.transport-controls button{font-size:12px}.primary{background:var(--blue);border-color:var(--blue);color:#08121e;min-width:85px;font-weight:550}.primary:hover:not(:disabled){background:#c5e7fc}.time-row{display:flex;align-items:center;gap:13px;padding:18px 20px 3px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.time-row>span:first-child{color:var(--ink);margin-right:auto}.time-row b{font-weight:500;font-size:18px}.cfl-tag{font-size:10px;padding:2px 5px;border-radius:3px;background:#8cccf40c}.plot{min-width:0}.plot svg{display:block;width:100%;height:auto}.plot-line{vector-effect:non-scaling-stroke}.solution-plot{padding:0 6px;cursor:crosshair}.range-readout{display:flex;gap:28px;margin:7px 20px 0;padding-top:10px;border-top:1px solid #30415680}.range-readout>div{display:flex;align-items:baseline;gap:9px}.range-readout span{font-size:11px;color:var(--muted)}.range-readout strong{font-size:13px;color:var(--red);font-weight:500;font-variant-numeric:tabular-nums}.range-note{font-size:10px;color:var(--muted);margin:7px 20px 12px;line-height:1.7}.direction-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 20px}.direction-row>span{font-size:11px;color:var(--muted)}.segmented{display:flex}.segmented button{border-radius:0;border-right:0;font-size:11px;min-height:32px;padding:5px 11px}.segmented button:first-child{border-radius:5px 0 0 5px}.segmented button:last-child{border-right:1px solid var(--rule);border-radius:0 5px 5px 0}.segmented button[aria-pressed=true]{background:#28445c;color:var(--blue)}.plot-hint{font-size:11px;color:var(--muted);margin:12px 20px 0}.feedback{color:var(--blue);font-size:11px;line-height:1.7;margin:5px 20px 17px;min-height:1.7em}.feedback.error{color:var(--red)}.try-example{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#8cccf407;padding:13px 20px;border-top:1px solid var(--rule)}.try-example span{font-size:11px;color:var(--muted)}.try-example button{font-size:10px;color:var(--blue);padding:5px 8px;min-height:30px;background:transparent}.options{padding:13px 20px;border-top:1px solid var(--rule)}summary{cursor:pointer;font-size:12px;color:var(--muted);line-height:1.6}details[open]>summary{color:var(--blue)}.options-body{padding-top:17px}.option-pair{display:grid;grid-template-columns:1fr 1.1fr;gap:18px;align-items:end;margin-bottom:16px}.options-body label:not(.check){display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.check{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.6}.option-pair .check{margin-bottom:9px}#comparison-controls{padding:3px 0 14px}#comparison-controls>button{margin-top:10px;width:100%;font-size:11px}.diagnostics{display:grid;grid-template-columns:1fr auto auto;gap:8px 10px;padding-top:12px;border-top:1px solid var(--rule);align-items:baseline}.diagnostics span{font-size:11px;color:var(--muted)}.diagnostics b{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}#error-a{color:var(--blue)}#error-b{color:var(--right)}#mass-error{grid-column:2}.small{font-size:11px;color:var(--muted);line-height:1.8}.history{margin:10px 0 0;padding-left:16px;font-size:11px;color:var(--muted)}.history time{color:var(--blue);margin-right:6px;font-variant-numeric:tabular-nums}
.walkthrough{min-width:0}.trace-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 17px}.trace-header .eyebrow{margin-bottom:4px;font-size:9px}.cell-navigation{display:flex;gap:5px;align-items:center}.cell-navigation button{padding:5px 9px;min-height:32px;font-size:11px}#freeze{background:transparent;color:var(--muted)}.step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--rule);border-radius:8px;overflow:hidden}.step-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:0;border:0;border-right:1px solid var(--rule);font-size:11px;padding:11px 3px;background:var(--panel);color:var(--muted)}.step-nav button:last-child{border-right:0}.step-nav span{display:flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#30415670;color:var(--muted);font-size:11px}.step-nav button[aria-selected=true]{background:#1d354a;color:var(--blue)}.step-nav button[aria-selected=true] span{background:var(--blue);color:#0c1421}.trace-context{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 1px}.trace-context>span{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--muted)}.key-cell{width:10px;height:10px;border:1px solid var(--blue);background:#8cccf433;border-radius:2px}.face-picker{display:flex;gap:4px}.face-picker button{font-size:11px;padding:5px 9px;min-height:29px;background:transparent}#face-left,.left-color{color:var(--left)}#face-right,.right-color{color:var(--right)}#face-left[aria-pressed=true]{border-color:var(--left);background:#efbc6810}#face-right[aria-pressed=true]{border-color:var(--right);background:#baacf710}.operation{padding:22px;background:var(--panel);border:1px solid var(--rule);border-radius:10px;min-height:400px}.operation>header p:not(.step-counter){font-size:13px;color:var(--muted);line-height:1.8;margin:0}.step-counter{font-size:10px;color:var(--blue);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}.local-plot{margin-top:15px;cursor:crosshair}.readout{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;font-size:12px;color:var(--muted);padding:12px 2px 0}.readout strong{color:var(--blue);font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.readout .small{flex-basis:100%}.takeaway{border-left:2px solid var(--blue);padding-left:12px;color:var(--muted);font-size:12px;line-height:1.8;margin:24px 0 4px}.row-note{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.face-states{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.face-states>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--rule);border-radius:6px}.face-states span{font-size:11px;color:var(--muted)}.face-states strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.face-states>div.upwind{border-color:var(--blue);background:#8cccf408}.face-states>div.upwind strong{color:var(--blue)}.equation-block{overflow-x:auto;scrollbar-width:thin;padding:12px 0;font-size:14px}.equation-block .katex-display{margin:.2em 0}.flux-formula{color:var(--blue);margin-top:8px}.balance-equation{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:baseline;font-size:13px;margin-top:20px;font-variant-numeric:tabular-nums}.balance-equation>span:last-child{color:var(--muted);font-size:12px}.update-rule{color:var(--muted);font-size:13px}.update-formula{color:var(--blue);font-size:13px}.apply-step{width:100%;margin-top:20px;background:#1d354a;color:var(--blue)}.reconstruction-math,.time-math{margin:20px 0 0;padding-top:15px;border-top:1px solid var(--rule);min-width:0}.reconstruction-math>summary,.time-math>summary{color:var(--blue);font-size:12px}#math-body,#time-formula{padding-top:12px;min-width:0}.math-line{color:var(--ink);overflow-x:auto;scrollbar-width:thin;margin:14px 0;padding:5px 0;font-size:13px}.math-line .katex-display{margin:0}.math-note{color:var(--muted);font-size:12px;line-height:1.9;margin:10px 0}.math-more{padding:10px 0}.math-more>summary{font-size:12px}.math-live{border-top:1px solid var(--rule);padding-top:12px;margin-top:20px}.math-live-heading{color:var(--blue);font-size:12px;margin:0 0 12px}.math-live h4{font-size:12px;font-weight:550;margin:18px 0 3px}.weight-table-wrap{overflow-x:auto;max-width:100%;scrollbar-width:thin}.weight-table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.weight-table th,.weight-table td{border-bottom:1px solid var(--rule);padding:8px 5px;text-align:right}.weight-table th{font-weight:500;color:var(--muted)}.weight-table th:first-child,.weight-table td:first-child{text-align:left}.weight-table td:last-child{color:var(--blue)}.weight-table .rejected td{color:var(--muted);opacity:.7}.step-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.step-pagination button{font-size:11px;background:transparent;min-height:34px}.step-pagination>span{font-size:10px;color:var(--muted);white-space:nowrap}
.face-stencil{margin:18px 0 0;min-width:0}.face-stencil>header{display:flex;justify-content:space-between;align-items:center;gap:8px}.face-stencil h4{font-size:12px;font-weight:500;margin:0}.all-candidates{font-size:10px;background:transparent;border:0;color:var(--muted);padding:4px 0;min-height:28px}.source-picker{display:flex;gap:7px;margin:12px 0 8px}.source-picker button{flex:1;font-size:11px;color:var(--muted);padding:8px 4px;font-variant-numeric:tabular-nums}.source-picker button[aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:#1d354a}.stencil-caption{font-size:10px;color:var(--muted);line-height:1.8;margin:10px 0}.stencil-grid{display:grid;grid-template-columns:repeat(var(--cell-count),minmax(0,1fr));gap:5px 3px;margin:10px 0 7px}.stencil-cell{background:#0c1421;border:1px solid transparent;border-radius:4px;display:flex;flex-direction:column;align-items:center;padding:7px 1px;min-width:0;font-variant-numeric:tabular-nums}.stencil-cell span{font-size:9px;color:var(--muted)}.stencil-cell b{font-size:10px;color:var(--muted);font-weight:500}.stencil-cell.used{border-color:var(--rule)}.stencil-cell.donor{border-color:var(--blue)}.stencil-cell.selected-cell{background:#1d354a}.stencil-cell.donor b{color:var(--blue)}.candidate-band{padding:4px 2px;min-height:28px;font-size:9px;border-radius:4px;line-height:1.7;white-space:normal}.candidate-band.rejected{border-style:dashed;opacity:.55}.candidate-band.focused{box-shadow:inset 0 0 0 1px currentColor}.candidate-band.rejected.focused{opacity:1}.simple-stencil-band{font-size:10px;color:var(--blue);background:#8cccf410;text-align:center;padding:4px;border-radius:3px}.candidate-plot svg{width:100%;height:auto;display:block}.candidate-range{font-size:10px;line-height:1.8;color:var(--muted);margin:6px 0}.stencil-reference{margin:14px 0 0;font-size:11px}.methods{border-top:1px solid var(--rule);padding:20px 0;margin-top:32px}.methods>div{max-width:850px;padding-top:10px}.methods p{color:var(--muted);font-size:12px;line-height:1.9}footer{border-top:1px solid var(--rule);display:flex;justify-content:space-between;padding:22px 0 26px;color:var(--muted);font-size:11px}footer a{color:var(--muted);text-decoration:none}.skip{position:absolute;top:-80px;left:15px;padding:10px;background:var(--raised);z-index:5}.skip:focus{top:10px}
@media(max-width:1100px){.shell{padding:0 24px}.laboratory{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.operation{padding:18px}.trace-header{flex-wrap:wrap;gap:10px}.trace-header h2{font-size:16px}.cell-navigation button{font-size:10px;padding:5px 7px}.try-example{align-items:start;flex-direction:column;gap:7px}.range-readout{gap:15px}.range-readout>div{gap:5px}.setup{gap:10px}.setup select{font-size:12px}.hero>p{font-size:12px}}
@media(max-width:850px){.hero{align-items:start}.hero>p{display:none}.laboratory{display:flex;flex-direction:column;gap:28px}.live{position:static;width:100%}.walkthrough{width:100%}.setup{grid-template-columns:1fr 1fr}.try-example{flex-direction:row;align-items:center}.solution-plot{max-width:760px;margin:auto}.trace-header{flex-wrap:nowrap}.range-readout{gap:30px}.operation{padding:22px}.trace-header h2{font-size:18px}}
@media(max-width:480px){.shell{padding:0 15px}.hero{padding:22px 0}.hero h1{font-size:26px}.masthead{font-size:11px}.setup{padding:13px;gap:12px 10px;margin-bottom:20px}.setup label{font-size:10px}.setup select{font-size:11px;min-height:40px;padding-left:8px}.live-header{padding:16px}.equation{margin:0 16px 16px}.transport-controls{padding:0 16px;gap:6px}.transport-controls button{padding:8px 9px;font-size:11px;min-height:40px}.primary{min-width:74px}.time-row{padding:16px 16px 3px;gap:8px}.cfl-tag{font-size:9px}.range-readout{margin:7px 16px 0;gap:18px}.range-readout>div{flex-direction:column;gap:1px}.range-note{margin:7px 16px 12px}.direction-row{padding:4px 16px}.segmented button{min-height:35px}.plot-hint,.feedback{margin-left:16px;margin-right:16px}.try-example{padding:13px 16px;align-items:start;flex-direction:column}.options{padding:13px 16px}.trace-header h2{font-size:16px}.trace-header{flex-wrap:wrap}.cell-navigation{margin-left:auto}.trace-context>span{font-size:9px}.face-picker button{font-size:10px;padding:5px 7px;min-height:32px}.step-nav button{font-size:10px;min-height:66px}.operation{padding:17px 13px;min-height:380px}h3{font-size:19px}.operation>header p:not(.step-counter){font-size:12px}.source-picker button{font-size:10px;min-height:40px}.stencil-cell span{font-size:8px}.stencil-cell b{font-size:9px}.candidate-band{font-size:8px;min-height:32px}.stencil-caption,.candidate-range{font-size:10px}.stencil-reference{font-size:10px}.math-line{font-size:12px}.weight-table{font-size:10px}.step-pagination button{font-size:10px;padding:6px 8px;min-height:40px}.step-pagination{gap:5px}.step-pagination>span{font-size:9px}.face-states{gap:8px}.face-states>div{padding:9px}.face-states span{font-size:10px}.equation-block{font-size:12px}footer{flex-direction:column;gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.method-note{font-size:12px;color:var(--left);border-left:2px solid var(--left);padding:7px 12px;margin:-8px 0 23px;max-width:900px}.inspection-error{padding:20px;background:var(--panel);border:1px solid var(--left);border-radius:8px;color:var(--left);font-size:13px;line-height:1.9}.range-readout{flex-wrap:wrap}

.plot-view-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 20px 0}.plot-view-controls button{font-size:11px;min-height:32px;padding:5px 9px}.plot-view-controls span{font-size:10px;color:var(--muted)}
@media(max-width:480px){.plot-view-controls{margin-left:16px;margin-right:16px}}

.correction-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:-8px 0 22px;padding:0 4px;font-size:12px}.correction-controls>span{color:var(--muted);font-size:11px;flex:1;min-width:170px}.correction-controls button{font-size:11px}.fofc-readout{margin:10px 20px;color:var(--left);font-size:11px;line-height:1.7}.fofc-face-note{padding:10px 12px;border-left:2px solid var(--left);color:var(--left);font-size:12px}.fofc-face-note[data-corrected=true]{background:#efbc6809}#fofc-math p{font-size:12px;color:var(--muted)}#fofc-formula{overflow-x:auto;max-width:100%;font-size:12px}
