:root{--bg:#fbfaf7;--surface:#fff;--text:#1b1b1b;--muted:#55524b;--border:#c9c5bb;--link:#0b5cad;--accent:#0b5cad;--accent-text:#fff;--error:#a4161a;--warn-bg:#fff4d6;--focus:#0b5cad;--radius:6px;--measure:46rem;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#14161a;--surface:#1c1f24;--text:#ecebe6;--muted:#b3b0a6;--border:#3d424a;--link:#8fc1ff;--accent:#8fc1ff;--accent-text:#0e1116;--error:#ff9a9a;--warn-bg:#3a3118;--focus:#8fc1ff}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.55}main,.site-header,.site-footer{max-width:var(--measure);margin:0 auto;padding:0 1.25rem}main{padding-top:1.5rem;padding-bottom:3rem}h1{margin:.25rem 0 .75rem;font-size:1.9rem;line-height:1.2}h2{margin:2rem 0 .5rem;font-size:1.3rem;line-height:1.3}h3{margin:1.25rem 0 .4rem;font-size:1.1rem}p,ul,ol,dl{margin:.6rem 0}a{color:var(--link);text-underline-offset:.15em}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.skip-link{background:var(--surface);z-index:10;padding:.5rem .75rem;position:absolute;top:0;left:-999px}.skip-link:focus{top:.5rem;left:.5rem}.site-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;padding-top:1rem;padding-bottom:.5rem;display:flex}.site-header a{font-weight:600;text-decoration:none}.site-header nav a{margin-left:1rem;font-weight:400}.site-footer{border-top:1px solid var(--border);color:var(--muted);margin-top:2rem;padding-top:1rem;padding-bottom:2rem;font-size:.9rem}.lede{color:var(--muted);margin-top:0;font-size:1.1rem}.privacy-line{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.6rem .9rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:1rem 0;padding:1rem 1.1rem}.card h2,.card h3{margin-top:0}.field{margin:.9rem 0}.field label{font-weight:600;display:block}.hint{color:var(--muted);margin:.1rem 0 .3rem;font-size:.9rem}.input-row{align-items:center;gap:.5rem;display:flex}input[type=text]{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:9rem;min-height:2.75rem;padding:.5rem .6rem}input[aria-invalid=true]{border-color:var(--error);border-width:2px}.unit{color:var(--muted);font-size:.9rem}.error{color:var(--error);margin:.25rem 0 0;font-size:.9rem}button,.button{font:inherit;cursor:pointer;border-radius:var(--radius);border:1px solid var(--accent);background:var(--accent);min-height:2.75rem;color:var(--accent-text);padding:.5rem 1rem}button.secondary{color:var(--link);background:0 0}fieldset{border:1px solid var(--border);border-radius:var(--radius);margin:1rem 0;padding:.6rem 1rem .9rem}legend{padding:0 .4rem;font-weight:600}.choice{align-items:center;gap:.5rem;min-height:2.75rem;margin:.35rem 0;display:flex}.choice input{width:1.25rem;height:1.25rem}.results dl{margin:0}.results .row{border-bottom:1px solid var(--border);justify-content:space-between;gap:1rem;padding:.45rem 0;display:flex}.results dt{color:var(--muted)}.results dd{text-align:right;margin:0;font-weight:600}.notice{background:var(--warn-bg);border-radius:var(--radius);margin:.8rem 0;padding:.6rem .9rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}[hidden]{display:none!important}.grid{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:0 1.25rem;display:grid}select{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:100%;min-height:2.75rem;padding:.5rem .6rem}input[type=text][readonly]{width:min(100%,26rem);color:var(--muted)}#drill-code,#result-code,#other-code,#drill-code-input{width:min(100%,28rem)}#stage{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.5rem}#stage svg{width:100%;height:auto;max-height:18rem;display:block}.shape{transform-box:fill-box;transform-origin:50%}.shape-a.idle,.shape-b.idle{fill:none;stroke:var(--muted);stroke-width:3px}.shape-a.event{fill:var(--orange);stroke:var(--orange);stroke-width:3px}.shape-a.decoy{fill:none;stroke:var(--orange);stroke-width:6px}.shape-b.event{fill:var(--orange);stroke:var(--orange);stroke-width:3px;transform:rotate(45deg)}.shape-b.decoy{fill:none;stroke:var(--orange);stroke-width:6px;transform:scale(.6)}:root{--orange:#c4620a}@media (prefers-color-scheme:dark){:root{--orange:#f0a04b}}.drill-status{margin:.5rem 0 .25rem;font-weight:600}progress{width:100%;height:.75rem}.cue{background:var(--warn-bg);border-radius:var(--radius);padding:.5rem .75rem;font-weight:600}.press-buttons{flex-wrap:wrap;gap:.75rem;margin:.75rem 0;display:flex}.press-buttons button{touch-action:manipulation;min-width:12rem;min-height:4rem;font-size:1.1rem}.calibration-square{border:3px solid var(--muted);border-radius:var(--radius);width:6rem;height:6rem;margin:1rem 0}.calibration-square.lit{background:var(--orange);border-color:var(--orange)}.result-block{margin:1.25rem 0}.timeline{width:100%;height:auto;display:block}.tl-grid{stroke:var(--border);stroke-width:1px}.tl-tick,.tl-label{fill:var(--muted);font-size:11px}.tl-fill{fill:var(--orange)}.tl-empty{fill:none;stroke:var(--border);stroke-width:1px}.tl-decoy{fill:none;stroke:var(--orange);stroke-width:2px;stroke-dasharray:3 2}.tl-mark{fill:var(--text)}table.detail{border-collapse:collapse;width:100%;margin:.5rem 0;font-size:.95rem}table.detail th,table.detail td{text-align:left;border-bottom:1px solid var(--border);padding:.35rem .5rem}tr.differs td{font-weight:700}@media print{.no-print,.site-header nav,#setup-screen,#drill-screen,#calibration-screen,details{display:none!important}}main:focus{outline:none}#results-body .row,#comparison .row{border-bottom:1px solid var(--border);justify-content:space-between;gap:1rem;padding:.4rem 0;display:flex}#results-body dl,#comparison dl{margin:.5rem 0}#results-body dt,#comparison dt{color:var(--muted)}#results-body dd,#comparison dd{text-align:right;margin:0;font-weight:600}
