:root {color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background:#10171c; color:#eaf1f4}
* {box-sizing:border-box} body {margin:0} main {max-width:660px; margin:auto; padding:38px 24px 30px}
header {display:flex; gap:16px; align-items:center; justify-content:space-between}.eyebrow {font-size:11px; letter-spacing:.18em; color:#8eabb6}.badge {font-size:11px; border:1px solid #35524d; padding:4px 10px; border-radius:30px; color:#9fe1c1}
h1 {font-size:clamp(52px,13vw,82px); line-height:1.04; letter-spacing:-.065em; margin:36px 0 24px}em {font-style:normal; color:#b9ef79}.intro {color:#a9b9c0; max-width:500px}.actions {display:flex; gap:10px; margin:24px 0}
button,select,input,textarea {font:inherit; border-radius:9px; border:1px solid #35444e; padding:11px 14px; color:inherit; background:#18252d}button {cursor:pointer; font-weight:600}button:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible {outline:2px solid #b9ef79; outline-offset:3px}.primary {background:#b9ef79; color:#17210f; border-color:#b9ef79}.secondary {background:transparent; color:#c9d6db}.panel {padding:22px; border:1px solid #2d3d47; border-radius:16px; background:#142028}.panel>label {font-size:11px; letter-spacing:.16em; color:#a9b9c0}textarea {width:100%; resize:vertical; margin:10px 0 14px;background:#10191f}.row {display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 18px;font-size:14px}select {max-width:70%}input[type=checkbox] {width:20px;height:20px;accent-color:#b9ef79}.wide {width:100%}.calibration {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:22px 0;font-size:14px}.calibration input {width:80px}.readout {margin-top:22px;padding:18px 0;border-top:1px solid #2d3d47}.readout p,footer {font-size:13px;color:#93aab5;margin:6px 0}footer {padding-top:12px}#light {position:fixed;inset:0;background:#000;z-index:10;touch-action:manipulation;cursor:pointer}#light[hidden] {display:none}body.emitting {overflow:hidden}html:fullscreen,body:fullscreen {background:#000}
