:root{--bg:#fff;--surface:#fff;--surface-2:#f3f3f3;--border:#000;--hairline:#e2e2e2;--text:#000;--muted:#6b6b6b;--accent:#000;--accent-strong:#000;--on-accent:#fff;--good:#1d7a3a;--bad:#c42b2b;--radius:0;--serif:"Libre Baskerville", Georgia, serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;margin:0}body{overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0}button:disabled{cursor:default}h1,h2{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-weight:700}kbd{font:inherit;opacity:.6;border:1px solid;border-radius:0;margin-left:.35em;padding:0 .4em;font-size:.75em}@media (hover:none){.kbd-only,kbd{display:none}}@media (hover:hover){.touch-only{display:none}}.muted{color:var(--muted)}.small{font-size:.8rem;font-weight:400}.center{text-align:center}.primary,.secondary{letter-spacing:.02em;border-radius:0;padding:.8rem 1.4rem;font-weight:600}.primary{background:var(--accent-strong);color:var(--on-accent)}.primary:hover{background:#262626}.secondary{background:var(--bg);border:1.5px solid var(--border)}.big{width:100%;padding:1rem;font-size:1.1rem}.ghost{color:var(--muted);background:0 0;padding:.4rem .6rem;font-size:1.2rem}.row{justify-content:center;gap:.75rem;display:flex}.home{--gutter:24px;max-width:560px;padding:max(env(safe-area-inset-top), 16px) var(--gutter) max(env(safe-area-inset-bottom), 48px);flex-direction:column;gap:40px;margin:0 auto;display:flex}.home-header h1{letter-spacing:.04em;padding:8px 0;font-size:1.15rem}.card{background:var(--surface);border-top:2px solid var(--border);flex-direction:column;gap:12px;padding:28px 0 0;display:flex}.card h2{justify-content:space-between;align-items:baseline;font-size:1.45rem;display:flex}.card p{margin:0;line-height:1.45}.eyebrow{background:var(--text);color:var(--bg);text-transform:uppercase;letter-spacing:.08em;width:fit-content;padding:.15rem .4rem;font-size:.72rem;font-weight:600}.stat-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat-grid.two{grid-template-columns:repeat(2,1fr)}.stat{background:var(--surface-2);border-radius:0;min-width:0;padding:10px 12px}.stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:600}.stat-value{font-size:clamp(1.4rem,6.4vw,2rem);line-height:1.15;font-family:var(--serif);font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:2px;font-weight:700}.stat-unit{color:var(--muted);margin-left:1px;font-size:.55em;font-weight:600}.stat-sub{color:var(--muted);font-size:.85rem}.about summary{cursor:pointer;color:var(--muted);text-align:center;font-size:.9rem;list-style:none}.about summary::-webkit-details-marker{display:none}.about summary:after{content:" ▾"}.about[open] summary:after{content:" ▴"}.about-body{margin-top:8px;line-height:1.45}.about-body>div{margin-top:10px}.chart{width:100%;height:auto}.chart .grid{stroke:var(--hairline);stroke-width:1px}.chart .axis{fill:var(--muted);font-size:9px}.chart .line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round}.chart .dot{fill:var(--accent)}.chart{touch-action:pan-y;outline:none}.chart:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:0}.chart .session-dot{fill:#b5b5b5;stroke:var(--surface);stroke-width:2px}.chart .session-dot.picked{fill:var(--text)}.chart .avg-line,.chart .level-line{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart .avg-line{stroke:var(--avg);stroke-dasharray:4 3}.chart .level-line{stroke:var(--level)}.chart .crosshair{stroke:var(--muted);stroke-width:1px;opacity:.5}.trend{--level:var(--text);--avg:var(--muted);flex-direction:column;gap:8px;display:flex}.trend-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.trend-readout,.trend-legend{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:4px 14px;display:flex}.trend-better{margin-left:auto}.key{vertical-align:middle;display:inline-block}.key.dot{background:var(--muted);border-radius:50%;width:8px;height:8px}.key.avg,.key.level{border-radius:0;width:14px;height:2px}.key.avg{background:repeating-linear-gradient(90deg, var(--avg) 0 4px, transparent 4px 7px)}.key.level{background:var(--level)}.chips.small button{padding:4px 10px;font-size:.8rem}.level-ladder{gap:3px;display:flex}.level-ladder span{background:var(--surface-2);border-radius:0;flex:1;height:8px}.level-ladder span.on{background:var(--accent)}.level-next{background:var(--surface-2);border-radius:0;padding:10px 12px}.level-next .level-pips{margin:6px 0 4px}.level-how summary{cursor:pointer;color:var(--muted);font-size:.85rem}.level-how p{margin-top:6px}.card h3{margin:0;font-weight:600}.level-row{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.level-value{font-size:2rem;font-family:var(--serif);color:var(--accent);font-weight:700}.level-pips{gap:6px;margin:8px 0 12px;display:flex}.level-pips span{background:var(--surface-2);border:1px solid var(--border);border-radius:0;width:28px;height:6px}.level-pips span.on{background:var(--accent);border-color:var(--accent)}.level-ups{margin:8px 0 0;padding:0;font-size:.85rem;list-style:none}.level-ups li{border-top:1px solid var(--hairline);justify-content:space-between;padding:4px 0;display:flex}.level-up{margin-bottom:12px;font-size:1.1rem}.level-up b{color:var(--accent)}.sessions{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.85rem}.sessions th{text-align:left;color:var(--muted);padding-bottom:6px;font-weight:500}.sessions td{border-top:1px solid var(--hairline);padding:6px 0}.sessions td:first-child{white-space:nowrap}.sessions th:not(:last-child),.sessions td:not(:last-child){padding-right:6px}.up{color:var(--good)}.down{color:var(--bad)}.game{max-width:720px;height:100dvh;padding:max(env(safe-area-inset-top), 12px) 16px max(env(safe-area-inset-bottom), 16px);-webkit-user-select:none;user-select:none;flex-direction:column;gap:16px;margin:0 auto;display:flex}.game-bar{align-items:center;gap:12px;display:flex}.progress{background:var(--surface-2);border-radius:0;flex:1;height:6px;overflow:hidden}.progress-fill{background:var(--accent);height:100%;transition:width .2s}.bar-button{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.pause-button{border:1.5px solid var(--border);color:var(--text);font-size:1rem}.pill{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.95rem;font-weight:500}.stage{text-align:center;background:var(--bg);border:1.5px solid var(--border);border-radius:0;flex:1;justify-content:center;align-items:center;min-height:220px;padding:16px;display:flex;position:relative}.stage.tappable{cursor:pointer}.rule-title{letter-spacing:-.01em;margin-bottom:20px;font-size:clamp(2.2rem,10vw,3.2rem);font-weight:800;line-height:1.1}.rule-examples{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.rule-example{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:0;padding:6px 12px;font-size:clamp(.9rem,3.6vw,1rem)}.rule-example b{margin-left:4px}.rule-example.yes b{color:var(--good)}.rule-example.no b{color:var(--bad)}.rule-timer{background:var(--accent);transform-origin:0;border-radius:0;width:min(160px,50%);height:4px;margin:28px auto 0;animation:linear forwards rule-timer}@keyframes rule-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.pill.run{color:var(--good)}.hint{color:var(--muted);margin-top:24px;font-size:.9rem}.rule-tag{color:var(--text);font-size:1rem;font-weight:700;position:absolute;top:12px;left:0;right:0}.fixation{color:var(--muted);font-size:3rem}.stimulus{white-space:nowrap;font-size:clamp(1.5rem,7vw,3.4rem);font-weight:700}.stimulus .dash{color:var(--muted);margin:0 .3em}.feedback{color:#fff;align-items:center;gap:.4em;padding:.3em .75em;font-size:1.8rem;font-weight:700;animation:.2s ease-out pop;display:inline-flex}.feedback:before{font-size:1.1em;line-height:1}.feedback.good{background:var(--good)}.feedback.good:before{content:"✓"}.feedback.bad{background:var(--bad)}.feedback.bad:before{content:"✗"}.feedback.neutral{background:var(--text)}.feedback-wrap{flex-direction:column;align-items:center;gap:10px;display:flex}.feedback-note{color:var(--muted)}.answers{grid-template-columns:1fr 1fr;gap:12px;display:grid}.answer{border-radius:0;height:clamp(72px,14vh,110px);font-size:1.3rem;font-weight:700;transition:opacity .1s,transform 50ms}.answer:active:not(:disabled){transform:scale(.97)}.answer:disabled{opacity:.35}.answer.no{background:var(--bg);border:1.5px solid var(--border)}.answer.yes{background:var(--accent-strong);color:var(--on-accent)}.results{text-align:center;flex-direction:column;justify-content:center;gap:20px;max-width:560px;min-height:100dvh;margin:0 auto;padding:24px 16px;display:flex}.results h2{font-size:1.5rem}.braced{flex-direction:column;align-items:center;gap:6px;display:flex}.braced-chips{flex-wrap:nowrap}.braced-chips button{min-width:2.75rem;font-size:1rem}.braced-scale{flex-direction:column;gap:4px;display:flex}.braced-ends{justify-content:space-between;display:flex}.home-header{color:#fff;margin:calc(-1 * max(env(safe-area-inset-top), 16px)) calc(-1 * var(--gutter)) 0;padding:max(env(safe-area-inset-top), 16px) var(--gutter) 0;background:#000;flex-direction:column;gap:10px;display:flex}.halftone{width:100%;display:block}.halftone.banner{width:calc(100% + 2 * var(--gutter));margin:0 calc(-1 * var(--gutter));aspect-ratio:3}.halftone.banner.tall{aspect-ratio:16/11}.halftone.photo{object-fit:cover}.halftone.inset{aspect-ratio:4/5;width:62%;max-width:320px;margin:64px auto}.home-header:not(:has(.banner)){padding-bottom:14px}.halftone.thumb{aspect-ratio:2;margin-bottom:10px}.home-header .sync-button{color:#fff;border-color:#ffffff80}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:0;gap:3px;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border-radius:0;flex:1;padding:.55rem .5rem;font-weight:600}.game-grid{border-top:1px solid var(--border);border-left:1px solid var(--border);grid-template-columns:repeat(2,1fr);display:grid}.game-grid button{text-align:left;background:var(--bg);border-right:1px solid var(--border);border-bottom:1px solid var(--border);flex-direction:column;gap:2px;padding:12px 12px 16px;display:flex}.game-grid button:hover{background:var(--surface-2)}.game-name{font-family:var(--serif);font-weight:700}.back{color:inherit;letter-spacing:.02em;background:0 0;padding:8px 0;font-weight:600}.segmented button.on{background:var(--text);color:var(--bg)}.options{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.options .segmented{flex:1;min-width:200px}.check{color:var(--muted);align-items:center;gap:6px;font-size:.9rem;display:flex}.spacer{flex:1}.cct-hud{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.hud-tile{background:var(--surface);border:1px solid var(--border);border-radius:0;flex-direction:column;align-items:center;padding:8px 6px;display:flex}.hud-tile.ahead{border-color:var(--good)}.hud-label{color:var(--muted);font-size:.8rem}.hud-value{font-size:1.6rem;font-family:var(--serif);font-variant-numeric:tabular-nums;font-weight:700;line-height:1.2}.hud-sub{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.8rem}.cct-stage{flex-direction:column;gap:18px}.cct-digit{font-size:clamp(3rem,16vw,5rem);font-family:var(--serif);font-variant-numeric:tabular-nums;align-items:center;min-height:1.3em;font-weight:700;display:flex}.cct-digit .feedback{font-size:1.8rem}.runs{gap:6px;display:flex}.run-box{background:var(--surface-2);border:1px solid var(--border);border-radius:0;width:18px;height:18px}.run-box.good{background:var(--good);border-color:var(--good)}.cct-stage .hint{margin-top:0}.game.keyboard-up{gap:6px;padding-top:6px;padding-bottom:6px;overflow:hidden}.keyboard-up .cct-hud{gap:6px;margin-top:0}.keyboard-up .hud-tile{flex-direction:row;justify-content:center;align-items:baseline;gap:6px;padding:2px 6px}.keyboard-up .hud-value{font-size:1.15rem}.keyboard-up .hud-sub{display:none}.keyboard-up .stage{min-height:0;padding:6px}.keyboard-up .cct-stage{gap:6px}.keyboard-up .cct-digit{font-size:clamp(2rem,10vh,3.5rem)}.keyboard-up .run-box{width:12px;height:12px}.keyboard-up .cct-stage .hint{font-size:.85rem}.keyboard-up .cct-answer{padding:2px 0;font-size:1.6rem}.pad{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.pad-key{background:var(--surface-2);border:1px solid var(--border);font-variant-numeric:tabular-nums;border-radius:0;justify-content:center;align-items:center;gap:2px;height:clamp(52px,9vh,72px);font-size:1.3rem;font-weight:700;transition:background .1s,transform 50ms;display:flex}.pad-key:active:not(:disabled){transform:scale(.96)}.pad-key:disabled{opacity:.55}.pad-key.good{background:var(--good);color:#fff;opacity:1}.pad-key.bad{background:var(--bad);color:#fff;opacity:1}.pad-key.right{outline:3px solid var(--good);outline-offset:-3px;color:var(--good);opacity:1}.pad-key kbd{font-size:.6rem}.pop{animation:.25s ease-out pop}@keyframes pop{0%{opacity:.3;transform:scale(.8)}}.pad.pad-9{grid-template-columns:repeat(3,1fr);width:100%;max-width:420px;margin:0 auto}.lag-hint{color:var(--accent);font-size:1.05rem;font-weight:600}.settings{flex-direction:column;gap:14px;display:flex}.setting{flex-direction:column;gap:6px;display:flex}.setting-label{color:var(--muted);justify-content:space-between;font-size:.85rem;display:flex}.setting-label b{color:var(--text);font-weight:600}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips button{background:var(--surface-2);border:1px solid var(--border);font-variant-numeric:tabular-nums;color:var(--muted);border-radius:0;padding:.4rem .65rem;font-size:.85rem}.chips button.on{background:var(--text);border-color:var(--text);color:var(--bg)}.setting input[type=range]{width:100%;accent-color:var(--accent-strong)}.setting-note{color:var(--muted);font-size:.75rem}.setting-note.warn{color:#a15c00}.toggles{grid-template-columns:1fr 1fr;gap:8px 12px;display:grid}details.card>summary{cursor:pointer;justify-content:space-between;font-weight:600;list-style:none;display:flex}details.card>summary::-webkit-details-marker{display:none}details.card>summary:after{content:"▾";color:var(--muted)}details.card[open]>summary:after{content:"▴"}.cct-answer{font-variant-numeric:tabular-nums;text-align:center;background:var(--surface-2);width:5ch;color:inherit;border:2px solid var(--border);border-radius:0;outline:none;padding:6px 0;font-size:2.2rem;font-weight:700;transition:background .1s,border-color .1s}.cct-answer:focus{border-color:var(--accent)}.cct-answer.good{background:var(--good);border-color:var(--good);color:#fff}.cct-answer.bad{background:var(--bad);border-color:var(--bad);color:#fff}.chip-input{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);border-radius:0;align-items:center;gap:4px;padding:0 .65rem 0 .3rem;font-size:.85rem;display:flex}.chip-input.on{border-color:var(--accent);color:var(--text)}.chip-input input{text-align:right;width:4.5ch;color:inherit;font-variant-numeric:tabular-nums;background:0 0;border:none;outline:none;font-size:16px}.chip-input input::placeholder{color:var(--muted);font-size:.85rem}.card .chips+.chart{margin-top:10px}.tracker-line{font-size:clamp(1.4rem,6.5vw,2.4rem);font-weight:700;animation:.15s ease-out pop}.tracker-question{color:var(--accent);font-size:clamp(1.2rem,5.5vw,1.9rem);font-weight:700}.tracker-options{grid-template-columns:repeat(2,1fr);align-content:end;gap:8px;min-height:9.5rem;display:grid}.tracker-options button{border-radius:0;padding:.85rem .5rem;font-weight:600}.tracker-options button:disabled{opacity:.35}.tracker-options .lost{color:var(--accent);grid-column:1/-1}.rules-card{flex-direction:column;align-items:center;gap:14px;display:flex}.rules-main{font-size:clamp(1.4rem,6vw,2rem);font-weight:800}.rules-list{text-align:left;flex-direction:column;gap:8px;margin:0;padding:0;font-size:clamp(1rem,4.2vw,1.2rem);list-style:none;display:flex}.rules-list .allow b{color:var(--good)}.rules-list .ban b{color:var(--bad)}.rules-card .hint{margin-top:4px}.play{align-items:flex-end;gap:24px;display:flex}.play-label{color:var(--muted);margin-bottom:6px;font-size:.85rem}.playing-card{aspect-ratio:5/7;background:var(--bg);border:2px solid var(--border);width:clamp(92px,26vw,130px);color:var(--text);font-family:var(--serif);border-radius:0;justify-content:center;align-items:center;font-size:clamp(1.8rem,9vw,2.6rem);font-weight:800;display:flex}.playing-card.red{color:var(--bad)}.chart .week-bar{fill:var(--text);opacity:.6}.chart .week-bar.now{opacity:1}.title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.sync-button{border:1px solid var(--border);color:var(--muted);background:0 0;border-radius:0;padding:.3rem .75rem;font-size:.8rem}.sync-button.error,.sync-button.bad-key{color:var(--bad)}.paused{z-index:20;background:var(--bg);flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px 16px;display:flex;position:fixed;inset:0}.paused h2{margin:0}.paused .big{min-width:220px}.paused-count{font-size:96px;font-family:var(--serif);font-variant-numeric:tabular-nums;font-weight:700}.tag-short{background:var(--surface-2);color:var(--muted);border-radius:0;margin-left:6px;padding:1px 6px;font-size:11px}.home-header+.card,.halftone.inset+.card{border-top:0}:root,[data-pop=cct]{--pop:#ff4f2e}[data-pop=rrt]{--pop:#2f5bff}[data-pop=span]{--pop:#f2a516}[data-pop=nback]{--pop:#7b4dff}[data-pop=ltmr]{--pop:#0fa38f}[data-pop=tracker]{--pop:#ff4fa0}[data-pop=rules]{--pop:#2e9e44}.pop-scope{display:contents}:root .home-header{border-bottom:4px solid var(--pop)}.eyebrow:before,.pop-dot{content:"";background:var(--pop);vertical-align:.08em;border-radius:50%;width:.55em;height:.55em;margin-right:.5em;display:inline-block}.pop-dot{vertical-align:.1em;width:9px;height:9px}:root .hero .stat:first-child{box-shadow:inset 0 4px 0 var(--pop)}:root .progress-fill,:root .level-pips span.on,:root .level-ladder span.on,:root .rule-timer,:root .plan-bar span,:root .rrt-timer{background:var(--pop);border-color:var(--pop)}:root .trend{--level:var(--pop)}:root .chart .line{stroke:var(--pop)}:root .chart .dot,:root .chart .week-bar{fill:var(--pop)}:root .plan-day.today{outline:2px solid var(--pop)}:root .plan-today li .plan-tick,:root .cct-answer:focus,:root .span-slots span.next{border-color:var(--pop)}:root .nb-cell.lit{background:var(--pop);border-color:var(--pop)}:root .nb-cue,:root .lag-hint,:root .level-up b{color:var(--pop)}:root .game-grid button:hover{box-shadow:inset 0 -4px 0 var(--pop)}.nb-stage{flex-direction:column;gap:14px}.nb-cue{min-height:1.4em;color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:600}.nb-grid{aspect-ratio:1;grid-template-columns:repeat(3,1fr);gap:8px;width:min(100%,44vh,340px);display:grid}.nb-cell{background:var(--surface-2);border:1px solid var(--border);border-radius:0}.nb-cell.lit{background:var(--accent);border-color:var(--accent);box-shadow:none}.nb-answers{grid-template-columns:1fr 1fr;gap:12px;display:grid}.nb-answer{background:var(--surface-2);border:2px solid var(--border);border-radius:0;height:clamp(72px,14vh,110px);font-size:1.2rem;font-weight:700;transition:background .1s,border-color .1s,color .1s,transform 50ms;position:relative}.nb-answer:active:not(:disabled){transform:scale(.97)}.nb-answer:disabled{opacity:.45}.nb-answer.good,.nb-answer.bad{color:#fff;opacity:1}.nb-answer.good{background:var(--good);border-color:var(--good)}.nb-answer.bad{background:var(--bad);border-color:var(--bad)}.nb-answer.miss{opacity:1;color:var(--bad);border:3px dashed var(--bad);background:#fdeaea}.nb-answer kbd{color:inherit}.nb-mark{font-size:1.3rem;line-height:1;animation:.2s ease-out pop;position:absolute;top:6px;right:10px}.nb-answer.miss .nb-mark{text-transform:uppercase;letter-spacing:.06em;font-size:.85rem;top:8px}.nb-pause{flex-direction:column;gap:14px;width:min(100%,360px);display:flex}.nb-pause h2{font-size:1.3rem}.nb-pause p{margin:0}.nb-pause b{color:var(--accent)}.plan-today{gap:6px;margin:0 0 4px;padding:0;list-style:none;display:grid}.plan-today button{text-align:left;background:var(--surface-2);border:1px solid var(--border);width:100%;color:var(--text);border-radius:0;align-items:center;gap:10px;padding:.6rem .75rem;display:flex}.plan-today .plan-name{flex:1;font-weight:600}.plan-tick{border:1.5px solid var(--border);border-radius:50%;flex:none;place-items:center;width:1.4rem;height:1.4rem;font-size:.8rem;display:grid}.plan-today button.done .plan-tick{background:var(--good);border-color:var(--good);color:#fff}.plan-today button.done .plan-name{color:var(--muted)}.plan-week{gap:12px;margin-bottom:8px;display:grid}.plan-row-head{justify-content:space-between;align-items:baseline;gap:8px;font-weight:600;display:flex}.plan-row-mins{font-variant-numeric:tabular-nums}.plan-row-mins .muted{font-size:.85rem;font-weight:400}.plan-bar{background:var(--surface-2);border-radius:0;height:8px;margin:4px 0 2px;overflow:hidden}.plan-bar span{background:var(--accent);border-radius:0;height:100%;display:block}.plan-bar span.full{background:var(--good)}.plan-scale{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.plan-scale button{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);border-radius:0;padding:.55rem 0;font-weight:600}.plan-scale button.on{border-color:var(--accent);background:var(--accent-strong);color:var(--on-accent)}.plan-note{box-sizing:border-box;background:var(--surface-2);border:1px solid var(--border);width:100%;color:var(--text);font:inherit;border-radius:0;padding:.55rem .7rem}.plan-delete{color:var(--muted);background:0 0;padding:0 .4rem;font-size:1.1rem}.plan-days{grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:12px;display:grid}.plan-day{background:var(--surface-2);border-radius:0;justify-items:center;gap:2px;padding:.35rem 0;display:grid}.plan-day.today{outline:1px solid var(--accent)}.plan-day.some b{color:var(--accent)}.plan-day.all b{color:var(--good)}button.plan-day{color:var(--text);font:inherit;cursor:pointer;border:1px solid #0000}.plan-day.picked{border-color:var(--text);background:var(--surface)}.plan-dayview{border:1px solid var(--border);margin-bottom:16px;padding:.6rem .75rem}.plan-dayview-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.plan-dayview-list{gap:10px;margin:0 0 8px;padding:0;list-style:none;display:grid}.plan-lock{background:color-mix(in srgb, currentColor 7%, transparent);opacity:.85;border-radius:8px;margin:.25rem 0 .75rem;padding:.4rem .6rem}.plan-lock.due{opacity:1;background:#e0a1002e}.rrt-example{background:var(--surface-2);color:var(--muted);border-radius:0;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.rrt-example-q{color:var(--text);margin-top:4px}.rrt-timer-track{height:3px;margin-top:-8px}.rrt-timer{background:var(--accent);transform-origin:0;border-radius:0;height:100%;animation:linear forwards rule-timer}.rrt-stage{text-align:left;flex-direction:column;align-items:stretch;overflow-y:auto}.rrt-question{flex-direction:column;gap:18px;width:100%;max-width:480px;margin:0 auto;display:flex}.rrt-question .hint{text-align:center;margin-top:0}.rrt-premises{flex-direction:column;gap:8px;margin:0;padding:0;font-size:clamp(1.05rem,4.6vw,1.3rem);font-weight:600;list-style:none;display:flex}.rrt-premises li{background:var(--surface);border:1px solid var(--border);border-radius:0;align-items:center;min-height:2.4em;padding:6px 10px;display:flex}.rrt-fade{animation-name:rrt-wipe;animation-timing-function:linear;animation-fill-mode:both;display:inline-block}@keyframes rrt-wipe{0%{clip-path:inset(0)}to{clip-path:inset(0 0 0 100%)}}.rrt-conclusion{border-top:1px solid var(--border);padding-top:14px}.rrt-conclusion-text{color:var(--accent);margin-top:4px;font-size:clamp(1.15rem,5vw,1.45rem);font-weight:700}.rrt-note{color:var(--accent);margin-top:8px;font-weight:600}.rrt-by-type td,.rrt-by-type th{text-align:left}.rrt-break{text-align:center;flex-direction:column;gap:14px;width:min(100%,360px);margin:0 auto;display:flex}.rrt-break h2{font-size:1.3rem}.rrt-break p{margin:0}.span-stage{flex-direction:column;gap:18px}.span-card{flex-direction:column;align-items:center;gap:10px;max-width:420px;display:flex}.span-card p{margin:0;line-height:1.45}.span-card .hint{margin-top:12px}.span-equation{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:clamp(1.7rem,8vw,2.8rem);font-weight:700}.span-timer{margin-top:0}.span-letter{min-height:1.2em;font-size:clamp(3.5rem,18vw,6rem);font-weight:800;line-height:1.2}.hud-tile.span-low{border-color:#a15c00}.hud-tile.span-low .hud-value{color:#a15c00}.span-pattern{aspect-ratio:1;border:2px solid var(--border);background:var(--bg);grid-template-columns:repeat(8,1fr);width:min(62vw,34vh,260px);display:grid}.span-pattern span.on{background:var(--text)}.span-grid{grid-template-columns:repeat(4,1fr);gap:6px;width:min(72vw,40vh,300px);display:grid}.span-grid>*{aspect-ratio:1;background:var(--surface-2);border:1px solid var(--border);border-radius:0}.span-grid .flash{background:var(--bad);border-color:var(--bad)}.span-grid button{padding:0;font-size:1.2rem;font-weight:700}.span-grid button.picked{background:var(--accent-strong);border-color:var(--accent);color:#fff}.span-slots{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.span-slots span{border-bottom:2px solid var(--border);justify-content:center;align-items:center;width:2.2rem;height:2.8rem;font-size:1.6rem;font-weight:700;display:flex}.span-slots span.next{border-color:var(--accent)}.span-recall{flex-direction:column;gap:10px;display:flex}.pad.span-pad{grid-template-columns:repeat(6,1fr)}.span-tools{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.span-tools button{padding:.6rem .4rem;font-size:.9rem}.span-tools button:disabled{opacity:.45}
