:root{color-scheme:light;--paper:#f5f3eb;--ink:#223b37;--muted:#60726c;--green:#285d4b;--line:#d6ded3;--mint:#e0eddf;--yellow:#f5e6ab;--blue:#e2ebf2;--white:#fffefa;--radius:25px;font-family:ui-rounded,"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #477dad;outline-offset:4px}button svg,a svg{flex:none}.icon{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.05rem,5vw,3.1rem);letter-spacing:-.055em;line-height:1.12;font-weight:760}h2{font-size:clamp(1.6rem,3vw,2.1rem);letter-spacing:-.035em;line-height:1.23}h3{font-size:1.2rem;letter-spacing:-.02em}p{line-height:1.55}a{color:inherit}.app-shell{width:min(1040px,100%);margin:auto;padding:max(26px,env(safe-area-inset-top)) 34px max(30px,env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:36px}.brand{display:flex;align-items:center;gap:12px;font-size:.85rem;font-weight:750;letter-spacing:.05em}.brand-icon{display:grid;place-items:center;background:var(--green);color:white;width:43px;height:43px;border-radius:14px}.brand-icon .icon{width:24px;height:24px}.nav-link,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:none;border:0;color:var(--muted);padding:12px 4px;text-decoration:none;font-size:.95rem;font-weight:650;min-height:48px}.nav-link:hover,.text-button:hover{color:var(--green)}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.15em;color:var(--muted);margin-bottom:12px}.hero{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:0 0 28px}.hero p:not(.eyebrow){color:var(--muted);margin-top:15px;font-size:1.1rem}.lesson-art{position:relative;flex:none;width:155px;height:144px;display:grid;place-items:center;background:var(--yellow);border-radius:44% 50% 43% 42%;transform:rotate(-7deg)}.lesson-art>.icon{width:80px;height:80px;stroke-width:1.35;transform:rotate(7deg)}.lesson-art span{position:absolute;right:-9px;bottom:0;background:var(--green);color:white;width:47px;height:47px;display:grid;place-items:center;border:6px solid var(--paper);border-radius:50%}.lesson-heading{font-size:1rem;color:var(--muted);display:flex;align-items:center;gap:10px;margin:34px 0 16px}.lesson-heading strong{color:var(--ink);font-weight:650}.concept-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.tag{border:1px solid var(--line);padding:7px 13px;border-radius:999px;font-size:.87rem;color:var(--muted);background:#ffffff60}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mode-card{background:var(--mint);border-radius:var(--radius);padding:28px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;min-height:275px;border:1px solid #d0dfca}.mode-card.say{background:var(--blue);border-color:#d5e1eb}.mode-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:27px}.mode-icon{width:48px;height:48px;background:#fff9;display:grid;place-items:center;border-radius:15px}.mode-icon .icon{width:28px;height:28px}.mode-card h2{font-size:2rem;margin-bottom:8px}.mode-card p{color:var(--muted);font-size:1rem;margin-bottom:22px;max-width:300px}.pill{border-radius:100px;background:#fff9;color:var(--muted);font-size:.78rem;font-weight:650;padding:7px 10px;display:inline-flex;align-items:center;gap:5px}.pill .icon{width:15px;height:15px}.pill.done{background:var(--green);color:white}.primary,.secondary,.rating{min-height:54px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:11px;border:1px solid transparent;padding:13px 22px;font-size:1.05rem;font-weight:680}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#1d4c3d}.secondary{background:var(--white);color:var(--ink);border-color:var(--line)}.secondary:hover:not(:disabled){background:#f0f5ed;border-color:#9bad9d}.mode-card .primary{margin-top:auto}.mode-card.say .primary{background:#365976}.mode-footer{display:flex;gap:6px;margin-top:14px;font-size:.82rem;color:var(--muted);align-items:center}.mode-footer .icon{width:16px;height:16px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:27px;color:var(--muted);font-size:.85rem}.sync-line{font-size:.78rem;display:flex;align-items:center;gap:8px}.sync-dot{width:6px;height:6px;border-radius:50%;background:#88a68b}.session-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.session-heading h1{font-size:1.45rem;letter-spacing:-.025em}.session-heading .eyebrow{font-size:.7rem;margin-bottom:5px}.step-badge{font-size:.83rem;color:var(--muted);background:#e9eee4;padding:10px 14px;border-radius:99px;text-align:center}.progress-track{height:5px;background:#e0e5d9;border-radius:10px;margin-bottom:20px;overflow:hidden}.progress-track span{display:block;height:100%;background:#819d80;border-radius:10px;transition:width .2s}.question-card{background:var(--white);border:1px solid #e0e3d8;border-radius:var(--radius);padding:28px 32px;box-shadow:0 4px 24px #29433304}.question-layout{display:grid;grid-template-columns:minmax(200px,.9fr) minmax(250px,1.1fr);gap:30px;align-items:center}.scene{min-height:205px;background:#f0f1e4;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px 20px;text-align:center;gap:18px}.scene.toys,.scene.hats{background:#f8eacb}.scene.numbers{background:#e4eee8}.scene-heading{font-size:1.05rem;font-weight:600;max-width:290px}.scene-grid{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;max-width:265px}.scene-grid .icon{width:50px;height:50px;stroke-width:1.45}.scene-grid.many .icon{width:39px;height:39px}.scene-number{font-size:6rem;font-weight:730;letter-spacing:-.055em;line-height:1}.question-content h2,.speaking-cue{font-size:clamp(1.6rem,3vw,2.1rem);color:var(--ink);line-height:1.3}.question-content h2{margin:12px 0 15px}.speaking-cue{font-weight:700}.instruction{color:var(--muted);font-size:1rem;margin-bottom:17px}.listen-button{background:#eaf0e6;border:0;border-radius:99px;padding:11px 16px;min-height:47px;color:var(--green);font-size:.95rem;display:inline-flex;align-items:center;gap:9px;font-weight:650}.listen-button:hover{background:#dce8d8}.answer-area{margin-top:28px;padding-top:25px;border-top:1px solid #e5e7dc}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.choice{background:white;border:2px solid var(--line);color:var(--ink);font-size:1.5rem;font-weight:650;border-radius:16px;min-height:76px;padding:16px;display:flex;align-items:center;justify-content:center;gap:10px}.choice[aria-pressed=true]{border-color:var(--green);background:#e5efdf;box-shadow:0 0 0 1px var(--green)}.choice:hover:not(:disabled){border-color:#7d9a84}.question-actions{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:23px}.word-tray{background:#f4f6f0;border:1px dashed #afbdad;border-radius:15px;padding:13px;display:flex;flex-wrap:wrap;gap:9px;min-height:80px;align-items:center;margin-bottom:15px}.word-tray:empty:before{content:"Tap the words below.";color:var(--muted);padding:5px}.word-bank{display:flex;gap:9px;flex-wrap:wrap}.word{font-size:1.2rem;border:1px solid #cbd5c6;background:white;border-radius:11px;padding:12px 16px;min-height:52px;color:var(--ink);box-shadow:0 2px 0 #dce2d4}.word-tray .word{background:var(--mint);border-color:#aabfa7}.help-note,.notice{padding:14px 17px;border-radius:13px;background:#fff1cb;color:#705c2e;font-size:.98rem;line-height:1.5;margin-top:18px}.help-note strong{display:block;font-size:.85rem;margin-bottom:3px}.answer-reveal{background:#edf3e8;border-radius:17px;padding:23px;margin-top:22px}.answer-reveal h3{font-size:1.4rem;line-height:1.4;margin:8px 0 14px}.answer-reveal>p{font-size:.88rem;color:var(--muted)}.accepted{color:var(--muted);font-size:.92rem;margin-top:12px}.parent-label{font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:23px 0 10px;font-weight:700}.ratings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.rating{background:#fff;border-color:var(--line);padding:15px 12px;font-size:1rem}.rating:first-child{background:#e5eedf}.rating:nth-child(2){background:#fcf0cb}.parent-note{font-size:.9rem;color:var(--muted);line-height:1.5}.feedback{margin-top:22px;padding:21px;border-radius:17px;background:#e5efdf}.feedback.retry{background:#fcf0d1}.feedback h3{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:1.3rem}.feedback>p{font-size:1rem;margin-bottom:12px}.correction-label{color:var(--muted);font-size:.9rem;margin:15px 0}.audio-status{min-height:21px;color:var(--muted);font-size:.82rem;margin-top:14px}.error{background:#fae9df;color:#88462a;padding:13px 17px;border-radius:13px;line-height:1.5;margin:17px 0}.concept-list{display:grid;gap:14px;margin-top:25px}.concept-card{background:var(--white);border:1px solid var(--line);border-radius:19px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px}.concept-card p{font-size:.93rem;color:var(--muted);margin-top:7px}.round-card,.loading-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:45px;margin-top:25px}.round-card{text-align:center;max-width:730px;margin:35px auto}.round-mark{display:grid;place-items:center;background:var(--mint);color:var(--green);border-radius:24px;width:82px;height:82px;margin:0 auto 24px}.round-mark .icon{width:45px;height:45px;stroke-width:1.5}.round-card h1{font-size:2.6rem;margin-bottom:17px}.round-card>p{color:var(--muted);margin:12px auto;max-width:490px}.round-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:27px}.summary-intro{color:var(--muted);margin-top:14px;max-width:700px}.summary-section{margin-top:30px}.summary-section>h2{margin-bottom:14px;font-size:1.55rem}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.summary-card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:21px}.summary-card h3{font-size:1.05rem;margin-bottom:17px}.stat-row{display:flex;justify-content:space-between;font-size:.9rem;gap:10px;margin:10px 0;color:var(--muted)}.stat-row strong{color:var(--ink)}.summary-card .pill{margin-top:14px;background:#eef2e8}.review-note{font-size:.8rem;color:var(--muted);line-height:1.5;margin-top:14px}.small-note{font-size:.83rem;color:var(--muted);line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1100px){.app-shell{padding-top:34px}.hero{padding-top:12px}.question-card{padding:33px 37px}}
@media(max-width:650px){.app-shell{padding:20px 17px 28px}.topbar{margin-bottom:28px}.brand{font-size:.7rem;gap:8px}.brand-icon{width:35px;height:35px;border-radius:11px}.nav-link{font-size:.86rem}.hero{gap:15px}.lesson-art{width:86px;height:98px;align-self:flex-start}.lesson-art>.icon{width:48px;height:48px}.lesson-art span{width:37px;height:37px;border-width:4px}.lesson-art span>.icon{width:18px;height:18px}.hero p:not(.eyebrow){font-size:.97rem}.mode-grid{gap:13px}.mode-card{padding:20px 17px;min-height:288px}.mode-card h2{font-size:1.75rem}.mode-card p{font-size:.91rem}.mode-card .primary{padding:12px 13px;font-size:.94rem}.mode-top{margin-bottom:20px;gap:7px;flex-wrap:wrap}.mode-icon{width:40px;height:40px}.mode-top .pill{font-size:.68rem;padding:6px 8px}.mode-footer{font-size:.72rem}.page-footer{align-items:flex-start;flex-direction:column;gap:8px}.question-layout{grid-template-columns:1fr;gap:20px}.question-card{padding:21px 20px}.scene{min-height:145px;padding:19px;gap:12px}.scene-grid{max-width:100%}.scene-grid .icon{width:41px;height:41px}.scene-grid.many .icon{width:32px;height:32px}.scene-number{font-size:4.8rem}.question-content h2,.speaking-cue{font-size:1.7rem}.question-content h2{margin-bottom:9px}.answer-area{margin-top:20px;padding-top:20px}.choice{min-height:67px;font-size:1.3rem}.question-actions{gap:10px;align-items:stretch}.question-actions .primary{padding:12px 17px}.question-actions .text-button{font-size:.86rem}.ratings{grid-template-columns:1fr}.rating{justify-content:flex-start;padding:15px 20px}.summary-grid{grid-template-columns:1fr}.concept-card{padding:20px;gap:12px}.concept-card .primary{padding:12px 14px}.concept-card h3{font-size:1.08rem}.round-card{padding:31px 22px}.round-card h1{font-size:2.15rem}.step-badge{font-size:.75rem}.session-heading h1{font-size:1.2rem}.word{font-size:1.1rem;padding:11px 13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:420px){.mode-grid{grid-template-columns:1fr}.mode-card{min-height:245px}.mode-top{flex-wrap:nowrap}.hero h1{font-size:1.95rem}.lesson-heading{align-items:flex-start;font-size:.92rem}.lesson-art{width:73px;height:85px}.question-actions{flex-wrap:wrap}.question-actions>.primary{margin-left:auto}}
.lesson-heading{margin:0 0 24px;align-items:flex-start;gap:12px}.lesson-heading>.icon{margin-top:3px}.lesson-heading p{font-size:.9rem;margin-bottom:7px}.lesson-heading h1{font-size:1.5rem;letter-spacing:-.03em;color:var(--ink)}.mode-card{min-height:210px}.mode-top{margin-bottom:18px}.mode-card h2{margin-bottom:22px}.progress-title{font-size:1.9rem;letter-spacing:-.035em}.progress-instruction{color:var(--muted);margin-top:10px}.concept-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.progress-actions{display:flex;justify-content:flex-end;margin-top:22px}
.scene.word-card{background:#e4eee8}.scene-word{font-size:clamp(1.7rem,3.5vw,2.4rem);font-weight:700;line-height:1.35;overflow-wrap:anywhere}.scene.family-link{gap:10px;background:#e2ebf2}.family-relation,.family-person{border:1px solid #d1dcd7;border-radius:14px;background:#fffefa;padding:13px 18px;width:100%;font-size:1.35rem;line-height:1.35;overflow-wrap:anywhere}.family-person{display:flex;align-items:center;justify-content:center;gap:12px}.family-person span{font-size:1rem;color:var(--muted)}.family-link>.icon{transform:rotate(90deg);flex:none}
.repair-sentence,.repair-choices{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.repair-sentence{padding:16px;background:#f4f6f0;border-radius:15px;min-height:80px}.repair-sentence .word{font-size:1.3rem}.repair-choices{margin-top:18px}.repair-word[aria-pressed=true],.repair-choices .word[aria-pressed=true]{border-color:var(--green);background:var(--mint);box-shadow:0 0 0 2px var(--green)}
