:root{--fg:#1d1d1f;--muted:#6b6b70;--bg:#f6f6f4;--panel:#fff;--line:#d9d9d4;--accent:#2d5bd7;--ref:#1d1d1f;--answer:#2d5bd738;--ghost:#148c5ae6;--true:#148c5a;--over:#b4561b;--under:#2d5bd7;--warn:#9a3412;color:var(--fg);background:var(--bg);font-family:system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--fg:#ececea;--muted:#9c9ca2;--bg:#161618;--panel:#202023;--line:#3a3a3f;--accent:#7c9cff;--ref:#ececea;--answer:#7c9cff40;--ghost:#48c88ce6;--true:#48c88c;--over:#f0955a;--under:#7c9cff;--warn:#fdba74}}body{background:var(--bg);margin:0}.screen{box-sizing:border-box;max-width:960px;margin:0 auto;padding:24px 16px 48px}h1{margin:0 0 4px;font-size:1.8rem}h2{margin:24px 0 8px;font-size:1.1rem;font-weight:600}.lede{color:var(--muted);margin:0 0 16px}.warning{color:var(--warn)}.settings{gap:16px;margin:16px 0 24px;display:grid}.field{border:0;gap:6px;margin:0;padding:0;display:grid}.field>span,.field>legend{padding:0;font-weight:600}.radio{align-items:center;gap:8px;padding:4px 0;display:flex}select{font:inherit;max-width:320px;padding:6px 8px}.actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}button{font:inherit;border:1px solid var(--line);background:var(--panel);color:var(--fg);cursor:pointer;border-radius:8px;padding:10px 18px}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button:disabled{opacity:.45;cursor:default}button.quiet{padding:6px 12px}.play-header,.play-footer{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.hint{color:var(--muted)}.verdict{font-variant-numeric:tabular-nums;font-weight:600}.verdict.over{color:var(--over)}.verdict.under{color:var(--under)}.prompt{margin:8px 0}.stage{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;outline:none;width:100%;height:auto;display:block}.stage:focus-visible .track{stroke:var(--accent);stroke-width:4px}.track{stroke:var(--line);stroke-width:2px}.origin-mark{stroke:var(--fg);stroke-width:3px}.ref-bar{fill:var(--ref)}.answer-fill{fill:var(--answer)}.ghost{fill:none;stroke:var(--ghost);stroke-width:2px;stroke-dasharray:6 4}.true-end{stroke:var(--true);stroke-width:3px}.marker line{stroke:var(--accent);stroke-width:3px}.marker path{fill:var(--accent)}.stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0 24px;display:grid}.stats div{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px}.stats dt{color:var(--muted);font-size:.85rem}.stats dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:1.4rem;font-weight:600}.trials{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.trials th,.trials td{text-align:left;border-bottom:1px solid var(--line);padding:8px 6px}.trials th{color:var(--muted);font-size:.85rem;font-weight:500}.trials tr.best td{font-weight:600}.history .trials{display:block;overflow-x:auto}.note{color:var(--muted);font-size:.9rem}:root{--series-0:#2d5bd7;--series-1:#b4561b;--series-2:#148c5a}@media (prefers-color-scheme:dark){:root{--series-0:#7c9cff;--series-1:#f0955a;--series-2:#48c88c}}.chart-figure{margin:0 0 24px}.chart{background:var(--panel);border-radius:10px;width:100%;max-width:560px;height:auto;display:block}.chart .grid{stroke:var(--line);stroke-width:1px;stroke-dasharray:3 4}.chart .zero{stroke:var(--fg);stroke-width:2.5px}.chart .tick{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}.chart .axis-title,.chart .direction{fill:var(--muted);font-size:13px}.chart .mark{stroke-width:2.5px}.chart .whisker line{stroke-width:2px}.series-0{fill:var(--series-0);stroke:var(--series-0)}.series-1{fill:var(--series-1);stroke:var(--series-1)}.series-2{fill:var(--series-2);stroke:var(--series-2)}.mark.hollow{fill:var(--panel)}.chart .rolling{fill:none;stroke:var(--accent);stroke-width:2.5px}.chart .round-dot{fill:var(--muted)}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 16px;margin-top:6px;font-size:.85rem;display:flex}.legend-item{align-items:center;gap:6px;display:inline-flex}.legend-mark{width:14px;height:14px}.legend-mark .mark{stroke-width:2px}.findings{gap:8px;margin:16px 0 8px;padding:0;list-style:none;display:grid}.finding{background:var(--panel);border:1px solid var(--line);border-left-width:4px;border-radius:8px;padding:10px 12px;font-size:1.05rem}.finding-bias{border-left-color:var(--over)}.finding-accurate{border-left-color:var(--true)}.finding-trend{border-left-color:var(--accent)}.finding-needsData,.quiet-finding{border-left-color:var(--line);color:var(--muted)}.chart-controls{flex-wrap:wrap;gap:12px 20px;margin-bottom:10px;display:flex}.field.inline{align-items:center;gap:8px;display:flex}.table-scroll{overflow-x:auto}.trials tr.thin td{color:var(--muted)}.table-scroll td,.table-scroll th{white-space:nowrap}
