@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:200 900;font-display:swap;src:url(/fonts/source-sans-3-latin-wght-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:200 900;font-display:swap;src:url(/fonts/source-sans-3-latin-ext-wght-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Jost;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/jost-latin-wght-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Jost;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/jost-latin-ext-wght-normal.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Jost fallback;src:local(Arial);size-adjust:96%;ascent-override:102%;descent-override:28%;line-gap-override:0%}@font-face{font-family:"Source Sans 3 fallback";src:local(Arial);size-adjust:97%;ascent-override:100%;descent-override:27%;line-gap-override:0%}:root{--bg:#e8ecf0;--surface:#fff;--surface-2:#dce2e8;--ink:#13171c;--ink-muted:#4a5562;--rule:#c9d1d9;--border-strong:#697684;--primary:#5136c9;--on-primary:#fff;--ray-f:#1f5fd6;--ray-d:#8a6a00;--ray-c:#c42b1e;--glass-fill:#cfe8e4;--glass-edge:#2d6e67;--viewfinder:#0e1114;--vf-ink:#e5eaf0;--danger:#b42318;--ok:#19734a;--caution:#8a5a00;--focus:#5136c9;--shadow-pop:0 6px 24px #00000024;--tour-bg:var(--surface);--tour-ink:var(--ink);--tour-accent:var(--primary);--tour-on-accent:var(--on-primary);--tour-line:var(--border-strong);--tour-dim:#0a0e1473;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;--f-ui:"Source Sans 3", "Source Sans 3 fallback", system-ui, sans-serif;--f-head:"Jost", "Jost fallback", system-ui, sans-serif;--ease:cubic-bezier(.2, .7, .2, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#101418;--surface:#171c22;--surface-2:#1f262e;--ink:#e5eaf0;--ink-muted:#9da8b5;--rule:#2b333c;--border-strong:#7a8794;--primary:#b3a4ff;--on-primary:#1a1240;--ray-f:#6ea2ff;--ray-d:#f0c440;--ray-c:#ff7b6e;--glass-fill:#1d3b39;--glass-edge:#6db8af;--danger:#f4a29a;--ok:#7bd3a6;--caution:#e8c15a;--focus:#b3a4ff;--shadow-pop:0 6px 24px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101418;--surface:#171c22;--surface-2:#1f262e;--ink:#e5eaf0;--ink-muted:#9da8b5;--rule:#2b333c;--border-strong:#7a8794;--primary:#b3a4ff;--on-primary:#1a1240;--ray-f:#6ea2ff;--ray-d:#f0c440;--ray-c:#ff7b6e;--glass-fill:#1d3b39;--glass-edge:#6db8af;--danger:#f4a29a;--ok:#7bd3a6;--caution:#e8c15a;--focus:#b3a4ff;--shadow-pop:0 6px 24px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font:400 1rem/1.5 var(--f-ui);margin:0}h1,h2,h3,.brand{font-family:var(--f-head);margin:0}button,select,input{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.wrap{max-width:1320px;padding:0 var(--space-4);margin:0 auto}header.top{align-items:center;gap:var(--space-2);padding:var(--space-3) 0;min-height:64px;display:flex}.brand{letter-spacing:0;color:var(--ink);align-items:center;gap:var(--space-2);margin-right:auto;font-size:1.375rem;font-weight:600;text-decoration:none;display:flex}.brand svg{width:28px;height:28px}.btn{min-width:44px;min-height:44px;padding:0 var(--space-3);border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;transition:background-color .16s var(--ease), transform .1s var(--ease);border-radius:4px;font-weight:600}.btn:hover{background:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.btn.primary:hover{filter:brightness(1.06)}.btn[disabled]{opacity:.5;cursor:default}select.btn{padding:0 var(--space-2);max-width:200px}.hero{padding:var(--space-3) 0 var(--space-4)}.hero h1{max-width:22ch;font-size:clamp(1.75rem,4.5vw,2.75rem);font-weight:600;line-height:1.1}.hero p{margin:var(--space-2) 0 0;color:var(--ink-muted);max-width:62ch}.stage{gap:var(--space-4);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.panel{background:var(--surface);border:1px solid var(--rule);padding:var(--space-3);border-radius:6px}.panel h2{margin-bottom:var(--space-2);font-size:1.0625rem;font-weight:600}.bench-box{background:var(--surface);border:1px solid var(--rule);aspect-ratio:3/2;border-radius:12px;overflow:hidden}.bench-box svg{touch-action:none;width:100%;height:100%;display:block}.vf{background:var(--viewfinder);aspect-ratio:3/2;border:1px solid var(--rule);border-radius:12px;position:relative;overflow:hidden}.vf img,.vf canvas{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.vf canvas[hidden]{display:none}.vf.dim img,.vf.dim canvas{opacity:.25}.vf .marks{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.vf .marks path{stroke:var(--vf-ink);stroke-width:1.5px;fill:none;opacity:.75}.vf-progress{background:var(--primary);transform-origin:0;opacity:0;width:100%;height:3px;transition:transform .16s linear,opacity .22s;position:absolute;bottom:0;left:0;transform:scaleX(0)}.vf-progress.on{opacity:1}.vf-empty{place-content:center;gap:var(--space-3);padding:var(--space-4);text-align:center;color:var(--vf-ink);display:grid;position:absolute;inset:0}.vf-empty[hidden]{display:none}.vf-empty p{max-width:32ch;margin:0;font-weight:600}.notice{margin:var(--space-2) 0 0;padding:var(--space-2) var(--space-3);border-left:3px solid var(--caution);background:var(--surface);color:var(--ink);font-size:.9375rem}.notice[hidden]{display:none}.notice.err{border-color:var(--danger)}.row{gap:var(--space-2);margin:var(--space-2) 0;flex-wrap:wrap;align-items:center;display:flex}.row label{color:var(--ink-muted);font-size:.9375rem}.ring{background:var(--surface-2);border:1px solid var(--border-strong);cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none;height:64px;margin:var(--space-1) 0 var(--space-3);border-radius:6px;position:relative;overflow:hidden}.ring-label{margin-top:var(--space-3);justify-content:space-between;font-size:.9375rem;font-weight:600;display:flex}.ring-label output{font-family:var(--f-head);font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:500}.ring-scale{will-change:transform;height:100%;position:absolute;top:0;left:0}.ring-mark{font-family:var(--f-head);font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;font-size:.9375rem;font-weight:500;display:flex;position:absolute;top:0;transform:translate(-50%)}.ring-mark:before{content:"";background:var(--ink);width:2px;height:18px;margin-bottom:4px}.ring-minor{background:var(--ink-muted);width:1px;height:10px;position:absolute;top:0}.ring-limit{background:var(--caution);width:3px;height:100%;position:absolute;top:0}.ring-index{background:var(--primary);pointer-events:none;border-radius:999px;width:3px;margin-left:-1.5px;position:absolute;top:0;bottom:0;left:50%}.ring:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.readouts{gap:var(--space-2);grid-template-columns:repeat(3,1fr);min-height:140px;margin:0;display:grid}.readouts div{background:var(--surface-2);padding:var(--space-2) var(--space-3);border-radius:4px}.readouts dt{color:var(--ink-muted);font-size:.875rem}.readouts dd{font-family:var(--f-head);font-variant-numeric:tabular-nums;margin:0;font-size:1.375rem;font-weight:500}.readouts dd.caution{color:var(--caution)}.readouts dd.ok:before{content:"✓ ";color:var(--ok)}.lower{gap:var(--space-4);margin-top:var(--space-4);grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);display:grid}table.rx{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:560px}.rx th{text-align:left;background:var(--surface-2);padding:var(--space-2);font-size:.875rem;font-weight:600}.rx td{padding:2px var(--space-1);border-bottom:1px solid var(--rule);vertical-align:top}.rx input,.rx select{background:var(--surface);border:1px solid var(--border-strong);width:100%;min-height:44px;padding:0 var(--space-2);text-align:right;border-radius:4px}.rx select{text-align:left}.rx input[disabled],.rx select[disabled]{background:var(--surface-2);color:var(--ink-muted);border-color:var(--rule)}.rx tr.sel td{background:color-mix(in srgb, var(--primary) 10%, transparent)}.rx .num{text-align:right}.rx .err{color:var(--danger);text-align:left;font-size:.875rem;display:block}.rx-wrap{overflow-x:auto}.lib{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lib-card{border:1px solid var(--rule);padding:var(--space-3);background:var(--surface);gap:var(--space-2);border-radius:6px;display:grid}.lib-card svg{aspect-ratio:3;background:var(--surface-2);border-radius:4px;width:100%}.lib-card h3{font-size:1.125rem;font-weight:600}.lib-card p{color:var(--ink-muted);margin:0;font-size:.9375rem}#library[hidden]{display:none}#library{margin-top:var(--space-4)}.how{margin:var(--space-7) 0 var(--space-6);max-width:70ch}.how h2{margin-bottom:var(--space-3);font-size:1.563rem}.how ul{padding-left:1.1em}.how li{margin:var(--space-2) 0}footer.foot{border-top:1px solid var(--rule);padding:var(--space-5) 0 var(--space-7);color:var(--ink-muted);font-size:.9375rem}footer a{color:var(--primary)}.toast{left:50%;bottom:var(--space-4);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-pop);padding:var(--space-2) var(--space-4);z-index:50;border-radius:6px;max-width:calc(100vw - 32px);position:fixed;transform:translate(-50%)}.toast[hidden]{display:none}.b-glass .glass{fill:var(--glass-fill);stroke:none}.b-misc .edge{fill:none;stroke:var(--glass-edge);stroke-width:1.6px}.b-misc .edge.sel{stroke:var(--primary);stroke-width:3px}.b-misc .blade{stroke:var(--ink);stroke-width:4px;fill:none;stroke-linecap:butt}.b-misc .axis{stroke:var(--ink-muted);stroke-width:1px;stroke-dasharray:18 4 2 4}.b-misc .sensor{stroke:var(--ink);stroke-width:3px}.b-misc .scale{stroke:var(--ink-muted);stroke-width:1.5px;fill:none}.scale-t{fill:var(--ink-muted);font:500 22px var(--f-ui)}.ray{stroke-width:1.1px;opacity:.9}.ray-f{stroke:var(--ray-f)}.ray-d{stroke:var(--ray-d)}.ray-c{stroke:var(--ray-c)}.ray-fail{stroke:var(--danger);stroke-width:2px}.handle{cursor:grab;outline:none}.handle .hit{fill:#0000}.handle .dot{fill:var(--primary);stroke:var(--surface);stroke-width:2px}.handle:focus-visible .dot,.handle.sel .dot{stroke:var(--ink);stroke-width:3px}.handle.thick .dot{fill:var(--surface);stroke:var(--primary);stroke-width:3px}.handle:focus-visible .hit{stroke:var(--focus);stroke-width:2px}.legend{gap:var(--space-4);color:var(--ink-muted);margin-top:var(--space-2);flex-wrap:wrap;font-size:.875rem;display:flex}.legend i{vertical-align:middle;width:18px;height:3px;margin-right:6px;display:inline-block}.legend .f{background:var(--ray-f)}.legend .d{background:var(--ray-d)}.legend .c{background:var(--ray-c)}@media (max-width:899px){.stage,.lower{grid-template-columns:minmax(0,1fr)}.stage .vf-col{order:-1}.readouts{grid-template-columns:repeat(2,1fr);min-height:212px}.lib{grid-template-columns:minmax(0,1fr)}header.top .btn.wide{display:none}header.top{gap:var(--space-1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important}}.tour-spot{z-index:2147483000;pointer-events:none;box-shadow:0 0 0 3px var(--tour-accent), 0 0 0 9999px var(--tour-dim);border-radius:8px;transition:left .25s,top .25s,width .25s,height .25s;position:fixed}.tour-pop{z-index:2147483001;box-sizing:border-box;background:var(--tour-bg);color:var(--tour-ink);border:2px solid var(--tour-accent);font:500 1rem/1.4 var(--f-ui);border-radius:10px;outline:none;padding:14px 16px;position:fixed;box-shadow:0 10px 30px #00000059}.tour-count{letter-spacing:.06em;text-transform:uppercase;opacity:.8;margin:0 0 4px;font-size:.75rem}.tour-text{margin:0 0 12px;font-size:1.0625rem;font-weight:600}.tour-row{justify-content:space-between;gap:8px;display:flex}.tour-btn{min-width:44px;min-height:44px;font:600 .9375rem var(--f-ui);cursor:pointer;border:1px solid var(--tour-line);color:var(--tour-ink);background:0 0;border-radius:6px;padding:8px 14px}.tour-next{background:var(--tour-accent);color:var(--tour-on-accent);border-color:var(--tour-accent);margin-left:auto}.tour-btn:focus-visible,.tour-replay:focus-visible{outline:3px solid var(--tour-accent);outline-offset:2px}.tour-live{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tour-replay{min-width:44px;min-height:44px;font:600 .9375rem var(--f-ui);cursor:pointer;border:1px solid var(--tour-line);background:var(--tour-bg);color:var(--tour-ink);border-radius:999px;padding:6px 14px}.tour-replay-fixed{z-index:2147482000;position:fixed;bottom:12px;left:12px;box-shadow:0 2px 10px #00000040}.tour-pop[hidden],.tour-spot[hidden],.tour-btn[hidden]{display:none!important}@media (prefers-reduced-motion:reduce){.tour-spot{transition:none}}
