.legacy-library{min-width:0;margin-block:1.5rem}.legacy-source-text{white-space:pre-wrap;overflow-wrap:anywhere}.legacy-source-fields{margin-block:.5rem}.legacy-source-fields>div{border-bottom:1px solid var(--line,#d8d0c4);padding:.5rem 0}.legacy-source-fields dt{opacity:.65;font-size:.8rem}.legacy-source-fields dd{overflow-wrap:anywhere;margin:.25rem 0 0}.legacy-source-list{padding-inline-start:1.25rem}.legacy-source-list>li{margin-block:.6rem}.legacy-library details{margin-block:1rem}.legacy-library summary{cursor:pointer}.legacy-filter{flex-wrap:wrap;gap:1rem;display:flex}.legacy-filter label{flex:1;min-width:150px}.legacy-filter select,.legacy-filter input{width:100%;display:block}.legacy-audio-list{padding:0;list-style:none}.legacy-audio-list li{margin-block:1.5rem}.legacy-audio-list audio{max-width:100%;margin-top:.5rem;display:block}.legacy-vocabulary>div{grid-template-columns:1fr 2fr;gap:1rem;padding-block:.5rem;display:grid}.legacy-vocabulary dd{margin:0}.legacy-vocabulary dd p{font-size:.9rem;font-style:italic}.legacy-source-fields pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}@font-face{font-family:Hanken Grotesk Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/hanken-grotesk-latin-wght-normal-CaVRRdDk.woff2)format("woff2")}@font-face{font-family:Hanken Grotesk Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/hanken-grotesk-latin-wght-italic-ChtpyDsL.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-display:"Hanken Grotesk Variable", system-ui, sans-serif;--paper:#f5f1ea;--card:#fffcf7;--bg-app:var(--paper);--bg-panel:var(--card);--bg-surface:#ece6db;--bg-surface-muted:#faf7f1;--fg-strong:#24201c;--fg-default:#2f2b27;--fg-soft:#4f4a44;--fg-muted:#5f5952;--fg-faint:#736c64;--talk:#e9e4f8;--talk-b:#d6cef4;--talk-d:#3a2f8f;--path:#e2e9f3;--path-b:#cbd8ea;--path-d:#2a4a78;--words:#f4e8cf;--words-b:#ead6ae;--words-d:#7a5410;--listen:#ddede3;--listen-b:#c4e0cf;--listen-d:#25603f;--speak:#f6e4d0;--speak-b:#edcfae;--speak-d:#7f4a14;--decode:#f3e1d7;--decode-b:#ebcbb9;--decode-d:#8a3f1f;--ex:#f5e0e6;--ex-b:#e8bcca;--ex-d:#7e2a45;--game:#ece8e0;--game-b:#ddd7cb;--game-d:#57524a;--accent:var(--talk-d);--accent-strong:var(--talk-d);--accent-fg:var(--card);--primary-bg:var(--talk-b);--primary-fg:var(--talk-d);--feedback:#a9502b;--reward:#b26b12;--hover:#2f2b270d;--fig:#7860df;--fig2:#6048c2;--crown:#edb448;--iris:#35235f;--area-path:var(--path-d);--area-listening:var(--listen-d);--area-speaking:var(--speak-d);--area-words:var(--words-d);--area-conversation:var(--talk-d);--area-exercises:var(--ex-d);--area-decode:var(--decode-d);--area-games:var(--game-d);--map-done:#2f6e4c;--map-next:#a9502b;--map-open:var(--path-d);--map-listening:var(--listen-d);--map-speaking:var(--speak-d);--map-star:var(--reward);--map-trail:#e2dbcf;--border-subtle:#2f2b2717;--border-strong:#2f2b272e;--text-body:1.0625rem;--text-ui:.9375rem;--text-meta:.8125rem;color:var(--fg-default);background:var(--bg-app);font-synthesis:none;font-family:Hanken Grotesk Variable,system-ui,sans-serif;font-size:16px;font-weight:450}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#1a1917;--card:#23211e;--bg-surface:#2e2b27;--bg-surface-muted:#201e1b;--fg-strong:#f4f0e8;--fg-default:#eae5dc;--fg-soft:#d2cbc0;--fg-muted:#b7b0a4;--fg-faint:#9a9388;--talk:#282539;--talk-b:#3a3560;--talk-d:#cfc6ff;--path:#20283a;--path-b:#2f3b52;--path-d:#b7cdf0;--words:#2f2a1e;--words-b:#463d2a;--words-d:#e8c98a;--listen:#1e2d26;--listen-b:#2b4236;--listen-d:#9fd6b5;--speak:#30271d;--speak-b:#4a3a28;--speak-d:#ebbe8c;--decode:#31251e;--decode-b:#4a3428;--decode-d:#f0b497;--ex:#33232a;--ex-b:#5a2e3d;--ex-d:#f7cbd8;--game:#272522;--game-b:#3a3733;--game-d:#cfc8bc;--feedback:#e9a084;--reward:#e8b04a;--hover:#ffffff0f;--fig:#7f72f0;--fig2:#6a5de0;--iris:#1d1752;--map-done:#8cc6a4;--map-next:#e9a084;--map-trail:#33302b;--border-subtle:#ffffff12;--border-strong:#ffffff24}.area-path,.area-progress{--primary-bg:var(--path-b);--primary-fg:var(--path-d)}.area-words,.area-review{--primary-bg:var(--words-b);--primary-fg:var(--words-d)}.area-listening{--primary-bg:var(--listen-b);--primary-fg:var(--listen-d)}.area-speaking{--primary-bg:var(--speak-b);--primary-fg:var(--speak-d)}.area-decode{--primary-bg:var(--decode-b);--primary-fg:var(--decode-d)}.area-exercises{--primary-bg:var(--ex-b);--primary-fg:var(--ex-d)}.area-games{--primary-bg:var(--game-b);--primary-fg:var(--game-d)}*{box-sizing:border-box}body{margin:0}button,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button[aria-disabled=true]{cursor:help}a{color:var(--accent)}p,h1,h2{margin:0}p{line-height:1.6}h1,h2{font-size:var(--text-body);letter-spacing:-.01em;font-weight:700;line-height:1.5}.display{font-family:var(--font-display);letter-spacing:-.015em;font-weight:700}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}.m-body{fill:var(--fig)}.m-limb{fill:var(--fig2)}.m-crown{fill:var(--crown)}.m-eye,.m-shine{fill:#fffcf5}.m-iris{fill:var(--iris)}.m-pupil{fill:#211537}.m-mouth{fill:none;stroke:var(--iris);stroke-width:4px;stroke-linecap:round}.mascot-svg{flex-shrink:0;display:block;overflow:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;top:0;left:0;overflow:hidden}.skip-link{z-index:5;background:var(--accent);color:var(--accent-fg);opacity:0;pointer-events:none;border-radius:12px;padding:12px;position:fixed;top:16px;left:16px}.skip-link:focus{opacity:1;pointer-events:auto}.meta{font-size:var(--text-meta);color:var(--fg-faint);line-height:1.5}.ui-text{font-size:var(--text-ui)}.button{min-height:46px;font-size:var(--text-ui);text-align:center;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-weight:650;line-height:1.4;text-decoration:none;display:inline-flex}.button.primary{background:var(--primary-bg);color:var(--primary-fg)}.button.secondary{color:var(--fg-default);box-shadow:inset 0 0 0 1px var(--border-strong);background:0 0}.button.light{background:var(--bg-panel);color:var(--fg-default);box-shadow:inset 0 0 0 1px var(--border-subtle)}.button.large{min-height:52px;padding:14px 26px;font-size:1rem}.button.text{color:var(--fg-muted);background:0 0;border-radius:6px;padding:6px 0}.button:hover:not(:disabled):not(.text){box-shadow:inset 0 0 0 999px var(--hover)}.button.secondary:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--border-strong), inset 0 0 0 999px var(--hover)}.button.text:hover{color:var(--fg-default)}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell{flex-direction:column;height:100dvh;min-height:600px;display:flex}.wordmark{font-family:var(--font-display);letter-spacing:-.02em;color:var(--fg-strong);font-size:22px;font-weight:700;line-height:1.2;display:block}.topbar{align-items:center;gap:24px;width:min(1120px,100%);margin:0 auto;padding:22px 40px;display:flex}.brand{align-items:center;text-decoration:none;display:flex}.mobile-title{display:none}.main-nav{gap:4px;margin-left:12px;display:flex}.main-nav a{height:40px;color:var(--fg-muted);border-radius:999px;align-items:center;padding:0 16px;font-size:.9375rem;font-weight:600;text-decoration:none;display:flex}.main-nav a:hover{color:var(--fg-default);background:var(--hover)}.main-nav a[aria-current=page]{color:var(--fg-strong);background:var(--bg-surface)}.topbar-actions{color:var(--fg-muted);font-size:var(--text-ui);align-items:center;gap:16px;margin-left:auto;font-weight:600;display:flex}.talk-button{background:var(--talk-b);height:44px;color:var(--talk-d);white-space:nowrap;border:0;border-radius:999px;align-items:center;gap:8px;padding:0 18px 0 8px;font-size:.9375rem;font-weight:650;display:inline-flex}.talk-button:hover{box-shadow:inset 0 0 0 999px var(--hover)}.topbar-stat{color:var(--fg-muted);font-size:var(--text-ui);align-items:center;gap:4px;font-weight:600;display:inline-flex}.topbar-stat strong{color:var(--fg-default);font-weight:700}.avatar-button{background:var(--bg-surface);width:40px;height:40px;color:var(--fg-strong);border:0;border-radius:50%;place-items:center;padding:0;font-weight:700;display:grid}.avatar-button:hover{box-shadow:inset 0 0 0 999px var(--hover)}.menu-credits{font-size:var(--text-meta);color:var(--fg-muted);white-space:nowrap;margin-left:auto}.menu-credits.low{color:var(--feedback)}.menu-credits.empty{color:var(--map-next);font-weight:700}.subpage-back{width:min(1120px,100%);color:var(--fg-muted);font-size:var(--text-ui);align-items:center;gap:6px;margin:-6px auto 0;padding:0 40px;font-weight:600;text-decoration:none;display:flex}.subpage-back:hover{color:var(--fg-default)}.bottom-nav{display:none}.icon-only{width:46px;padding:0}@media (width<=1023px){.topbar{gap:8px;min-height:60px;padding:8px 12px 8px 20px}.brand,.main-nav,.talk-button,.dev-chip,.subpage-back{display:none}.mobile-title{min-width:0;color:var(--fg-strong);align-items:center;gap:4px;font-size:1.1875rem;font-weight:700;display:flex}.mobile-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.back-link{width:44px;height:44px;color:var(--fg-default);background:0 0;border:0;border-radius:50%;place-items:center;margin-left:-12px;padding:0;display:grid}.topbar-actions{gap:12px}.bottom-nav{padding:8px 6px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);background:var(--bg-app);grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;display:grid}.bottom-nav a,.tab-parlarina{color:var(--fg-faint);text-align:center;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;font-size:.75rem;font-weight:600;line-height:1.3;text-decoration:none;display:flex}.tab-icon{border-radius:15px;place-items:center;width:56px;height:30px;display:grid}.bottom-nav a[aria-current=page]{color:var(--fg-strong)}.bottom-nav a[aria-current=page] .tab-icon{background:var(--bg-surface)}.tab-parlarina{color:var(--talk-d)}.tab-parlarina .tab-icon{background:var(--talk-b);width:60px;height:60px;box-shadow:0 0 0 5px var(--bg-app);border-radius:50%;margin-top:-26px}}.activity-panel{background:var(--paper);--bg-app:var(--card);--bg-panel:var(--card);flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;margin:0;display:flex;overflow:hidden}.activity-panel:has(>.hub-page){--bg-app:var(--paper);--bg-panel:var(--card);display:block;overflow-y:auto}.hub-page{flex-direction:column;gap:48px;width:min(1120px,100%);margin:0 auto;padding:24px 40px 96px;display:flex}.activity-header{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:12px 16px;padding:20px 32px;display:flex}.heading{min-width:0}.heading h1{overflow-wrap:anywhere;font-family:var(--font-display);letter-spacing:-.02em;margin-top:4px;font-size:1.5rem;font-weight:600;line-height:1.2}.heading .meta{font-weight:600}.header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;margin-left:auto;display:flex}.thread-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:1;min-height:0;padding:24px 32px;display:flex;overflow-y:auto}.thread{flex-direction:column;gap:28px;width:100%;max-width:640px;margin:auto auto 0;display:flex}.timeline{text-align:center}.turns{flex-direction:column;gap:28px;display:flex}.tutor-turn{align-items:flex-start;gap:16px;display:flex}.mascot{flex-shrink:0;width:36px;height:40px}.tutor-content{min-width:0;padding-top:2px}.tutor-content>p{background:var(--bg-panel);border:1px solid var(--border-subtle);max-width:560px;font-size:var(--text-body);color:var(--fg-default);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px 24px 24px;padding:14px 18px;line-height:1.55}.turn-actions{flex-wrap:wrap;gap:0 18px;margin-top:6px;display:flex}.turn-actions .button{text-align:left}.learner-turn{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.learner-bubble{background:var(--bg-surface);max-width:min(420px,90%);font-size:var(--text-body);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px 20px 6px;padding:14px 20px;line-height:1.5}.feedback{max-width:420px;font-size:var(--text-ui);color:var(--fg-muted);gap:10px;line-height:1.55;display:flex}.feedback>span:last-child{overflow-wrap:anywhere;min-width:0}.feedback strong{color:var(--fg-default);font-weight:600}.feedback-dot{background:var(--feedback);border-radius:50%;flex:0 0 6px;width:6px;height:6px;margin-top:8px}.inline-link{color:var(--accent);font-size:inherit;background:0 0;border:0;padding:0;font-weight:600;display:inline}.conversation-footer{padding:0 32px 16px}.composer-column{max-width:640px;margin:0 auto}.composer{background:var(--bg-app);border-radius:20px;flex-wrap:wrap;align-items:flex-end;gap:8px;padding:8px 8px 8px 20px;display:flex}textarea{resize:none;width:100%;min-width:0;min-height:calc(1.6em + 18px);max-height:163px;color:var(--fg-default);font-size:var(--text-body);scrollbar-width:thin;background:0 0;border:0;flex:10em;padding:9px 2px;line-height:1.6}textarea::placeholder{color:var(--fg-faint);opacity:1}.voice-chat-button,.voice-button,.send-button{flex-shrink:0;width:40px;height:40px;min-height:40px;margin-bottom:2px;padding:0}.voice-chat-button{margin-left:auto}.composer-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:6px 20px 0;display:flex}.composer-meta .button{font-size:var(--text-meta);min-height:28px;padding:0}.composer-meta:has(span:empty){padding:0}.notice{font-size:var(--text-ui);color:var(--fg-soft);line-height:1.6}.error-notice{background:var(--bg-app);overflow-wrap:anywhere;border-radius:14px;margin:0 0 12px;padding:16px 20px}.error-notice p+p{margin-top:8px}.error-notice .button-row{margin-top:12px}.completion{background:var(--bg-app);border-radius:16px;padding:20px}.completion p{margin-top:8px}.completion .button-row{margin-top:16px}.empty-state{padding:40px 0}.empty-state p,.destination-empty p{font-size:var(--text-body);color:var(--fg-soft);margin:12px 0 24px}.destination-empty{width:min(100%,640px);margin:auto;padding:32px;overflow-y:auto}.listening-content{flex:1;padding:28px 32px;display:flex;overflow-y:auto}.listening-column{flex-direction:column;width:100%;max-width:600px;margin:0 auto;display:flex}.duration{margin-bottom:16px}.player{align-items:center;gap:20px;display:flex}.play-button{flex-shrink:0;width:60px;height:60px;padding:0}.playback-progress{flex:1;min-width:70px;padding-top:20px}.track{background:var(--bg-surface);border-radius:3px;height:6px;position:relative}.track-handle{background:var(--fg-default);border-radius:50%;width:16px;height:16px;position:absolute;top:-5px;left:0}.playback-actions{flex-wrap:wrap;gap:8px;display:flex}.audio-notice{margin-top:20px}.listening-task{flex-direction:column;flex:1;margin-top:40px;display:flex}fieldset{border:0;min-width:0;margin:6px 0 0;padding:0}legend{font-size:var(--text-body);color:var(--fg-strong);padding:0;font-weight:600;line-height:1.6}.options{flex-direction:column;gap:8px;margin-top:18px;display:flex}.answer-option{background:var(--bg-surface-muted);color:var(--fg-soft);font-size:var(--text-body);cursor:pointer;overflow-wrap:anywhere;border-radius:14px;align-items:center;gap:14px;padding:15px 18px;line-height:1.5;display:flex}.answer-option.selected{background:var(--bg-surface);color:var(--fg-default);box-shadow:inset 0 0 0 2px var(--accent);font-weight:600}.answer-option:has(:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.answer-option input{appearance:none;border:2px solid var(--fg-faint);border-radius:50%;flex:0 0 20px;width:20px;height:20px;margin:0}.answer-option input:checked{border:7px solid var(--accent);background:var(--accent-fg)}.answer-option input:focus-visible{outline:none}.listening-footer{flex-wrap:wrap;align-items:center;gap:16px;margin-top:auto;padding-top:24px;display:flex}.listening-footer .primary{padding:13px 28px}.listening-result{margin-top:20px}.sheet{border:1px solid var(--border-subtle);background:var(--bg-panel);width:min(440px,100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);color:var(--fg-default);border-radius:20px;margin:0;padding:24px;position:fixed;inset:16px 16px 16px auto;overflow-y:auto}.sheet::backdrop{background:#00000073}.sheet-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.sheet-heading h2{overflow-wrap:anywhere;min-width:0;max-width:100%}.sheet-body{font-size:var(--text-body);overflow-wrap:anywhere;line-height:1.6}.sheet-body p+p{margin-top:16px}.sheet-body li{margin-bottom:12px}.help-text{white-space:pre-wrap}.help-phrases{gap:16px;padding:0;list-style:none;display:grid}.help-phrases li{border:1px solid var(--border-subtle);border-radius:16px;gap:8px;min-width:0;padding:16px;display:grid}.help-phrases li p{margin:0}.help-phrases .button{justify-self:start}.settings-fields{flex-direction:column;gap:20px;display:flex}.word-editor,.word-selection{border:1px solid var(--border-subtle);background:var(--card);border-radius:20px;padding:24px}.word-selection{z-index:2;position:sticky;top:0}.vocab-row>input[type=checkbox]{width:20px;height:20px;accent-color:var(--fg-default);flex-shrink:0}.settings-fields label{font-size:var(--text-ui);flex-direction:column;gap:8px;font-weight:600;display:flex}.learner-profile>.ui-text{max-width:65ch;margin-bottom:24px}.profile-fields,.profile-skills{border:0;min-width:0;margin:0;padding:0}.profile-fields{gap:24px;display:grid}.profile-skills legend{font-size:var(--text-ui);margin-bottom:8px;font-weight:600}.profile-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:20px 0;display:grid}.profile-skill{min-width:0}.profile-skill .meta{font-weight:400}.profile-fields textarea{resize:vertical;min-height:88px}@media (width<=600px){.profile-skill-grid{grid-template-columns:1fr}}select{border:1px solid var(--fg-faint);background:var(--bg-app);width:100%;min-height:44px;color:var(--fg-default);font-size:var(--text-ui);border-radius:8px;padding:10px}@media (width<=1023px){.app-shell{min-height:44rem}.activity-panel{border-radius:0;flex:1;width:100%;margin:0}.hub-page{gap:44px;padding:32px 20px 56px}.activity-header{background:var(--bg-app);gap:10px;padding:12px 18px 16px}.header-actions{flex-shrink:1}.unit-button{display:none}.thread-scroll{padding:20px 18px}.thread,.turns{gap:20px}.tutor-turn{gap:12px}.mascot{width:30px;height:34px}.learner-bubble{padding:12px 16px}.feedback{gap:8px;max-width:94%}.turn-actions{gap:0 14px}.conversation-footer{padding:8px 14px}.composer{gap:6px;padding:6px 6px 6px 16px}.composer-meta{padding:6px 12px 0}.area-listening .activity-header{flex-wrap:wrap}.area-listening .header-actions{justify-content:flex-start;margin:8px 0 0}.listening-content{padding:24px 18px max(24px, env(safe-area-inset-bottom))}.listening-task{margin-top:32px}.player{flex-wrap:wrap;gap:16px}.playback-actions{width:100%;padding-left:76px}.listening-footer{flex-direction:column;align-items:flex-start}.sheet{width:100%;height:auto;max-height:85dvh;padding:24px 20px max(24px, env(safe-area-inset-bottom));border-radius:20px 20px 0 0;inset:auto 0 0}}@media (width<=359px){.activity-header{flex-wrap:wrap;padding-inline:12px}.header-actions{margin-left:0}.thread-scroll{padding-inline:12px}.playback-actions{padding-left:0}.composer textarea{min-height:calc(3.2em + 18px)}}@media (height<=580px){.app-shell{height:auto;min-height:100dvh}.thread-scroll{overflow:visible}.thread{margin-top:0}.activity-panel{min-height:400px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.analysis{gap:8px;margin-top:4px;display:grid}.analysis h3{color:var(--fg-muted);margin:8px 0 0;font-size:.85rem}.analysis ul{gap:4px;margin:0;padding-left:1.1rem;display:grid}.admin-content{gap:20px;max-width:760px;padding:0 24px 32px;display:grid;overflow-y:auto}.admin-section h2{margin:0 0 8px;font-size:1rem}.model-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.model-list li{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:4px 12px;padding:10px 12px;display:grid}.model-list li.inactive{opacity:.6}.model-list li>[role=status]{grid-column:1/-1}.model-name{display:grid}.model-active{align-items:center;gap:6px;display:flex}@media (width<=640px){.model-list li{grid-template-columns:1fr}.admin-content{padding:0 12px 24px}}.path-content{align-content:start;gap:20px;max-width:760px;padding:0 24px 32px;display:grid;overflow-y:auto}.path-level h2{color:var(--fg-muted);margin:0 0 8px;font-size:.9rem}.unit-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.unit-card{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.unit-card h3{margin:0 0 4px;font-size:1rem}.unit-card p{margin:0 0 4px}.unit-explanation{white-space:pre-line;margin:0;line-height:1.6}.vocab-list{gap:8px;margin:0;padding-left:1.1rem;display:grid}.exercise legend{font-size:var(--text-body);margin-bottom:8px}.exercise textarea,.gap-sentence input{font:inherit;color:inherit;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:10px;padding:8px 10px}.exercise textarea{box-sizing:border-box;width:100%}.gap-sentence{font-size:var(--text-body);margin:0;line-height:2.2}.gap-sentence input{margin:0 6px}.chip-pool{flex-wrap:wrap;gap:8px;display:flex}.chip{font:inherit;color:var(--fg-default);background:var(--bg-surface);border:1px solid var(--border-subtle);cursor:pointer;border-radius:999px;padding:6px 12px}.chip:disabled{cursor:default;opacity:.7}.success-notice{border-color:var(--accent)}@media (width<=640px){.path-content{padding:0 12px 24px}.unit-card{flex-direction:column;align-items:stretch}}.seek{width:100%;accent-color:var(--accent)}.time-labels{justify-content:space-between;margin-top:4px;display:flex}.listening-question{border:0;margin:28px 0 0;padding:0}.listening-question legend{font-size:var(--text-body);font-weight:600}.answer-option.solution{box-shadow:inset 0 0 0 2px var(--accent);color:var(--fg-default)}.answer-option.wrong{box-shadow:inset 0 0 0 2px var(--feedback)}.listening-result{gap:12px;display:grid}.listening-result h2{margin:8px 0 0;font-size:1rem}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation-duration:3s}}.scenario-brief{gap:6px;display:grid}.scenario-brief p{margin:0}.stage-title{margin:12px 0 4px;font-size:1rem}.phrase-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.phrase-card{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.phrase-text p{margin:0 0 4px}.word-hit{color:var(--fg-strong);font-weight:600}.word-miss{color:var(--feedback);-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.button.recording{background:var(--feedback);color:var(--accent-fg)}.phrase-help{border:1px solid var(--border-subtle);border-radius:12px;gap:4px;max-height:160px;margin:0 0 8px;padding:10px 12px;list-style:none;display:grid;overflow-y:auto}@media (width<=640px){.phrase-card{flex-direction:column;align-items:stretch}}.bars{gap:10px;margin-bottom:8px;display:grid}.bar{grid-template-columns:110px 1fr auto;align-items:center;gap:12px;display:grid}.bar-track{background:var(--bg-surface);border-radius:4px;height:8px;overflow:hidden}.bar-fill{background:var(--map-done);border-radius:4px;height:100%}.chip.static{cursor:default;list-style:none}ul.chip-pool{margin:0 0 8px;padding:0}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.stat{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);border-radius:12px;gap:2px;padding:12px 14px;display:grid}.stat strong{font-size:1.5rem}.note-group{margin-top:12px}.note-group h3{color:var(--fg-muted);margin:0 0 6px;font-size:.85rem}.note-group summary{cursor:pointer;color:var(--fg-muted)}.note-list,.word-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.note-card{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.note-card p,.word-row p{margin:0 0 4px}.note-card.dismissed{opacity:.6}.word-search{box-sizing:border-box;width:100%;font:inherit;color:inherit;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:10px;margin-bottom:10px;padding:8px 12px}.word-row{border-bottom:1px solid var(--border-subtle);grid-template-columns:auto 1fr;align-items:start;gap:8px;padding:8px 0;display:grid}.word-play{min-width:36px}@media (width<=640px){.bar{grid-template-columns:90px 1fr auto}}.dev-chip{font-size:var(--text-meta);border:1px dashed var(--fg-faint);color:var(--fg-faint);border-radius:999px;padding:2px 10px}.flag{font-size:20px;line-height:1}.popover{position:relative}.popover-panel{z-index:20;background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:16px;width:min(300px,100vw - 24px);padding:8px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #00000073}.popover-panel hr{border:0;border-top:1px solid var(--border-subtle);margin:6px 0}.menu-item{width:100%;min-height:44px;color:var(--fg-default);font-size:var(--text-ui);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;display:flex}.menu-item:hover:not(:disabled){background:var(--bg-surface-muted)}.menu-item svg{color:var(--fg-muted);flex-shrink:0}.menu-item[aria-pressed=true],.pair-choice[aria-pressed=true]{background:var(--bg-surface);box-shadow:inset 0 0 0 2px var(--accent)}.voice-level{align-items:center;gap:2px;height:18px;display:inline-flex}.voice-level span{transform-origin:50%;background:currentColor;border-radius:2px;width:3px;height:18px;transition:transform 80ms linear}.voice-wave{min-width:0;height:44px;color:var(--feedback);flex:10em;align-self:center;align-items:center;gap:10px;display:flex}.voice-wave-dot{background:currentColor;border-radius:50%;flex:0 0 8px;width:8px;height:8px;animation:1.2s ease-in-out infinite voice-dot}.voice-wave-time{min-width:2.6em;color:var(--fg-muted);font-size:var(--text-meta);font-variant-numeric:tabular-nums;flex:none}.voice-wave-bars{flex:1;justify-content:flex-end;align-items:center;gap:2px;min-width:0;height:32px;display:flex;overflow:hidden}.voice-wave-bars span{background:currentColor;border-radius:2px;flex:none;width:3px;height:100%}@keyframes voice-dot{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.voice-wave-dot{animation:none}}.audio-check{font-size:var(--text-ui);gap:18px;display:grid}.audio-field{gap:6px;font-weight:600;display:grid}.audio-level{color:var(--fg-muted);align-items:center;gap:10px;display:flex}.audio-level .bar-track{border-radius:5px;flex:1;height:10px}.audio-level .bar-fill{border-radius:5px;transition:width 80ms linear;display:block}.audio-level .bar-fill.quiet{background:var(--fg-faint)}.audio-status{min-height:24px;color:var(--fg-muted);align-items:center;gap:8px;line-height:1.4;display:flex}.audio-status.ok{color:var(--map-done);font-weight:600}.audio-status.problem{color:var(--feedback);font-weight:600}.audio-status svg{flex-shrink:0}.audio-test{border-top:1px solid var(--border-subtle);justify-items:start;gap:8px;padding-top:6px;display:grid}.theme-switch .switch-track{background:var(--border-strong);border-radius:999px;width:36px;height:22px;margin-left:auto;padding:3px;transition:background .15s}.theme-switch .switch-thumb{background:var(--card);border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0003}.theme-switch[aria-checked=true] .switch-track{background:var(--talk-d)}.theme-switch[aria-checked=true] .switch-thumb{transform:translate(14px)}.pair-option>span:last-child,.pair-choice>span:last-child{display:grid}.menu-user{overflow-wrap:anywhere;padding:8px 12px 10px;display:grid}.menu-heading{letter-spacing:.04em;text-transform:uppercase;padding:4px 12px;font-weight:700}.login-screen{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.login-card{background:var(--bg-panel);border-radius:20px;gap:16px;width:min(420px,100%);padding:32px 28px;display:grid}.login-card h1{font-size:1.4rem}.login-brand{align-items:center;gap:12px;display:flex}.login-brand .wordmark{padding:0;font-size:28px}.login-mascot{width:48px;height:52px}.login-or{text-align:center}.google-button{width:100%;text-decoration:none}a.button[aria-disabled=true]{opacity:.5;cursor:default}.login-switch{justify-self:center}.field{border:1px solid var(--fg-faint);background:var(--bg-app);width:100%;min-height:44px;color:var(--fg-default);font:inherit;font-size:var(--text-ui);border-radius:8px;padding:10px 12px}.field.number{width:96px;min-height:36px;padding:6px 8px}.admin-content.wide{max-width:1100px}.admin-section{align-content:start;gap:10px;display:grid}.admin-section h2{margin:0}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.inline-form label{font-size:var(--text-ui);flex-direction:column;gap:6px;font-weight:600;display:flex}.inline-form .grow{flex:220px}.inline-form select{width:auto;min-width:140px}.invitation-result{border:1px solid var(--accent);background:var(--bg-surface-muted);border-radius:12px;justify-items:start;gap:10px;padding:14px 16px;display:grid}code{overflow-wrap:anywhere;font-size:.85rem}.table-scroll{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:var(--text-ui)}.admin-table th{border-bottom:1px solid var(--border-subtle);text-align:left;font-size:var(--text-meta);color:var(--fg-muted);white-space:nowrap;padding:6px 8px;font-weight:600}.admin-table td{border-bottom:1px solid var(--border-subtle);vertical-align:top;padding:8px}.admin-table tr.inactive td{opacity:.6}.admin-table tr.total td{border-bottom:0}.admin-table select{width:auto;min-height:36px;padding:6px 8px}.admin-table td.warning{color:var(--map-next);font-weight:700}.cell-form{align-items:center;gap:6px;display:flex}.row-actions{white-space:nowrap}.row-actions .button{padding:6px 4px}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.month-picker{font-size:var(--text-meta);flex-direction:column;gap:4px;display:flex}.month-picker .field{min-height:36px;padding:6px 8px}.credit-summary{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);border-radius:14px;gap:8px;padding:16px;display:grid}.credit-summary h2{margin:0}.credit-figures{align-items:baseline;gap:8px;display:flex}.credit-figures strong{color:var(--map-star);font-size:1.8rem}.bar-fill.empty{background:var(--map-next)}.pair-choices{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.pair-choice{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);color:var(--fg-default);font-size:var(--text-ui);text-align:left;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.content-filters{flex-wrap:wrap;gap:12px;display:flex}.segmented{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.segmented button{color:var(--fg-muted);font-size:var(--text-ui);background:0 0;border:0;border-radius:999px;padding:6px 14px;font-weight:600}.segmented button[aria-pressed=true]{background:var(--bg-surface);color:var(--fg-default);box-shadow:inset 0 0 0 1px var(--accent)}.status-badge{font-size:var(--text-meta);background:var(--bg-surface);color:var(--fg-muted);white-space:nowrap;border-radius:999px;margin-left:6px;padding:2px 8px;font-weight:600;display:inline-block}.status-badge.good{color:var(--map-done)}.status-badge.attention{color:var(--accent-fg);background:var(--feedback)}.status-badge.bad{color:var(--accent-fg);background:var(--map-next)}.status-badge.busy{color:var(--map-open)}.create-form{border:1px solid var(--accent);background:var(--bg-surface-muted);border-radius:14px;padding:16px}label.stacked{font-size:var(--text-ui);flex-direction:column;gap:6px;font-weight:600;display:flex}textarea.field{resize:vertical;max-height:none;line-height:1.5}.json-editor{font-family:ui-monospace,Menlo,monospace;font-size:.8rem}.revision-tabs{flex-wrap:wrap;gap:8px;display:flex}.revision-tabs button{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);color:var(--fg-default);font-size:var(--text-ui);border-radius:12px;align-items:center;gap:6px;padding:8px 12px;display:flex}.revision-tabs button[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--accent);background:var(--bg-surface)}.revision{border:1px solid var(--border-subtle);border-radius:14px;padding:16px}.revision h2{align-items:center;gap:4px;display:flex}.review-box{gap:8px;display:grid}.review-box h3,.content-preview h3{margin:0;font-size:1rem}.issue-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.issue-list li{background:var(--bg-surface-muted);border-left:4px solid var(--feedback);border-radius:10px;padding:10px 12px}.issue-list li.error{border-left-color:var(--map-next)}.issue-list p{margin:4px 0 0}.issue-tag{font-size:var(--text-meta);text-transform:uppercase;color:var(--fg-muted);font-weight:700}.revision-audio{width:100%}.preview-box,.pipeline-log{border:1px solid var(--border-subtle);border-radius:12px;padding:10px 14px}.preview-box summary,.pipeline-log summary{cursor:pointer;font-weight:600;font-size:var(--text-ui)}.content-preview{font-size:var(--text-ui);gap:10px;margin-top:10px;display:grid}.content-preview p{margin:0}.preline{white-space:pre-line}.preview-block h4{font-size:var(--text-meta);text-transform:uppercase;letter-spacing:.04em;color:var(--fg-muted);margin:8px 0 6px}.preview-block ul,.preview-block ol{gap:8px;margin:0;padding-left:1.2rem;display:grid}.preview-options{margin:4px 0}.preview-options li.correct{color:var(--map-done);font-weight:600}.preview-transcript{gap:6px;display:grid}.pipeline-log ol{font-size:var(--text-ui);gap:4px;margin:8px 0 0;padding-left:1.2rem;display:grid}.review-content{flex-direction:column;flex:1;align-items:center;padding:28px 24px;display:flex;overflow-y:auto}.review-card{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);text-align:center;border-radius:20px;justify-items:center;gap:14px;width:min(520px,100%);padding:32px 24px;display:grid}.review-term{font-family:var(--font-display);color:var(--fg-strong);overflow-wrap:anywhere;font-size:2rem;font-weight:600;line-height:1.3}.review-translation{font-size:1.25rem;font-weight:600}.review-example{color:var(--fg-soft);font-style:italic}.grade-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;display:grid}.grade.again{box-shadow:inset 0 0 0 1px var(--map-next)}.grade.good{box-shadow:inset 0 0 0 1px var(--map-done)}.grade.easy{box-shadow:inset 0 0 0 1px var(--accent)}@media (width<=480px){.grade-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.history-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history-item{border:1px solid var(--border-subtle);background:var(--bg-surface-muted);width:100%;color:var(--fg-default);text-align:left;font-size:var(--text-ui);border-radius:12px;gap:4px;padding:12px 14px;display:grid}.history-item[aria-current=true]{box-shadow:inset 0 0 0 2px var(--accent)}.history-item p{overflow-wrap:anywhere;margin:0}.eyebrow{align-items:center;gap:8px;margin:0;font-size:.875rem;font-weight:650;display:flex}.tone-path{color:var(--area-path)}.tone-accent{color:var(--accent)}.bar-fill.tone-path{background:var(--area-path)}.section-title{color:var(--fg-strong);margin:0;font-size:1.5rem;line-height:1.2}.card-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.card-heading h2{margin:0;font-size:1.375rem;line-height:1.2}.today-hero{grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);align-items:center;gap:56px;display:grid}.hero-text{flex-direction:column;gap:20px;display:flex}.hero-eyebrow{color:var(--fg-faint);align-items:center;gap:14px;font-size:.875rem;font-weight:600;display:flex}.hero-mascot{flex-shrink:0;width:52px;height:56px}.hero-title{letter-spacing:-.035em;color:var(--fg-strong);margin:0;font-size:clamp(2.5rem,5vw,3.75rem);line-height:1.02}.hero-title:focus{outline:none}.hero-lead{max-width:36em;color:var(--fg-soft);font-size:1.125rem;line-height:1.65}.hero-actions{gap:12px;margin-top:8px}.goal-card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:24px;flex-direction:column;gap:24px;padding:28px 30px;display:flex}.goal-body{align-items:center;gap:24px;display:flex}.goal-ring{flex:none}.ring-track{fill:none;stroke:var(--bg-surface);stroke-width:8px}.ring-fill{fill:none;stroke:var(--accent);stroke-width:8px;stroke-linecap:round}.goal-list{gap:12px;margin:0;padding:0;font-size:.9375rem;list-style:none;display:grid}.goal-list li{align-items:center;gap:10px;font-weight:600;display:flex}.goal-list li.done{color:var(--fg-faint);font-weight:500;-webkit-text-decoration:line-through #8e90ac80;text-decoration:line-through #8e90ac80}.goal-check{color:var(--map-done);flex:none}.goal-open{border:2px solid var(--accent);border-radius:50%;flex:none;width:16px;height:16px;margin:1px}.streak{border-top:1px solid var(--border-subtle);gap:12px;padding-top:20px;display:grid}.streak-label{font-size:.9375rem;font-weight:600}.streak-value{color:var(--reward);font-size:.9375rem;font-weight:700}.week-strip{text-align:center;color:var(--fg-faint);text-transform:capitalize;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0;padding:0;font-size:.75rem;font-weight:600;list-style:none;display:grid}.week-strip li{gap:6px;display:grid}.week-bar{background:var(--bg-surface);border-radius:999px;height:6px}.week-strip li.active .week-bar{background:var(--reward)}.week-strip li.today{color:var(--fg-default)}.week-strip li.today:not(.active) .week-bar{box-shadow:inset 0 0 0 1.5px var(--reward);background:0 0}.path-card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:24px;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr) auto;align-items:center;gap:48px;padding:40px 44px;display:grid}.path-card-text{gap:10px;display:grid}.path-card-title{color:var(--fg-strong);margin:0;font-size:2rem;line-height:1.12}.path-card-goal{color:var(--fg-muted)}.progress-line{align-items:center;gap:14px;margin-top:8px;display:flex}.progress-line .bar-track{width:min(240px,50%);height:6px}.mini-path-track{align-items:center;display:flex}.mini-step{flex:1 1 0;align-items:center;display:flex}.mini-step:first-child{flex:none}.mini-line{background:var(--bg-surface);flex:1;height:2px}.mini-line.done{background:var(--map-done)}.mini-dot{border:2px solid var(--border-strong);border-radius:50%;flex:none;width:10px;height:10px}.mini-dot.done{background:var(--map-done);border-color:var(--map-done)}.mini-dot.current{background:var(--area-path);width:18px;height:18px;box-shadow:0 0 0 5px color-mix(in srgb, var(--area-path) 20%, transparent);border:0}.mini-path-levels{letter-spacing:.08em;height:16px;color:var(--fg-faint);margin-top:10px;font-size:.75rem;font-weight:700;position:relative}.mini-path-levels span{position:absolute;top:0;transform:translate(-2px)}.today-split{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:40px;display:grid}.phrase-card{background:color-mix(in srgb, var(--accent) 7%, var(--bg-panel));border:1px solid color-mix(in srgb, var(--accent) 22%, transparent);border-radius:24px;gap:14px;padding:36px 36px 32px;display:grid}.phrase-text{color:var(--fg-strong);margin:4px 0 0;font-size:1.875rem;font-weight:500;line-height:1.2}.phrase-translation{color:var(--fg-soft)}.phrase-card .button-row{margin-top:8px}.picks{gap:16px;display:grid}.pick-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.pick{width:100%;color:var(--fg-default);text-align:left;background:0 0;border:0;border-radius:16px;align-items:center;gap:16px;padding:14px 16px;display:flex}.pick:hover{background:var(--bg-panel)}.pick-icon{border-radius:14px;flex:none;place-items:center;width:44px;height:44px;display:grid}.tone-words{color:var(--area-words)}.tone-listening{color:var(--area-listening)}.tone-speaking{color:var(--area-speaking)}.tone-conversation{color:var(--area-conversation)}.pick-icon.tone-words{background:color-mix(in srgb, var(--area-words) 14%, transparent)}.pick-icon.tone-listening{background:color-mix(in srgb, var(--area-listening) 14%, transparent)}.pick-icon.tone-speaking{background:color-mix(in srgb, var(--area-speaking) 14%, transparent)}.pick-icon.tone-conversation{background:color-mix(in srgb, var(--area-conversation) 14%, transparent)}.pick-text{flex:1;gap:2px;min-width:0;display:grid}.pick-text strong{font-family:var(--font-display);letter-spacing:-.01em;font-size:1.125rem;font-weight:600}.pick-text span{color:var(--fg-muted);font-size:.875rem}.pick-chevron{color:var(--fg-faint);flex:none}.week-row{border:1px solid var(--border-subtle);border-radius:24px;flex-wrap:wrap;align-items:center;gap:20px 56px;padding:28px 36px;display:flex}.week-stat{color:var(--fg-muted);align-items:baseline;gap:10px;font-size:.9375rem;display:flex}.week-stat strong{color:var(--fg-strong);font-size:2.25rem;line-height:1}.week-milestone{max-width:22em;color:var(--fg-soft);align-items:center;gap:12px;margin-left:auto;font-size:.9375rem;display:flex}.week-milestone svg{color:var(--reward);flex:none}@media (width<=1023px){.today-hero,.today-split{grid-template-columns:1fr;gap:32px}.path-card{grid-template-columns:1fr;gap:28px;padding:28px}.path-card>.button{justify-self:start}}@media (width<=560px){.goal-card{padding:24px}.week-row{gap:16px 32px;padding:24px}.week-milestone{margin-left:0}.phrase-card{padding:28px 24px}.phrase-text{font-size:1.5rem}.path-card-title{font-size:1.625rem}}.t-path{--t:var(--path);--tb:var(--path-b);--td:var(--path-d)}.t-words{--t:var(--words);--tb:var(--words-b);--td:var(--words-d)}.t-decode{--t:var(--decode);--tb:var(--decode-b);--td:var(--decode-d)}.t-exercises{--t:var(--ex);--tb:var(--ex-b);--td:var(--ex-d)}.t-listening{--t:var(--listen);--tb:var(--listen-b);--td:var(--listen-d)}.t-speaking{--t:var(--speak);--tb:var(--speak-b);--td:var(--speak-d)}.t-games{--t:var(--game);--tb:var(--game-b);--td:var(--game-d)}.t-conversation{--t:var(--talk);--tb:var(--talk-b);--td:var(--talk-d)}.hub-page.today{gap:40px}.talk-hero{background:var(--talk);border-radius:36px;align-items:center;gap:40px;padding:44px 48px;display:flex}.talk-hero-text{flex-direction:column;flex:1;gap:12px;min-width:0;display:flex}.hero-greeting{color:var(--talk-d);font-size:1rem;font-weight:650}.hero-greeting:focus{outline:none}.talk-question{color:var(--fg-strong);font-size:clamp(2rem,4vw,2.875rem);line-height:1.08}.talk-lead{max-width:34em;color:var(--fg-soft);font-size:1.0625rem;line-height:1.55}.talk-hero .button-row{margin-top:12px}.talk-hero .button.text{color:var(--talk-d);padding:6px 12px}.talk-hero-mascot{width:190px;height:auto;margin-right:12px}.goal-chips{flex-wrap:wrap;align-items:center;gap:8px;margin:-16px 0 0;padding:0;list-style:none;display:flex}.goal-chips li{background:var(--bg-panel);border:1px solid var(--border-subtle);min-height:34px;font-size:var(--text-meta);color:var(--fg-soft);border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-weight:600;display:inline-flex}.goal-chips li.done{color:var(--map-done)}.goal-chips li.goal-summary{color:var(--fg-muted);background:0 0;border:0;padding-left:4px}.goal-chips .goal-open{border:2px solid var(--border-strong);width:12px;height:12px;margin:0}.goal-chips .goal-short{display:none}.today-tiles{gap:18px;display:grid}.tile-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:0;padding:0;list-style:none;display:grid}.today-tile{background:var(--t);width:100%;height:100%;min-height:210px;color:var(--fg-default);text-align:left;cursor:pointer;border:0;border-radius:30px;flex-direction:column;align-items:flex-start;gap:6px;padding:26px;display:flex}.tile-kind{color:var(--td);align-items:center;gap:6px;font-size:.875rem;font-weight:650;display:flex}.tile-title{color:var(--fg-strong);margin-top:6px;font-size:1.3125rem;font-weight:700;line-height:1.25}.tile-detail{color:var(--fg-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9375rem;line-height:1.45;display:-webkit-box;overflow:hidden}.tile-go{background:var(--tb);min-height:40px;color:var(--td);border-radius:999px;align-items:center;gap:6px;margin-top:auto;padding:0 16px;font-size:.9375rem;font-weight:650;display:inline-flex}.today-tile:hover .tile-go{box-shadow:inset 0 0 0 999px var(--hover)}.today-more{gap:12px;display:grid}.more-title{color:var(--fg-muted);font-size:1rem;font-weight:650}.more-list{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.more-chip{border:1px solid var(--border-subtle);background:var(--bg-panel);min-height:46px;color:var(--fg-default);text-align:left;border-radius:999px;align-items:center;gap:10px;padding:8px 18px 8px 14px;font-size:.9375rem;display:inline-flex}.more-chip:hover{box-shadow:inset 0 0 0 999px var(--hover)}.more-chip .dot{background:var(--td);border-radius:50%;flex:none;width:10px;height:10px}.more-chip b{font-weight:650}.more-chip span:last-child{color:var(--fg-muted)}@media (width<=640px){.hub-page.today{gap:28px}.talk-hero{border-radius:30px;padding:22px 20px 20px;display:block;position:relative}.talk-hero-mascot{width:84px;margin:0;position:absolute;top:16px;right:14px}.hero-greeting,.talk-question,.talk-lead{max-width:calc(100% - 92px)}.talk-hero-text{gap:8px}.talk-question{font-size:1.625rem}.talk-lead{font-size:.9375rem}.goal-chips{gap:6px;margin-top:-12px}.goal-chips li{white-space:nowrap;min-height:32px;padding:0 10px}.goal-chips li.goal-summary,.goal-chips .goal-long{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.goal-chips .goal-short{display:inline}.tile-list{gap:10px}.today-tile{border-radius:24px;min-height:0;padding:18px 20px}.tile-title{margin-top:2px;font-size:1.0625rem}.tile-go{min-height:36px;margin-top:10px}.more-chip{min-height:44px}}.hub-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.hub-header-text{gap:12px;min-width:0;display:grid}.hub-title{letter-spacing:-.035em;color:var(--fg-strong);margin:0;font-size:clamp(2.25rem,4.5vw,3.25rem);line-height:1.04}.hub-title:focus{outline:none}.hub-lead{color:var(--fg-soft);font-size:1.125rem}.hub-stats{color:var(--fg-muted);flex-wrap:wrap;gap:8px 28px;margin-top:4px;font-size:.9375rem;display:flex}.hub-stats strong{color:var(--fg-strong);font-weight:700}.hub-stats strong.reward{color:var(--reward)}.view-toggle{box-shadow:inset 0 0 0 1px var(--border-strong);border-radius:12px;gap:2px;padding:4px;display:inline-flex}.view-toggle button{min-height:36px;color:var(--fg-muted);font-size:var(--text-ui);background:0 0;border:0;border-radius:9px;padding:6px 16px;font-weight:600}.view-toggle button[aria-pressed=true]{background:var(--bg-surface);color:var(--fg-default)}.path-page{gap:40px}.path-map-scroll{margin:0 -40px;padding:8px 40px 0;overflow-x:auto}.path-map{margin:0 auto;position:relative}.map-lines{pointer-events:none;position:absolute;inset:0}.map-road{fill:none;stroke:var(--map-trail);stroke-width:12px;stroke-linecap:round}.map-road-done{fill:none;stroke:var(--map-done);stroke-width:4px;stroke-linecap:round}.map-branch{fill:none;stroke-width:1.5px;stroke-dasharray:3 7;stroke-linecap:round}.map-branch.listening{stroke:color-mix(in srgb, var(--area-listening) 55%, transparent)}.map-branch.speaking{stroke:color-mix(in srgb, var(--area-speaking) 55%, transparent)}.map-branch.exercises{stroke:color-mix(in srgb, var(--area-exercises) 55%, transparent)}.map-branch.decode{stroke:color-mix(in srgb, var(--area-decode) 55%, transparent)}.map-level{border-top:1px solid var(--border-subtle);height:0;position:absolute;left:0;right:0}.map-level-label{color:var(--fg-faint);align-items:baseline;gap:12px;margin:0;font-size:.8125rem;font-weight:600;display:flex}.map-level .map-level-label{position:absolute;bottom:10px;left:0}.map-level-label .display{color:var(--fg-default);font-size:1.1875rem}.map-level-label .done{color:var(--map-done)}.map-node{border:1.5px solid var(--border-strong);background:var(--bg-panel);color:var(--fg-muted);border-radius:50%;place-items:center;padding:0;transition:transform .15s ease-out;display:grid;position:absolute}.map-node:hover{transform:scale(1.06)}.map-node.completed{background:var(--map-done);color:var(--accent-fg);border-color:#0000}.map-node.current{background:var(--area-path);color:var(--accent-fg);box-shadow:0 0 0 6px color-mix(in srgb, var(--area-path) 18%, transparent);border-color:#0000}.map-node.in-progress{border-color:color-mix(in srgb, var(--area-path) 60%, transparent);color:var(--area-path)}.map-glow{background:var(--area-path);opacity:.25;pointer-events:none;border-radius:50%;width:112px;height:112px;animation:3.2s ease-in-out infinite map-breathe;position:absolute}@keyframes map-breathe{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.06;transform:scale(1.18)}}.map-label{gap:4px;width:300px;display:grid;position:absolute}.map-label.left{text-align:right;justify-items:end}.map-label.current{gap:8px}.map-title{color:var(--fg-default);margin:0;font-size:1.25rem;line-height:1.2}.map-label.current .map-title{color:var(--fg-strong);font-size:1.5625rem;line-height:1.12}.map-here{color:var(--area-path);align-items:center;gap:10px;margin:0;font-size:.8125rem;font-weight:650;display:flex}.map-here svg{width:30px;height:33px}.map-stars{letter-spacing:1px;color:var(--border-strong);gap:2px;margin:0;font-size:.875rem;display:flex}.map-label.left .map-stars{justify-content:flex-end}.map-stars .on{color:var(--reward)}.map-cta{justify-self:start;min-height:40px;margin-top:4px;padding:8px 16px}.map-label.left .map-cta{justify-self:end}.map-extra{width:190px;height:44px;color:var(--fg-muted);text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:.8125rem;line-height:1.3;display:flex;position:absolute}.map-extra.toward-right{text-align:right;flex-direction:row-reverse}.map-extra-icon{flex:none}.map-extra-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.map-extra:hover{color:var(--fg-default)}.map-extra-icon{border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:relative}.map-extra.listening .map-extra-icon{color:var(--area-listening);background:color-mix(in srgb, var(--area-listening) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area-listening) 35%, transparent)}.map-extra.speaking .map-extra-icon{color:var(--area-speaking);background:color-mix(in srgb, var(--area-speaking) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area-speaking) 35%, transparent)}.map-extra.exercises .map-extra-icon{color:var(--area-exercises);background:color-mix(in srgb, var(--area-exercises) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area-exercises) 35%, transparent)}.map-extra.decode .map-extra-icon{color:var(--area-decode);background:color-mix(in srgb, var(--area-decode) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area-decode) 35%, transparent)}.map-extra-done{border:2px solid var(--bg-app);background:var(--map-done);width:17px;height:17px;color:var(--accent-fg);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-3px;right:-3px}.map-goal{border:1.5px dashed var(--reward);background:var(--bg-app);width:60px;height:60px;color:var(--reward);border-radius:50%;place-items:center;display:grid;position:absolute}.map-goal-label{color:var(--fg-soft);white-space:nowrap;margin:0;font-size:.9375rem;position:absolute}.map-goal-label strong{color:var(--reward);font-weight:600}@media (prefers-reduced-motion:reduce){.map-glow{animation:none}}.path-timeline{gap:40px;display:grid}.narrow-only{display:none}.timeline-level{gap:18px;display:grid}.timeline-level>.map-level-label{border-bottom:1px solid var(--border-subtle);padding-bottom:12px}.timeline-list{margin:0;padding:0;list-style:none;display:grid}.timeline-item{grid-template-columns:56px minmax(0,1fr);gap:18px;padding-bottom:28px;display:grid;position:relative}.timeline-item:before{content:"";background:var(--map-trail);width:2px;position:absolute;top:56px;bottom:0;left:27px}.timeline-item:last-child{padding-bottom:0}.timeline-item:last-child:before{display:none}.timeline-item.completed:before{background:var(--map-done)}.timeline-item .map-node{width:56px;height:56px;position:relative}.timeline-body{align-content:start;gap:6px;padding-top:6px;display:grid}.timeline-title{color:var(--fg-default);text-align:left;background:0 0;border:0;justify-self:start;padding:0;font-size:1.25rem;line-height:1.25}.timeline-item.current .timeline-title{color:var(--fg-strong);font-size:1.375rem}.timeline-extras{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.timeline-extra{border:0;border-radius:10px;align-items:center;gap:8px;min-height:36px;padding:6px 12px;font-size:.8125rem;font-weight:600;display:inline-flex}.timeline-extra.listening{color:var(--area-listening);background:color-mix(in srgb, var(--area-listening) 12%, transparent)}.timeline-extra.speaking{color:var(--area-speaking);background:color-mix(in srgb, var(--area-speaking) 12%, transparent)}.timeline-extra.exercises{color:var(--area-exercises);background:color-mix(in srgb, var(--area-exercises) 12%, transparent)}.timeline-extra.decode{color:var(--area-decode);background:color-mix(in srgb, var(--area-decode) 12%, transparent)}.timeline-extra-done{color:var(--map-done)}@media (width<=999px){.path-map-scroll{display:none}.narrow-only{display:grid}}.path-page{gap:8px;width:min(800px,100%)}.spine{margin:0;padding:0;list-style:none}.spine-row{align-items:stretch;display:flex}.spine-track{flex:none;justify-content:center;align-items:center;width:52px;display:flex;position:relative}.spine-line{width:0;margin-left:-1.5px;position:absolute;left:50%}.spine-line.top{height:50%;top:0}.spine-line.bottom{height:50%;top:50%}.spine-line.solid{border-left:3px solid var(--path-b)}.spine-line.dash{border-left:3px dashed var(--border-strong)}.spine-node{z-index:1;border-radius:50%;place-items:center;width:30px;height:30px;font-size:.8125rem;font-weight:700;display:grid;position:relative}.spine-node.done{background:var(--path-b);color:var(--path-d)}.spine-node.started{background:var(--bg-app);border:2px solid var(--path-b);color:var(--path-d)}.spine-node.open{background:var(--bg-app);border:2px dashed var(--border-strong);color:var(--fg-faint)}.spine-node.milestone{background:var(--bg-app);border:2px dashed var(--border-strong);border-radius:4px;width:16px;height:16px;transform:rotate(45deg)}.spine-node.milestone.visited{background:var(--path-b);border:0}.spine-node.goal{background:var(--bg-app);border:2px dashed var(--border-strong);width:38px;height:38px;color:var(--fg-faint)}.spine-mascot{z-index:1;width:44px;height:48px;position:relative}.spine-card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:22px;flex-direction:column;flex:1;align-items:flex-start;gap:6px;min-width:0;margin:5px 0;padding:14px 18px;display:flex}.spine-card.open{border:2px dashed var(--border-strong);background:0 0}.spine-card.current{background:var(--path);border-color:#0000;gap:10px;padding:20px}.spine-here{color:var(--path-d);font-size:.8125rem;font-weight:650}.spine-title{color:var(--fg-strong);text-align:left;background:0 0;border:0;padding:0;font-size:1.0625rem;font-weight:650;line-height:1.3}.spine-title:hover{text-underline-offset:3px;text-decoration:underline}.spine-card.current .spine-title{font-size:1.375rem;font-weight:700}.spine-meta{font-size:var(--text-meta);color:var(--fg-muted);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spine-stars{letter-spacing:1px;color:var(--border-strong)}.spine-stars .on{color:var(--reward)}.spine-progress{width:100%;font-size:var(--text-meta);color:var(--fg-muted);align-items:center;gap:12px;display:flex}.spine-progress .bar-track{background:var(--path-b);flex:1;max-width:260px;height:6px}.spine-progress .bar-fill{background:var(--path-d);display:block}.spine-actions{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.button.talk{background:var(--talk-b);color:var(--talk-d);padding-left:8px}.spine-extras{flex-wrap:wrap;gap:6px;display:flex}.spine-extra{border:0;border-radius:999px;align-items:center;gap:5px;min-height:30px;padding:0 10px;font-size:.8125rem;font-weight:600;display:inline-flex}.spine-extra.listening{background:var(--listen);color:var(--listen-d)}.spine-extra.speaking{background:var(--speak);color:var(--speak-d)}.spine-extra.exercises{background:var(--ex);color:var(--ex-d)}.spine-extra.decode{background:var(--decode);color:var(--decode-d)}.spine-level{flex-wrap:wrap;align-items:baseline;gap:10px;padding:18px 0 8px;display:flex}.spine-level strong{color:var(--fg-strong);font-size:1rem}.spine-level span{font-size:var(--text-meta);color:var(--fg-muted)}.spine-goal{color:var(--fg-muted);padding:18px 0;font-size:.9375rem}.spine-goal strong{color:var(--fg-strong)}@media (width<=640px){.spine-track{width:44px}.spine-card{padding:12px 14px}.spine-card.current{padding:16px}.spine-card.current .spine-title{font-size:1.1875rem}}.progress-content{flex-direction:column;gap:56px;display:flex}.progress-content>section{gap:16px;display:grid}.section-title .count{color:var(--fg-faint);font-weight:500}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.stat{background:var(--bg-panel);border-radius:18px;gap:6px;padding:20px 22px}.stat strong{font-family:var(--font-display);letter-spacing:-.02em;font-size:2.25rem;font-weight:600;line-height:1}.credit-summary{background:var(--bg-panel);border-radius:20px;gap:10px;padding:24px 28px}.note-card{background:var(--bg-panel);border-radius:16px;padding:16px 20px}.note-group h3{letter-spacing:.06em;text-transform:uppercase;margin:8px 0 10px;font-size:.8125rem}.word-search{background:var(--bg-panel);border-radius:12px;min-height:44px}.word-row{padding:12px 0}.catalog-page{gap:48px}.catalog-level{gap:14px;display:grid}.catalog-level>.map-level-label{border-bottom:1px solid var(--border-subtle);padding-bottom:12px}.catalog-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.catalog-item{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 24px;display:grid}.catalog-item .pick-icon.done{color:var(--accent-fg);background:var(--map-done)}.catalog-body{gap:6px;min-width:0;display:grid}.catalog-body h2{color:var(--fg-strong);margin:0;font-size:1.25rem;line-height:1.25}.catalog-body p{color:var(--fg-muted);font-size:.9375rem;line-height:1.55}.catalog-body .meta{font-size:var(--text-meta)}.phrase-meter{flex-wrap:wrap;align-items:center;gap:4px;margin-top:2px;display:flex}.phrase-meter>span:not(.meta){background:var(--bg-surface);border-radius:999px;width:16px;height:6px}.phrase-meter>span.on{background:var(--area-speaking)}.phrase-meter .meta{margin-left:8px}@media (width<=640px){.catalog-item{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px}.catalog-item>.button{grid-column:1/-1}}.back-button{border:1px solid var(--border-subtle);background:var(--card);width:44px;height:44px;color:var(--fg-muted);border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.back-button:hover{background:var(--bg-surface-muted)}.header-label{font-size:.8125rem;font-weight:650}.activity-header.focus-bar{background:0 0;border-bottom:0;grid-template-columns:44px minmax(0,1fr) minmax(44px,auto);align-items:center;gap:8px 16px;width:min(1180px,100%);margin:0 auto;padding:24px 40px 12px;display:grid}.focus-bar .heading{text-align:center}.focus-bar .heading h1{letter-spacing:0;margin-top:0;font-size:1.0625rem;font-weight:650;line-height:1.3}.focus-bar .header-actions{justify-content:flex-end;margin-left:0}.focus-bar .segment-progress{grid-column:1/-1;margin-top:4px}.area-path .hub-title,.area-practice .hub-title,.area-words .hub-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.area-path .hub-lead,.area-practice .hub-lead,.area-words .hub-lead{display:none}.hub-title{font-size:2rem}@media (width<=1023px){.activity-header.focus-bar{padding:12px 16px 8px}.hub-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.hub-page{padding-top:8px}}.segment-progress{flex-basis:100%;gap:6px;margin-top:6px;display:flex}.segment-progress span{background:var(--bg-surface);border-radius:999px;flex:1;height:6px;transition:background .2s ease-out}.segment-progress span.done{background:var(--primary-fg)}.segment-progress span.current{background:var(--primary-bg)}.focus-content{flex:1;min-height:0;padding:48px 32px 72px;overflow-y:auto}.focus-column{flex-direction:column;gap:32px;width:min(680px,100%);margin:0 auto;display:flex}.focus-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.focus-actions.center{justify-content:center}.focus-subtitle{color:var(--fg-strong);margin:8px 0 0;font-size:1.375rem;line-height:1.2}.reading-card{background:var(--bg-app);border-radius:20px;padding:28px 32px}.unit-intro{flex-direction:column;gap:24px;display:flex}.activity-header.focus-bar:has(+.unit-entry-content){padding-bottom:0}.activity-header:has(+.unit-entry-content) .heading{align-self:end}.focus-content.unit-entry-content{padding-top:24px}.unit-entry{justify-content:center;display:flex}.unit-entry .focus-actions{width:100%}.unit-level{background:var(--path);min-width:36px;height:30px;color:var(--path-d);border-radius:999px;place-items:center;padding:0 8px;font-size:.8125rem;font-weight:600;display:inline-grid}.unit-materials{flex-direction:column;gap:20px;display:flex}.unit-tabs{border:1px solid var(--border-subtle);background:var(--bg-panel);border-radius:999px;align-self:center;max-width:100%;padding:4px;display:flex}.unit-tabs [role=tab]{min-height:40px;color:var(--fg-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 16px;font-size:.9375rem;font-weight:550;line-height:1.3}.unit-tabs [role=tab][aria-selected=true]{background:var(--path);color:var(--path-d)}.unit-tabs [role=tab]:focus-visible{outline:2px solid var(--path-d);outline-offset:2px}.unit-materials [role=tabpanel]:focus-visible{outline:2px solid var(--path-d);outline-offset:4px;border-radius:16px}@media (width<=400px){.unit-tabs [role=tab]{padding-inline:12px;font-size:.875rem}}.unit-explanation{color:var(--fg-soft);flex-direction:column;gap:24px;font-size:1rem;line-height:1.65;display:flex}.unit-explanation p{white-space:pre-line;line-height:inherit;margin:0}.unit-explanation+.meta{margin-top:18px}.explanation-section{flex-direction:column;gap:10px;display:flex}.explanation-section h2{color:var(--path-d);margin:0;font-size:1.0625rem;font-weight:650;line-height:1.35}.explanation-examples{border-left:3px solid var(--path-b);background:color-mix(in srgb, var(--path) 45%, transparent);color:var(--fg-strong);border-radius:0 12px 12px 0;flex-direction:column;gap:8px;margin:2px 0 0;padding:12px 16px;list-style:none;display:flex}.word-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.word-grid li{background:var(--bg-surface-muted);border:1px solid var(--border-subtle);border-radius:16px;align-content:start;gap:4px;padding:16px 18px;display:grid}.word-grid strong{color:var(--fg-strong);font-size:1.125rem;font-weight:600}.word-grid span{color:var(--fg-soft);font-size:.9375rem}.word-grid em{color:var(--fg-faint);font-size:.875rem}.unit-word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-word-grid .word-card{background:var(--t);border:0;border-radius:22px;flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.word-card-header{justify-content:space-between;align-items:flex-start;gap:12px;min-height:44px;display:flex}.word-card-heading{overflow-wrap:anywhere;flex-direction:column;gap:3px;min-width:0;display:flex}.word-card-heading strong{color:var(--td);line-height:1.3}.unit-word-grid .word-card-meaning{line-height:1.4}.word-card-audio{width:44px;height:44px;color:var(--td);background:var(--tb);cursor:pointer;border:0;border-radius:50%;flex:0 0 44px;place-items:center;padding:0;transition:background .15s,color .15s;display:grid}.word-card-audio:hover,.word-card-audio[aria-pressed=true]{background:var(--td);color:var(--t)}.word-card-audio:focus-visible{outline:2px solid var(--td);outline-offset:3px}.word-card-example{border-top:1px solid color-mix(in srgb, var(--td) 16%, transparent);color:var(--fg-soft);overflow-wrap:anywhere;margin:0;padding-top:12px;font-size:.9375rem;line-height:1.5}@media (width<=560px){.unit-word-grid{grid-template-columns:minmax(0,1fr)}}.exercise-view{flex-direction:column;gap:28px;display:flex}.exercise-head{gap:6px;display:grid}.exercise-instruction{color:var(--fg-muted)}.exercise-question{color:var(--fg-strong);margin:0;padding:0;font-size:1.75rem;font-weight:600;line-height:1.25}legend.exercise-question{margin-bottom:22px}.choice-list{gap:10px;display:grid}.choice-option{border:1.5px solid var(--border-subtle);background:var(--bg-surface-muted);cursor:pointer;border-radius:16px;align-items:center;gap:16px;padding:16px 18px;font-size:1.0625rem;line-height:1.45;transition:border-color .15s,background .15s;display:flex;position:relative}.choice-option:hover{border-color:var(--border-strong)}.choice-input{opacity:0;pointer-events:none;position:absolute}.choice-option:has(.choice-input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.choice-key{background:var(--bg-surface);width:32px;height:32px;color:var(--fg-muted);border-radius:10px;flex:none;place-items:center;font-size:.875rem;font-weight:700;display:grid}.choice-option.selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--bg-surface-muted))}.choice-option.selected .choice-key{background:var(--accent);color:var(--accent-fg)}.choice-option.solution{border-color:var(--map-done);background:color-mix(in srgb, var(--map-done) 12%, var(--bg-surface-muted))}.choice-option.solution .choice-key{background:var(--map-done);color:var(--accent-fg)}.choice-option.wrong{border-color:var(--feedback)}.choice-option.wrong .choice-key{background:var(--feedback);color:var(--accent-fg)}fieldset:disabled .choice-option{cursor:default}.gap-line{color:var(--fg-strong);margin:0;font-size:1.75rem;font-weight:500;line-height:2}.gap-input{border:0;border-bottom:3px solid var(--accent);background:color-mix(in srgb, var(--accent) 8%, transparent);color:var(--fg-strong);font:inherit;text-align:center;border-radius:0;margin:0 8px;padding:2px 6px}.gap-input:focus{background:color-mix(in srgb, var(--accent) 16%, transparent);outline:none}.gap-hint{color:var(--fg-faint);font-size:1rem;font-weight:500}.built-sentence{border:1.5px dashed var(--border-strong);border-radius:18px;flex-wrap:wrap;align-items:center;gap:10px;min-height:74px;margin:0;padding:14px;display:flex}.built-placeholder{color:var(--fg-faint);padding:0 6px;font-size:.9375rem}.word-pool{flex-wrap:wrap;gap:10px;display:flex}.word-chip{border:1px solid var(--border-strong);background:var(--bg-surface);min-height:46px;color:var(--fg-default);border-radius:12px;padding:10px 16px;font-size:1.0625rem;font-weight:600;box-shadow:0 2px #00000040}.word-chip:hover:not(:disabled){border-color:var(--accent)}.word-chip.placed{background:color-mix(in srgb, var(--accent) 16%, var(--bg-surface));border-color:color-mix(in srgb, var(--accent) 50%, transparent)}.answer-field{border:1.5px solid var(--border-strong);background:var(--bg-app);width:100%;min-height:96px;max-height:none;color:var(--fg-default);border-radius:16px;padding:16px 18px;font-size:1.125rem;line-height:1.5}.answer-field:focus{border-color:var(--accent);outline:none}.feedback-bar{border-radius:18px;gap:16px;padding:20px 22px;display:flex}.feedback-bar.good{background:color-mix(in srgb, var(--map-done) 13%, var(--bg-panel));border:1px solid color-mix(in srgb, var(--map-done) 40%, transparent)}.feedback-bar.bad{background:color-mix(in srgb, var(--feedback) 12%, var(--bg-panel));border:1px solid color-mix(in srgb, var(--feedback) 40%, transparent)}.feedback-icon{width:36px;height:36px;color:var(--accent-fg);border-radius:50%;flex:none;place-items:center;display:grid}.feedback-bar.good .feedback-icon{background:var(--map-done)}.feedback-bar.bad .feedback-icon{background:var(--feedback)}.feedback-text{gap:4px;display:grid}.feedback-title{font-family:var(--font-display);font-size:1.25rem;font-weight:600}.feedback-bar.good .feedback-title{color:var(--map-done)}.feedback-bar.bad .feedback-title{color:var(--feedback)}.feedback-explanation{color:var(--fg-soft)}.unit-result{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:24px 0;display:flex}.result-mascot{width:112px;height:121px;margin-bottom:8px}.result-title{letter-spacing:-.03em;color:var(--fg-strong);margin:0;font-size:clamp(2.25rem,5vw,3rem);line-height:1.05}.result-stars{color:var(--bg-surface);gap:6px;margin:0;font-size:2.5rem;line-height:1;display:flex}.result-stars .on{color:var(--reward)}.result-score{font-size:1.125rem;font-weight:600}.result-note{max-width:30em;color:var(--fg-muted)}.unit-result .focus-actions{margin-top:12px}@media (width<=1023px){.focus-content{padding:28px 20px 48px}.exercise-question,.gap-line{font-size:1.5rem}.reading-card{padding:22px}}.focus-lead{color:var(--fg-soft);font-size:1.1875rem;line-height:1.6}.player-card{background:var(--bg-app);border-radius:22px;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"play main""play tools";align-items:center;gap:12px 24px;padding:24px 28px;display:grid}.play-big{background:var(--listen-b);width:76px;height:76px;color:var(--listen-d);border:0;border-radius:50%;grid-area:play;place-items:center;padding:0;transition:transform .15s ease-out;display:grid}.play-big:hover{transform:scale(1.04)}.player-main{grid-area:main}.player-tools{flex-wrap:wrap;grid-area:tools;gap:8px;display:flex}.tool-button{border:1px solid var(--border-strong);min-height:36px;color:var(--fg-muted);background:0 0;border-radius:10px;align-items:center;gap:6px;padding:6px 12px;font-size:.8125rem;font-weight:600;display:inline-flex}.tool-button:hover{color:var(--fg-default)}.tool-button[aria-pressed=true]{background:var(--bg-surface);color:var(--fg-default)}.seek{appearance:none;background:linear-gradient(90deg, var(--area-listening) var(--played,0%), var(--bg-surface) var(--played,0%));cursor:pointer;border-radius:999px;width:100%;height:6px;margin:10px 0 4px}.seek::-webkit-slider-thumb{appearance:none;background:var(--fg-strong);border-radius:50%;width:16px;height:16px}.seek::-moz-range-thumb{background:var(--fg-strong);border:0;border-radius:50%;width:16px;height:16px}.listen-hint{margin-top:-18px}.question-list{gap:20px;display:grid}.question-card{background:var(--bg-app);border:0;border-radius:20px;min-width:0;margin:0;padding:24px}.question-title{float:left;width:100%;color:var(--fg-strong);align-items:flex-start;gap:12px;margin:0 0 18px;padding:0;font-size:1.25rem;font-weight:600;line-height:1.35;display:flex}.question-card .choice-list{clear:both}.question-number{background:color-mix(in srgb, var(--area-listening) 18%, transparent);width:28px;height:28px;color:var(--area-listening);border-radius:50%;flex:none;place-items:center;margin-top:1px;font-size:.875rem;font-weight:700;display:grid}.question-feedback{color:var(--fg-soft);align-items:flex-start;gap:10px;margin-top:14px;font-size:.9375rem;line-height:1.5;display:flex}.question-feedback svg{flex:none;margin-top:2px}.question-feedback.good svg,.question-feedback.good strong{color:var(--map-done)}.question-feedback.bad svg,.question-feedback.bad strong{color:var(--feedback)}.result-card{background:color-mix(in srgb, var(--area-listening) 8%, var(--bg-app));border:1px solid color-mix(in srgb, var(--area-listening) 25%, transparent);border-radius:22px;gap:14px;padding:32px;scroll-margin-top:24px;display:grid}.result-title.small{font-size:2.25rem}@media (width<=560px){.player-card{grid-template-columns:1fr;grid-template-areas:"play""main""tools";justify-items:start;padding:22px}.player-main{width:100%}.question-card,.result-card{padding:20px}}.role-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:-8px;display:grid}.role-card{background:var(--bg-app);border-radius:16px;gap:6px;padding:18px 20px;display:grid}.role-card p:last-child{color:var(--fg-soft)}.stage-list{gap:20px;margin:0;padding:0;list-style:none;display:grid}.stage{background:var(--bg-app);border-radius:22px;gap:20px;padding:26px 26px 28px;display:grid}.stage-head{align-items:flex-start;gap:16px;display:flex}.stage-number{background:color-mix(in srgb, var(--area-speaking) 18%, transparent);width:36px;height:36px;color:var(--area-speaking);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.stage-text{flex:1;gap:4px;min-width:0;display:grid}.stage-text p{color:var(--fg-muted);font-size:.9375rem}.stage-heading{color:var(--fg-strong);margin:0;font-size:1.375rem;line-height:1.25}.stage-count{color:var(--map-done);white-space:nowrap;font-size:.875rem;font-weight:700}.stage-actions{padding-left:52px}.phrase-rows{gap:10px;margin:0;padding:0;list-style:none;display:grid}.phrase-row{border:1.5px solid var(--border-subtle);background:var(--bg-panel);border-radius:16px;align-items:center;gap:16px;padding:16px 18px;display:flex}.phrase-row.good{border-color:color-mix(in srgb, var(--map-done) 45%, transparent)}.phrase-row.retry{border-color:color-mix(in srgb, var(--feedback) 45%, transparent)}.icon-button{border:1px solid var(--border-strong);width:42px;height:42px;color:var(--fg-default);background:0 0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.icon-button:hover,.icon-button[aria-pressed=true]{background:var(--bg-surface)}.phrase-body{flex:1;gap:4px;min-width:0;display:grid}.phrase-line{color:var(--fg-strong);margin:0;font-size:1.25rem;font-weight:500;line-height:1.35}.phrase-translation{color:var(--fg-muted);font-size:.9375rem}.phrase-result{flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:4px;font-size:.875rem;font-weight:600;display:flex}.phrase-row.good .phrase-result{color:var(--map-done)}.phrase-row.retry .phrase-result{color:var(--feedback)}.score-pill{background:var(--bg-surface);color:var(--fg-strong);border-radius:999px;padding:2px 8px;font-weight:700}.record-button{background:color-mix(in srgb, var(--area-speaking) 16%, transparent);min-height:42px;color:var(--area-speaking);border:0;border-radius:12px;flex:none;align-items:center;gap:8px;padding:8px 16px;font-size:.875rem;font-weight:700;display:inline-flex}.record-button:hover:not(:disabled){background:color-mix(in srgb, var(--area-speaking) 24%, transparent)}.record-button.recording,.record-button.recording:hover:not(:disabled){background:var(--area-speaking);color:var(--accent-fg);animation:1.4s ease-in-out infinite record-pulse}@keyframes record-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, var(--area-speaking) 45%, transparent)}50%{box-shadow:0 0 0 8px #0000}}@media (width<=640px){.stage{padding:20px}.stage-actions{padding-left:0}.phrase-row{flex-wrap:wrap}.phrase-body{flex-basis:calc(100% - 58px)}.record-button{margin-left:58px}}.thread-scroll{padding:32px}.thread{gap:32px}.tutor-turn{gap:16px}.mascot{width:40px;height:44px}.tutor-content>p{line-height:1.65}.tutor-bubble{cursor:pointer;transition:border-color .15s}.tutor-bubble:hover{border-color:var(--border-strong)}.tutor-bubble.speaking{border-color:var(--accent)}.bubble-speaking{vertical-align:-3px;color:var(--accent);margin-left:8px;animation:1.2s ease-in-out infinite voice-dot;display:inline-block}@media (prefers-reduced-motion:reduce){.bubble-speaking{animation:none}}.learner-bubble{background:var(--talk);color:var(--fg-strong);border:0;border-radius:24px 6px 24px 24px}.turn-actions{gap:6px;margin-top:12px}.turn-action{background:var(--talk);min-height:36px;color:var(--talk-d);border:0;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.8125rem;font-weight:600;display:inline-flex}.turn-action:hover,.turn-action[aria-pressed=true]{background:var(--talk-b)}.typing{align-items:center;gap:5px;height:1.6em;display:inline-flex}.typing span{background:var(--fg-faint);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite typing}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.composer{border:1px solid var(--border-strong);background:var(--bg-panel);border-radius:28px;padding:8px 8px 8px 20px;transition:border-color .15s}.composer:focus-within{border-color:var(--accent)}.composer textarea:focus-visible{outline:none}.voice-button,.voice-chat-button{color:var(--fg-muted);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.voice-button:hover:not(:disabled),.voice-chat-button:hover{background:var(--bg-surface);color:var(--fg-strong)}.voice-chat-button.on,.voice-chat-button.on:hover{background:var(--talk);color:var(--talk-d)}.voice-button:disabled{opacity:1;color:var(--fg-faint)}.voice-button.recording,.voice-button.recording:hover:not(:disabled){background:var(--feedback);color:var(--accent-fg)}.send-button{background:var(--accent);color:var(--accent-fg);border:0;border-radius:50%;place-items:center;display:grid}.send-button:disabled{opacity:.35}.empty-state{text-align:center;justify-items:center;padding:48px 0;display:grid}.empty-state h2{color:var(--fg-strong);margin-top:18px;font-size:1.75rem;line-height:1.2}.empty-mascot{width:88px;height:95px}.completion{border:1px solid var(--border-subtle);background:var(--bg-app);border-radius:22px;gap:16px;padding:28px 30px;display:grid}.completion p{margin:0}.completion-summary{color:var(--fg-soft);font-size:1.0625rem;line-height:1.65}.completion-summary.muted{color:var(--fg-muted)}.completion .focus-subtitle{margin-top:6px;font-size:1.125rem}.observation-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.observation-list li{color:var(--fg-soft);align-items:baseline;gap:12px;line-height:1.55;display:flex}.note-tag{border-radius:999px;flex:none;padding:2px 10px;font-size:.75rem;font-weight:700}.note-tag.difficulty{color:var(--feedback);background:color-mix(in srgb, var(--feedback) 14%, transparent)}.note-tag.strength{color:var(--map-done);background:color-mix(in srgb, var(--map-done) 14%, transparent)}.note-tag.interest{color:var(--area-conversation);background:color-mix(in srgb, var(--area-conversation) 14%, transparent)}@media (width<=1023px){.thread-scroll{padding:20px 18px}.completion{padding:22px 20px}}.completion{background:0 0;border:0;border-radius:0;gap:14px;padding:0;display:grid}.completion-head{align-items:center;gap:16px;display:flex}.completion-title{color:var(--fg-strong);font-size:1.75rem;line-height:1.15}.completion-head .completion-summary{margin-top:4px}.completion-card{background:var(--card);border:1px solid var(--border-subtle);border-radius:24px;gap:10px;padding:20px 22px;display:grid}.completion-label{color:var(--fg-muted);margin:0;font-size:.875rem;font-weight:650}.completion-label span{font-weight:500}.completion-card.work .button.primary{--primary-bg:var(--ex-b);--primary-fg:var(--ex-d)}.completion-card.good .completion-label{color:var(--map-done)}.completion-card.words{background:var(--words);border-color:#0000}.completion-card.words .completion-label{color:var(--words-d)}.completion-notes{gap:6px;margin:0;padding-left:1.1rem;line-height:1.5;display:grid}.word-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.word-chips li{background:var(--card);border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:0 12px;font-size:.875rem;display:inline-flex}.word-chips li span{color:var(--fg-muted)}.memory-line{background:var(--talk);border-radius:20px;align-items:flex-start;gap:10px;padding:14px 16px;font-size:.9375rem;line-height:1.45;display:flex}.memory-line svg{color:var(--talk-d);flex:none;margin-top:2px}.memory-line b{font-weight:650}.apply-card{background:var(--talk);text-align:left;border-radius:28px;justify-items:start;gap:8px;width:min(560px,100%);margin-top:18px;padding:24px 26px;display:grid}.apply-kicker{color:var(--talk-d);font-size:.875rem;font-weight:650}.apply-title{color:var(--fg-strong);font-size:1.375rem;line-height:1.2}.apply-text{color:var(--fg-soft);line-height:1.5}.apply-card .button{margin-top:8px}.tone-exercises{color:var(--area-exercises)}.tone-decode{color:var(--area-decode)}.tone-games{color:var(--area-games)}.pick-icon.tone-exercises{background:color-mix(in srgb, var(--area-exercises) 14%, transparent)}.pick-icon.tone-decode{background:color-mix(in srgb, var(--area-decode) 14%, transparent)}.pick-icon.tone-games{background:color-mix(in srgb, var(--area-games) 14%, transparent)}.bar-fill.tone-listening{background:var(--area-listening)}.bar-fill.tone-speaking{background:var(--area-speaking)}.bar-fill.tone-exercises{background:var(--area-exercises)}.bar-fill.tone-decode{background:var(--area-decode)}.bar-fill.tone-games{background:var(--area-games)}.hub-cards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:0;padding:0;list-style:none;display:grid}.hub-card{border:1px solid var(--border-subtle);background:var(--bg-panel);width:100%;height:100%;min-height:240px;color:var(--fg-default);text-align:left;cursor:pointer;border-radius:24px;flex-direction:column;align-items:flex-start;gap:20px;padding:28px;transition:border-color .15s,transform .15s;display:flex;position:relative}.hub-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}.hub-card[class*=\ t-]{background:var(--t);border-color:#0000}.hub-card[class*=\ t-] .pick-icon{background:var(--tb);color:var(--td)}.hub-card[class*=\ t-] .bar-track{background:var(--tb)}.hub-card[class*=\ t-] .bar-fill{background:var(--td)}.hub-card[class*=\ t-] .hub-card-meta{color:var(--fg-muted)}.hub-card .pick-icon{border-radius:18px;width:56px;height:56px}.hub-card-text{flex-direction:column;flex:1;gap:8px;width:100%;min-width:0;display:flex}.hub-card-text strong{letter-spacing:-.015em;color:var(--fg-strong);font-size:1.5rem;font-weight:600}.hub-card-text>span{color:var(--fg-muted);font-size:.9375rem;line-height:1.55}.hub-card-meta{font-size:var(--text-meta);color:var(--fg-faint);gap:8px;margin-top:auto;padding-top:14px;display:grid}.hub-card-meta .bar-track{height:6px}.hub-card .pick-chevron{position:absolute;top:30px;right:26px}@media (prefers-reduced-motion:reduce){.hub-card{transition:none}.hub-card:hover{transform:none}}.words-page{gap:40px}.word-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.word-tile{border:1px solid var(--border-subtle);background:var(--bg-panel);color:var(--fg-muted);text-align:left;cursor:pointer;border-radius:18px;gap:6px;padding:20px 22px;display:grid}.word-tile strong{font-family:var(--font-display);letter-spacing:-.02em;color:var(--fg-strong);font-size:2.25rem;font-weight:600;line-height:1}.word-tile[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.word-tile.tile-due strong{color:var(--reward)}.word-tile.tile-shaky strong{color:var(--area-path)}.word-tile.tile-mastered strong{color:var(--map-done)}.word-browser{gap:20px;display:grid}.word-toolbar{gap:14px;display:grid}.search-field{background:var(--bg-panel);border:1px solid var(--border-subtle);min-height:48px;color:var(--fg-faint);border-radius:14px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-field:focus-within{border-color:var(--accent)}.search-field input{min-width:0;color:var(--fg-default);font:inherit;background:0 0;border:0;outline:none;flex:1}.filter-chips{flex-wrap:wrap;gap:8px;display:flex}.filter-chip{border:1px solid var(--border-subtle);min-height:36px;color:var(--fg-muted);font-size:var(--text-ui);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-weight:600;display:inline-flex}.filter-chip .count{color:var(--fg-faint);font-weight:500}.filter-chip[aria-pressed=true]{background:var(--fg-default);border-color:var(--fg-default);color:var(--accent-fg)}.filter-chip[aria-pressed=true] .count{color:var(--accent-fg);opacity:.7}.vocab-list{margin:0;padding:0;list-style:none}.vocab-row{border-bottom:1px solid var(--border-subtle);grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:16px 4px;display:grid}.vocab-actions{gap:2px;display:flex}.vocab-body{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.vocab-term{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.vocab-term strong{font-family:var(--font-display);color:var(--fg-strong);font-size:1.1875rem;font-weight:600}.vocab-translation{color:var(--fg-soft)}.vocab-example{color:var(--fg-muted);font-size:.9375rem;font-style:italic}.vocab-state{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.state-pill{font-size:var(--text-meta);background:var(--bg-surface);color:var(--fg-muted);white-space:nowrap;border-radius:999px;padding:3px 10px;font-weight:600}.state-pill.due{color:var(--reward);background:color-mix(in srgb, var(--reward) 14%, transparent)}.state-pill.shaky{color:var(--area-path);background:color-mix(in srgb, var(--area-path) 14%, transparent)}.state-pill.known{color:var(--area-conversation)}.state-pill.mastered{color:var(--map-done)}.vocab-row .icon-button{width:38px;height:38px;min-height:0}.vocab-remove{color:var(--fg-faint);border-color:#0000}.vocab-remove:hover{color:var(--feedback)}@media (width<=760px){.word-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.vocab-row{grid-template-columns:auto auto minmax(0,1fr);gap:8px}.vocab-state{grid-column:3;justify-content:flex-start}.vocab-actions{grid-column:3;justify-content:flex-end}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.sheet-prose{color:var(--fg-soft);gap:14px;line-height:1.65;display:grid}.step-meter{flex-wrap:wrap;align-items:center;gap:4px;margin-top:2px;display:flex}.step-meter>span:not(.meta){background:var(--bg-surface);border-radius:999px;width:16px;height:6px}.step-meter>span.on{background:var(--area-decode)}.step-meter .meta{margin-left:8px}.catalog-actions{align-items:center;gap:8px;display:flex}.catalog-actions .icon-button{color:var(--fg-faint);border-color:#0000}.catalog-item .pick-icon.tone-decode.done{color:var(--accent-fg);background:var(--map-done)}.own-text-form{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:22px;gap:16px;padding:28px;display:grid}.own-text-form .segmented{justify-self:start}.inline-field{font-size:var(--text-ui);color:var(--fg-muted);align-items:center;gap:12px;display:flex}.inline-field .field{width:auto;min-width:96px}.segmented.small button{font-size:var(--text-meta);padding:4px 11px}.decode-column{width:min(760px,100%)}.step-tabs{flex-wrap:wrap;gap:8px;display:flex}.step-tabs button{border:1px solid var(--border-subtle);min-height:40px;color:var(--fg-muted);font-size:var(--text-ui);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:8px;padding:6px 14px 6px 6px;font-weight:600;display:inline-flex}.step-tabs button[aria-selected=true]{border-color:var(--area-decode);color:var(--fg-strong);background:color-mix(in srgb, var(--area-decode) 10%, transparent)}.step-number{background:var(--bg-surface);width:28px;height:28px;color:var(--fg-soft);font-size:var(--text-meta);border-radius:50%;place-items:center;display:grid}.step-tabs button.done .step-number{background:var(--map-done);color:var(--accent-fg)}.step-panel{flex-direction:column;gap:24px;display:flex}.step-help{color:var(--fg-soft);line-height:1.65}.step-footer{justify-content:flex-end;padding-top:8px;display:flex}.decode-complete{background:color-mix(in srgb, var(--map-done) 12%, var(--bg-panel));border:1px solid color-mix(in srgb, var(--map-done) 40%, transparent);color:var(--fg-strong);border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.sentence-list{gap:14px;margin:0;padding:0;list-style:none;display:grid}.sentence-block{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:18px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:18px 20px;display:grid}.sentence-block .icon-button{width:38px;height:38px}.sentence-body{gap:8px;min-width:0;display:grid}.interlinear{border-radius:10px;flex-wrap:wrap;gap:10px 14px;margin:0;padding:4px 0;display:flex}.interlinear.active{background:color-mix(in srgb, var(--area-decode) 10%, transparent);box-shadow:0 0 0 6px color-mix(in srgb, var(--area-decode) 10%, transparent)}.word-pair{color:inherit;font:inherit;text-align:left;cursor:default;background:0 0;border:0;justify-items:start;gap:2px;padding:0;display:inline-grid}button.word-pair{cursor:pointer}.word-pair .w{font-family:var(--font-display);color:var(--fg-strong);font-size:1.3125rem;font-weight:600;line-height:1.3}.word-pair .g{color:var(--area-decode);font-size:.875rem;line-height:1.3}button.word-pair:hover .w{text-underline-offset:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.word-pair.reverse .w{border-bottom:2px dashed var(--border-strong);min-width:3ch}.word-pair.reverse.shown .w{border-bottom-color:#0000}.translation-toggle{color:var(--fg-faint);font-size:var(--text-meta);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-weight:600;text-decoration:underline}.sentence-translation{color:var(--fg-soft);font-size:.9375rem}.player-bar,.background-player{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;align-items:center;gap:24px;padding:22px 24px;display:flex}.decode-column .play-big{background:var(--decode-b);color:var(--decode-d);flex:none}.player-meta{gap:10px;display:grid}.toggle-chip{border:1px solid var(--border-subtle);min-height:30px;color:var(--fg-muted);font-size:var(--text-meta);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-weight:600;display:inline-flex}.toggle-chip[aria-pressed=true]{border-color:var(--area-decode);color:var(--fg-strong)}.listen-text{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;gap:18px;padding:22px 24px;display:grid}.background-meta{flex:1;gap:10px;min-width:0;display:grid}.background-time{color:var(--fg-strong);margin:0;font-size:2rem;font-weight:600}.background-time span{color:var(--fg-muted);font-family:inherit;font-size:1rem;font-weight:500}.phrase-row.playing{border-color:var(--area-decode)}.test-part{gap:14px;display:grid}.gap-text{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;gap:12px;padding:22px 24px;font-size:1.125rem;line-height:2.2;display:grid}.gap-text p{margin:0}.gap-slot{white-space:nowrap}.gap-input{font:inherit;color:var(--fg-strong);background:var(--bg-app);border:1px solid var(--border-strong);border-radius:8px;padding:2px 8px;font-size:1rem}.gap-input:focus{outline:2px solid var(--area-decode);outline-offset:1px}.gap-input.good{border-color:var(--map-done);color:var(--map-done)}.gap-input.bad{border-color:var(--feedback);color:var(--feedback)}.gap-solution{color:var(--map-done);margin-left:6px;font-size:.9375rem;font-weight:600}@media (width<=640px){.sentence-block{grid-template-columns:1fr;padding:16px}.player-bar,.background-player{flex-direction:column;align-items:flex-start}.step-tabs button{padding-right:10px}}.preview-columns{columns:2 220px}.preview-interlinear{gap:2px;padding-bottom:6px;display:grid}.preview-interlinear .word-pair .w{font-size:1rem}.special-rounds{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}.special-round{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px 18px;padding:24px;display:grid}.special-round>.button{grid-column:2;justify-self:start}.pick-icon.tone-path{background:color-mix(in srgb, var(--area-path) 14%, transparent)}.star-row{letter-spacing:2px;color:var(--fg-faint)}.star-row .on{color:var(--map-star)}.retry-intro{text-align:center;justify-items:center;gap:14px;padding:32px 0;display:grid}.play-big.tone-exercises{background:var(--ex-b);color:var(--ex-d)}.play-big.tone-path{background:var(--path-b);color:var(--path-d)}.play-big:disabled{opacity:.5}.listen-prompt{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;align-items:center;gap:24px;padding:20px 22px;display:flex}.listen-prompt-text{min-width:0}.listen-transcript{color:var(--fg-strong);margin:0;font-size:1.25rem}.match-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.match-terms,.match-options{align-content:start;gap:10px;margin:0;padding:0;list-style:none;display:grid}.match-term,.match-option{border:1px solid var(--border-strong);background:var(--bg-panel);width:100%;min-height:52px;color:var(--fg-default);text-align:left;font:inherit;cursor:pointer;border-radius:14px;padding:10px 14px}.match-term{gap:2px;display:grid}.match-term strong{font-family:var(--font-display);color:var(--fg-strong);font-size:1.0625rem}.match-assigned{color:var(--area-exercises);font-size:.875rem}.match-term.picked{border-color:var(--area-exercises);box-shadow:inset 0 0 0 1px var(--area-exercises)}.match-option.used{opacity:.45}.match-option:hover:not(:disabled),.match-term:hover:not(:disabled){border-color:var(--fg-faint)}@media (width<=560px){.listen-prompt{flex-direction:column;align-items:flex-start}}.games-page .hub-header{align-items:flex-end}.game-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.game-card{border:1px solid var(--border-subtle);background:var(--bg-panel);width:100%;height:100%;color:var(--fg-default);text-align:left;cursor:pointer;border-radius:22px;align-content:start;justify-items:start;gap:10px;padding:24px;transition:border-color .15s,transform .15s;display:grid}.game-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}.game-card strong{color:var(--fg-strong);font-size:1.25rem;font-weight:600}.game-card-text{color:var(--fg-muted);font-size:.9375rem;line-height:1.5}.game-icon{background:color-mix(in srgb, var(--area-games) 14%, transparent);border-radius:16px;place-items:center;width:52px;height:52px;font-size:1.6rem;display:grid}.game-icon.large{border-radius:26px;width:84px;height:84px;font-size:2.6rem}.game-best{font-size:var(--text-meta);color:var(--reward);align-items:center;gap:6px;font-weight:600;display:inline-flex}.game-best.new{font-size:1.125rem;font-family:var(--font-display)}.game-column{width:min(720px,100%)}.game-intro{text-align:center;justify-items:center;gap:18px;padding:24px 0;display:grid}.game-play{flex-direction:column;gap:24px;display:flex}.game-hud{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:12px 18px;display:flex}.game-hud .button.text{margin-left:auto}.hud-stat{color:var(--fg-muted);font-size:var(--text-ui)}.hud-stat strong{font-family:var(--font-display);color:var(--fg-strong);font-size:1.375rem}.hud-stat.streak{color:var(--reward);font-weight:700}.hud-lives{color:var(--fg-faint);gap:4px;display:inline-flex}.hud-lives .on{color:var(--area-path);fill:var(--area-path)}.hud-time{font-family:var(--font-display);color:var(--fg-strong);font-size:1.375rem;font-weight:600}.hud-time.low{color:var(--feedback)}.game-prompt{background:var(--bg-panel);border:1px solid var(--border-subtle);text-align:center;border-radius:22px;justify-items:center;gap:10px;padding:28px 20px;display:grid}.prompt-word{color:var(--fg-strong);flex-direction:column;align-items:center;gap:6px;margin:0;font-size:2.25rem;font-weight:600;display:inline-flex}.prompt-emoji{font-size:4.5rem;line-height:1}.prompt-sentence{color:var(--fg-strong);margin:0;font-size:1.5rem;line-height:1.5}.prompt-gap{border-bottom:2px solid var(--area-games);color:var(--area-games);padding:0 8px}.prompt-hint{color:var(--fg-soft);font-size:1.125rem}.own-tag{font-family:var(--font-body,inherit);font-size:var(--text-meta);color:var(--area-words);font-weight:600}.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.answer-tile{border:1px solid var(--border-strong);background:var(--bg-panel);min-height:64px;color:var(--fg-default);font:inherit;cursor:pointer;border-radius:16px;padding:12px 16px;font-size:1.0625rem;font-weight:600;transition:transform .1s,border-color .15s}.answer-tile:hover:not(:disabled){border-color:var(--area-games);transform:translateY(-1px)}.answer-tile.right{border-color:var(--map-done);background:color-mix(in srgb, var(--map-done) 18%, var(--bg-panel));color:var(--fg-strong)}.answer-tile.wrong{border-color:var(--feedback);background:color-mix(in srgb, var(--feedback) 16%, var(--bg-panel))}.answer-tile:disabled{cursor:default}.rain-field{background:linear-gradient(180deg, var(--bg-panel), var(--bg-surface-muted));border:1px solid var(--border-subtle);border-radius:22px;height:420px;position:relative;overflow:hidden}.rain-field.flash-right{box-shadow:inset 0 0 0 3px var(--map-done)}.rain-field.flash-wrong{box-shadow:inset 0 0 0 3px var(--feedback)}.rain-prompt{z-index:1;text-align:center;background:var(--bg-panel);border-top:1px solid var(--border-subtle);margin:0;padding:16px;position:absolute;inset:auto 0 0}.rain-prompt strong{color:var(--fg-strong);font-size:1.5rem}.rain-lanes{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 8px;display:grid;position:absolute;inset:0 0 64px}.rain-drop{border:1px solid var(--border-strong);background:var(--bg-surface);color:var(--fg-strong);font:inherit;cursor:pointer;border-radius:14px;align-self:start;margin-top:-60px;padding:10px 8px;font-weight:600;animation-name:rain-fall;animation-timing-function:linear;animation-fill-mode:forwards}.rain-drop:hover{border-color:var(--area-games)}@keyframes rain-fall{0%{transform:translateY(0)}to{transform:translateY(400px)}}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.memory-card{aspect-ratio:4/3;border:1px solid var(--border-strong);background:var(--bg-surface);color:var(--fg-faint);font:inherit;cursor:pointer;border-radius:14px;place-items:center;padding:8px;font-size:1.5rem;font-weight:700;display:grid}.memory-card.shown{background:var(--bg-panel);color:var(--fg-strong);border-color:var(--area-games);font-size:.9375rem;font-weight:600}.memory-card.matched{border-color:var(--map-done);background:color-mix(in srgb, var(--map-done) 12%, var(--bg-panel))}.built-sentence.right{border-color:var(--map-done)}.built-sentence.wrong{border-color:var(--feedback)}.game-solution{color:var(--map-done);font-size:1.125rem;font-weight:600}.game-actions{justify-content:flex-end;display:flex}.dictation-form{gap:16px;display:grid}.dictation-input{min-height:52px;font-size:1.125rem}.game-score{color:var(--fg-strong);margin:0;font-size:3.5rem;font-weight:600}.game-score span{color:var(--fg-muted);font-size:1.125rem}.game-stats{color:var(--fg-muted);gap:28px;margin:0;padding:0;list-style:none;display:flex}.game-stats strong{font-family:var(--font-display);color:var(--fg-strong);font-size:1.375rem}@media (width<=560px){.answer-grid{grid-template-columns:1fr}.memory-card.shown{font-size:.8125rem}.rain-drop{padding:8px 4px;font-size:.875rem}}@media (prefers-reduced-motion:reduce){.game-card,.answer-tile{transition:none}}.voice-stage{justify-items:center;gap:12px;padding:8px 0 4px;display:grid}.voice-orb{--level:0;place-items:center;width:168px;height:168px;display:grid;position:relative}.orb-ring{border-radius:50%;transition:transform .12s ease-out,background-color .3s;position:absolute;inset:0}.orb-ring.outer{background:var(--talk);transform:scale(calc(.8 + var(--level) * .2))}.orb-ring.inner{background:var(--talk-b);transform:scale(calc(.7 + var(--level) * .14))}.orb-core{background:var(--bg-panel);width:62%;height:62%;box-shadow:0 6px 24px color-mix(in srgb, var(--talk-d) 18%, transparent);transform:scale(calc(1 + var(--level) * .05));border-radius:50%;place-items:center;transition:transform .12s ease-out;display:grid;position:relative}.agent-face{width:84%;height:84%;margin-top:-6%;overflow:visible}.agent-mouth{fill:var(--iris)}.agent-eye{transform-box:view-box;transform-origin:80px 90px;animation:5s infinite agent-blink}.voice-stage.listening .orb-ring.outer{background:color-mix(in srgb, var(--feedback) 20%, var(--bg-app))}.voice-stage.listening .orb-ring.inner{background:color-mix(in srgb, var(--feedback) 36%, var(--bg-app))}.voice-stage.thinking .orb-ring{animation:2.4s ease-in-out infinite orb-breathe}.voice-stage.thinking .orb-ring.inner{animation-delay:.3s}.voice-stage.free.speaking .orb-ring.outer{animation:1.3s ease-in-out infinite orb-talk}.agent-mouth.talking{transform-box:view-box;transform-origin:80px 129px;animation:.45s ease-in-out infinite agent-talk}.voice-stage-status{max-width:34ch;min-height:1.5em;color:var(--fg-muted);font-size:var(--text-ui);text-align:center;margin:0}.voice-stage-controls{grid-template-columns:88px 64px 88px;align-items:center;gap:12px;display:grid}.voice-main{background:var(--talk-d);width:64px;height:64px;color:var(--accent-fg);border:0;border-radius:50%;place-items:center;display:grid}.voice-main.listening{background:var(--feedback)}.voice-main:disabled{opacity:.35}.voice-mute{min-height:58px;color:var(--fg-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:16px;justify-items:center;gap:6px;padding:8px 6px;display:grid}.voice-mute span{white-space:nowrap;font-size:.75rem;font-weight:600}.voice-mute:hover{background:var(--bg-surface-muted)}.voice-mute.muted{background:var(--bg-surface-muted);border-color:var(--border-strong);color:var(--fg-default)}@keyframes orb-breathe{0%,to{transform:scale(.74)}50%{transform:scale(.84)}}@keyframes orb-talk{0%,to{transform:scale(.82)}30%{transform:scale(.97)}60%{transform:scale(.87)}}@keyframes agent-talk{50%{transform:scaleY(.3)}}@keyframes agent-blink{0%,94%,to{transform:scaleY(1)}97%{transform:scaleY(.1)}}@media (width<=640px){.voice-orb{width:132px;height:132px}.voice-stage{gap:8px;padding-top:0}}@media (prefers-reduced-motion:reduce){.voice-stage .orb-ring,.agent-mouth.talking,.agent-eye{animation:none!important}}.reference-list{gap:16px;display:grid}.reference-card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;overflow:hidden}.reference-heading{text-align:left;width:100%;color:var(--fg-default);cursor:pointer;background:0 0;border:0;align-items:flex-start;gap:16px;padding:24px;display:flex}.reference-heading>span:nth-child(2){flex:1;gap:8px;display:grid}.reference-heading strong{font-size:1.35rem}.reference-heading>span:nth-child(2)>span{color:var(--fg-muted);line-height:1.5}.reference-body{gap:24px;padding:0 28px 28px;line-height:1.75;display:grid}.reference-body section,.reference-body dl{gap:12px;display:grid}.reference-body dl>div{background:var(--bg-surface);border-radius:12px;padding:12px 18px}.reference-body dt{font-weight:600}.reference-body dd{color:var(--fg-muted);margin:0}.area-reference{--area-color:var(--area-path);--area-b:var(--area-path-b);--area-d:var(--area-path-d)}@media (width<=600px){.reference-heading{gap:10px;padding:20px}.reference-body{padding:0 20px 20px}}.speaking-drill{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:16px;gap:14px;margin:20px 0 0 48px;padding:20px;display:grid}.speaking-drill details{color:var(--fg-muted);font-size:.95rem}.speaking-drill summary{cursor:pointer}@media (width<=600px){.speaking-drill{margin-left:0;padding:18px}}.listening-speed{align-items:center;gap:8px;font-size:.875rem;display:flex}.listening-speed .field{width:auto;min-height:36px;padding:6px}.word-extra{color:var(--fg-muted);margin:12px 0}.word-extra summary{cursor:pointer}.word-extra .button-row{margin-top:12px}.legacy-history{border-top:1px solid var(--border-subtle);gap:16px;margin-top:24px;padding-top:24px;display:grid}.legacy-transcript{gap:16px;padding:0;list-style:none;display:grid}.legacy-message{background:var(--bg-surface);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:14px;padding:16px}.legacy-message.user{background:var(--bg-panel)}.legacy-message.note,.legacy-message.trigger{border-left:2px solid var(--border-subtle);font-size:.9rem}.legacy-progress{border:1px solid var(--border-subtle);background:var(--bg-panel);border-radius:20px;gap:18px;padding:24px;display:grid}.legacy-counts{grid-template-columns:1fr 1fr;gap:16px;padding:0;list-style:none;display:grid}.legacy-counts strong{font-size:1.8rem;display:block}.legacy-activities,.legacy-notes{gap:12px;max-height:400px;padding:0;list-style:none;display:grid;overflow:auto}.legacy-activities li,.legacy-notes li{border-bottom:1px solid var(--border-subtle);overflow-wrap:anywhere;gap:8px;padding:12px 0;display:grid}@media (width<=600px){.legacy-progress{padding:18px}}.entry-suggestion{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:20px;justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex}.entry-suggestion h2{font-size:1.3rem}@media (width<=600px){.entry-suggestion{flex-direction:column;align-items:flex-start;padding:20px}}.voice-stage-options{flex-wrap:wrap;justify-content:center;gap:8px 24px;display:flex}.voice-stage-options .button{min-height:40px}.voice-picker .voice-preview-button{justify-self:start}.voice-picker .meta{margin-top:-8px}
