:root{--bg:#161616;--surface-panel:#1f1f1f;--surface:#272727;--border:#3b3b3b;--text:#e4e4e4;--text-muted:#a8a8a8;--accent:#d05817;--accent-hover:#e0651f;--frame:#7c602b;--band-low:#46b5ba;--band-med:#d1c541;--band-high:#dc474b;--font-display:"General Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;--font-body:"Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;--font-mono:"Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;--radius:14px;--gutter:16px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.4}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-weight:500;line-height:1.2}h2{font-size:1.5rem}p{margin:0}a{color:inherit}button,input,select{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mono{font-family:var(--font-mono)}.muted{color:var(--text-muted)}.eyebrow{font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.8125rem}.hint{color:var(--text-muted);font-size:.875rem}.error{color:var(--band-high);font-size:.875rem}.stack{flex-direction:column;gap:12px;display:flex}.shell{max-width:480px;padding:var(--gutter);flex-direction:column;gap:12px;min-height:100dvh;margin:0 auto;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:40px;display:flex}.topbar__title{font-family:var(--font-display);font-size:1.125rem;text-decoration:none}.topbar__nav{align-items:center;gap:12px;font-size:.9375rem;display:flex}.topbar__nav a{color:var(--text-muted);text-decoration:none}.topbar__nav a.active{color:var(--text)}.chip{border:1px solid var(--border);border-radius:999px;padding:4px 12px;color:var(--text)!important}.screen{flex-direction:column;flex:1;display:flex}.demo-note{text-align:center;font-family:var(--font-mono);color:var(--text-muted);font-size:.75rem}.panel{background:var(--frame);border-radius:16px;flex-direction:column;gap:2px;padding:2px;display:flex}.panel__section{background:var(--surface-panel);border-radius:var(--radius);flex-direction:column;gap:8px;padding:20px;display:flex}.panel__section--grow{justify-content:flex-end}.panel__actions{gap:10px}.panel--center{background:var(--surface-panel);border:2px solid var(--frame);text-align:center;justify-content:center;align-items:center;gap:16px;padding:40px 20px}.button{border-radius:var(--radius);background:var(--accent);width:100%;color:var(--text);text-align:center;cursor:pointer;border:none;padding:14px 16px;font-size:1.0625rem;text-decoration:none;display:block}.button:hover:not(:disabled){background:var(--accent-hover)}.button:disabled{opacity:.4;cursor:not-allowed}.button--secondary{border:1px solid var(--border);background:0 0}.button--secondary:hover:not(:disabled){background:var(--surface)}.button--ghost{color:var(--text-muted);background:0 0}.button--ghost:hover:not(:disabled){background:var(--surface)}.field{flex-direction:column;gap:6px;display:flex}.field__label{color:var(--text-muted);font-size:.875rem}.input{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);width:100%;padding:12px 14px}.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7 L10 13 L16 7' fill='none' stroke='%23A8A8A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}.checkbox{align-items:center;gap:8px;font-size:.9375rem;display:inline-flex}.segmented{border:1px solid var(--border);border-radius:999px;display:inline-flex;overflow:hidden}.segmented button{font-family:var(--font-mono);color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:4px 12px;font-size:.8125rem}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text)}.toggles{gap:12px}.divider{border:none;border-top:1px solid var(--border);margin:0}.toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative}.toggle--disabled{cursor:not-allowed;opacity:.55}.toggle__text{flex-direction:column;display:flex}.toggle__hint{color:var(--text-muted);font-size:.8125rem}.toggle__input{opacity:0;width:1px;height:1px;position:absolute}.toggle__track{background:var(--border);border-radius:14px;flex:none;width:52px;height:28px;padding:3px;transition:background .15s}.toggle__thumb{background:var(--text);border-radius:11px;width:22px;height:22px;transition:transform .15s;display:block}.toggle__input:checked+.toggle__track{background:var(--accent)}.toggle__input:checked+.toggle__track .toggle__thumb{transform:translate(24px)}.toggle__input:focus-visible+.toggle__track{outline:2px solid var(--accent);outline-offset:2px}.tag{border:1px solid var(--band-med);font-family:var(--font-mono);color:var(--band-med);border-radius:999px;padding:1px 8px;font-size:.75rem;display:inline-block}.profile-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.profile-list__item{border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 16px;display:flex}.profile-list__item:hover{background:var(--surface)}.profile-list__item--current{border-color:var(--accent)}.profile-list__item .mono{font-size:.8125rem}.prompt{font-size:1.625rem}.followup{border-left:2px solid var(--accent);background:var(--surface);border-radius:0 var(--radius) var(--radius) 0;flex-direction:column;gap:2px;padding:10px 14px;font-size:1.125rem;animation:.4s ease-out fade-in;display:flex}@keyframes fade-in{0%{opacity:0;transform:translateY(4px)}}.progress-head{justify-content:space-between;font-size:.9375rem;display:flex}.progress{background:var(--border);border-radius:6px;height:12px;margin-bottom:22px;position:relative}.progress__fill{background:var(--text-muted);border-radius:6px;height:100%;transition:width .1s linear}.progress__fill--ok{background:var(--accent)}.progress__marker{background:var(--text);width:2px;position:absolute;top:-4px;bottom:-4px}.progress__marker span{color:var(--text-muted);white-space:nowrap;font-size:.75rem;position:absolute;top:22px;left:50%;transform:translate(-50%)}.sim{background:var(--surface)}.sim__head{justify-content:space-between;align-items:center;display:flex}.sim__led{background:var(--border);border-radius:6px;width:12px;height:12px}.sim__led--on{background:var(--band-low);box-shadow:0 0 10px var(--band-low)}.sim__controls{justify-content:space-between;align-items:center;gap:12px;display:flex}.hold{border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface-panel);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;width:100%;padding:22px 16px;font-size:1.0625rem}.hold--active{border-style:solid;border-color:var(--band-low);background:#1d2a2b}.hold:disabled{cursor:default;opacity:.6}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:3s}.followup{animation:none}}.score__head{align-items:center;gap:12px;display:flex}.score__label{flex:1;font-size:1.25rem}.dot{border-radius:7px;flex:none;width:14px;height:14px}.bands{flex-direction:column;gap:6px;display:flex}.bands__bar{border-radius:4px;gap:2px;height:12px;display:flex;overflow:hidden}.bands__seg--low{background:var(--band-low)}.bands__seg--med{background:var(--band-med)}.bands__seg--high{background:var(--band-high)}.bands__labels{color:var(--text-muted);justify-content:space-between;font-size:.875rem;display:flex}.bands__label--top{color:var(--text);font-weight:600}.slider__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.slider__value{font-size:1.25rem}.slider__anchors{color:var(--text-muted);justify-content:space-between;font-size:.875rem;display:flex}input[type=range]{--fill:50%;appearance:none;cursor:pointer;background:0 0;width:100%;height:28px;margin:0}input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--fill), var(--border) var(--fill));border-radius:4px;height:8px}input[type=range]::-moz-range-track{background:linear-gradient(to right, var(--accent) var(--fill), var(--border) var(--fill));border-radius:4px;height:8px}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--text);border:none;border-radius:14px;width:28px;height:28px;margin-top:-10px}input[type=range]::-moz-range-thumb{background:var(--text);border:none;border-radius:14px;width:28px;height:28px}.note{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:4px;padding:12px 16px;display:flex}.note .mono{font-size:.8125rem}.chart{width:100%;min-height:220px}.legend{flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;font-size:.9375rem;list-style:none;display:flex}.legend li{align-items:center;gap:8px;display:inline-flex}.legend__swatch{border-radius:2px;width:18px;height:3px;display:inline-block}.legend__swatch--dashed{background:repeating-linear-gradient(to right, var(--text-muted) 0 5px, transparent 5px 8px)}.tooltip{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;font-size:.875rem;display:flex}.tooltip .mono{font-size:.75rem}.tooltip__row{align-items:center;gap:8px;display:flex}.tooltip__row .mono{color:var(--text);margin-left:auto;font-size:.875rem}.table-view summary{cursor:pointer;color:var(--text-muted);font-size:.875rem}.table-view table{border-collapse:collapse;width:100%;margin-top:8px;font-size:.8125rem}.table-view th,.table-view td{border-bottom:1px solid var(--border);text-align:left;padding:6px 4px}.table-view th{color:var(--text-muted);font-weight:500}.meter{background:var(--border);border-radius:4px;height:8px;overflow:hidden}.meter__fill{background:var(--band-low);height:100%;transition:width 80ms linear}.linkish{color:var(--text-muted);cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:0;font-size:.875rem;text-decoration:underline}
