@font-face{font-family:STIX Two Text;src:url(./stix-two-text-latin-500-normal-QKEzPprE.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:STIX Two Text;src:url(./stix-two-text-latin-600-normal-B8BS22os.woff2)format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(./source-sans-3-latin-400-normal-DQi5PRDE.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(./source-sans-3-latin-500-normal-DiWS0tcR.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"Source Sans 3";src:url(./source-sans-3-latin-600-normal-DeckBYAU.woff2)format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Source Code Pro;src:url(./source-code-pro-latin-400-normal-DEXWLoHG.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101218;--bg-2:#181c25;--bg-3:#212734;--ink:#f3eee6;--muted:#c9c2b6;--line:#313848;--brass:#e2b35a;--brass-ink:#1a1408;--teal:#4aa396;--sky:#8eabc0;--rose:#d27b74;--p0:#e2b35a;--p1:#6b8fd4;--focus:#e2b35a;--ring:#f0d392;--sphere-fill-inner:#d6e4ee38;--sphere-fill-outer:#121a26b8;--sphere-highlight:#ffffff29;--sphere-line:#cedeeac7;--sphere-line-back:#cedeea29;--sphere-equator:#e2b35ab8;--axis-x:#d27b74;--axis-y:#4aa396;--axis-z:#e2b35a;--vector:#f0d392;--vector-dim:#f0d39273;--sphere-label:#f3eee6;--sphere-label-muted:#f3eee67a;--sphere-stand:#00000061;--sphere-drop:#f3eee659;--sphere-arc:#e2b35a;--sphere-flash:#f6e7b8;--shadow:0 18px 50px #00000059;--font-display:"STIX Two Text", "Iowan Old Style", Palatino, Georgia, serif;--font-ui:"Source Sans 3", "Segoe UI", system-ui, sans-serif;--font-mono:"Source Code Pro", ui-monospace, "SF Mono", Menlo, monospace;--radius:12px;--pad:clamp(1rem, 2.4vw, 2rem)}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#e8e2d4;--bg-2:#f7f2e8;--bg-3:#fffdf8;--ink:#1c1914;--muted:#5b564c;--line:#d4cbb8;--brass:#8d5a14;--brass-ink:#fff8ea;--teal:#1f6f66;--sky:#3d5c74;--rose:#a4453d;--p0:#8d5a14;--p1:#2f5ea8;--focus:#8d5a14;--ring:#8d5a14;--sphere-fill-inner:#fffcf5eb;--sphere-fill-outer:#b0c4d68c;--sphere-highlight:#ffffffb3;--sphere-line:#28323e8c;--sphere-line-back:#28323e24;--sphere-equator:#8d5a14b3;--axis-x:#a4453d;--axis-y:#1f6f66;--axis-z:#8d5a14;--vector:#8d5a14;--vector-dim:#8d5a1466;--sphere-label:#1c1914;--sphere-label-muted:#1c191473;--sphere-stand:#5040282e;--sphere-drop:#1c191459;--sphere-arc:#8d5a14;--sphere-flash:#e2b35a;--shadow:0 16px 40px #4634181f}*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:var(--font-ui);color:var(--ink);background:radial-gradient(1200px 700px at 18% -10%, #e2b35a12, transparent 55%), radial-gradient(900px 600px at 100% 0%, #4aa3960f, transparent 50%), var(--bg);min-height:100dvh;font-size:16px;line-height:1.5}::selection{background:color-mix(in srgb, var(--brass) 55%, transparent);color:var(--ink)}:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.skip{background:var(--bg-2);color:var(--ink);z-index:20;border-radius:8px;padding:.5rem .8rem;position:absolute;top:-3rem;left:.75rem}.skip:focus{top:.75rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page{width:min(1180px,100%);padding:calc(var(--pad) + env(safe-area-inset-top)) var(--pad) calc(2rem + env(safe-area-inset-bottom));margin:0 auto}.top{justify-content:space-between;align-items:flex-start;gap:1rem 1.5rem;margin-bottom:1.25rem;display:flex}.brand h1{font-family:var(--font-display);letter-spacing:-.03em;margin:0 0 .4rem;font-size:clamp(1.85rem,3.4vw,2.55rem);font-weight:600;line-height:1.1}.lede{max-width:42rem;color:var(--muted);margin:0;font-size:1.05rem}.top-actions{flex-wrap:wrap;flex-shrink:0;gap:.5rem;display:flex}.demo{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:.65rem 1rem;margin:0 0 1.35rem;padding:.85rem 1rem;display:flex}.demo p{flex:16rem;margin:0}.demo strong{color:var(--ink);font-weight:600}.layout{grid-template-columns:minmax(0,1.25fr) minmax(17.5rem,.85fr);align-items:start;gap:1.35rem 1.6rem;display:grid}.stage{background:var(--bg-2);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;min-width:0;padding:.6rem .6rem .9rem}.stage-frame{aspect-ratio:1;width:100%;max-height:min(58vh,540px);margin:0 auto;position:relative}canvas{touch-action:none;cursor:grab;border-radius:12px;width:100%;height:100%;display:block}canvas:active{cursor:grabbing}.stage-hint{color:var(--muted);margin:.35rem .4rem 0;font-size:.92rem}.panel{gap:1rem;min-width:0;display:grid}.block{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);padding:.95rem 1rem 1rem}.block h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0 0 .7rem;font-size:1.15rem;font-weight:600}.ket{font-family:var(--font-display);overflow-wrap:anywhere;margin:0 0 .75rem;font-size:1.12rem;line-height:1.35}.meta{font-family:var(--font-mono);color:var(--muted);font-variant-numeric:tabular-nums;gap:.28rem;font-size:.85rem;display:grid}.amps{font-family:var(--font-mono);grid-template-columns:auto 1fr;gap:.2rem .7rem;margin-bottom:.85rem;font-size:.92rem;display:grid}.amps dt{color:var(--muted)}.amps dd{font-variant-numeric:tabular-nums;margin:0}.meters{gap:.55rem;display:grid}.meter-head{justify-content:space-between;gap:.5rem;font-size:.92rem;display:flex}.bar{background:var(--bg-3);border-radius:999px;height:.55rem;overflow:hidden}.bar>span{border-radius:inherit;transform-origin:0;width:0%;min-width:0;height:100%;display:block}.bar.p0>span{background:var(--p0)}.bar.p1>span{background:var(--p1)}.status{min-height:1.35em;color:var(--muted);margin:.75rem 0 0;font-size:.92rem}.grid-btns{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;display:grid}.row-btns{flex-wrap:wrap;gap:.45rem;display:flex}button,.chip{font-family:var(--font-ui);color:var(--ink);background:var(--bg-3);border:1px solid var(--line);cursor:pointer;touch-action:manipulation;border-radius:10px;min-height:44px;padding:.45rem .7rem;font-size:.95rem;font-weight:600}button:hover{border-color:color-mix(in srgb, var(--brass) 55%, var(--line));background:color-mix(in srgb, var(--brass) 12%, var(--bg-3))}button:active{transform:translateY(1px)}button.primary{background:var(--brass);color:var(--brass-ink);border-color:var(--brass)}button.primary:hover{filter:brightness(1.05)}button.ghost{background:0 0}button.demo-pulse{box-shadow:0 0 0 2px color-mix(in srgb, var(--brass) 70%, transparent)}.gate{flex-direction:column;justify-content:center;align-items:center;gap:.05rem;min-height:52px;padding:.35rem .4rem;display:flex}.gate b{font-family:var(--font-display);font-size:1.15rem;font-weight:600;line-height:1.1}.gate span{color:var(--muted);font-size:.72rem;font-weight:500}.caption{color:var(--muted);margin:.55rem 0 .35rem;font-size:.86rem}.angle{gap:.4rem;margin-top:.7rem;display:grid}.angle-head{justify-content:space-between;gap:.5rem;font-size:.92rem;display:flex}input[type=range]{width:100%;accent-color:var(--brass);height:1.4rem}.snaps{flex-wrap:wrap;gap:.35rem;display:flex}.snaps button{min-height:36px;padding:.25rem .55rem;font-weight:500}.actions{grid-template-columns:1fr 1fr;gap:.45rem;margin-top:.85rem;display:grid}.history{flex-wrap:wrap;gap:.35rem;display:flex}.history button{min-height:36px;font-family:var(--font-mono);padding:.25rem .6rem;font-size:.82rem;font-weight:500}.history button[aria-current=true]{background:var(--brass);color:var(--brass-ink);border-color:var(--brass)}.help{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-2);padding:.4rem .9rem .7rem}.help summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.help dl{grid-template-columns:auto 1fr;gap:.25rem .8rem;margin:0;font-size:.9rem;display:grid}.help dt{font-family:var(--font-mono);color:var(--brass)}.help dd{color:var(--muted);margin:0}.foot{color:var(--muted);margin:1.5rem 0 0;font-size:.88rem}.foot a{color:var(--ink)}noscript{background:var(--bg-2);border-radius:var(--radius);margin:1rem 0;padding:.8rem 1rem;display:block}@media (width<=840px){.layout{grid-template-columns:1fr}.top{flex-direction:column}.stage-frame{max-height:min(70vw,520px)}}@media (width>=841px){html,body{height:100%;overflow:hidden}.page{flex-direction:column;height:100dvh;padding-bottom:0;display:flex;overflow:hidden}.top{margin-bottom:.55rem}.brand h1{margin-bottom:.25rem;font-size:clamp(1.7rem,2.6vw,2.2rem)}.lede{font-size:1rem}.demo{margin-bottom:.55rem;padding:.55rem .85rem}.layout{flex:auto;align-items:stretch;gap:1rem 1.2rem;min-height:0}.stage{flex-direction:column;height:100%;min-height:0;padding:.45rem .45rem .55rem;display:flex}.stage-frame{aspect-ratio:auto;flex:auto;min-height:0;max-height:none}.stage-hint{margin-top:.2rem;font-size:.84rem}.panel{overscroll-behavior:contain;scrollbar-color:var(--line) transparent;gap:.7rem;height:100%;max-height:100%;position:relative;top:auto;overflow:auto}.block{padding:.7rem .8rem .75rem}.block h2{margin-bottom:.45rem;font-size:1.05rem}.ket{margin-bottom:.45rem;font-size:1.02rem}.amps{margin-bottom:.45rem}.caption{margin:.3rem 0 .2rem}.gate{min-height:44px}.angle,.actions{margin-top:.4rem}.status{margin-top:.45rem}.snaps button{min-height:32px}.foot{display:none}}@media (prefers-reduced-motion:reduce){button,.bar>span{transition:none}}@media (prefers-reduced-motion:no-preference){button{transition:background .14s,border-color .14s,transform 80ms}}
