:root{color:#10234f;font-synthesis:none;text-rendering:optimizelegibility;--navy:#10234f;--blue:#3569ed;--blue-soft:#f1f5ff;--coral:#ff5b55;--mint:#2dbb8a;--page:#f6f8fc;--surface:#fff;--border:#dbe3f1;--muted:#62708f;--shadow:0 20px 55px #1f3a6f17;--shadow-soft:0 8px 26px #1f3a6f12;background:#fff;font-family:Inter,Noto Sans HK,PingFang HK,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}html{background:var(--page)}body{background:var(--page);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #3569ed47}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{background:var(--page);grid-template-columns:268px minmax(0,1fr);min-height:100vh;display:grid}.side-rail{z-index:10;border-right:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;flex-direction:column;width:268px;padding:30px 18px 24px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 30px #1f3a6f09}.brand{white-space:nowrap;letter-spacing:-.02em;align-items:center;gap:12px;padding:2px 10px 20px;font-size:19px;font-weight:800;display:flex}.brand svg{width:30px;height:30px;color:var(--blue);stroke-width:2.4px}.profile-switcher{background:#f4f7ff;border:1px solid #d9e4f8;border-radius:17px;margin-bottom:22px;padding:12px}.profile-current{grid-template-columns:22px 1fr;align-items:center;gap:2px 8px;padding:1px 3px 10px;display:grid}.profile-current svg{width:21px;color:var(--blue);grid-row:1/span 2}.profile-current span{font-size:13px;font-weight:750}.profile-current small{color:var(--muted);font-size:11px}.profile-options{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.profile-options button{min-width:0;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;gap:2px;padding:8px 5px;display:grid}.profile-options button[aria-pressed=true]{color:var(--blue);background:#fff;border-color:#b8c9ed;box-shadow:0 5px 14px #2b4d8b14}.profile-options button strong{font-size:13px}.profile-options button small{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.mobile-profile-bar{display:none}.side-rail nav{gap:10px;display:grid}.nav-item{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;align-items:center;gap:15px;min-height:58px;padding:0 17px;font-size:16px;font-weight:600;transition:background .16s,color .16s;display:flex;position:relative}.nav-item svg{stroke-width:2px;width:23px;height:23px}.nav-item:hover{background:#f3f6fc}.nav-item.active{color:var(--blue);background:#eaf1ff;box-shadow:inset 0 0 0 1px #3569ed0d}.nav-item.active:before{content:"";background:var(--blue);border-radius:0 6px 6px 0;width:4px;position:absolute;top:9px;bottom:9px;left:-18px}.rail-footer{color:var(--muted);gap:21px;margin-top:auto;padding:0 16px 4px;font-size:13px;display:grid}.rail-footer span{align-items:center;gap:12px;display:flex}.rail-footer svg{width:19px}.workspace{background:var(--page);grid-column:2;width:100%;min-height:100vh;padding:58px clamp(34px,6vw,96px) 72px;overflow:hidden}.mobile-nav{display:none}.page-enter{animation:.26s ease-out both page-in}.mobile-heading-break{display:none}@keyframes page-in{0%{transform:translateY(8px)}to{transform:none}}.page-heading{margin:0 0 32px}.page-heading p,.simple-page>header p{color:var(--muted);margin:0 0 10px;font-size:14px;font-weight:600}.page-heading h1,.simple-page>header h1{letter-spacing:-.045em;max-width:760px;margin:0;font-size:clamp(31px,3.2vw,44px);line-height:1.16}.page-heading h1 span{color:var(--blue)}.dashboard{max-width:1180px;margin:0 auto}.dashboard-hero{grid-template-columns:minmax(390px,.9fr) minmax(400px,1.1fr);align-items:center;gap:22px;min-height:302px;display:grid}.daily-goal{box-shadow:var(--shadow);background:var(--surface);border:1px solid #d3def1e6;border-radius:22px;padding:36px 40px}.goal-title{align-items:center;gap:17px;display:flex}.goal-title svg{width:37px;height:37px;color:var(--blue)}.goal-title h2{margin:0;font-size:21px}.progress-line{background:#e7edf9;border-radius:99px;height:8px;margin:29px 0 33px;overflow:hidden}.progress-line span{background:var(--blue);border-radius:inherit;height:100%;transition:width .4s;display:block}.primary-button,.outline-button{letter-spacing:.005em;cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:0 24px;font-size:15px;font-weight:750;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s;display:inline-flex}.primary-button{color:#fff;background:var(--coral);width:100%;box-shadow:0 12px 24px #ff5b5533}.primary-button:hover:not(:disabled){background:#f74f49;transform:translateY(-1px);box-shadow:0 16px 30px #ff5b553d}.primary-button.compact,.outline-button.compact{width:auto;min-width:172px;min-height:44px}.primary-button svg,.outline-button svg{width:20px}.grammar-practice-entry{width:100%;margin-top:12px}.dashboard-hero>img{object-fit:contain;mix-blend-mode:multiply;width:100%;max-height:315px}.quick-stats{grid-template-columns:repeat(3,1fr);gap:24px;margin:30px 0 22px;display:grid}.quick-stats>div{border:1px solid var(--border);background:var(--surface);min-height:88px;box-shadow:var(--shadow-soft);border-radius:18px;align-items:center;gap:18px;padding:18px 28px;display:flex}.quick-stats svg{width:42px;height:42px;color:var(--mint);background:#e9f8f2;border-radius:50%;padding:10px}.quick-stats span{font-size:16px;font-weight:600}.quick-stats strong{color:var(--mint);margin:0 4px;font-size:25px}.weekly-test-card{box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#fff 0%,#eef5ff 55%,#fff7f2 100%);border:1px solid #3569ed2e;border-radius:22px;grid-template-columns:1fr auto;align-items:center;gap:22px;margin:26px 0 22px;padding:24px 26px;display:grid}.weekly-test-card span{width:fit-content;color:var(--blue);background:#e4edff;border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:12px;font-weight:850;display:inline-flex}.weekly-test-card span svg{width:16px;height:16px}.weekly-test-card h2{letter-spacing:-.025em;margin:12px 0 7px;font-size:22px}.weekly-test-card p{max-width:720px;color:var(--muted);margin:0;line-height:1.6}.adaptive-note{box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#fff 0%,#f0f6ff 100%);border:1px solid #dbe8fb;border-radius:18px;margin:0 0 35px;padding:18px 22px}.adaptive-note strong{color:var(--blue);font-size:15px}.adaptive-note p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.55}.learning-path h2{margin:0 0 18px;font-size:18px}.stage-row{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:20px;grid-template-columns:repeat(6,1fr);gap:14px;padding:28px 30px;display:grid}.stage{color:var(--muted);text-align:center;justify-items:center;gap:10px;font-size:14px;font-weight:650;display:grid;position:relative}.stage:not(:last-child):after{content:"";border-top:2px dotted #ccd8ee;width:calc(100% - 60px);position:absolute;top:31px;left:calc(50% + 39px)}.stage-number{z-index:2;width:22px;height:22px;color:var(--navy);background:#dfe8f8;border-radius:50%;place-items:center;font-size:12px;display:grid;position:absolute;top:-4px;left:calc(50% - 33px)}.stage-icon{background:var(--blue-soft);border:1px solid var(--border);border-radius:50%;place-items:center;width:66px;height:66px;display:grid}.stage-icon svg{width:28px;height:28px}.stage.active{color:var(--blue)}.stage.active .stage-number{color:#fff;background:var(--blue)}.stage.active .stage-icon{border:2px solid var(--blue);background:#fff}.encouragement{color:#526485;text-align:center;background:#eef4ff;border:1px solid #dce6f8;border-radius:14px;margin:22px 0 0;padding:15px 18px;font-size:13px}.lesson-card,.pronunciation,.exercise,.results{max-width:960px;margin:20px auto 0}.lesson-progress{align-items:center;gap:22px;margin-bottom:26px;font-size:16px;display:flex}.lesson-progress>span{background:#e7edf9;border-radius:99px;flex:1;height:7px;overflow:hidden}.lesson-progress i{border-radius:inherit;background:var(--blue);height:100%;display:block}.word-card{border:1px solid var(--border);box-shadow:var(--shadow);background:var(--surface);border-radius:22px;padding:32px 36px 26px}.word-heading{border-bottom:1px solid var(--border);grid-template-columns:74px 1fr auto;align-items:center;gap:24px;padding:12px 0 28px;display:grid;position:relative}.icon-button{border:1px solid var(--border);width:62px;height:62px;color:var(--navy);cursor:pointer;background:#fff;border-radius:14px;place-items:center;display:grid}.icon-button:hover{color:var(--blue);background:var(--blue-soft)}.icon-button svg{width:28px}.word-heading h1,.pronunciation-word h1{letter-spacing:-.04em;margin:0;font-size:clamp(38px,5vw,60px);line-height:1}.word-heading p{color:var(--muted);margin:10px 0 8px}.word-heading strong{color:var(--blue);font-size:17px}.word-mark{color:#9cb3dc;stroke-width:1.3px;width:54px;height:54px}.definition{padding:28px 0 10px;font-size:18px;line-height:1.65}.definition>p{margin:0 0 20px}.example{border-left:3px solid var(--blue);align-items:center;gap:13px;padding-left:15px;display:flex}.example button{color:var(--blue);cursor:pointer;background:0 0;border:0;padding:5px}.playback-status{color:#526485;background:var(--blue-soft);border-radius:10px;margin:4px 0 0;padding:10px 13px;font-size:12px}.lesson-actions{color:var(--muted);justify-content:space-between;align-items:center;gap:20px;margin-top:26px;font-size:13px;display:flex}.sentence-card{border:1px solid var(--border);box-shadow:var(--shadow);background:linear-gradient(140deg,#fff 0%,#f7faff 100%);border-radius:24px;padding:34px 38px 30px}.sentence-header{gap:10px;margin-bottom:24px;display:grid}.sentence-kicker{width:fit-content;color:var(--blue);background:#e9f0ff;border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex}.sentence-kicker svg{width:16px;height:16px}.sentence-header h1{letter-spacing:-.045em;margin:0;font-size:clamp(34px,4vw,50px)}.sentence-header p{max-width:640px;color:var(--muted);margin:0;line-height:1.65}.sentence-panel{box-shadow:var(--shadow-soft);background:#fff;border:1px solid #d9e5f8;border-radius:22px;padding:34px 34px 28px;position:relative;overflow:hidden}.sentence-quote{color:#dce7fb;stroke-width:1.4px;width:58px;height:58px;position:absolute;top:19px;right:22px}.sentence-line{z-index:1;letter-spacing:-.035em;max-width:780px;color:var(--navy);margin:0 0 24px;font-size:clamp(24px,3vw,36px);font-weight:800;line-height:1.35;position:relative}.sentence-focus{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.sentence-focus span{color:var(--blue);background:var(--blue-soft);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800}.sentence-hint{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.sentence-actions{justify-content:space-between;align-items:center;gap:14px;margin-top:24px;display:flex}.pronunciation-word{text-align:center;margin:12px 0 26px}.pronunciation-word p{color:var(--muted);margin:0 0 12px}.pronunciation-word span{color:var(--blue);margin-top:13px;font-weight:600;display:block}.speech-panel{background:var(--surface);box-shadow:var(--shadow);border:1px solid #d6e1f4;border-radius:24px;grid-template-columns:1fr 210px 1fr;place-items:center;gap:20px;padding:38px 46px 30px;display:grid}.speech-panel.recording{border-color:#ff5b5561;box-shadow:0 22px 60px #ff5b551f}.speech-panel.ready{border-color:#2dbb8a52}.outline-button{min-height:50px;color:var(--navy);background:#fff;border:1px solid #aebbd2;box-shadow:0 4px 12px #1f3a6f0a}.outline-button:hover{color:var(--blue);border-color:var(--blue)}.mic-button{color:#fff;background:var(--blue);cursor:pointer;border:10px solid #f3f6fc;border-radius:50%;flex-direction:column;grid-area:1/2/span 2;justify-content:center;align-items:center;gap:9px;width:152px;height:152px;display:flex;box-shadow:0 0 0 8px #3569ed14,0 20px 38px #3569ed33}.mic-button:hover:not(:disabled){transform:translateY(-2px)}.mic-button svg{width:40px;height:40px}.mic-button.recording{background:var(--coral);animation:1.15s ease-in-out infinite mic-pulse;box-shadow:0 0 0 8px #ff5b551a,0 20px 40px #ff5b5540}.mic-button.starting svg,.mic-button.processing svg{animation:1s linear infinite spin}.mic-button.ready{background:var(--mint);box-shadow:0 0 0 8px #2dbb8a1a,0 20px 40px #2dbb8a33}.mic-button.error{background:#7b8aa8}.mic-label{max-width:100px;font-size:12px;font-weight:800;line-height:1.2}@keyframes mic-pulse{50%{box-shadow:0 0 0 22px #3569ed14,0 18px 34px #ff5b5540}}.waveform{grid-column:1/-1;align-items:center;gap:4px;height:42px;display:flex}.waveform i{opacity:.55;background:#9eafd0;border-radius:3px;width:3px;transform:scaleY(.55)}.waveform.active i{background:var(--coral);opacity:.85;animation:.76s ease-in-out infinite alternate wave;animation-delay:calc(var(--wave-index,0) * 40ms)}.waveform.active i:nth-child(3n){animation-delay:.12s}.waveform.active i:nth-child(4n){animation-delay:.21s}@keyframes wave{to{transform:scaleY(1.12)}}@keyframes spin{to{transform:rotate(360deg)}}.recording-review{background:#f2fbf7;border:1px solid #d8e6e1;border-radius:16px;grid-column:1/-1;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:16px;width:min(620px,100%);padding:14px 18px;display:grid}.recording-review audio{width:100%;min-width:0;height:40px}.recording-review p{color:#315b4c;margin:0;font-size:13px}.speech-status{min-height:50px;color:var(--muted);text-align:center;background:#f7f9fd;border:1px solid #e0e7f2;border-radius:15px;grid-column:1/-1;justify-content:center;align-items:center;gap:9px;margin:0;padding:12px 20px;display:flex}.speech-status.success{color:#15815e;border:1px solid #8ad9bf}.speech-status.close{color:#765a11;background:#fffaf0;border-color:#ead58f}.speech-status.error{color:#983f3b;background:#fff5f4;border-color:#efb5b1}.speech-status svg{width:20px}.speech-score{color:inherit;margin-left:4px}.exercise-top{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:26px;display:flex}.exercise-top p{color:var(--blue);margin:0 0 7px;font-weight:700}.exercise-top h1{margin:0;font-size:34px}.mini-progress{background:#e7edf9;border-radius:99px;width:260px;height:7px;overflow:hidden}.mini-progress span{background:var(--blue);height:100%;display:block}.reading-passage{border-left:4px solid var(--blue);background:var(--blue-soft);border-radius:0 16px 16px 0;margin-bottom:24px;padding:25px 29px}.reading-passage h2{color:var(--blue);margin:0 0 12px;font-size:15px}.reading-passage p{color:#304266;margin:0;font-size:15px;line-height:1.85}.question-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:var(--surface);border-radius:22px;padding:32px}.question-panel>h2{margin:0 0 24px;font-size:21px;line-height:1.5}.answer-options{gap:11px;display:grid}.answer-options button{border:1px solid var(--border);min-height:56px;color:var(--navy);text-align:left;cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:13px;padding:9px 16px;display:flex}.answer-options button>span{width:30px;height:30px;color:var(--muted);background:var(--blue-soft);border-radius:8px;flex:none;place-items:center;font-weight:700;display:grid}.answer-options button:hover:not(:disabled),.answer-options button.selected{border-color:var(--blue);background:#f8faff}.answer-options button.correct{background:#effbf7;border-color:#55cda4}.answer-options button.wrong{background:#fff5f4;border-color:#ff8e89}.answer-feedback{border-radius:13px;gap:12px;margin-top:20px;padding:16px 18px;display:flex}.answer-feedback.correct{color:#176f54;background:#effbf7}.answer-feedback.incorrect{color:#983f3b;background:#fff3f2}.answer-feedback svg{flex:none;width:21px}.answer-feedback strong{margin-bottom:5px;display:block}.answer-feedback p{color:#4e5d78;margin:0;font-size:13px;line-height:1.5}.question-actions{justify-content:flex-end;margin-top:22px;display:flex}.results{text-align:center;padding-top:35px}.result-icon{color:#f3a925;background:#fff8df;border-radius:50%;place-items:center;width:92px;height:92px;margin:0 auto 18px;display:grid}.result-icon svg{width:45px;height:45px}.results>p{color:var(--muted)}.results>h1{margin:9px 0 35px;font-size:40px}.result-summary{border:1px solid var(--border);border-radius:18px;grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.result-summary>div{gap:7px;padding:26px 15px;display:grid}.result-summary>div+div{border-left:1px solid var(--border)}.result-summary strong{color:var(--blue);font-size:31px}.result-summary span{color:var(--muted);font-size:13px}.adaptive-result-card{max-width:520px;box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#fff 0%,#f0f6ff 100%);border:1px solid #dbe8fb;border-radius:18px;margin:22px auto 0;padding:20px}.adaptive-result-card span{color:var(--blue);background:#e7efff;border-radius:999px;margin-bottom:7px;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.adaptive-result-card strong{color:var(--navy);letter-spacing:-.035em;font-size:33px;display:block}.adaptive-result-card p{color:var(--blue);margin:6px 0 4px;font-weight:800}.adaptive-result-card small{color:var(--muted);line-height:1.5}.result-actions{flex-wrap:wrap;justify-content:center;gap:14px;margin-top:28px;display:flex}.grammar-score{color:var(--blue);letter-spacing:-.04em;margin:0 auto 12px;font-size:48px;display:block}.grammar-set-results>p{max-width:560px;margin-inline:auto}.simple-page{max-width:1100px;margin:0 auto}.simple-page>header{margin-bottom:28px}.simple-page>header h1{font-size:38px}.empty-state{border:1px dashed var(--border);text-align:center;min-height:380px;color:var(--muted);border-radius:18px;align-content:center;place-items:center;display:grid}.empty-state svg{width:54px;height:54px;color:var(--mint)}.empty-state h2{color:var(--navy);margin:18px 0 6px}.empty-state p{margin:0}.review-list{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:20px;overflow:hidden}.review-header{min-height:46px;color:var(--muted);background:var(--blue-soft);text-transform:uppercase;grid-template-columns:1fr 220px;align-items:center;padding:0 25px;font-size:12px;font-weight:700;display:grid}.review-list article{border-top:1px solid var(--border);grid-template-columns:38px 1fr 220px;align-items:center;gap:15px;min-height:118px;padding:20px 25px;display:grid}.review-list article>svg{color:var(--blue)}.review-list small{color:var(--blue);font-weight:700}.review-list h2{margin:5px 0 7px;font-size:16px}.review-list p{color:var(--muted);margin:0;font-size:13px}.review-list article>strong{color:var(--mint)}.search-box{border:1px solid var(--border);border-radius:14px;align-items:center;gap:12px;max-width:560px;height:54px;margin-bottom:24px;padding:0 18px;display:flex}.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px #3569ed14}.search-box svg{width:20px;color:var(--muted)}.search-box input{width:100%;color:var(--navy);background:0 0;border:0;outline:0}.word-table{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:20px;overflow:hidden}.word-row{border-top:1px solid var(--border);grid-template-columns:220px 1fr 75px 44px;align-items:center;gap:18px;min-height:74px;padding:12px 20px;display:grid}.word-row:first-child{border-top:0}.word-row>div{align-items:baseline;gap:10px;display:flex}.word-row strong{font-size:17px}.word-row span,.word-row small{color:var(--muted)}.word-row p{margin:0;font-size:14px}.word-row button{width:40px;height:40px;color:var(--blue);background:var(--blue-soft);cursor:pointer;border:0;border-radius:10px;place-items:center;display:grid}.word-row button svg{width:19px}.progress-overview{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.progress-overview>div{border:1px solid var(--border);background:var(--surface);min-height:170px;box-shadow:var(--shadow-soft);border-radius:20px;align-content:center;justify-items:center;gap:9px;display:grid}.progress-overview svg{color:var(--blue)}.progress-overview strong{font-size:36px}.progress-overview span{color:var(--muted);font-size:13px}.level-roadmap{background:var(--blue-soft);border-radius:18px;margin-top:24px;padding:28px}.level-roadmap h2{margin:0 0 9px}.level-roadmap p{color:var(--muted)}.level-roadmap>span{background:#dce6f8;border-radius:99px;height:9px;margin-top:22px;display:block;overflow:hidden}.level-roadmap i{background:var(--blue);height:100%;display:block}.writing-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);align-items:stretch;gap:22px;display:grid}.writing-prompt-card,.writing-recorder,.writing-draft,.parent-child-card,.parent-setting-card,.parent-sync-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:22px}.writing-prompt-card{align-content:start;gap:17px;padding:28px;display:grid}.writing-prompt-card>span{width:fit-content;color:var(--blue);background:var(--blue-soft);border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:12px;font-weight:850;display:inline-flex}.writing-prompt-card svg{width:18px}.writing-prompt-card h2{letter-spacing:-.035em;margin:0;font-size:clamp(22px,2.6vw,32px);line-height:1.32}.writing-prompt-card p{color:var(--muted);margin:0;line-height:1.65}.writing-prompt-card .outline-button{width:fit-content}.writing-task-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.writing-task-meta div{background:var(--blue-soft);border-radius:13px;padding:11px 12px}.writing-task-meta dt{color:var(--blue);text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:850}.writing-task-meta dd{color:#34476e;margin:0;font-size:12px;line-height:1.45}.writing-recorder{align-content:center;justify-items:center;gap:16px;min-height:330px;padding:26px;display:grid}.writing-recorder .mic-button{grid-area:auto;position:static}.writing-recorder .waveform,.writing-recorder .speech-status,.writing-recorder .recording-review{grid-column:auto;width:100%}.writing-draft{gap:12px;margin-top:22px;padding:22px;display:grid}.writing-draft>span,.parent-setting-card label>span{color:var(--navy);font-weight:850}.writing-draft textarea{resize:vertical;width:100%;min-height:260px;color:var(--navy);background:#fbfcff;border:1px solid #cfdaf0;border-radius:17px;padding:18px;line-height:1.75}.writing-actions{justify-content:flex-end;gap:12px;margin-top:16px;display:flex}.writing-score-card{box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#fff 0%,#f4f8ff 100%);border:1px solid #d8e6f7;border-radius:22px;margin-top:22px;padding:24px}.writing-score-hero{justify-items:start;gap:7px;display:grid}.writing-score-hero>span{color:#15815e;background:#e9f8f2;border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:12px;font-weight:850;display:inline-flex}.writing-score-hero h2{letter-spacing:-.035em;margin:0;font-size:28px}.writing-score-hero strong{color:var(--blue);letter-spacing:-.04em;font-size:42px}.writing-score-hero p{color:var(--muted);margin:0}.writing-score-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.writing-score-grid article{border:1px solid var(--border);background:#fff;border-radius:16px;padding:16px}.writing-score-grid article div{color:var(--blue);justify-content:space-between;gap:12px;font-weight:850;display:flex}.writing-score-grid article p{color:var(--muted);margin:9px 0 0;font-size:13px;line-height:1.55}.writing-feedback-row{grid-template-columns:.65fr 1.35fr;gap:14px;margin-top:14px;display:grid}.writing-feedback-row section{border:1px solid var(--border);background:#fff;border-radius:16px;padding:16px}.writing-feedback-row h3{margin:0 0 8px;font-size:15px}.writing-feedback-row p,.writing-feedback-row ul{color:var(--muted);margin:0;line-height:1.6}.writing-feedback-row ul{padding-left:18px}.parent-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.parent-sync-card{background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%);justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:18px;display:flex}.parent-sync-card div{gap:5px;display:grid}.parent-sync-card strong{color:var(--navy)}.parent-sync-card span{color:var(--muted);font-size:13px;font-weight:750}.parent-child-card{padding:24px}.parent-child-title{align-items:center;gap:14px;display:flex}.parent-child-title svg{width:42px;height:42px;color:var(--blue);background:var(--blue-soft);border-radius:50%;padding:10px}.parent-child-title div{gap:3px;display:grid}.parent-child-title strong{font-size:22px}.parent-child-title span{color:var(--muted);font-size:13px}.parent-metrics{grid-template-columns:repeat(2,1fr);gap:9px;margin:20px 0 14px;display:grid}.parent-metrics span{color:var(--blue);background:var(--blue-soft);border-radius:12px;padding:10px 12px;font-size:13px;font-weight:800}.parent-child-card p{color:var(--muted);margin:0}.parent-child-card p strong{color:var(--navy)}.parent-settings-panel{gap:14px;margin-top:22px;display:grid}.parent-setting-card{grid-template-columns:42px 1fr;align-items:start;gap:14px;padding:18px;display:grid}.parent-setting-card>svg{width:42px;height:42px;color:var(--mint);background:#e9f8f2;border-radius:14px;padding:10px}.parent-setting-card label{gap:9px;display:grid}.parent-setting-card input,.parent-setting-card textarea{width:100%;color:var(--navy);background:#fbfcff;border:1px solid #cfdaf0;border-radius:14px;padding:13px 14px;line-height:1.55}.parent-setting-card textarea{resize:vertical;min-height:94px}.parent-actions{color:var(--muted);flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;display:flex}.parent-save-status{color:#15815e;font-weight:800}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=980px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.side-rail{width:220px}.brand span{font-size:15px}.workspace{padding:42px 28px 55px}.dashboard-hero{grid-template-columns:1fr}.dashboard-hero>img{display:none}.speech-panel{grid-template-columns:1fr 150px 1fr;padding-inline:24px}}@media (width<=760px){.app-shell{display:block}.side-rail{display:none}.mobile-profile-bar{background:var(--page);padding:12px 18px 0;display:block}.mobile-profile-bar .profile-switcher{max-width:520px;margin:0 auto;padding:10px 12px}.mobile-profile-bar .profile-current{padding-bottom:7px}.workspace{min-height:100vh;padding:20px 18px 104px}.mobile-nav{z-index:20;height:84px;padding:7px 8px max(7px, env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 28px #1f3a6f0f}.mobile-nav button{color:var(--muted);background:0 0;border:0;align-content:center;place-items:center;gap:3px;font-size:11px;font-weight:650;display:grid}.mobile-nav button.active{color:var(--blue)}.mobile-nav svg{width:21px;height:21px}.page-heading{margin-bottom:22px}.page-heading p{font-size:12px}.page-heading h1{max-width:330px;font-size:30px}.mobile-heading-break{display:initial}.dashboard-hero{min-height:0;display:block}.daily-goal{border-radius:17px;padding:24px 20px}.goal-title h2{font-size:17px}.goal-title svg{width:29px}.progress-line{margin:22px 0 24px}.dashboard-hero>img{object-fit:cover;object-position:58% 38%;border:1px solid var(--border);border-radius:17px;width:100%;height:190px;margin-top:16px;display:block}.quick-stats{grid-template-columns:1fr;gap:10px;margin:16px 0 18px}.quick-stats>div{gap:8px;min-height:70px;padding:12px}.quick-stats svg{width:32px;height:32px;padding:7px}.quick-stats span{font-size:12px}.quick-stats strong{font-size:18px}.weekly-test-card{border-radius:18px;grid-template-columns:1fr;margin:16px 0 18px;padding:18px}.weekly-test-card h2{font-size:18px}.weekly-test-card p{font-size:13px}.weekly-test-card .primary-button{width:100%}.learning-path h2{font-size:16px}.stage-row{gap:1px;padding:17px 7px}.stage-icon{width:42px;height:42px}.stage-icon svg{width:18px}.stage-number{width:16px;height:16px;font-size:9px;left:calc(50% - 22px)}.stage{gap:6px;font-size:9px}.stage:not(:last-child):after{width:calc(100% - 28px);top:21px;left:calc(50% + 24px)}.encouragement{font-size:11px;line-height:1.5}.word-card{margin-top:0;padding:22px 18px 18px}.lesson-progress{margin-bottom:18px}.word-heading{grid-template-columns:50px 1fr;gap:14px}.word-mark{display:none}.icon-button{width:48px;height:48px}.word-heading h1,.pronunciation-word h1{font-size:40px}.definition{font-size:15px}.lesson-actions{flex-direction:column;align-items:stretch}.sentence-card{border-radius:20px;margin-top:0;padding:22px 18px 18px}.sentence-header{gap:8px;margin-bottom:18px}.sentence-header h1{font-size:33px}.sentence-header p{font-size:13px}.sentence-panel{border-radius:18px;padding:26px 18px 20px}.sentence-quote{width:42px;height:42px;top:14px;right:14px}.sentence-line{font-size:24px}.sentence-actions{flex-direction:column;align-items:stretch}.primary-button.compact,.outline-button.compact{width:100%}.speech-panel{border-radius:20px;grid-template-columns:1fr 1fr;padding:27px 15px 20px}.mic-button{border-width:8px;grid-area:1/1/auto/-1;width:132px;height:132px}.mic-button svg{width:34px;height:34px}.speech-panel .outline-button{grid-row:2;width:100%;padding-inline:12px;font-size:13px}.waveform{grid-row:3}.recording-review{grid-row:4;grid-template-columns:1fr;padding:13px}.speech-status{grid-row:5;width:100%;font-size:12px}.exercise-top{flex-direction:column;align-items:flex-start;gap:15px}.exercise-top h1{font-size:28px}.mini-progress{width:100%}.question-panel{padding:22px 16px}.question-panel>h2{font-size:18px}.answer-options button{font-size:14px}.reading-passage{max-height:260px;padding:19px;overflow:auto}.result-summary{grid-template-columns:1fr 1fr}.result-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.result-summary>div:nth-child(4){border-top:1px solid var(--border)}.result-actions{flex-direction:column-reverse}.result-actions button{width:100%}.review-header{display:none}.review-list article{grid-template-columns:30px 1fr;padding:17px 14px}.review-list article>strong{grid-column:2}.word-row{grid-template-columns:1fr 42px;gap:7px;padding:14px}.word-row>p{grid-column:1}.word-row>small{display:none}.word-row>button{grid-area:1/2/span 2}.progress-overview{grid-template-columns:1fr}.progress-overview>div{min-height:125px}.writing-layout,.parent-overview,.writing-task-meta,.writing-score-grid,.writing-feedback-row{grid-template-columns:1fr}.writing-prompt-card,.writing-recorder,.writing-draft,.parent-child-card,.parent-sync-card{border-radius:18px}.parent-sync-card{flex-direction:column;align-items:stretch}.writing-prompt-card,.writing-recorder,.writing-draft{padding:18px}.writing-prompt-card h2{font-size:22px}.writing-prompt-card .outline-button,.writing-actions .outline-button{width:100%}.writing-draft textarea{min-height:220px}.parent-metrics,.parent-setting-card{grid-template-columns:1fr}.parent-actions .primary-button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
