:root{--bg:#f4f4f6;--card:#fff;--ink:#1d1d1f;--muted:#6e6e73;--line:#e2e2e7;--red:#e5222d;--red-soft:#ffe8ea;--shadow:0 1px 2px #0000000a, 0 8px 28px #14141e12;--radius:22px;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,SF Pro Text,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html{scroll-padding-top:76px}body{min-height:100vh;margin:0;line-height:1.5}button,input,select{font:inherit;color:inherit}a{color:var(--red);text-underline-offset:3px}:focus-visible{outline-offset:2px;border-radius:8px;outline:3px solid #2a6df4}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip{color:#fff;z-index:50;background:#000;border-radius:8px;padding:8px 12px;position:absolute;top:-60px;left:8px}.skip:focus{top:8px}.top{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);background:#f4f4f6db;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand h1{letter-spacing:-.01em;margin:0;font-size:17px;line-height:1.1}.brand p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:12px;overflow:hidden}.top-actions{align-items:center;gap:8px;display:flex}.toast{z-index:30;color:#fff;opacity:0;background:#1d1d1f;border-radius:999px;max-height:0;margin:0;padding:0 16px;font-size:14px;transition:opacity .2s;position:fixed;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.toast:not(:empty){opacity:1;max-height:60px;padding:10px 16px}main{max-width:1120px;margin:0 auto;padding:18px 14px 96px}h2{letter-spacing:-.02em;margin:4px 0 8px;font-size:clamp(22px,5vw,32px);line-height:1.15}h3,.h3{letter-spacing:-.01em;margin:0 0 10px;font-size:17px}.eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--red);margin:0;font-size:12px;font-weight:650}.caption,.lede{color:#3a3a3f;max-width:62ch;margin:0 0 16px;font-size:clamp(16px,2.4vw,19px)}.muted,.hint{color:var(--muted);font-size:13.5px}.hint{margin:8px 0 0}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SF Mono,Menlo,monospace}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #00000009;padding:14px}.btn{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;min-height:40px;padding:9px 16px;font-weight:560;transition:transform 80ms,background .15s;box-shadow:0 1px 2px #0000000a}.btn:hover:not(:disabled){background:#f6f6f8}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.4;cursor:default}.btn.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.btn.primary:hover{background:#333}.btn[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.btn.primary[aria-pressed]{background:var(--ink)}.seg{background:#e9e9ed;border-radius:999px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.seg-btn{cursor:pointer;background:0 0;border:0;border-radius:999px;min-height:36px;padding:8px 14px;font-size:14px;font-weight:560}.seg-btn[aria-pressed=true]{color:var(--ink);background:#fff;box-shadow:0 1px 4px #00000024}.seg-btn[aria-pressed=true]:after{content:""}.field{gap:6px;margin:10px 0;display:grid}.field-label{color:#3a3a3f;justify-content:space-between;gap:8px;font-size:13px;font-weight:620;display:flex}.field-label output{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500}.check{cursor:pointer;align-items:center;gap:8px;min-height:32px;font-size:14px;display:flex}.check input{width:18px;height:18px;accent-color:var(--red)}input[type=range]{width:100%;accent-color:var(--red);height:28px}.controls{display:block}.story-head{margin-bottom:8px}.story-nav{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);background:#f4f4f6e6;border-radius:999px;justify-content:space-between;align-items:center;gap:8px;margin-top:18px;padding:8px;display:flex;position:sticky;bottom:8px}.pips{gap:2px;margin:0;padding:0;list-style:none;display:flex}.pip{cursor:pointer;background:0 0;border:0;border-radius:50%;width:22px;height:22px;padding:0;position:relative}.pip:after{content:"";background:#c7c7cc;border-radius:50%;transition:all .2s;position:absolute;inset:7px}.pip[aria-current=step]:after{background:var(--red);inset:5px}.tweak{margin-top:12px}.tweak summary{cursor:pointer;padding:8px 4px;font-weight:600}.lab-grid{grid-template-columns:1fr;gap:14px;display:grid}.lab-grid.three{grid-template-columns:1fr}@media (width>=860px){.lab-grid{grid-template-columns:1fr 1.25fr}.lab-grid.three{grid-template-columns:repeat(3,1fr)}.overlay-lab .lab-grid{grid-template-columns:1.2fr 1fr}.explore{grid-template-columns:290px 1fr;align-items:start;gap:0 28px;display:grid}.explore>section:not(.panel-sticky){grid-column:2;margin-bottom:40px}.panel-sticky{grid-area:1/1/span 6;position:sticky;top:78px}}.explore>section{margin-bottom:32px}.figure{flex-direction:column;justify-content:center;display:flex}.corner-svg{background:#f2f2f4;border-radius:14px;width:100%;height:auto;max-height:380px;display:block}.overlay-svg{aspect-ratio:1;max-height:440px}.outline{fill:none;stroke:#2b2b30;stroke-width:.9px;vector-effect:non-scaling-stroke;stroke-width:2px}.outline.thin{stroke:var(--red);stroke-width:1.6px}.ghost-outline{fill:none;stroke:#9a9aa2;stroke-width:1.6px;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}.ghost-outline.thick{stroke-width:3px;stroke-dasharray:none;stroke:#8f8f98}.sharp-guide{fill:none;stroke:#c4c4cb;stroke-width:1.2px;stroke-dasharray:2 4;vector-effect:non-scaling-stroke}.trace{fill:none;stroke:var(--red);stroke-width:3.2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.comb{stroke:#6b7cff;stroke-width:1px;vector-effect:non-scaling-stroke;opacity:.75}.dot{fill:#fff;stroke:var(--red);stroke-width:3px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 6px #e5222d99)}.gap{stroke:#111;stroke-width:2px}.gap-dot{fill:#111}.scalebar{stroke:#111;stroke-width:3px}.svg-note{fill:var(--muted);font-family:inherit}.diff{fill:var(--red);opacity:.85}.legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 4px 0;font-size:13px;display:flex}.sw{border-radius:3px;width:18px;height:4px;margin-right:-6px;display:inline-block}.sw-red{background:var(--red)}.sw-grey{background:#9a9aa2}.sw-dark{background:#111}.plot{margin:0}.plot svg{width:100%;height:auto;display:block}.plot .grid{stroke:#ececf0;stroke-width:1px}.plot .ref{stroke:#c0c0c8;stroke-dasharray:4 4}.plot .tick{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.plot .axis{fill:#3a3a3f;font-size:12px}.plot .span{fill:#e5222d0b}.plot .curve{fill:none;stroke:var(--red);stroke-width:3px;stroke-linejoin:round;stroke-linecap:round}.plot .glow{filter:drop-shadow(0 0 4px #e5222d73)}.plot .spike-t{fill:var(--red);font-size:18px}.plot .ghost{stroke:#a6a6ae;stroke-width:2px;stroke-dasharray:5 4}.plot figcaption{color:#3a3a3f;min-height:28px;padding:6px 4px 0;font-size:13px}.transport{flex-wrap:wrap;align-items:center;gap:14px;margin-top:12px;display:flex}.transport.wrap{justify-content:flex-start}.scrub{flex:160px}.stats .stat-list{gap:10px;margin:0 0 8px;display:grid}.stat-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:8px;display:flex}.stat-list dt{color:var(--muted);font-size:14px}.stat-list dd{text-align:right;font-variant-numeric:tabular-nums;margin:0;font-weight:620}.stat-list dd.big{color:var(--red);letter-spacing:-.02em;font-size:28px}.stat-title{margin-bottom:12px}.three-card{background:radial-gradient(120% 90% at 50% 0,#fdfdfe 0%,#e8e9ee 100%);min-height:260px;padding:0;position:relative;overflow:hidden}.three-host canvas{cursor:grab;display:block}.three-host canvas:active{cursor:grabbing}.three-tags{pointer-events:none;justify-content:space-around;display:flex;position:absolute;bottom:10px;left:0;right:0}.three-tags span{background:#ffffffd9;border-radius:999px;padding:3px 12px;font-size:13px;font-weight:640;box-shadow:0 1px 6px #0000001a}.fallback{text-align:center;color:var(--muted);padding:30px 16px}.strips{gap:8px;display:grid}.strip{margin:0}.strip canvas{image-rendering:auto;border-radius:8px;width:100%;height:34px;display:block}.strip figcaption{color:var(--muted);padding:3px 2px 0;font-size:12.5px}.cad{background:#f9f9fb;padding:0;overflow:hidden}.cad-bar{border-bottom:1px solid var(--line);background:#ececf0;align-items:center;gap:10px;padding:10px 14px;display:flex}.cad-bar .muted{margin-left:auto;font-size:12px}.dots{gap:5px;display:inline-flex}.dots i{background:#c4c4cb;border-radius:50%;width:10px;height:10px;display:block}.cad-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:14px;display:flex}.cad-row.note{align-items:flex-start}.cad-val{color:var(--muted)}.cad-input{align-items:center;gap:6px;display:inline-flex}.cad-input input{text-align:right;background:#fff;border:1px solid #cfcfd6;border-radius:8px;width:74px;padding:6px 8px}.cad select{background:#fff;border:1px solid #cfcfd6;border-radius:10px;max-width:60%;padding:8px 10px;font-weight:600}.cad-preview{max-width:280px;padding:12px 14px 14px}.cad-preview .corner-svg{max-height:220px}.icon-card{align-items:center;padding:10px}.icon-svg{background:#f2f2f4;border-radius:16px;width:100%;max-width:300px;height:auto;display:block}.phone-svg{max-width:190px}.cap{color:var(--muted);text-align:center;margin:8px 0 0;font-size:13px}.icon-controls{margin-top:14px}.about{margin-top:36px}.about p{max-width:75ch;margin:0 0 8px}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media (forced-colors:active){.seg-btn[aria-pressed=true]{outline:2px solid}}.top-actions .seg{flex-wrap:nowrap}.btn,.seg-btn{white-space:nowrap}@media (width<=520px){.top{gap:8px;padding:8px 10px}.brand p{display:none}.seg-btn{padding:8px 11px;font-size:13.5px}.btn{padding:8px 13px}.pip{width:17px}.story-nav{padding:6px}}
