.memory-lab{padding:34px;font-family:Arial,Helvetica,sans-serif}.lab-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.mem-eyebrow{font:10px JetBrains Mono,monospace;letter-spacing:1.5px;line-height:1.7}.lab-heading .mem-eyebrow{color:var(--muted);margin:0 0 14px}.lab-heading h1{font-size:clamp(26px,4vw,42px);letter-spacing:-1.7px;font-weight:500;margin:0}.lab-heading h1 em{font-family:Georgia,serif;font-weight:400}.lab-heading>p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.concept-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:22px}.concept-tabs button{min-width:0;background:transparent;border:1px solid var(--divider);padding:14px;text-align:left;color:var(--muted);transition:background .2s}.concept-tabs button.selected{background:var(--text);color:var(--bg);border-color:var(--text)}.concept-number{display:flex;justify-content:space-between;font:10px monospace;margin-bottom:18px}.concept-number>span{font-size:16px}.concept-tabs strong{display:block;font-size:12px;font-weight:500;margin-bottom:6px}.concept-tabs small{font-size:10px;opacity:.75}.mem-experience{--ink:#294739;--accent:#486a51;--paper:#f2f1e8;--edge:#cdd4c5;background:var(--paper);color:var(--ink);display:grid;grid-template-columns:.8fr 1.2fr;min-height:460px}.mem-intro{padding:30px;border-right:1px solid var(--edge);display:flex;flex-direction:column}.mem-emblem{font-size:72px;line-height:1;margin:32px 0 20px}.mem-intro h2{font-family:Georgia,serif;font-size:35px;line-height:1.07;font-weight:400;letter-spacing:-1px;margin:0 0 14px}.mem-tagline{font-size:12px;line-height:1.7;margin:0 0 16px}.mem-description{font-size:12px;line-height:1.9;opacity:.75;margin:0 0 28px;max-width:260px}.mem-skill{margin-top:auto;border-top:1px solid var(--edge);padding-top:18px;display:grid;gap:8px}.mem-skill span{font:9px monospace;letter-spacing:1px;opacity:.7}.mem-skill strong{font-size:12px;font-weight:500}.mem-play{padding:28px;display:flex;flex-direction:column;min-width:0}.mem-stats{display:flex;justify-content:space-between;gap:12px;font:10px monospace;letter-spacing:.5px;border-bottom:1px solid var(--edge);padding-bottom:16px}.mem-pairs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.mem-card{aspect-ratio:.9;background:#dce3d3;border:1px solid #bdcbb4;border-radius:5px;color:#536b49;font-size:35px;transition:transform .2s,background .2s}.mem-card:not(:disabled):hover{transform:translateY(-3px);background:#cbd8c0}.mem-card.revealed{background:#fffdf4;color:#486a51}.mem-card.matched{background:#e8eddf;border-style:dashed;opacity:.55}.card-back{display:flex;align-items:center;flex-direction:column;gap:9px;font-size:28px}.card-back small{font:7px monospace;letter-spacing:2px}.mem-game-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:auto;min-height:44px;font-size:10px;line-height:1.6}.mem-game-footer>span{max-width:240px}.mem-game-footer>button:not(.mem-action){background:none;border:none;color:inherit;font-size:10px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.mem-action{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:12px 15px;font-size:11px;white-space:nowrap}.mem-action:hover{filter:brightness(1.2)}.mem-action span{font-size:17px}.lab-footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font:10px monospace;padding-top:18px}.lab-dot{display:inline-block;width:6px;height:6px;background:#719774;border-radius:50%;margin-right:7px}.mem-pulse{--paper:#161823;--ink:#eeeafe;--edge:#353345;--accent:#b7a6ff}.mem-pulse .mem-intro h2{font-family:Arial,sans-serif;font-weight:600}.mem-pulse .mem-emblem{color:#b7a6ff}.pulse-pads{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px auto;width:min(100%,330px)}.pulse-pad{position:relative;height:125px;background:#252336;border:1px solid #53476b;border-radius:14px;color:#c5aaff;transition:background .12s,box-shadow .12s}.pulse-pad span{position:absolute;left:12px;top:12px;font:9px monospace;opacity:.6}.pulse-pad b{font-size:40px;font-weight:400}.pad-1{color:#e5a8cb}.pad-2{color:#a4d9ce}.pad-3{color:#f0d395}.pulse-pad.lit,.pulse-pad:not(:disabled):active{background:#c9b0ff;color:#171521;box-shadow:0 0 32px #b7a6ff66}.pulse-pad:disabled{cursor:default}.mem-atlas{--paper:#eaf0f4;--ink:#244969;--edge:#c3d0dc}.mem-atlas .mem-intro{background-image:linear-gradient(#24496908 1px,transparent 1px),linear-gradient(90deg,#24496908 1px,transparent 1px);background-size:20px 20px}.mem-atlas h2{font-family:Arial,sans-serif;font-weight:600;letter-spacing:-2px}.atlas-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:min(100%,320px);margin:24px auto}.atlas-grid button{aspect-ratio:1;border:1px solid #b4c5d3;background:#f4f7f9;color:#61798d;text-align:left;padding:8px}.atlas-grid button small{font:8px monospace}.atlas-grid button.target{background:#356b97;color:#fff}.atlas-grid button.picked{background:#aac7de;color:#183b58}.mem-digits{--paper:#f7e951;--ink:#242619;--edge:#cbbf48}.mem-digits .mem-intro h2{font-family:Arial,sans-serif;font-weight:800;font-size:40px;letter-spacing:-2px}.digits-stage,.words-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 0;min-height:310px;width:100%}.digit-display{font-size:clamp(28px,5vw,66px);letter-spacing:-3px;overflow-wrap:anywhere;max-width:100%;margin-top:30px}.digit-display small{font-size:18px;letter-spacing:-.5px;margin-left:12px;font-weight:400}.digits-stage form{width:100%;display:flex;flex-direction:column;align-items:center;gap:24px}.digits-stage input{width:100%;min-width:0;text-align:center;font-size:40px;letter-spacing:4px;background:transparent;border:0;border-bottom:2px solid var(--ink);outline-offset:5px;margin-top:22px;padding:8px}.mem-words{--paper:#f4e9df;--ink:#773e3b;--edge:#ddc5b8}.mem-words .mem-emblem{font-family:Georgia,serif;font-style:italic}.words-stage h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(36px,5vw,64px);letter-spacing:-2px;margin:28px 0 40px}.words-stage h2 span{color:#c28465}.word-choices{display:flex;gap:10px;width:100%}.word-choices button{display:flex;justify-content:space-between;gap:10px;flex:1;padding:14px;background:transparent;color:var(--ink);border:1px solid #b68c7d;font-size:12px}.word-choices button:last-child{background:var(--ink);color:var(--paper)}.word-flourish{font-size:34px}.memory-lab button:focus-visible{outline:3px solid #d18435;outline-offset:4px}.memory-lab button:disabled{cursor:default}@media(max-width:800px){.memory-lab{padding:22px}.mem-intro{padding:24px}.mem-play{padding:22px}.mem-game-footer{flex-wrap:wrap}.lab-heading>p{display:none}.concept-tabs button{padding:10px}.concept-tabs strong{font-size:11px}}@media(max-width:580px){.memory-lab{padding:18px 12px}.concept-tabs{grid-template-columns:repeat(2,1fr)}.concept-tabs button:last-child{grid-column:span 2}.concept-number{margin-bottom:10px}.mem-experience{grid-template-columns:1fr}.mem-intro{border-right:0;border-bottom:1px solid var(--edge);padding:24px}.mem-emblem{display:none}.mem-intro h2{margin-top:16px;font-size:30px}.mem-description{max-width:none;margin-bottom:0}.mem-skill{display:none}.mem-tagline{margin-bottom:8px}.mem-play{padding:22px}.mem-card{aspect-ratio:1}.lab-footer-tone{display:none}.lab-heading h1{letter-spacing:-1px}.mem-experience{min-height:0}}@media(prefers-reduced-motion:reduce){.memory-lab *{transition:none!important}}.memory-scoreboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-bottom:18px;border-bottom:1px solid var(--edge)}.memory-scoreboard div{display:flex;flex-direction:column;gap:8px}.memory-scoreboard span{font:9px monospace;letter-spacing:.7px}.memory-scoreboard strong{font:22px monospace;font-variant-numeric:tabular-nums}.memory-score-rule,.memory-record-note{font-size:10px;line-height:1.7;opacity:.75;margin:12px 0 20px}.memory-session-summary{flex:1;min-height:300px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.memory-session-summary h3{font:32px Georgia,serif;margin:0}.memory-session-summary p{font-size:12px;line-height:1.8;margin:0 0 15px}.memory-records{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--edge);padding-top:16px;margin-top:22px;font:10px monospace;line-height:1.8}.memory-records button{border:0;border-bottom:1px solid currentColor;background:none;color:inherit;font-size:10px;padding:4px}.memory-record-note{margin:8px 0 0;font-size:9px}.word-study{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0;font:20px Georgia,serif}.mem-pairs{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.mem-pairs .mem-card{aspect-ratio:.82;font-size:26px;padding:3px}.mem-pairs .card-back{font-size:22px}.mem-pairs .card-back small{font-size:5px;letter-spacing:1px}@media(max-width:580px){.memory-scoreboard{gap:8px}.memory-scoreboard strong{font-size:19px}.memory-scoreboard span{font-size:8px}.mem-pairs{grid-template-columns:repeat(4,minmax(0,1fr))}.mem-pairs .mem-card{aspect-ratio:1}.word-study{font-size:18px;gap:14px}}.mode-memory .terminal-window{max-width:1000px;border-color:var(--muted)}.mode-memory .window-chrome{border-color:var(--muted)}.mode-memory .terminal-header{padding:16px 32px 0}.memory-terminal{padding:32px 42px 20px;font-family:inherit}.memory-terminal .mem-experience{--paper:var(--bg);--ink:var(--text);--edge:var(--divider);display:block;min-height:0;background:transparent;color:var(--text)}.memory-terminal .mem-play{padding:0}.memory-terminal .memory-scoreboard{border-top:1px solid var(--divider);padding-top:20px}.memory-terminal .memory-scoreboard span,.memory-terminal .mem-eyebrow,.memory-terminal .mem-stats{color:var(--muted);text-transform:lowercase;font-family:inherit}.memory-terminal .memory-scoreboard strong{font-family:inherit;font-weight:400}.memory-terminal .words-stage{min-height:290px}.memory-terminal .words-stage h2{font-family:inherit;font-weight:400;letter-spacing:-.04em;font-size:clamp(2rem,5vw,3.4rem)}.memory-terminal .word-study{font-family:inherit;font-size:clamp(.85rem,2vw,1.15rem);width:min(100%,540px);gap:22px}.memory-terminal .word-choices{width:min(100%,400px)}.memory-terminal .word-choices button,.memory-terminal .word-choices button:last-child,.memory-terminal .mem-action{background:transparent;color:var(--text);border:1px solid var(--muted);border-radius:0;font-family:inherit;font-size:.75rem}.memory-terminal .word-choices button:hover,.memory-terminal .mem-action:hover{background:var(--scan);border-color:var(--text);filter:none}.memory-terminal .memory-session-summary h3{font-family:inherit;font-size:1.5rem;font-weight:400}.memory-terminal .memory-session-summary{min-height:260px}.memory-terminal .mem-game-footer>span{max-width:none}.memory-terminal .memory-score-rule,.memory-terminal .memory-record-note{color:var(--muted);opacity:1}.memory-terminal button:focus-visible{outline:2px solid var(--text);outline-offset:4px}.mode-memory .profile-panel{border-top:1px solid var(--divider);padding:18px 42px}@media(max-width:720px){.memory-terminal{padding:26px 20px 20px}.mode-memory .terminal-header{padding:12px 12px 0}.mode-memory .profile-panel{padding:18px 20px}.memory-terminal .word-study{gap:20px 12px}}.memory-terminal .word-study .review-missed-word{text-decoration:underline;text-underline-offset:5px;font-weight:700}*,*:before,*:after{box-sizing:border-box}:root{--bg: #000000;--text: #ffffff;--muted: #888888;--dim: #555555;--line: #ffffff;--divider: #333333;--bad: #ff0000;--good: #ffffff;--pending: #777777;--scan: rgba(255, 255, 255, .07);color:var(--text);background-color:var(--bg)}:root[data-theme=light]{--bg: #ffffff;--text: #000000;--muted: #666666;--dim: #cccccc;--line: #000000;--divider: #dddddd;--bad: #cc0000;--good: #000000;--pending: #888888;--scan: rgba(0, 0, 0, .06)}html,body,#root{min-height:100%}body{margin:0;min-height:100vh;font-family:JetBrains Mono,monospace;color:var(--text);background-color:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,.terminal-window,.results-box{background-image:repeating-linear-gradient(to bottom,transparent 0 2px,var(--scan) 2px 3px);background-attachment:fixed}a{color:inherit;text-decoration:underline}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}.terminal-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 20px}.terminal-window{width:min(1100px,calc(100vw - 40px));border:1px solid var(--line);background-color:var(--bg)}.window-chrome{display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid var(--line);font-size:.75rem;color:var(--muted)}.window-controls{display:flex;gap:5px;flex-shrink:0}.window-btn{display:flex;align-items:center;justify-content:center;width:8px;height:8px;border:1px solid var(--muted);background:var(--bg);font-size:7px;line-height:1;color:var(--muted)}.window-btn--close{font-size:8px;line-height:.85}.window-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-toggle{flex-shrink:0}.chrome-button{padding:2px 0;font-size:.72rem;color:var(--muted);background:transparent;border:none;cursor:pointer}.chrome-button:hover{color:var(--text)}.terminal-header{padding:14px 18px 0}.terminal-tabs{display:flex;gap:10px}.terminal-body,.typing-panel{display:flex;flex-direction:column}.typing-section{padding:14px 18px}.typing-section+.typing-section{padding-top:10px}.typing-controls-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.control-group{display:flex;gap:4px}.text-button{display:inline-flex;align-items:center;padding:2px 0;font-size:.84rem;letter-spacing:.04em;color:var(--muted);background:transparent;border:none;cursor:pointer;text-decoration:none}.text-button:hover,.text-button.is-active{color:var(--text)}.text-button:disabled{cursor:not-allowed;opacity:.45}.stat-line{display:flex;flex-wrap:wrap;gap:0;font-size:.84rem;color:var(--muted)}.stat-item{white-space:pre;letter-spacing:.04em}.stat-sep{color:var(--dim);margin:0 8px;-webkit-user-select:none;user-select:none}.prompt-box{cursor:text;min-height:260px}.prompt-status{display:block;font-size:.68rem;letter-spacing:.08em;text-transform:lowercase;color:var(--muted);margin-bottom:6px}.prompt-progress-wrap{margin-bottom:14px}.prompt-progress-line{height:1px;background:transparent}.prompt-progress-line span{display:block;height:1px;background:var(--text);transition:width 1s linear}@media(prefers-reduced-motion:reduce){.prompt-progress-line span{transition:none}}.prompt-copy{position:relative;font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.85;color:var(--pending);overflow:hidden;min-height:calc(1.85em * 3);max-height:calc(1.85em * 3);overflow-wrap:break-word;contain:layout style}.prompt-scroll{position:relative;transition:transform .125s ease-out;will-change:transform}@media(prefers-reduced-motion:reduce){.prompt-scroll{transition:none}}.prompt-word{border-bottom:2px solid transparent}.prompt-word--error{border-bottom-color:var(--bad)}.prompt-char{position:relative;font-variant:no-common-ligatures;transition:color .08s ease-out}.prompt-char--correct{color:var(--good)}.prompt-char--wrong{color:var(--bad)}.prompt-char.is-extra{color:var(--bad);opacity:.55}.prompt-char--space{white-space:normal}.prompt-char.is-current{background:transparent;z-index:1;animation:none}.prompt-caret{position:absolute;left:0;top:0;width:.6em;height:1.2em;background:var(--text);pointer-events:none;z-index:0;will-change:transform;transition:opacity .15s ease-out;animation:caretFloatBlink 1.1s ease-in-out infinite}.prompt-copy.is-typing .prompt-caret{animation:none;opacity:1}.prompt-copy.is-finished .prompt-caret{opacity:0}@keyframes caretFloatBlink{0%,to{opacity:0}50%{opacity:1}}.prompt-copy.is-blurred .prompt-scroll{opacity:.25;filter:blur(4px);transition:opacity .25s ease-out,filter .25s ease-out,transform .125s ease-out}.prompt-focus-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:16px;background:transparent;border:none;color:var(--text);font-size:.84rem;letter-spacing:.04em;cursor:pointer}.caps-warning{margin:0 0 8px;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text);border:1px solid var(--line);display:inline-block;padding:2px 8px}.typing-panel.is-blurred .stat-line{opacity:.45}@media(prefers-reduced-motion:reduce){.prompt-caret{animation:none;transition:none}}.capture-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.arithmetic-panel{display:flex;flex-direction:column}.settings-note{color:var(--muted);font-size:.75rem;letter-spacing:.04em}.seed-field{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;color:var(--muted);font-size:.84rem}.seed-input{width:12ch;padding:0 0 1px;border:0;border-bottom:1px solid var(--divider);outline:none;background:transparent;color:var(--text)}.seed-input:focus{border-bottom-color:var(--line)}.seed-input:disabled{opacity:.45;cursor:not-allowed}.arithmetic-box{min-height:340px;display:flex;flex-direction:column}.arithmetic-meta{display:flex;justify-content:space-between;align-items:baseline;gap:16px;color:var(--text);font-size:.84rem;letter-spacing:.04em}.arithmetic-meta-item{white-space:nowrap}.arithmetic-meta-label{margin-right:8px;color:var(--muted)}.arithmetic-equation{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.arithmetic-problem{margin-top:28px;font-size:clamp(3rem,9vw,6.25rem);letter-spacing:-.045em;line-height:1.1;color:var(--text)}.arithmetic-input{width:min(360px,100%);margin-top:18px;margin-inline:auto;padding:8px 0;border:0;border-bottom:1px solid var(--line);outline:none;background:transparent;color:var(--text);font-size:clamp(1.6rem,5vw,3rem);text-align:center}.arithmetic-input:disabled{color:var(--muted);border-bottom-color:var(--divider);cursor:not-allowed}.arithmetic-finished{margin-top:18px;color:var(--text);font-size:1rem;text-align:center}.arithmetic-history{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;padding:0;margin:12px 0 0;list-style:none;color:var(--muted);font-size:.75rem}.arithmetic-panel .stat-line{justify-content:center}.arithmetic-panel .prompt-status{text-align:center}.arithmetic-panel .prompt-progress-wrap{max-width:240px;margin-inline:auto}.typing-footer{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:.75rem;letter-spacing:.04em}.typing-footer p{margin:0;white-space:pre}.profile-panel{position:relative;padding:14px 18px 16px}.profile-panel:before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;background:var(--divider)}.wpm-guide{padding:28px 18px 12px;max-width:42rem}.wpm-guide-title{margin:0 0 18px;font-size:.84rem;font-weight:400;letter-spacing:.04em}.wpm-guide p{margin:0 0 16px;color:var(--muted);font-size:.84rem;line-height:1.65;letter-spacing:.02em}.wpm-guide pre{margin:0 0 16px;padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:.84rem;line-height:1.7;letter-spacing:.02em;white-space:pre-wrap}.wpm-guide-example{color:var(--dim)}.profile-quiet{margin:0;color:var(--muted);font-size:.8rem;letter-spacing:.04em}.terminal-link{color:var(--text);text-decoration:none;border-bottom:1px solid var(--dim)}.terminal-link:hover{background:transparent;color:var(--text);border-bottom-color:var(--text)}.results-box{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--bg);padding:20px;overflow-y:auto;--heat-1: #2a2a2a;--heat-2: #5a5a5a;--heat-3: #9a9a9a;--heat-4: #ffffff;--heat-ink: #000000}.results-box>button{margin-top:28px}.results-quiet-wpm{margin:0;font-size:clamp(3rem,10vw,6rem);line-height:1;letter-spacing:-.04em}.results-quiet-wpm span{font-size:.28em;letter-spacing:.08em;color:var(--muted)}.results-quiet-meta{margin:18px 0 0;color:var(--muted);font-size:.84rem;letter-spacing:.04em}:root[data-theme=light] .results-box{--heat-1: #e8e8e8;--heat-2: #c4c4c4;--heat-3: #8a8a8a;--heat-4: #000000;--heat-ink: #ffffff}.results-kb{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:28px}.results-kb-row{display:flex;gap:5px}.results-kb-row[data-row="1"]{padding-left:16px}.results-kb-row[data-row="2"]{padding-left:26px}.results-kb-row[data-row="3"]{padding-left:42px}.results-key{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--divider);font-size:11px;letter-spacing:.02em;color:var(--muted)}.results-key[data-heat="1"]{background:var(--heat-1);border-color:var(--dim);color:var(--text)}.results-key[data-heat="2"]{background:var(--heat-2);border-color:var(--muted);color:var(--text)}.results-key[data-heat="3"]{background:var(--heat-3);border-color:var(--muted);color:var(--bg)}.results-key[data-heat="4"],.results-key[data-heat="5"]{background:var(--heat-4);border-color:var(--heat-4);color:var(--heat-ink)}.results-key--space{width:210px}.results-kb-legend{margin:10px 0 0;color:var(--dim);font-size:.68rem;letter-spacing:.08em}.profile-dot{margin:0 10px;color:var(--dim)}@media(max-width:820px){.typing-controls-row{flex-direction:column;align-items:flex-start}.stat-line{flex-direction:column;gap:4px}}@media(max-width:720px){.terminal-shell{padding:16px 10px;align-items:flex-start}.terminal-window{width:100%}.window-chrome{flex-wrap:wrap;gap:8px}.window-title{order:3;flex-basis:100%}.typing-footer{flex-direction:column;align-items:flex-start}.prompt-box{min-height:220px}.prompt-copy{font-size:1rem;line-height:1.75;min-height:5.25em;max-height:5.25em}.results-key{width:24px;height:24px;font-size:9px}.results-key--space{width:140px}.results-kb-row[data-row="1"]{padding-left:10px}.results-kb-row[data-row="2"]{padding-left:16px}.results-kb-row[data-row="3"]{padding-left:26px}}.terminal-tabs{gap:8px;flex-wrap:wrap}.terminal-tabs .mode-link{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 14px;border:1px solid transparent;border-bottom:2px solid transparent}.terminal-tabs .mode-link.is-active{border-color:var(--divider);border-bottom-color:var(--text);background:var(--scan)}.mode-name{font-size:.8rem}.mode-description{font-size:.62rem;letter-spacing:0;color:var(--muted)}.mode-link:focus-visible,.arithmetic-panel button:focus-visible,.seed-input:focus-visible{outline:2px solid var(--text);outline-offset:3px}.mode-arithmetic .terminal-window{max-width:1000px;border-color:var(--muted)}.mode-arithmetic .window-chrome{border-color:var(--muted)}.mode-arithmetic .terminal-header{padding:16px 32px 0}.arithmetic-panel{padding:32px 42px 20px}.arithmetic-panel>.typing-section{padding:0}.arithmetic-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px}.arithmetic-kicker{color:var(--muted);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase}.arithmetic-intro h1{margin:12px 0 0;font-size:clamp(1.4rem,3vw,1.9rem);font-weight:400;letter-spacing:-.05em}.arithmetic-intro>p{margin:0;color:var(--muted);font-size:.7rem;line-height:1.8}.arithmetic-panel .arithmetic-toolbar{flex-direction:row;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--divider);border-bottom:1px solid var(--divider)}.arithmetic-toolbar .text-button{padding:8px 10px;font-size:.75rem}.arithmetic-toolbar .arithmetic-start{border:1px solid var(--text)}.arithmetic-toolbar .seed-field{margin-left:auto;font-size:.75rem}.arithmetic-toolbar .settings-note{display:none}.arithmetic-panel .arithmetic-box{padding-top:28px;min-height:330px}.arithmetic-meta{gap:15px;font-size:1.3rem}.arithmetic-meta-label{font-size:.65rem}.arithmetic-question-label{display:flex;justify-content:space-between;margin-top:30px;color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em}.arithmetic-question-label .prompt-status{margin:0}.arithmetic-panel .prompt-progress-wrap{max-width:none;width:100%;margin:12px 0 0}.arithmetic-panel .prompt-progress-line{background:var(--divider)}.arithmetic-panel .prompt-progress-line span{transition:width .1s linear}.arithmetic-equation{flex-direction:row;gap:18px;padding:42px 0}.arithmetic-problem{margin:0;font-size:clamp(1.8rem,4.5vw,3.4rem);white-space:nowrap}.arithmetic-input{width:3.4ch;margin:0;padding:5px 0;font-size:clamp(1.8rem,4.5vw,3.4rem);border-bottom-color:var(--divider)}.arithmetic-input:focus{border-bottom-color:var(--text)}.arithmetic-input::placeholder{color:var(--dim)}.arithmetic-finished{display:flex;flex-direction:column;gap:9px;padding:0 0 24px}.arithmetic-finished strong{font-size:1.5rem;font-weight:400}.arithmetic-finished span{color:var(--muted);font-size:.7rem;overflow-wrap:anywhere}.arithmetic-history-heading{display:flex;justify-content:space-between;border-top:1px solid var(--divider);padding-top:20px;margin-top:16px;font-size:.62rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}.arithmetic-history{justify-content:flex-start;gap:8px}.arithmetic-history li{padding:9px 12px;border:1px solid var(--divider);color:var(--text)}.arithmetic-history-empty{color:var(--muted);font-size:.7rem;margin:18px 0 0}.mode-arithmetic .profile-panel{border-top:1px solid var(--divider);padding:18px 42px}@media(max-width:720px){.mode-arithmetic .terminal-header{padding:12px 12px 0}.terminal-tabs{gap:3px}.terminal-tabs .mode-link{padding:8px}.mode-description{font-size:.56rem}.arithmetic-panel{padding:26px 20px 20px}.arithmetic-intro{flex-direction:column;align-items:flex-start;gap:16px}.arithmetic-toolbar .seed-field{margin-left:0}.arithmetic-meta-item{display:flex;flex-direction:column;gap:7px}.arithmetic-meta-label{margin:0}.arithmetic-equation{gap:10px;padding:40px 0}.arithmetic-problem,.arithmetic-input{font-size:clamp(1.45rem,6vw,2.7rem)}.mode-arithmetic .profile-panel{padding:18px 20px}}@media(prefers-reduced-motion:reduce){.arithmetic-panel .prompt-progress-line span{transition:none}}
