:root{font-family:DM Sans,Noto Sans SC,system-ui,sans-serif;color:#28332e;background:#f4f6f2;font-synthesis:none;text-rendering:optimizeLegibility;font-optical-sizing:auto;font-size:14px;font-weight:400;--ink:#28332e;--muted:#839087;--line:#e1e7df;--paper:#fff;--green:#48664f;--green-soft:#edf3ec;--green-pale:#f5f8f4;--amber:#a2753e;--shadow:0 8px 28px rgba(31,47,35,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,select:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #97b89b;outline-offset:2px}.app-shell{height:100svh;min-height:620px;max-width:1480px;margin:0 auto;padding:0 32px 10px;display:grid;grid-template-rows:58px minmax(0,1fr) 24px;gap:10px;overflow:hidden}.topbar{min-width:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:36px;height:36px;border-radius:12px;background:#385342;color:#fff;display:grid;place-items:center;font-size:19px;font-weight:600}.brand strong,.brand small{display:block}.brand strong{font-size:16px;letter-spacing:.01em}.brand small{font-size:11px;color:var(--muted);margin-top:3px}.header-actions{display:flex;align-items:center;gap:8px}.nav,.icon-btn{border:0;background:transparent;border-radius:9px;padding:9px 13px;color:#68766c;white-space:nowrap}.nav:hover,.icon-btn:hover{background:var(--green-soft);color:var(--green)}.nav.active{background:#e8eee7;color:#3e5c45;font-weight:600}.nav b{font-size:10px;margin-left:5px;padding:2px 6px;border-radius:99px;background:#dce7da;color:#48664f}.icon-btn{border:1px solid var(--line);margin-left:5px}.workspace{min-height:0;display:grid;grid-template-columns:minmax(0,1.52fr) minmax(370px,1fr);grid-template-rows:46px minmax(0,1fr) 56px;gap:10px 20px;align-items:stretch}.main-column,.side-column{display:contents}.page-heading,.local-pill{display:none}.practice-toolbar{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.practice-toolbar label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.practice-toolbar select{max-width:min(420px,48vw);border:1px solid var(--line);background:transparent;border-radius:8px;padding:8px 32px 8px 11px;color:#35433a}.toolbar-right{margin-left:auto;display:flex;align-items:center;gap:18px}.toolbar-progress{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.text-button{border:0;background:transparent;color:var(--green);font-weight:500;padding:7px 8px;border-radius:7px}.text-button:hover{background:var(--green-soft)}.mobile-pane-tabs{display:none}.practice-card,.side-card,.book-panel,.code-analysis-card{background:var(--paper);border:1px solid #e6ebe5;border-radius:16px;box-shadow:var(--shadow)}.practice-card{grid-column:1;grid-row:2;min-width:0;min-height:0;padding:14px 18px 10px;display:grid;grid-template-rows:24px 3px minmax(100px,1fr) auto 34px;gap:8px;overflow:hidden}.practice-card-top{display:flex;justify-content:space-between;align-items:center;color:#4f5e53;font-size:13px;font-variant-numeric:tabular-nums}.progress-label{color:#8b968c}.practice-card-top em{font-style:normal;color:#a3aca4}.progress-track{height:3px;border-radius:4px;background:#edf1ec;overflow:hidden}.progress-track div{height:100%;background:#779779;transition:width .2s}.text-display{min-height:0;overflow:auto;align-content:start;padding:12px 14px;border-radius:12px;background:#f8faf7;color:#7a867d;font-size:clamp(20px,2vw,25px);line-height:1.8;letter-spacing:.055em;scrollbar-color:#c7d2c6 transparent;scrollbar-width:thin}.text-char{border-radius:5px;padding:1px 2px}.text-char.done{color:#b0b9b0}.text-char.current{background:#e6eee5;color:#26382c;box-shadow:0 0 0 2px #e6eee5}.text-char.word-ahead{background:#f0f4ef;color:#677b69}.input-frame{border:1px solid #dfe6de;border-radius:12px;overflow:hidden;display:grid;grid-template-rows:auto minmax(48px,1fr) auto;min-width:0}.input-label{min-height:42px;padding:7px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf0ec;color:#88938a;font-size:11px}.code-hint-block{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.code-hint-block>small{font-size:10px;color:#849087}.code-hint{display:flex;gap:3px}.code-hint kbd,.candidate-bar kbd,.part-code kbd{font-family:DM Mono,monospace;border:1px solid #dce5dc;background:#edf3ec;border-radius:4px;color:#426047;min-width:21px;height:23px;padding:2px 5px;text-align:center;font-size:12px;font-weight:600}.full-code-hint kbd{background:#f5f6f3;color:#879187}.inline-parse{border:0;border-bottom:1px solid #99ad98;background:transparent;color:#4b6a4e;font-size:11px;padding:2px 1px;white-space:nowrap}.typing-area{position:relative;min-height:48px;padding:11px 14px;display:flex;align-items:center;gap:4px;cursor:text;color:#657268;overflow:hidden}.typing-area:focus{outline:none;background:#fbfdfb}.typed-prefix{white-space:pre;color:#a1aaa2}.caret-target{font-size:19px;color:#314336;font-weight:600;white-space:nowrap}.composition{position:absolute;left:14px;top:-25px;color:#426047;font:600 14px DM Mono,monospace}.composition i{font-style:normal;animation:blink 1s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.typing-placeholder{margin-left:auto;color:#a0aaa1;font-size:11px;text-align:right}.candidate-bar{min-height:42px;border-top:1px solid #edf0ec;padding:6px 10px;display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden}.candidate-code{font:600 12px DM Mono,monospace;color:#738275;min-width:44px}.candidate-bar>button{display:flex;align-items:center;gap:5px;border:0;background:#f3f6f2;border-radius:7px;padding:5px 8px;color:#435649;white-space:nowrap}.candidate-bar>button:hover{background:#e7efe6}.candidate-bar>button.word-candidate{background:#e8f0e7;color:#294833}.candidate-bar kbd{width:15px;min-width:15px;height:17px;padding:1px;font-size:10px}.candidate-empty{color:#9aa49b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-controls{display:flex;align-items:center;gap:4px;margin-left:auto;color:#7f8a80;font-size:11px;white-space:nowrap}.page-controls button{border:1px solid var(--line);background:#fff;border-radius:5px;width:24px;height:24px}.practice-bottom{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.notice{margin:0;color:#818e83;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skip-btn{border:0;background:transparent;color:#758579;font-size:11px;white-space:nowrap;padding:5px}.skip-btn span{font-size:15px;margin-left:4px}.stats-grid{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:flex-start;gap:0;background:#edf2ec;border:1px solid #e3ebe2;border-radius:11px;overflow:hidden}.stat-card{min-width:130px;padding:7px 16px;display:flex;align-items:baseline;gap:8px;border-right:1px solid #dce5db}.stat-card:last-child{border-right:0}.stat-card>span{color:#78867a;font-size:11px}.stat-card strong{color:#344739;font-size:17px;font-variant-numeric:tabular-nums}.stat-card small{font-size:10px;font-weight:400;color:#849087;margin-left:3px}.keyboard-note{display:none}.code-analysis-card{grid-column:2;grid-row:2;min-width:0;min-height:0;padding:14px 16px 12px;overflow:auto;scrollbar-color:#c7d2c6 transparent;scrollbar-width:thin}.analysis-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #edf0ec}.analysis-title .eyebrow{font-size:9px;letter-spacing:.16em;margin:0 0 3px;color:#879589}.analysis-title h2{font-size:16px;margin:0;font-weight:600}.analysis-live{font-size:10px;color:#829183}.analysis-word{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 1px 8px}.analysis-word>span{font-size:11px;color:#8a968b}.analysis-word strong{font-size:25px;letter-spacing:.12em;color:#2f4435}.analysis-word code,.split-complete-code code,.split-unavailable code{font:600 14px DM Mono,monospace;color:#47624a;background:#eff4ed;padding:5px 8px;border-radius:6px;letter-spacing:.1em}.diagram-section-label{display:flex;align-items:center;gap:8px;margin:5px 0 7px;color:#77847a;font-size:11px;font-weight:600}.diagram-section-label:after{content:"";height:1px;flex:1;background:#edf0ec}.analysis-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.analysis-part{position:relative;min-width:0;padding:6px 7px;text-align:center;background:#f7f9f6;border:1px solid #e9eee8;border-radius:9px}.part-character{font-size:18px;color:#33483a;font-weight:600}.part-collection{margin:2px 0 5px;color:#89958a;font-size:9px}.part-code{display:flex;justify-content:center;gap:3px}.part-code kbd{min-width:19px;height:21px;padding:2px 4px;font-size:11px}.analysis-rule{margin:6px 0;color:#879187;font-size:10px}.character-diagram-label{margin-top:9px}.character-split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.character-split-card{min-width:0;padding:8px 9px;border:1px solid #e5ebe4;border-radius:10px;background:#fff}.split-card-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}.split-card-heading strong{font-size:22px;font-weight:600;color:#304535}.split-card-heading span{font-size:9px;color:#819082}.split-sequence{display:flex;align-items:stretch;justify-content:center;gap:3px;flex-wrap:wrap}.split-piece{min-width:0;flex:1 1 38px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 4px;text-align:center;padding:5px 4px;background:#f2f6f1;border-radius:7px}.split-piece strong{font-size:17px;font-weight:500;color:#344c39;line-height:1.1}.split-piece>span{font-size:8px;color:#829083}.split-piece kbd{grid-column:1/-1;justify-self:center;font:600 11px DM Mono,monospace;color:#49674e}.split-piece small{grid-column:1/-1;font-size:8px;color:#8a968b;white-space:nowrap}.split-piece.recognition-piece{background:#f8f0e4}.split-piece.recognition-piece strong,.split-piece.recognition-piece kbd{color:#956c37}.split-plus{align-self:center;color:#b0b9b1;font-size:12px}.split-complete-code{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:6px;color:#849085;font-size:9px}.split-complete-code code{font-size:10px;padding:3px 6px}.character-split-card.missing{background:#f8faf7}.character-split-card.missing .split-card-heading span{color:#9d825d}.split-unavailable{padding:7px;border-radius:7px;background:#f5f7f4;color:#7f8b81;font-size:10px;line-height:1.5}.split-unavailable code{font-size:11px}.analysis-footnote{margin:8px 0;color:#919b92;font-size:9px;line-height:1.45}.analysis-more{border:0;border-bottom:1px solid #a8b9a7;background:transparent;padding:3px 0;color:#4c684e;font-size:10px}.analysis-more:hover{color:#2e4933}.analysis-empty{padding:25px 12px;text-align:center;color:#8d998f;font-size:12px}.privacy-note,.side-column.book-mode{display:none}.book-panel{grid-column:1/-1;grid-row:1/-1;min-height:0;padding:22px;overflow:auto}.book-toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line);color:#758177}.book-toolbar strong{color:#304637}.mistake-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:13px}.mistake-row{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:10px}.mistake-char{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#eef3ec;font-size:22px;color:#3e5744}.mistake-info{flex:1;min-width:0}.mistake-info strong{display:block}.mistake-info strong span{margin-left:8px;color:#617364;font:12px DM Mono,monospace}.mistake-info p,.mistake-info small{display:block;margin:4px 0 0;color:#849087;font-size:11px}.mistake-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-btn{border:0;background:transparent;color:#99a39a;font-size:20px}.empty-state{min-height:300px;display:grid;place-content:center;justify-items:center;text-align:center}.empty-state>span{font-size:26px;color:#839984}.empty-state h2{margin:10px 0 0;font-size:19px}.empty-state p{color:#869188}.primary,.secondary{border:0;border-radius:8px;padding:10px 15px;background:#48664f;color:#fff;font-weight:600}.primary span,.secondary span{margin-left:10px}.secondary{color:#4e684f;background:#eff4ee;border:1px solid #dce6da}.full{width:100%}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;padding:20px;background:#1e2a215c;display:grid;place-items:center}.explanation-modal{position:relative;width:min(560px,100%);max-height:min(84vh,760px);overflow:auto;padding:26px;background:#fff;border:1px solid #e4eae2;border-radius:18px;box-shadow:0 20px 70px #15251a33}.modal-close{position:absolute;right:15px;top:13px;width:32px;height:32px;border:0;border-radius:8px;background:#f1f4f0;color:#738075;font-size:20px}.explanation-modal h2{margin:5px 0 16px;font-size:24px}.explanation-modal>p:not(.eyebrow){color:#667469;line-height:1.7}.explain-code{font:600 20px DM Mono,monospace;color:#426047}.explain-code small{display:block;margin-top:5px;font:11px DM Sans,Noto Sans SC,sans-serif;color:#8a968b}.root-keys{display:flex;flex-wrap:wrap;gap:8px}.root-keys span{display:flex;align-items:center;gap:5px;padding:6px 8px;background:#f1f5f0;border-radius:7px;color:#586b5b;font-size:12px}.root-keys kbd,.phrase-breakdown kbd{font:600 12px DM Mono,monospace;padding:3px 5px;background:#e4ede2;border-radius:4px;color:#3f6045}.parse-limit{padding:10px 12px;background:#f7f8f5;border-radius:8px;font-size:12px}.guide-modal ol{padding-left:22px;color:#5e6c61;line-height:1.9}.recent-modal .session-row{padding:10px 0;border-bottom:1px solid #edf0ec}.session-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.session-row strong,.session-row small{display:block}.session-row strong{font-size:12px}.session-row small{margin-top:4px;color:#909a91;font-size:10px}.session-row>span{white-space:nowrap;color:#66756a;font-size:11px}.muted{color:#8c978e;font-size:12px}.toast{position:fixed;z-index:30;right:18px;bottom:18px;max-width:min(420px,calc(100vw - 36px));padding:12px 14px;background:#344b38;color:#fff;border-radius:10px;box-shadow:var(--shadow)}.toast button{margin-left:12px;border:0;background:transparent;color:#d9e9d8}.collect-panel{padding:16px;margin-bottom:18px;border:1px solid #dce8db;background:#f5f9f4;border-radius:12px}.collect-panel h2{font-size:17px;margin:0 0 5px}.collect-panel p{margin:0;color:#718074;font-size:12px;line-height:1.5}.collect-label{display:block;margin:12px 0 6px;color:#526458;font-size:12px;font-weight:600}.collect-controls{display:flex;align-items:stretch;gap:10px}.collect-controls textarea{flex:1;min-width:0;resize:vertical;padding:10px 12px;border:1px solid #d8e3d7;border-radius:8px;background:#fff;color:#28332e;font:inherit}.collect-controls textarea:focus-visible{outline:3px solid #97b89b;outline-offset:2px}.collect-controls button{white-space:nowrap;align-self:center}.collect-panel .collect-feedback{margin-top:7px;min-height:18px}footer{display:flex;align-items:center;justify-content:space-between;color:#9aa49b;font-size:10px;border-top:1px solid var(--line);padding-top:5px}footer span{color:#a4ada5}@media(max-height:700px)and (min-width:901px){.app-shell{min-height:560px;grid-template-rows:52px minmax(0,1fr) 20px;gap:7px}.workspace{grid-template-rows:38px minmax(0,1fr) 48px;gap:7px 14px}.practice-card{padding:10px 14px 7px;grid-template-rows:21px 3px minmax(82px,1fr) auto 28px;gap:5px}.code-analysis-card{padding:10px 12px}.text-display{font-size:19px;line-height:1.65}.stat-card{padding:5px 12px}}@media(max-width:1080px)and (min-width:901px){.app-shell{padding-left:20px;padding-right:20px}.workspace{grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr);gap:9px 14px}.practice-card{padding-left:13px;padding-right:13px}.code-analysis-card{padding:12px}.stat-card{min-width:110px;padding:7px 11px}}@media(max-width:900px){.app-shell{height:auto;min-height:100svh;overflow:visible;padding:0 20px 12px;grid-template-rows:58px minmax(0,1fr) 24px}.workspace{display:flex;flex-direction:column;gap:10px}.main-column,.side-column{display:contents}.practice-toolbar{order:0;flex-wrap:wrap;padding:3px 0}.practice-card{order:1;height:min(650px,calc(100svh - 180px));min-height:480px;max-height:none}.code-analysis-card{order:2;min-height:420px;max-height:calc(100svh - 170px)}.stats-grid{order:3;flex-wrap:wrap}.book-panel{order:1}.mobile-pane-tabs{display:flex;width:100%;gap:4px;margin-left:0;padding:3px;background:#e9eee8;border-radius:9px}.mobile-pane-tabs button{flex:1;border:0;background:transparent;border-radius:7px;padding:7px 10px;color:#708073;font-size:12px}.mobile-pane-tabs button.selected{background:#fff;color:#3c5a42;box-shadow:0 1px 4px #253b2814}.mobile-pane-tabs .mobile-action{flex:0 0 auto;padding-left:7px;padding-right:7px;color:#4f6b52}.mobile-pane-hidden{display:none}.stat-card{flex:1;min-width:90px;justify-content:center}.side-column.book-mode,.utility-nav{display:none}}@media(max-width:600px){.app-shell{padding:0 12px 10px;gap:8px}.topbar{height:56px}.brand{gap:8px}.brand-mark{width:32px;height:32px;font-size:17px}.brand strong{font-size:14px}.brand small{font-size:9px}.header-actions{gap:2px}.nav{padding:8px 9px;font-size:12px}.icon-btn{font-size:11px;padding:7px 8px;margin-left:1px}.workspace{gap:8px}.practice-toolbar{align-items:flex-start}.practice-toolbar label{gap:6px;font-size:11px}.practice-toolbar select{max-width:48vw;padding:7px 20px 7px 8px;font-size:11px}.toolbar-right{gap:4px}.toolbar-progress{font-size:10px}.toolbar-right .text-button{font-size:11px;padding:6px}.mobile-pane-tabs{order:3;width:100%;margin:0}.mobile-pane-tabs button{flex:1}.practice-card{padding:11px 10px 8px;min-height:500px;max-height:none;grid-template-rows:22px 3px minmax(115px,1fr) auto 32px}.text-display{padding:9px;font-size:20px;line-height:1.75}.input-label{align-items:flex-start;flex-direction:column;gap:4px;padding:6px 9px}.code-hint-block{gap:4px}.code-hint kbd{min-width:19px;height:21px}.typing-area{padding:10px;min-height:46px}.caret-target{font-size:18px}.typing-placeholder{font-size:9px}.candidate-bar{gap:4px;padding:5px}.candidate-code{min-width:35px;font-size:10px}.candidate-bar>button{padding:5px 6px;font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-width:0;justify-content:flex-start;padding:7px 10px;border-bottom:1px solid #dce5db}.stat-card:nth-child(2){border-right:0}.stat-card:nth-child(n+3){border-bottom:0}.stat-card strong{font-size:15px}.code-analysis-card{padding:12px 10px;min-height:460px;max-height:none}.analysis-word{gap:8px}.analysis-word strong{font-size:23px}.analysis-flow{gap:4px}.analysis-part{padding:6px 4px}.character-split-grid{gap:6px}.character-split-card{padding:7px 6px}.split-piece{flex-basis:34px}.split-piece strong{font-size:15px}.split-piece small{font-size:7px}.analysis-footnote{font-size:9px}.mistake-list{grid-template-columns:1fr}.book-panel{padding:14px}.mistake-row{gap:8px;padding:9px}.mistake-info p{font-size:10px}footer{font-size:9px}footer span{display:none}.explanation-modal{padding:22px 17px}.session-row>span{font-size:10px}.collect-controls{flex-direction:column}.collect-controls button{align-self:flex-end}.collect-panel{padding:12px}}.collect-launch{border:1px solid #dce6da;color:#405b45!important;background:#f0f5ef!important}.collect-actions{display:flex;align-items:center;gap:14px;margin-top:12px}.collect-actions>span{font-size:11px;color:#78867b}.collected-terms{margin:14px 0 20px}.term-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.term-row{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.term-text{flex:0 0 auto;min-width:52px;text-align:center;color:#304637;font-size:23px;font-weight:600}.term-info{flex:1;min-width:0}.term-info strong{font:600 13px DM Mono,monospace;color:#4c694f}.term-info p,.term-info small{display:block;margin:4px 0 0;color:#7e8b80;font-size:10px;line-height:1.5}.term-info p{overflow-wrap:anywhere}.term-info small{color:#9aa39b}.pip-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#15231dcc}.pip-fallback{box-sizing:border-box;width:min(100%,400px);display:grid;gap:12px;padding:22px;border:1px solid #dce6da;border-radius:16px;background:#fff;box-shadow:0 20px 60px #0003}.pip-fallback>strong{font-size:18px;color:#304637}.pip-fallback>span{font-size:13px;line-height:1.5;color:#738075}.pip-fallback input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #cbd8c9;border-radius:9px;font:18px inherit}.pip-fallback>div{display:flex;flex-wrap:wrap;gap:8px}.pip-fallback .secondary{padding:10px 12px}@media(max-width:900px){.term-list{grid-template-columns:1fr}.collect-launch{display:none}.collect-actions{align-items:flex-start;flex-direction:column;gap:6px}}@media(min-width:901px){.app-shell{max-width:none;padding-left:clamp(16px,2vw,32px);padding-right:clamp(16px,2vw,32px)}.workspace{grid-template-columns:minmax(340px,.85fr) minmax(460px,1.15fr)}.practice-card{grid-template-rows:24px 3px minmax(88px,150px) auto 34px;align-content:start}.text-display{font-size:clamp(20px,1.5vw,25px);line-height:1.7}.code-analysis-card{padding:20px 22px}.analysis-title h2{font-size:21px}.analysis-word strong{font-size:36px}.analysis-word code{font-size:18px}.diagram-section-label{font-size:14px;margin:12px 0 10px}.analysis-part{padding:10px}.part-character{font-size:26px}.part-collection,.analysis-rule{font-size:12px}.part-code kbd{font-size:15px;min-width:28px;height:30px;padding:5px}.character-split-grid.chars-1{grid-template-columns:minmax(0,1fr)}.character-split-card{padding:14px}.split-card-heading strong{font-size:32px}.split-card-heading span{font-size:12px}.split-sequence{gap:6px}.split-piece{flex-basis:38px;grid-template-columns:1fr;padding:10px 4px;gap:5px}.split-piece strong{font-size:clamp(25px,2.2vw,36px);line-height:1.2;overflow-wrap:anywhere}.split-piece>span,.split-piece small{font-size:11px}.split-piece kbd{font-size:17px}.split-piece.recognition-piece strong{font-size:14px;line-height:1.4}.split-plus{font-size:18px}.split-complete-code,.analysis-footnote,.analysis-more{font-size:12px}.split-complete-code code{font-size:14px}.split-unavailable{font-size:13px}}@media(max-width:900px){.practice-card{grid-template-rows:22px 3px minmax(100px,160px) auto 32px;align-content:start}.split-card-heading strong{font-size:28px}.split-piece strong{font-size:23px}.split-piece>span,.split-piece small{font-size:10px}}.current-code-display{min-width:0;padding:12px 14px;background:#f4f8f2;border:1px solid #e1ebe0;border-radius:12px}.current-code-heading{display:flex;align-items:baseline;gap:12px;color:#748477}.current-code-heading>span{font-size:12px}.current-code-heading>strong{font-size:26px;color:#304b38}.current-code-heading>code{margin-left:auto;font:700 clamp(24px,2.5vw,38px) "DM Mono",monospace;letter-spacing:.12em;color:#355e3f}.current-code-parts{display:flex;gap:8px;margin-top:10px}.current-code-part{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 10px;padding:10px;background:#fff;border:1px solid #e4ebe2;border-radius:9px}.current-code-part>strong{font-size:25px;color:#304b38}.current-code-part>span{font-size:11px;color:#859286}.current-code-part>div{display:flex;gap:4px}.current-code-part kbd{min-width:30px;text-align:center;padding:4px 6px;border-radius:5px;background:#e8f1e7;color:#3d6145;font:700 20px DM Mono,monospace}.current-code-display>p{margin:8px 0 0;color:#829084;font-size:11px}@media(min-width:901px){.practice-card{grid-template-rows:24px 3px minmax(88px,150px) auto auto 34px}.character-split-grid.chars-1,.character-split-grid.chars-2{grid-template-columns:minmax(0,1fr)}.character-split-card{padding:16px 20px}.split-card-heading strong{font-size:38px}.split-piece{min-height:120px}.split-piece strong{font-size:clamp(36px,3.4vw,58px)}.split-piece.recognition-piece strong{font-size:16px}.split-piece kbd{font-size:22px}}@media(max-width:900px){.practice-card{height:auto;min-height:0;grid-template-rows:22px 3px minmax(100px,160px) auto auto 32px}.current-code-heading>code{font-size:26px}}@media(max-height:700px)and (min-width:901px){.practice-card{grid-template-rows:21px 3px minmax(75px,100px) auto auto 28px;overflow:auto}.current-code-display{padding:7px 10px}.current-code-parts{margin-top:5px}.current-code-part{padding:5px}.current-code-display>p{margin-top:4px}.split-piece{min-height:90px}}.virtual-keyboard{min-width:0;padding:10px 12px;border:1px solid #e1ebe0;border-radius:12px;background:#f7faf6}.keyboard-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#6c7c6e;font-size:11px}.keyboard-heading strong{font-size:12px;color:#415b47}.keyboard-heading span{color:#496b50}.keyboard-row{display:flex;justify-content:center;gap:4px;margin-top:4px}.keyboard-key{flex:1;max-width:52px;min-width:0;height:30px;display:grid;place-items:center;border:1px solid #dce6db;border-radius:6px;background:#fff;color:#617363;font:600 13px DM Mono,monospace;box-shadow:0 2px #e2eae0}.keyboard-key.next-key{border-color:#3c7650;background:#4d8159;color:#fff;box-shadow:0 0 0 3px #91bd9680;animation:keyboard-pulse 1.15s ease-in-out infinite}.keyboard-bottom .keyboard-space{max-width:230px;flex:5;font:600 11px system-ui,sans-serif}.keyboard-bottom .keyboard-backspace{max-width:70px;flex:1;font:600 11px system-ui,sans-serif}@keyframes keyboard-pulse{50%{background:#79a77f;box-shadow:0 0 0 5px #a3cba36b}}@media(prefers-reduced-motion:reduce){.keyboard-key.next-key{animation:none}}@media(min-width:901px){.practice-card{grid-template-rows:24px 3px minmax(75px,150px) auto auto 34px auto;overflow:auto}}@media(max-width:900px){.practice-card{grid-template-rows:22px 3px minmax(100px,160px) auto auto 32px auto}}@media(max-height:700px)and (min-width:901px){.practice-card{grid-template-rows:21px 3px minmax(75px,100px) auto auto 28px auto}.keyboard-key{height:24px}.virtual-keyboard{padding:7px 10px}.keyboard-heading{margin-bottom:4px}}.keyboard-row{justify-content:stretch}.keyboard-key{max-width:none;font-size:clamp(9px,.8vw,13px);white-space:nowrap}@media(min-width:901px){.practice-card{grid-template-rows:24px 3px minmax(75px,150px) auto 34px auto}.workspace .input-frame{grid-column:2;grid-row:2;align-self:start;z-index:1;margin:68px 22px 0;background:#fff}.code-analysis-card{padding-top:218px;position:relative}.analysis-title{position:absolute;top:20px;left:22px;right:22px}}@media(max-width:900px){.practice-card{grid-template-rows:22px 3px minmax(100px,160px) auto 32px auto}.workspace .input-frame{order:2;flex-shrink:0;background:#fff}.code-analysis-card{order:3}.stats-grid{order:4}}@media(max-height:700px)and (min-width:901px){.practice-card{grid-template-rows:21px 3px minmax(75px,100px) auto 28px auto}.workspace .input-frame{margin-top:52px;margin-left:12px;margin-right:12px}.code-analysis-card{padding-top:195px}.analysis-title{top:10px;left:12px;right:12px}}@media(min-width:901px){.code-analysis-card{position:static;display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:14px 16px}.code-analysis-card .input-frame{grid-column:auto;grid-row:auto;align-self:stretch;z-index:auto;flex:0 0 auto;margin:0;background:#fff}.analysis-details{display:flex;flex:1;min-height:0;flex-direction:column;gap:6px}.analysis-title{position:static;flex:0 0 auto;padding-bottom:6px}.analysis-title h2{font-size:18px}.character-diagram-label{flex:0 0 auto;margin:0;font-size:12px}.character-split-grid{flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:6px}.character-split-grid.chars-2{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}.character-split-grid.chars-1{grid-template-columns:minmax(0,1fr)}.character-split-card{display:flex;min-height:0;flex-direction:column;padding:8px 10px;overflow:hidden}.split-card-heading{flex:0 0 auto;margin-bottom:4px}.split-card-heading strong{font-size:clamp(22px,3vh,34px)}.split-sequence{flex:1;min-height:0;align-content:center;gap:3px}.split-piece{min-height:0;align-content:center;padding:4px 3px;gap:2px}.split-piece strong{font-size:clamp(22px,4vh,45px)}.split-piece.recognition-piece strong{font-size:clamp(11px,1.6vh,15px)}.split-piece kbd{font-size:clamp(13px,2.3vh,20px)}.split-piece>span,.split-piece small{font-size:10px}.split-plus{font-size:13px}.split-complete-code{flex:0 0 auto;margin-top:4px}.analysis-footnote{flex:0 0 auto;margin:0;font-size:10px}.analysis-more{align-self:flex-start;flex:0 0 auto;font-size:11px}.character-split-card .parse-limit{margin:3px 0 0;padding:3px 5px;font-size:10px;line-height:1.3}}@media(max-width:900px){.code-analysis-card{display:flex;flex-direction:column;gap:12px;max-height:none}.code-analysis-card .input-frame{order:0;margin:0}.analysis-details.mobile-pane-hidden{display:none}}.current-code-display{cursor:text}.current-code-display:focus{outline:2px solid #97b89b;outline-offset:2px}.current-code-display .candidate-bar{margin-top:8px;padding:6px 0;border-top:1px solid #dce8db}.current-code-display .inline-parse{display:block;margin-left:auto}@media(max-width:900px){.code-analysis-card:has(.analysis-details.mobile-pane-hidden){display:none}}.practice-card{--practice-line:36px}.text-display{height:calc(3 * var(--practice-line));padding:0 14px;font-size:22px;line-height:var(--practice-line);scroll-padding-block:0}.text-char.current{position:relative}.text-char.current:before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:3px;border-radius:2px;background:#3b7c4c;animation:cursor-blink 1s steps(2,start) infinite}@keyframes cursor-blink{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.text-char.current:before{animation:none}}@media(min-width:901px){.practice-card{grid-template-rows:24px 3px calc(3 * var(--practice-line)) auto 34px auto}}@media(max-width:900px){.practice-card{grid-template-rows:22px 3px calc(3 * var(--practice-line)) auto 32px auto}}@media(max-height:700px)and (min-width:901px){.practice-card{--practice-line:31px;grid-template-rows:21px 3px calc(3 * var(--practice-line)) auto 28px auto}.text-display{font-size:19px}}.current-code-heading .inline-parse{margin-left:auto;white-space:nowrap}.current-code-heading>code{margin-left:0}.colored-character{display:flex;align-items:center;gap:8px;min-width:0}.colored-character svg{width:clamp(52px,9vh,82px);height:clamp(52px,9vh,82px);flex:none}.colored-character small{font-size:10px;color:#859286;white-space:nowrap}.split-piece[style] strong,.split-piece[style] kbd{color:inherit}.split-piece[style]{background:color-mix(in srgb,currentColor 9%,white)}.root-glyph{display:block;width:100%;height:clamp(28px,5vh,58px);max-width:110px;margin:auto;overflow:visible}@media(max-height:850px)and (min-width:901px){.app-shell{min-height:620px;grid-template-rows:48px minmax(0,1fr) 18px;gap:6px;padding-bottom:5px}.workspace{grid-template-rows:34px minmax(0,1fr) 42px;gap:6px 14px}.practice-card{--practice-line:29px;grid-template-rows:20px 3px calc(3 * var(--practice-line)) auto 26px auto;gap:4px;padding:9px 12px;overflow:auto}.text-display{font-size:18px}.current-code-display{padding:6px 9px}.current-code-heading>strong{font-size:20px}.current-code-heading>code{font-size:24px}.current-code-parts{margin-top:4px;gap:5px}.current-code-part{padding:4px;gap:3px 6px}.current-code-part>strong{font-size:19px}.current-code-part kbd{font-size:15px;min-width:24px;padding:3px}.current-code-display>p{margin:3px 0 0}.current-code-display .candidate-bar{margin-top:3px;padding:3px 0;min-height:30px}.virtual-keyboard{padding:5px 8px}.keyboard-heading{margin-bottom:2px}.keyboard-row{gap:3px;margin-top:2px}.keyboard-key{height:23px}.code-analysis-card{padding:9px 12px;gap:4px}.analysis-details{gap:3px}.analysis-title{padding-bottom:3px}.analysis-title h2{font-size:16px}.analysis-title .eyebrow{margin-bottom:1px}.character-split-card{padding:5px 8px}.split-card-heading{margin-bottom:2px}.colored-character svg{width:40px;height:40px}.colored-character small{font-size:9px}.split-piece{padding:2px;gap:1px}.split-piece strong{font-size:clamp(19px,3.5vh,28px)}.split-piece kbd{font-size:13px}.split-piece small,.split-piece>span{font-size:9px}.split-complete-code{margin-top:2px}.analysis-footnote{font-size:9px}.analysis-more{padding:1px 0}}.collection-bag{position:fixed;z-index:70;width:116px;height:64px;color:#2c563e}.bag-toggle{width:116px;height:64px;display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #bed1bd;border-radius:18px;background:#f3f8ec;color:#2c563e;box-shadow:0 4px 18px #24422d24;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.bag-toggle>span{display:grid;gap:3px;text-align:left;font-size:12px;font-weight:600}.bag-toggle strong{font-size:19px;line-height:1}.bag-toggle small{font-size:11px;font-weight:400}.is-dragging .bag-toggle{cursor:grabbing;box-shadow:0 8px 25px #24422d40}.bag-pulse .bag-toggle svg{animation:bag-bounce .35s ease}@keyframes bag-bounce{50%{transform:translateY(-4px) rotate(-7deg)}}.bag-panel{box-sizing:border-box;position:absolute;width:360px;overflow:auto;padding:18px;background:#fffefa;border:1px solid #cdd9c8;border-radius:18px;box-shadow:0 16px 50px #17352030;color:#283b2e;overscroll-behavior:contain}.bag-panel[hidden]{display:none}.bag-panel-left{left:0}.bag-panel-right{right:0}.bag-panel-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:8px}.bag-drag-heading{cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.bag-caption{font-size:12px;color:#4d624f;margin:0 0 15px;line-height:1.6}.collection-composer{display:grid;gap:9px}.collection-composer label{font-size:13px;font-weight:600}.collection-composer textarea,.vocab-copy-fallback textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:80px;border:1px solid #a5b9a4;border-radius:10px;padding:10px;background:#fff;color:#263b2b;font:inherit;font-size:16px;line-height:1.6}.collection-fields>small{font-size:12px;line-height:1.6;color:#4e604f}.clipboard-read{width:100%;min-height:40px}.collection-preview{display:grid;gap:8px;padding:10px;border:1px dashed #c0d0b8;border-radius:10px;background:#f8faf3}.collection-preview>strong{font-size:12px}.collection-preview p{font-size:12px;margin:0;color:#475e4c}.collection-chips{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto}.collection-chips>span{display:flex;flex-wrap:wrap;align-items:center;gap:5px;border-radius:7px;background:#e9f0df;color:#2c5137;padding:5px 8px;font-size:14px;overflow-wrap:anywhere}.collection-chips small{font-size:10px;color:#3c5940}.collection-invalid{display:flex;align-items:center;gap:6px;font-size:12px;color:#8a352b;overflow-wrap:anywhere}.collection-invalid>span{min-width:0;flex:1}.collection-result{font-size:12px;color:#3d5b43;line-height:1.7;overflow-wrap:anywhere}.collection-result button{margin-left:7px;font-size:12px}.bag-actions{display:flex;flex-wrap:wrap;gap:8px;margin:5px 0}.bag-actions button{min-height:38px}.bag-recent{margin:14px 0;padding-top:12px;border-top:1px solid #e1e8dc}.bag-recent small{font-size:11px;color:#4d624f}.bag-recent p{font-size:13px;line-height:1.5;margin:5px 0}.bag-position-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:space-between;margin-top:12px}.bag-position-actions button{border:0;background:transparent;color:#466449;font:inherit;font-size:11px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.bag-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;background:#1a2d2166;padding:24px}.bag-dialog{box-sizing:border-box;width:min(900px,100%);max-height:90dvh;overflow:auto;overscroll-behavior:contain;padding:25px;background:#fffefa;border:1px solid #d3dfca;border-radius:20px;box-shadow:0 20px 80px #152b2333;color:#263b2c;outline:none}.bag-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.bag-dialog-heading h2{margin:0;font-size:23px}.vocab-tabs{display:flex;gap:8px;margin:20px 0 4px}.vocab-tabs button{border:1px solid #c3d1bd;background:#f7faf2;color:#39573f;border-radius:9px;padding:9px 14px;font:inherit;font-size:14px}.vocab-tabs .selected{background:#3e6246;color:#fff;border-color:#3e6246}.manager-notice{min-height:20px;font-size:13px;line-height:1.6;color:#3e5c43;margin:8px 0;overflow-wrap:anywhere}.bag-management-toolbar{display:flex;align-items:flex-end;gap:15px;justify-content:space-between;margin-bottom:14px}.bag-management-toolbar label,.vocab-append label,.vocab-generate label,.vocab-inline-form label{display:grid;gap:7px;font-size:13px;flex:1}.bag-management-toolbar span{font-size:12px;white-space:nowrap}.bag-dialog input:not([type=checkbox]),.bag-dialog select{box-sizing:border-box;width:100%;border:1px solid #aebfaa;border-radius:8px;padding:9px;background:#fff;color:#29402e;font:inherit;font-size:14px}.bag-dialog input[type=checkbox]{accent-color:#426b49;width:17px;height:17px;flex:none;margin:0}.vocab-select-all{display:flex;align-items:center;gap:9px;font-size:13px;margin:16px 0}.vocab-append,.vocab-inline-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:15px 0}.vocab-rows{display:grid;margin-top:12px}.vocab-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid #e0e7d9;padding:14px 0;min-width:0}.vocab-row>strong,.vocab-check>strong{font-size:20px;overflow-wrap:anywhere}.vocab-check{display:flex;align-items:center;gap:9px;min-width:105px}.vocab-row-info{display:grid;gap:5px;flex:1;min-width:150px;overflow-wrap:anywhere}.vocab-row-info code{font-size:13px;color:#375e3e}.vocab-row-info small{font-size:11px;color:#50624e;line-height:1.7}.vocab-row .text-button{font-size:12px}.vocab-status select{max-width:100px}.vocab-empty{padding:30px 10px;text-align:center;color:#50624e;line-height:1.8}.vocab-generate{display:grid;gap:12px}.vocab-generate h3{margin-bottom:0}.vocab-generate p{font-size:13px}.vocab-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:20px}.vocab-list-card{display:grid;gap:13px;text-align:left;border:1px solid #c8d6bf;border-radius:12px;background:#f4f8ed;color:#2b4932;padding:20px;font:inherit;overflow-wrap:anywhere}.vocab-list-card small{color:#53634e;font-size:12px}.vocab-list-card span{font-size:13px}.vocab-detail-heading{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.vocab-detail-heading h3{flex:1;min-width:150px;overflow-wrap:anywhere}.vocab-delete-confirm{background:#fff1e9;color:#73372d;padding:12px;border-radius:9px;font-size:13px}.vocab-copy-fallback{display:grid;gap:8px;font-size:13px;margin:15px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bag-pip-body{margin:0;padding:0!important;overflow:auto!important;height:auto!important;min-height:100vh;background:#fffefa;color:#263b2c;font-family:system-ui,sans-serif}.bag-pip-content{box-sizing:border-box;width:100%;padding:16px}.pip-fallback:has(.bag-pip-content){width:min(400px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:0;display:block}.bag-panel button:focus-visible,.bag-dialog button:focus-visible,.bag-toggle:focus-visible{outline:3px solid #428153;outline-offset:3px}@media(max-width:600px){.bag-panel{position:fixed;inset:auto 8px 8px;width:auto;max-height:80dvh!important;transform:none!important;padding:16px;border-radius:18px}.bag-dialog-backdrop{padding:8px}.bag-dialog{padding:17px;max-height:95dvh;border-radius:14px}.bag-dialog-heading h2{font-size:21px}.bag-management-toolbar{align-items:stretch;flex-direction:column;gap:8px}.vocab-row{gap:8px}.vocab-row-info{min-width:120px}.vocab-check{min-width:90px}.vocab-row>.text-button{padding:6px}.vocab-list-grid{grid-template-columns:1fr}.vocab-tabs button{padding:9px 10px;font-size:13px}.vocab-append label{flex-basis:100%}.vocab-detail-heading{gap:9px}.bag-drag-heading{touch-action:auto;cursor:default}}@media(prefers-reduced-motion:reduce){.bag-pulse .bag-toggle svg{animation:none}}.bag-dialog-compact{width:min(420px,100%);padding:18px}.bag-dialog-compact .bag-pip-content{padding:12px 0 0}.bag-dialog-compact .bag-dialog-heading h2{font-size:20px}@media(max-width:900px){.header-actions>.nav:first-child{display:none}}.bag-panel{display:flex;flex-direction:column;overflow:hidden}.bag-panel>.collection-composer{min-height:0;overflow-y:auto;flex:1 1 auto;padding-right:3px;scrollbar-width:thin}.bag-panel-heading,.bag-caption,.bag-recent,.bag-panel>.primary,.bag-position-actions{flex-shrink:0}.bag-panel>.primary{margin-top:3px}.bag-panel .bag-recent{margin:10px 0;padding-top:9px}@media(max-height:450px){.bag-panel{overflow:auto}.bag-panel>.collection-composer{overflow:visible;flex:none}}.collection-composer{display:flex;flex-direction:column}.collection-fields{display:grid;gap:9px}.collection-composer>.bag-actions,.collection-composer>.collection-result{flex-shrink:0}.bag-panel>.collection-composer{overflow:hidden}.bag-panel .collection-fields{min-height:0;overflow-y:auto;flex:1 1 auto;padding-right:3px;scrollbar-width:thin}@media(max-height:450px){.bag-panel>.collection-composer,.bag-panel .collection-fields{overflow:visible;flex:none}}.bag-pip-body .bag-pip-content{height:100dvh;display:flex;flex-direction:column;gap:10px;padding:14px;overflow:hidden}.bag-pip-content>.collection-composer{min-height:0;flex:1}.bag-pip-content .collection-fields{min-height:0;overflow-y:auto}.bag-pip-content .bag-recent{flex-shrink:0;margin:0;padding-top:8px}.bag-pip-content .bag-recent p{font-size:12px;overflow-wrap:anywhere}.bag-pip-content .bag-caption{font-size:12px;margin:0}.bag-pip-content>.full,.bag-pip-content>.bag-panel-heading{flex-shrink:0}.bag-pip-content button:focus-visible{outline:3px solid #428153;outline-offset:2px}.bag-training-overview{padding:18px;border:1px solid #cedbc8;background:#f4f8ee;border-radius:14px;margin-bottom:20px;color:#263b2c}.bag-training-heading{display:flex;justify-content:space-between;gap:12px}.bag-training-heading h3{margin:4px 0 12px;font-size:21px}.bag-training-heading small{color:#4d624f}.bag-training-overview p{font-size:13px;line-height:1.7}.bag-training-overview select{display:block;min-height:38px}.bag-training-overview summary{cursor:pointer;font-size:13px;padding:6px 0}.bag-statistics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bag-statistics span{display:flex;flex-direction:column;font-size:12px;gap:4px}.bag-statistics strong{font-size:20px;color:#284b31}.bag-plan-details{margin-top:12px}.bag-plan-details ul{max-height:160px;overflow:auto;font-size:13px;line-height:1.8}.bag-training-target{display:grid;gap:12px;text-align:center;padding:24px}.bag-training-target strong{font-size:56px}.bag-training-target span{font-size:13px;color:#4e604f}.bag-training-input{display:grid;gap:8px}.bag-training-input input{padding:12px;font:24px monospace;border:1px solid #81987d;border-radius:8px;text-transform:uppercase}.bag-training-notice{padding:12px;background:#f1f6eb;line-height:1.6}@media(max-width:480px){.bag-statistics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bag-training-overview{padding:12px}.bag-training-heading h3{font-size:18px}}@media(max-height:450px){.bag-pip-body .bag-pip-content{height:auto;min-height:100dvh;overflow:visible}.bag-pip-content .collection-fields{overflow:visible}.bag-pip-content .bag-recent{display:none}}.bag-actions[hidden]{display:none}.collection-bag.mascot-entry{width:116px;height:166px;color:#653719}.hungry-bag{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center}.hungry-button{position:relative;padding:0;width:116px;height:116px;background:none;border:0;cursor:pointer;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;filter:drop-shadow(0 5px 6px #9e5c1918);border-radius:40%}.hungry-button svg{width:100%;height:100%;overflow:visible;pointer-events:none}.hungry-button:focus-visible{outline:3px solid #8c4a18;outline-offset:4px}.hungry-creature{transform-origin:80px 125px;transition:transform .2s}.hungry-mouth{transform-origin:80px 97px;transform:scaleY(.05);opacity:0;transition:transform .2s,opacity .15s}.hungry-button:hover .hungry-creature{transform:translateY(-3px)}.hungry-button:hover .hungry-mouth,.hungry-button:focus-visible .hungry-mouth{transform:scaleY(.7);opacity:1}.frog-smile{transition:opacity .15s}.hungry-button:hover .frog-smile,.hungry-button:focus-visible .frog-smile,.hungry-eating .frog-smile{opacity:0}.hungry-caption{font-size:12px;font-weight:700;color:#6e3c1e;background:#fff8e9;border:1px solid #e9cba4;padding:4px 10px;border-radius:20px;white-space:nowrap;box-shadow:0 2px 8px #8b542014}.hungry-notice:empty{display:none}.hungry-notice{font-size:12px;line-height:1.6;color:#5e341b;background:#fffaf0;border:1px solid #e9cba4;border-radius:12px;padding:9px 12px;margin:8px 0 0;width:210px;max-width:calc(100vw - 30px);overflow-wrap:anywhere;box-shadow:0 4px 16px #5c35151a}.mascot-entry .hungry-notice,.mascot-entry .hungry-fallback{position:absolute;bottom:150px;right:0}.mascot-entry[style*="left: 12px"] .hungry-notice,.mascot-entry[style*="left: 12px"] .hungry-fallback{right:auto;left:0}.hungry-fallback{width:230px;padding:14px;background:#fffaf0;border:1px solid #e9cba4;border-radius:15px;box-shadow:0 5px 24px #50301525;z-index:2;color:#56351e;font-size:13px;text-align:left}.hungry-fallback textarea{display:block;width:100%;height:70px;margin:8px 0}.hungry-fallback button{margin-right:8px}.hungry-food{position:absolute;top:0;left:50%;background:#fffdf5;color:#6f3b1d;box-shadow:0 3px 12px #67361722;border:1px solid #f0c389;border-radius:9px;padding:5px 9px;white-space:nowrap;pointer-events:none;animation:hungry-swallow .7s ease-in forwards}.hungry-eating .hungry-creature{animation:hungry-gulp 1s ease-in-out}.hungry-eating .hungry-button .hungry-mouth{transform:scale(1);opacity:1}.mascot-pip{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;background:radial-gradient(ellipse at 50% 40%,#e6f2dc,#f8fbf4 75%)}.mascot-pip .hungry-button{--frog-size:150px;width:150px;height:150px}.mascot-pip-hint{font-size:12px;color:#79583f;line-height:1.6;text-align:center;margin:12px 0 0}.mascot-pip .hungry-fallback{margin-top:10px;max-width:100%}.bag-dialog .mascot-pip{min-height:260px;border-radius:16px}@keyframes hungry-swallow{0%{transform:translate(-50%,-12px) scale(1);opacity:1}70%{opacity:1}to{transform:translate(-50%,calc(var(--frog-size,116px) * .61)) scale(.05);opacity:0}}@keyframes hungry-gulp{0%,to{transform:scale(1)}35%{transform:scale(1.04,.96)}65%{transform:scale(1.1,1.06)}}@media(prefers-reduced-motion:reduce){.hungry-food,.hungry-eating .hungry-creature{animation-duration:.01ms}.hungry-creature,.hungry-mouth{transition:none}}.mascot-entry.mascot-near-top .hungry-notice,.mascot-entry.mascot-near-top .hungry-fallback{bottom:auto;top:150px}body.bag-pip-body{min-width:0}.mascot-pip .hungry-bag,.mascot-pip .hungry-notice{max-width:100%}.custom-practice{display:grid;gap:14px}.custom-practice>p{margin:0;color:#526458;font-size:13px;line-height:1.65}.custom-practice label{display:grid;gap:7px;font-size:14px;color:#304c3a}.custom-practice input,.custom-practice textarea{width:100%;padding:10px 12px;border:1px solid #cbd9c9;border-radius:8px;font:inherit;background:#fff;color:#273a2c}.custom-practice textarea{resize:vertical;min-height:150px}.custom-practice .primary{justify-self:start}.custom-upload{padding:12px;background:#f4f7f0;border-radius:10px}.custom-text-launch{white-space:nowrap}.practice-toolbar{flex-wrap:wrap}.practice-toolbar select{max-width:min(270px,42vw)}.hungry-button{filter:drop-shadow(0 5px 6px #235c301a)}.hungry-button:focus-visible{outline-color:#3b7b4f}.hungry-caption{color:#315d41;background:#f4fae9;border-color:#bfd5af;box-shadow:0 2px 8px #2c653014}.hungry-notice,.hungry-fallback{color:#31553d;background:#fbfdf5;border-color:#c9dbba}.hungry-food{color:#31553d;background:#fffef5;border-color:#bdd59e}.mascot-pip-hint{color:#526e50}.more-actions{display:grid;gap:10px;margin-top:20px}.more-actions>button{display:grid;gap:6px;padding:15px;text-align:left;border:1px solid #d9e3d4;border-radius:12px;background:#f5f8f0}.more-actions small{font-size:12px;color:#5e705e;line-height:1.6}.more-actions .danger-action{margin-top:10px;background:#fff8f3;color:#8a4536}.bag-collector-launch{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.bag-collector-launch p,.bag-mistakes>p{font-size:13px;color:#576c58}.bag-mistakes .mistake-list{margin-top:16px}.topbar .header-actions>.nav{display:inline-flex;align-items:center}.topbar .header-actions{flex-shrink:0}@media(max-width:600px){.topbar{gap:6px}.topbar .brand small{display:none}.topbar .header-actions{gap:0}.topbar .nav{padding:8px}.topbar .brand-mark{display:none}.topbar .brand strong{font-size:13px}.topbar .nav b{margin-left:3px}.bag-collector-launch .secondary{width:100%}}.account-workspace{min-height:100svh}.account-loading{min-height:100svh;display:grid;place-content:center;color:#52675c;background:#f5f3ec}.account-panel{display:grid;gap:16px;color:#3e5547;font-size:13px;line-height:1.8}.account-panel p{margin:0}.account-panel form,.account-panel label{display:grid;gap:7px}.account-panel input:not([type=checkbox]){width:100%;border:1px solid #d6ddcf;border-radius:8px;padding:11px 12px;background:#fffefa;color:#263b33;font:inherit}.account-panel .account-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#667366}.account-consent input{margin-top:6px;flex-shrink:0}.account-warning{background:#f7f1df;border:1px solid #e9ddbd;border-radius:9px;padding:12px;font-size:12px}.account-email{font-size:17px;font-weight:600;overflow-wrap:anywhere}.sync-state{display:grid;gap:4px}.sync-state small{color:#778577}.sync-error,.sync-conflict{color:#a35630}.account-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.account-notice{color:#546b58;white-space:pre-line}.account-backup{border-top:1px solid #e2e5d9;padding-top:12px;display:grid;gap:10px}.account-backup h3{margin:0;font-size:14px}.backup-upload{cursor:pointer}.backup-upload input{padding:5px!important;font-size:12px!important}.account-panel button:disabled{opacity:.5;cursor:not-allowed}.topbar .account-nav{padding-left:12px;padding-right:12px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-nav .account-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#a4b989}.account-dot.pending{background:#b98d44}.statistics-panel{color:#405648;font-size:13px;line-height:1.7}.statistics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.statistics-toolbar p{color:#70806f;margin:0}.statistics-toolbar [role=group]{display:flex;border-radius:8px;background:#edf0e6;padding:3px}.statistics-toolbar button{border:0;background:transparent;color:#526951;padding:6px 12px;border-radius:6px}.statistics-toolbar button.selected{background:#fffefa;box-shadow:0 1px 4px #283d2812}.learning-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 22px}.learning-metric{display:flex;flex-direction:column;gap:5px;background:#f3f5ed;border:1px solid #e3e8d9;border-radius:10px;padding:15px}.learning-metric strong{font-size:23px;color:#254c3e;font-variant-numeric:tabular-nums}.learning-metric span{font-size:12px;color:#6b7b65}.statistics-bars{display:flex;gap:4px;height:130px;align-items:flex-end;padding:10px 0;border-bottom:1px solid #dfe4d7}.statistics-bars>div{display:flex;align-items:center;flex:1;min-width:0;flex-direction:column;gap:5px}.statistics-bars span{display:block;width:80%;max-width:36px;background:linear-gradient(#769572,#395c44);border-radius:4px 4px 0 0}.statistics-bars small{font-size:10px;color:#758270}.learning-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-table{overflow:auto}.statistics-table table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px;text-align:left}.statistics-table caption{text-align:left;font-weight:600;padding:10px 0}.statistics-table td,.statistics-table th{border-bottom:1px solid #e6e9e0;padding:9px 10px}.statistics-table th{color:#697c62;font-weight:500;background:#f7f8f2}.statistics-footnote{font-size:11px;color:#798573;line-height:1.8;margin-top:16px}.statistics-panel h3{font-size:15px;margin:15px 0 7px}@media(max-width:600px){.topbar .nav.account-nav{padding:5px 7px;max-width:90px;font-size:11px}.topbar .header-actions{gap:0}.topbar .nav{padding-left:10px;padding-right:10px}.learning-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.learning-metric{padding:11px}.learning-metric strong{font-size:19px}.statistics-table td,.statistics-table th{padding:7px}.statistics-bars{gap:2px}.statistics-bars small{font-size:8px}}.statistics-empty{margin:8px 0;padding:10px 12px;border-radius:7px;background:#f5f2e8;color:#7b755e;font-size:12px}.account-workspace [hidden]{display:none!important}:root{--ink:#243e35;--muted:#62756b;--green:#1e5947;--green-soft:#edf3ee;--line:#dfe5dc;--paper:#fffefa;background:#f4f3ed;color:var(--ink);font-family:Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei,system-ui,sans-serif}.app-shell{max-width:none;width:100%;height:100svh;min-height:660px;padding:0 24px 8px;grid-template-rows:76px minmax(0,1fr) 20px;gap:10px}.topbar{position:relative;height:auto;border-bottom:1px solid #d8dfd3;gap:16px}.topbar:after{content:"";position:absolute;bottom:-1px;left:0;width:44px;height:3px;border-radius:2px;background:#ba9750}.topbar .brand{gap:12px;flex-shrink:0}.brand-logo{display:block;flex-shrink:0;filter:drop-shadow(0 3px 5px #204b3514)}.topbar .brand strong{font-size:23px;letter-spacing:.025em;line-height:1.3;font-weight:650;color:#23473b;display:block}.brand strong>span{font-weight:800;margin-right:5px}.topbar .brand small{display:block;font-size:11px;letter-spacing:.1em;color:#657b6c;margin-top:4px}.topbar .header-actions{gap:6px}.topbar .nav{padding:10px 18px;font-size:14px;color:#526a5d;border-radius:8px}.topbar .nav.active{background:#20543f;color:#fff;box-shadow:0 3px 8px #1b4a3912}.topbar .nav b{background:#dfe8d8;color:#395b3f}.workspace{grid-template-columns:minmax(0,1.35fr) minmax(380px,1fr);grid-template-rows:40px minmax(0,1fr) 46px;gap:12px 18px}.practice-toolbar{gap:12px;align-items:center;flex-wrap:nowrap}.practice-toolbar label{font-size:13px;color:#53665c;gap:10px}.practice-toolbar select{font-size:14px;font-weight:500;border-color:#d7dfd2;background:#fffefa;padding:8px 30px 8px 12px;max-width:250px}.practice-toolbar .text-button{font-size:13px}.toolbar-progress{font-size:12px;color:#62766a}.toolbar-right{gap:12px}.toolbar-right .text-button{white-space:nowrap}.practice-card,.code-analysis-card{background:#fffefa;border:1px solid #e0e5da;border-radius:14px;box-shadow:0 4px 20px #20382c04}.practice-card{padding:16px 18px;gap:10px;grid-template-rows:20px 3px minmax(120px,1fr) auto 30px auto;overflow:auto;--practice-line:38px}.practice-card-top{font-size:12px;color:#617568}.progress-label{font-weight:650;letter-spacing:.06em}.progress-track{background:#eef0e8}.progress-track>div{background:#48735b}.text-display{height:auto;min-height:0;padding:8px 3px;background:transparent;border-radius:0;font-size:clamp(22px,1.7vw,28px);line-height:var(--practice-line);color:#64776a;letter-spacing:.04em}.text-char.done{color:#a7b4a6}.text-char.current{color:#173e2e;background:#e7eddb;box-shadow:0 0 0 2px #e7eddb}.text-char.word-ahead{color:#35593f;background:#f1f3e9}.current-code-display{padding:12px 14px;border:0;border-radius:10px;background:#f0f4e9;box-shadow:inset 3px 0 #93ac7a}.current-code-display:focus{outline:0}.current-code-display:focus-visible{outline:2px solid #95af85;outline-offset:2px}.current-code-heading{gap:10px}.current-code-heading>span{font-size:12px;color:#617664}.current-code-heading>strong{font-size:26px;color:#264635}.current-code-heading>code{font-size:30px;letter-spacing:.12em}.current-code-parts{margin-top:8px;gap:12px}.current-code-part{border:0;background:transparent;padding:4px 8px;justify-content:flex-start;gap:6px}.current-code-part+.current-code-part{border-left:1px solid #d5dfcc;border-radius:0}.current-code-part>strong{font-size:23px}.current-code-part>span{font-size:12px;color:#617664}.current-code-part kbd{font-size:18px;min-width:24px;background:#fffefa;padding:3px 5px}.current-code-display>p{font-size:12px;color:#62715e;margin-top:5px}.current-code-display .candidate-bar{margin-top:8px;padding:7px 0 0;min-height:30px}.current-code-display .candidate-idle{display:none}.candidate-bar .candidate-code{font-size:13px}.candidate-empty{font-size:12px;color:#667963}.practice-bottom .notice{font-size:12px;color:#5f7063;line-height:1.5}.skip-btn{font-size:12px;color:#4f6b55}.virtual-keyboard{padding:10px 0 0;border:0;border-top:1px solid #e6e9df;border-radius:0;background:transparent}.keyboard-heading{margin-bottom:7px;color:#5b705f}.keyboard-heading strong,.keyboard-heading span{font-size:12px}.keyboard-row{gap:5px;margin-top:4px}.keyboard-key{height:28px;background:#f8f9f2;border-color:#e0e6d7;color:#647260;border-radius:5px;box-shadow:0 2px #dce3d3}.keyboard-key.next-key{background:#4d785c;color:#fff;border-color:#4d785c}.code-analysis-card{padding:16px;gap:12px;overflow:auto}.analysis-details{flex:0 0 auto;min-height:0;gap:10px;display:flex;flex-direction:column}.analysis-title{padding-bottom:10px;border-bottom:1px solid #e5e8df}.analysis-title h2{font-size:17px;color:#294d3b;font-weight:650}.analysis-live{font-size:11px;color:#70836e}.character-diagram-label{display:none}.character-split-grid,.character-split-grid.chars-1,.character-split-grid.chars-2{flex:none;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;gap:12px}.character-split-card{display:flex;flex-direction:column;overflow:visible;min-height:0;padding:0 0 12px;border:0;border-bottom:1px solid #e6e9df;border-radius:0;background:transparent;gap:6px}.character-split-card:last-child{border-bottom:0;padding-bottom:0}.split-card-heading{margin:0;gap:8px}.colored-character svg{width:64px;height:64px}.colored-character small,.split-card-heading>span{font-size:11px;color:#6b7e69}.split-card-heading strong{font-size:34px}.split-sequence{flex:none;min-height:0;gap:4px;align-content:start;align-items:stretch}.split-piece{flex:1 1 38px;min-height:110px;grid-template-columns:1fr;align-content:center;gap:3px;padding:8px 4px;border-radius:7px}.root-glyph{height:46px;max-width:90px}.split-piece strong{font-size:32px}.split-piece.recognition-piece strong{font-size:13px;line-height:1.5}.split-piece kbd{font-size:17px}.split-piece>span,.split-piece small{font-size:11px;color:#5f7363}.split-complete-code{margin:0;font-size:12px;gap:8px}.split-complete-code code{font-size:14px;padding:3px 6px}.character-split-card .parse-limit{margin:0;padding:3px 7px;font-size:11px;line-height:1.5;background:#f4f6ef;color:#647461}.analysis-footnote{font-size:11px;color:#6b7b68;line-height:1.6;margin:0}.analysis-more{font-size:12px;padding:3px 0;align-self:flex-start}.stats-grid{background:#ebeee4;border:0;border-radius:9px}.stat-card{flex:1;padding:7px 18px;min-width:0;gap:10px}.stat-card>span{font-size:12px;color:#5d725e}.stat-card strong{font-size:19px;color:#2a4d35}.stat-card small{font-size:11px}.app-shell>footer{font-size:10px;color:#70816d}.collection-bag.mascot-entry{width:80px;height:116px}.mascot-entry .hungry-button{--frog-size:80px;width:80px;height:80px}.mascot-entry .hungry-caption{padding:3px 6px;font-size:10px}.mascot-entry .hungry-notice,.mascot-entry .hungry-fallback{bottom:110px}.mascot-entry.mascot-near-top .hungry-notice,.mascot-entry.mascot-near-top .hungry-fallback{top:110px;bottom:auto}@media(min-width:1600px){.app-shell{padding-left:32px;padding-right:32px}.workspace{grid-template-columns:minmax(0,1.4fr) minmax(480px,1fr);gap:14px 22px}.practice-card{padding:20px 24px;--practice-line:44px}.colored-character svg{width:80px;height:80px}.split-piece{min-height:138px}.root-glyph{height:66px;max-width:120px}.current-code-heading>strong{font-size:30px}.current-code-heading>code{font-size:36px}.keyboard-key{height:32px}}@media(min-width:901px)and (max-height:850px){.app-shell{min-height:610px;grid-template-rows:64px minmax(0,1fr) 18px;gap:7px}.workspace{grid-template-rows:36px minmax(0,1fr) 40px;gap:8px 14px}.practice-card{padding:12px;gap:6px;--practice-line:32px;grid-template-rows:18px 3px minmax(90px,1fr) auto 26px auto}.current-code-display{padding:8px 10px}.keyboard-key{height:23px}.keyboard-row{margin-top:3px}.colored-character svg{width:48px;height:48px}.split-piece{min-height:94px}.root-glyph{height:36px}.code-analysis-card{padding:12px}.character-split-card{gap:4px}.character-split-grid{gap:9px}.current-code-heading>code{font-size:26px}}@media(max-width:900px){.app-shell{height:auto;min-height:100svh;overflow:visible;padding:0 16px 12px;grid-template-rows:72px minmax(0,1fr) 20px}.topbar .brand strong{font-size:20px}.topbar .brand small{font-size:10px}.workspace{display:flex;gap:12px}.practice-toolbar{flex-wrap:wrap}.practice-card{height:min(680px,calc(100svh - 190px));min-height:520px;grid-template-rows:20px 3px minmax(130px,1fr) auto 30px auto}.code-analysis-card{min-height:0;max-height:none}.code-analysis-card:has(.mobile-pane-hidden){display:none}.stats-grid{flex-wrap:wrap}.collection-bag.mascot-entry{z-index:70}.text-display{font-size:22px;line-height:36px}}@media(max-width:600px){.app-shell{padding:0 12px 10px;grid-template-rows:92px minmax(0,1fr) 20px;gap:8px}.topbar{flex-wrap:wrap;justify-content:space-between;gap:0;padding:9px 0 5px}.topbar .brand{gap:8px;width:100%;height:40px}.topbar .brand-logo{width:34px;height:34px}.topbar .brand strong{font-size:19px}.topbar .brand small{display:block;font-size:9px;letter-spacing:.03em;margin-top:1px}.topbar .header-actions{margin-left:auto;gap:2px}.topbar .nav{padding:5px 13px;font-size:12px}.topbar:after{width:34px}.practice-toolbar{gap:7px}.practice-toolbar label{font-size:11px;gap:6px}.practice-toolbar select{max-width:43vw;font-size:12px;padding:7px 22px 7px 8px}.practice-toolbar .text-button{font-size:12px}.toolbar-right{gap:8px}.toolbar-progress{font-size:11px}.practice-card{padding:12px;min-height:530px;height:auto;--practice-line:34px;grid-template-rows:20px 3px 136px auto 30px auto;gap:8px}.text-display{font-size:21px;line-height:34px}.current-code-heading{gap:7px}.current-code-heading>span{font-size:10px}.current-code-heading>strong{font-size:22px}.current-code-heading>code{font-size:24px}.current-code-display{padding:8px 10px}.current-code-part{padding:3px;gap:4px}.current-code-part>strong{font-size:22px}.current-code-part>span{font-size:10px}.current-code-part kbd{font-size:16px;min-width:20px}.inline-parse{font-size:10px}.keyboard-key{height:25px}.keyboard-row{gap:3px}.stats-grid{display:grid;grid-template-columns:1fr 1fr}.stat-card{padding:8px 10px;gap:7px}.stat-card strong{font-size:17px}.stat-card>span{font-size:11px}.app-shell>footer{max-width:calc(100% - 80px)}.mascot-entry .hungry-notice{max-width:240px}.app-shell{position:relative}.topbar .header-actions{margin-left:42px;margin-right:auto}.collection-bag.mascot-entry{position:absolute;left:auto!important;top:7px!important;right:12px;width:64px;height:80px}.mascot-entry .hungry-button{--frog-size:64px;width:64px;height:64px}.mascot-entry .hungry-caption{font-size:9px;padding:2px 4px}.mascot-entry .hungry-notice,.mascot-entry.mascot-near-top .hungry-notice,.mascot-entry .hungry-fallback,.mascot-entry.mascot-near-top .hungry-fallback{top:84px;bottom:auto;left:auto!important;right:0!important}}.practice-card{grid-template-rows:auto 3px minmax(120px,1fr) auto minmax(30px,auto) auto}.text-display{align-self:start;height:100%;height:round(down,100%,var(--practice-line));padding:0 3px}.practice-card-top{min-height:24px;gap:8px 12px;flex-wrap:wrap}.practice-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.practice-card-title .progress-label{white-space:nowrap}.practice-card-top .progress-label{color:#36543e}.practice-card-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:auto}.practice-card-actions>span{font-variant-numeric:tabular-nums;white-space:nowrap}.practice-card-actions .restart-practice{padding:3px 0 3px 14px;border-left:1px solid #dce4d5;border-radius:0;color:#536d57;font-size:12px;white-space:nowrap}.practice-card .custom-text-launch{font-size:12px;white-space:nowrap;padding:6px 10px;border:1px solid #d4dfcc;border-radius:8px;background:#edf2e7;color:#31563d}.practice-bottom{align-items:flex-start;gap:12px}.practice-bottom .notice{flex:1;min-width:0;margin:0;padding:4px 0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6}.practice-bottom .skip-btn{flex-shrink:0;padding:4px 0;white-space:nowrap}.keyboard-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}.keyboard-heading>strong{margin-right:auto}.keyboard-heading .keyboard-status{white-space:normal;line-height:1.6}.keyboard-toggle{border:0;border-left:1px solid #dce4d5;border-radius:0;padding:3px 0 3px 12px;background:transparent;color:#536d57;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.keyboard-toggle:hover,.restart-practice:hover{color:#174c35}.keyboard-toggle:focus-visible{outline:2px solid #708e64;outline-offset:3px}.split-review-details{color:#61715d;font-size:11px;line-height:1.6}.split-review-details summary{width:-moz-fit-content;width:fit-content;cursor:pointer;padding:4px 0}.split-review-details[open]{padding:5px 9px;background:#f2f5ed;border-radius:7px}.split-review-details p{margin:3px 0}.split-review-details summary:focus-visible{outline:2px solid #708e64;outline-offset:2px}.split-card-heading{flex-wrap:wrap}.analysis-more{margin-top:3px;color:#456449}@media(min-width:901px)and (max-height:850px){.practice-card{grid-template-rows:auto 3px minmax(90px,1fr) auto minmax(28px,auto) auto}}@media(max-width:900px){.practice-card{grid-template-rows:auto 3px minmax(130px,1fr) auto minmax(30px,auto) auto}}@media(max-width:600px){.practice-card{min-height:0;grid-template-rows:auto 3px 136px auto auto auto}.practice-card-top,.practice-card-actions{gap:8px}.practice-card-actions .restart-practice{padding-left:8px;font-size:11px}.practice-toolbar label{flex:1}.practice-toolbar select{flex:1;max-width:none;min-width:0}.practice-card .custom-text-launch{font-size:11px;padding:7px 8px}.practice-bottom{gap:7px}.practice-bottom .notice{font-size:11px}.keyboard-heading{gap:4px 8px}.keyboard-heading .keyboard-status{font-size:11px}.keyboard-toggle{font-size:11px;padding-left:8px}}.practice-toolbar{justify-content:flex-start}.practice-mode-tabs{display:flex;flex-shrink:0;padding:3px;gap:3px;background:#e8ede2;border-radius:9px}.practice-mode-tabs button{border:0;padding:7px 13px;border-radius:6px;background:transparent;color:#5e735e;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}.practice-mode-tabs button[aria-selected=true]{color:#204c35;background:#fffefa;font-weight:650;box-shadow:0 1px 5px #2c482314}.practice-mode-tabs button:focus-visible{outline:2px solid #6b8a5b;outline-offset:2px}.bag-home-toolbar{display:flex;align-items:center;flex:1;min-width:0;gap:12px;justify-content:space-between}.bag-home-toolbar>span{font-size:12px;color:#657661}.practice-card.bag-plan-card{display:block;min-height:0;overflow:auto}.bag-plan-card .bag-training-overview{padding:8px 4px;margin:0;border:0;background:transparent}.bag-plan-card .bag-training-heading h3{font-size:25px;margin:8px 0 22px}.bag-plan-card .bag-statistics{padding:16px 0;border-top:1px solid #e0e7d8;border-bottom:1px solid #e0e7d8;gap:12px}.bag-plan-card .bag-statistics strong{font-size:22px}.bag-plan-card .bag-training-overview>p{line-height:1.8;margin:20px 0}.bag-completion{padding:16px;margin-bottom:14px;background:#edf3e6;border-radius:10px;color:#315a3d}.bag-completion strong{font-size:21px}.bag-completion p{font-size:13px;line-height:1.7;margin-bottom:0}.text-display.bag-targets{height:100%;padding:3px 0;align-self:stretch;line-height:1.5}.bag-target-chip{display:inline-block;margin:0 8px 8px 0;padding:5px 11px;font-size:21px;border:1px solid #e2e8db;border-radius:8px;color:#6b7b66}.bag-target-chip.current{color:#244c32;background:#e8efdc;border-color:#94ad79;font-weight:650}.bag-target-chip.done{color:#9ca994;background:#f6f8f1}.current-code-display>.bag-current-source{color:#647359;font-size:11px}.practice-session-status{margin-left:10px;color:#71816a;font-size:10px;font-weight:400;letter-spacing:0}@media(max-width:1050px)and (min-width:901px){.practice-mode-tabs button{padding:7px 10px;font-size:12px}.practice-toolbar{gap:8px}.practice-toolbar select{max-width:180px}}@media(max-width:900px){.practice-mode-tabs{width:100%}.practice-mode-tabs button{flex:1}.bag-home-toolbar{width:100%;flex-basis:100%}.bag-plan-card .bag-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-card.bag-plan-card{height:auto}.practice-card.mobile-pane-hidden{display:none}}:root{--ink: #263b33;--muted: #64716b;--green: #254c3e;--green-soft: #edf1eb;--line: #e0e2d9;--paper: #fffefa;--brass: #a88b57;background:#f3f2ec;color:var(--ink)}body{background:radial-gradient(ellipse at 8% 0%,#fbf9f3 0,transparent 55%),#f3f2ec}.topbar{border-bottom-color:#dcded4}.topbar:after{width:44px;height:2px;background:var(--brass)}.brand-logo{filter:drop-shadow(0 3px 4px #163a2920)}.topbar .brand{gap:13px}.topbar .brand strong{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;font-size:26px;font-weight:700;letter-spacing:.14em;line-height:1.35;color:#203c31}.topbar .brand small{font-size:10px;letter-spacing:.13em;color:#67746b;margin-top:3px}.topbar .nav{border:1px solid transparent;color:#53675b;padding:8px 18px}.topbar .nav.active{background:#254c3e;border-color:#234736;box-shadow:inset 0 1px #ffffff15,0 3px 8px #243b2710}.topbar .nav:not(.active):hover{background:#e8ede4}.practice-mode-tabs{background:#e8eae2;border:1px solid #e0e3d8;padding:3px}.practice-mode-tabs button{color:#526759;padding:6px 15px}.practice-mode-tabs button[aria-selected=true]{background:#fffefa;color:#244835;box-shadow:0 1px 4px #263b2412,inset 0 -2px #b9a278}.practice-toolbar select{background:#fcfcf8;border-color:#d6dcd0;color:#3f5346}.practice-card .custom-text-launch{background:#fcfcf8;border-color:#d4dbcf;color:#3b5644}.practice-card .custom-text-launch:hover{background:#eef2e8;border-color:#a7b69f}.practice-card,.code-analysis-card{background:#fffefa;border:1px solid #e0e2d8;border-radius:13px;box-shadow:0 2px 3px #293d2b03,0 8px 26px #293d2b04,inset 0 1px #fff}.practice-card-top .progress-label{color:#36503f;font-size:12px}.progress-track{height:2px;background:#ebeee5}.progress-track>div{background:#a18c61}.text-display{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;font-weight:500;color:#647268;letter-spacing:.07em}.text-char.current{background:#e5ecdf;color:#173d2b;box-shadow:0 0 0 2px #e5ecdf,0 3px #ad986c}.text-char.word-ahead{background:#f0f3ea;color:#3f5b47}.text-char.done{color:#b0b8aa}.current-code-display{background:linear-gradient(115deg,#f2f4eb,#f7f8f1);border:1px solid #e0e6d6;border-radius:10px;box-shadow:inset 3px 0 #a3af88}.current-code-display:focus{outline:none}.current-code-display:focus-visible{outline:2px solid #9ba984;outline-offset:3px}.current-code-heading>strong{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;font-weight:700;color:#263f2e}.current-code-heading>span,.current-code-part>span{color:#62715e}.current-code-heading>code{letter-spacing:.15em}.current-code-part kbd{border:1px solid #e5e8da;background:#fffffb;box-shadow:0 1px 2px #34472b06}.candidate-bar>button{background:#fafcf6;border:1px solid #dbe3d2}.candidate-bar>button.word-candidate{background:#eaf0e2;color:#284b32}.candidate-bar>button:hover{background:#e2ebd8;border-color:#9caf8b}.practice-bottom .notice,.practice-bottom .skip-btn{color:#5e6d61}.virtual-keyboard{border-top-color:#e1e5d9}.keyboard-key{color:#60715e;background:linear-gradient(#fffefb,#f2f4ec);border:1px solid #dfe4d6;border-radius:5px;box-shadow:0 2px #e0e5d7;font-weight:500}.keyboard-key.next-key{background:#3b654b;color:#fffdf3;border-color:#315b40;box-shadow:0 2px #244831,inset 0 1px #ffffff20}.analysis-title{border-bottom-color:#e4e5db;padding-bottom:12px}.analysis-title h2{display:flex;align-items:center;gap:9px;color:#2e4837;font-weight:600;font-size:16px;letter-spacing:.04em}.analysis-title h2:before{content:"";width:3px;height:15px;border-radius:1px;background:#b09a6c}.analysis-live{color:#69786b;font-size:10px;letter-spacing:.04em;padding:3px 7px;border:1px solid #e3e7db;border-radius:5px;background:#f7f8f1}.character-split-card{border-bottom-color:#e7e8de}.split-piece{border:1px solid #ffffffb3;border-radius:8px;box-shadow:inset 0 1px #ffffff50}.split-review-details,.split-complete-code{color:#687463}.split-complete-code code{border:1px solid #e4e8dc;background:#f4f6ee}.analysis-more{border-bottom-color:#bcc7b1;color:#446448}.stats-grid{background:#eeefe7;border:1px solid #e1e4d7;border-radius:9px}.stat-card{border-right-color:#dce1d3}.stat-card>span{color:#68745f}.stat-card strong{color:#304d35;font-weight:600;letter-spacing:-.03em}.stat-card small{color:#69755f}.bag-target-chip{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;background:#fffefa}.bag-target-chip.current{background:#ecf1e3;border-color:#a4b18e;box-shadow:inset 0 -2px #b1a07a}.bag-plan-card .bag-training-heading{padding-bottom:4px}.bag-plan-card .bag-training-heading h3{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;letter-spacing:.03em;color:#284533}.bag-plan-card .bag-statistics{border-color:#e4e7db}.bag-plan-card .bag-statistics strong{color:#305038;font-weight:600}.bag-training-overview summary{color:#586d50}.primary{background:#31563e;border:1px solid #31563e;box-shadow:inset 0 1px #ffffff15,0 3px 8px #263e2710}.primary:hover{background:#244831}.secondary{background:#fcfcf7;border-color:#d3ddca;color:#3d593f}.bag-dialog-backdrop,.modal-backdrop{background:#1a2b235c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.bag-dialog,.explanation-modal{background:#fffefa;border:1px solid #e0e4d6;border-radius:16px;box-shadow:0 24px 80px #142a2333}.bag-dialog-heading{padding-bottom:14px;border-bottom:1px solid #e7eadf}.bag-dialog-heading h2{font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif;color:#284633}.vocab-tabs{gap:4px;padding:4px;border-radius:9px;background:#edf0e6}.vocab-tabs button{background:transparent;border-color:transparent;font-size:13px;padding:8px 13px}.vocab-tabs .selected{background:#fffefa;color:#315338;border-color:#dfe5d6;box-shadow:0 1px 3px #223f2510}.bag-dialog input:not([type=checkbox]),.bag-dialog select{border-color:#ced7c5;background:#fdfef9}.vocab-row{border-top-color:#e5e8dd}.vocab-check>strong,.vocab-row>strong{color:#2d4836;font-family:"Noto Serif CJK SC",Songti SC,SimSun,serif}.more-actions>button{background:#f6f8f0;border-color:#e0e6d7}.app-shell>footer{border-top-color:#dfe3d7;color:#6d7866}button,select{transition:background-color .15s,border-color .15s,box-shadow .15s}@media(min-width:1600px){.topbar .brand strong{font-size:28px}.topbar .brand-logo{width:48px;height:48px}}@media(max-width:900px){.topbar .brand strong{font-size:24px}.mobile-pane-tabs{background:#e9ede3;border:1px solid #e1e6d7}.mobile-pane-tabs button.selected{color:#2d5038;background:#fffefa}}@media(max-width:600px){.topbar .brand{gap:10px}.topbar .brand strong{font-size:22px;letter-spacing:.12em}.topbar .brand small{font-size:9px;letter-spacing:.07em;margin-top:1px}.topbar .nav{padding:5px 13px}.practice-mode-tabs button{padding:6px 13px}.analysis-title h2{font-size:15px}.bag-dialog{border-radius:13px}}@media(prefers-reduced-motion:reduce){button,select{transition:none}}
