:root{color-scheme:light;--ink:#253f34;--muted:#41584a;--page:#faf8ef;--paper:#fffdf8;--surface:#f3f5e9;--line:#dce5d6;--green:#315e48;--green-deep:#254b39;--mint:#dcebdc;--pink:#f9e3df;--peach:#f4bda8;--gold:#f4dfa2;--shadow:0 16px 55px rgba(62,82,59,.08)}html[data-theme=dark]{color-scheme:dark;--ink:#eef4e9;--muted:#becdc0;--page:#17251f;--paper:#21332a;--surface:#2a3c30;--line:#465d4d;--green:#a5d8b4;--green-deep:#d7f3d9;--mint:#355746;--pink:#543d3b;--peach:#e4a995;--gold:#d7bf80;--shadow:0 16px 55px rgba(0,0,0,.16)}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--page);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}a,button{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d07757;outline-offset:3px}button:disabled{cursor:default;opacity:.6}a{color:inherit;text-decoration:none}.skip{position:fixed;z-index:30;top:8px;left:8px;transform:translateY(-180%);background:var(--paper);border:2px solid var(--green);border-radius:10px;padding:12px}.skip:focus{transform:none}.topbar{width:min(1280px,100%);min-height:86px;padding:14px 38px;margin:auto;display:flex;justify-content:space-between;gap:14px}.brand,.topbar{align-items:center}.brand{display:inline-flex;gap:9px;min-height:48px}.brand img{border-radius:12px}.brand span{display:grid;gap:3px}.brand b{font-size:16px;letter-spacing:-.03em}.brand small{font-size:8px;letter-spacing:.13em;font-weight:800;color:var(--muted)}.controls{display:flex;gap:8px}.controls button{height:44px;width:46px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:15px;font-weight:750}.controls button:last-child{font-size:21px}main{width:min(1210px,calc(100% - 64px));margin:0 auto}.welcome-card{min-height:620px;display:grid;grid-template-columns:1.12fr .88fr;border:1px solid var(--line);border-radius:36px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.welcome-copy{padding:58px 32px 46px 58px;position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:800;color:var(--green);letter-spacing:.12em}.flower{color:#da8f79;font-size:1.5em;vertical-align:-.07em}.welcome-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.09;letter-spacing:-.055em;margin:20px 0}.welcome-copy h1 span{color:var(--green)}.intro{font-size:17px;color:var(--muted);line-height:1.7;margin:0 0 30px}.choice-group,.count-group{border:0;margin:0;padding:0;min-width:0}.choice-group legend,.count-group legend{font-size:13px;font-weight:750;margin-bottom:11px}.levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.level{min-height:82px;display:flex;gap:9px;align-items:center;text-align:left;padding:12px;border-radius:17px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink)}.level.selected{border-color:var(--green);background:var(--surface);box-shadow:inset 0 0 0 1px var(--green)}.level span:last-child{min-width:0}.level-icon{font-size:23px;flex:none}.level b,.level small{display:block}.level b{font-size:13px;line-height:1.3}.level small{font-size:11px;color:var(--muted);margin-top:5px}.welcome-actions{display:flex;align-items:flex-end;gap:18px;margin-top:23px}.count-group>div{display:flex;gap:6px}.count-group button{min-width:58px;height:46px;border:1.5px solid var(--line);border-radius:14px;color:var(--ink);background:var(--paper);font-weight:800}.count-group button.selected{background:var(--mint);border-color:var(--green)}.primary{border:0;background:#315e48;color:#fff;min-height:50px;padding:0 24px;border-radius:15px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:20px}.primary:hover{background:#244a38}.start{min-width:162px}.reassurance{font-size:12px;color:var(--muted);margin:20px 0 0}.reassurance:first-letter{color:#d78d73}.welcome-art{position:relative;display:grid;place-items:center;min-height:100%;background:radial-gradient(circle at 50% 47%,#f8f0d4 0,#f2f3e4 43%,#e6f0e1 100%);overflow:hidden}html[data-theme=dark] .welcome-art{background:radial-gradient(circle at 50% 47%,#495444,#314a39 52%,#263e30 100%)}.art-orbit{position:relative;width:min(88%,430px);aspect-ratio:1;border:1px solid rgba(103,139,103,.25);border-radius:50%;display:grid;place-items:center}.art-orbit:before{content:"";position:absolute;inset:8%;border:1px dashed rgba(103,139,103,.28);border-radius:50%}.art-orbit img{width:86%;height:86%;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(79,68,42,.12));position:relative}.art-flower,.art-plus,.art-star{position:absolute;z-index:1;color:#bd7c66}.art-plus{top:12%;left:10%;font-size:38px}.art-star{top:15%;right:12%;font-size:45px;color:#d2ac5d}.art-flower{bottom:13%;right:6%;font-size:37px;color:#d69483}.speech{position:absolute;top:13%;right:9%;background:var(--paper);padding:13px 17px;border-radius:17px 17px 17px 4px;box-shadow:var(--shadow);transform:rotate(5deg);display:grid;gap:3px}.speech b{font-size:12px}.speech span{font-size:10px;color:var(--muted)}.art-badge{position:absolute;bottom:8%;left:9%;padding:10px 14px;border-radius:999px;background:var(--paper);font-size:11px;font-weight:750;color:var(--green)}.under-card{display:flex;justify-content:space-between;gap:30px;align-items:end;padding:58px 24px 40px}.under-card h2{font-size:27px;letter-spacing:-.04em;margin:10px 0}.under-card p:not(.eyebrow){color:var(--muted);max-width:550px;font-size:14px;line-height:1.7;margin:0}.mini-steps{display:flex;gap:8px;flex-wrap:wrap}.mini-steps span{padding:12px 14px;white-space:nowrap;background:var(--surface);border-radius:15px;color:var(--green);font-size:15px}.mini-steps b{font-size:11px;margin-left:4px}.footer{width:min(1210px,calc(100% - 64px));margin:25px auto 0;padding:28px 0 36px;border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;color:var(--muted);font-size:11px}.footer,.footer a{align-items:center}.footer a{min-height:44px;display:inline-flex;font-weight:700}.footer span{font-size:9px;letter-spacing:.12em}.quiz-shell{max-width:1080px;margin:20px auto 55px}.progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.progress-head p{font-weight:750;margin:6px 0 13px}.progress-head p strong{color:var(--green);font-size:22px}.progress-kicker{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:800}.hint-button,.outline-button,.quiet-button{border:1px solid var(--line);color:var(--ink);background:var(--paper);min-height:44px;padding:0 16px;border-radius:14px;font-weight:700;font-size:13px}.progress-track{height:9px;background:var(--mint);border-radius:999px;overflow:hidden;margin-bottom:20px}.progress-track span{display:block;height:100%;background:#6fa57a;border-radius:inherit;transition:width .25s ease}.quiz-card{display:grid;grid-template-columns:1.2fr .8fr;border-radius:30px;border:1px solid var(--line);overflow:hidden;background:var(--paper);box-shadow:var(--shadow)}.question-area{padding:38px 38px 24px;min-height:420px;position:relative;background:radial-gradient(circle at 5% 5%,var(--surface),transparent 70%);display:flex;flex-direction:column}.question-label{font-size:14px;color:var(--muted);font-weight:750}.question-label .flower{margin-right:4px}.equation{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,22px);margin:auto 0;font-size:clamp(39px,5vw,68px);letter-spacing:-.045em;font-weight:800;white-space:nowrap}.operator{color:#d98e76}.equals{color:var(--muted);font-weight:500}.answer{min-width:95px;min-height:90px;padding:4px 10px;border:2px dashed #a8c1a8;border-radius:20px;color:#8aaa91;background:var(--surface);display:grid;place-items:center}.answer.has-answer{border-style:solid;color:var(--ink)}.hint-wrap{min-height:74px}.hint-button{color:var(--green);background:var(--surface);border-color:transparent}.hint-text{margin:8px 0;color:var(--ink);font-size:14px;font-weight:650}.quiz-friend{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;font-weight:650}.quiz-friend img{width:46px;height:46px;object-fit:contain}.input-area{background:var(--surface);padding:28px 32px;display:flex;flex-direction:column}.input-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:800;margin-bottom:12px}.input-top small{font-weight:500;color:var(--muted);font-size:10px;text-align:right}.keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.keypad button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:14px;min-height:54px;font-size:21px;font-weight:800;box-shadow:0 3px 0 rgba(44,75,52,.06)}.keypad button:not(:disabled):hover{border-color:var(--green)}.keypad .key-secondary{font-size:12px;color:var(--muted)}.keypad .key-secondary:last-child{font-size:21px}.answer-message{min-height:23px;padding-top:5px;font-size:12px;font-weight:700;color:#a04d37}.check{width:100%}.feedback{margin-top:14px;padding:18px 22px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);background:var(--mint)}.feedback.is-review{background:var(--pink)}.feedback>div:first-child{display:flex;gap:12px;align-items:center}.feedback-icon{font-size:30px;color:#b87059}.feedback h2{font-size:16px;margin:0}.feedback p{font-size:13px;margin:7px 0 0}.explain{display:grid;gap:6px}.explain span,.review-detail span{font-size:11px;color:var(--muted);font-weight:750}.explain strong,.review-detail strong{font-size:15px}.results-shell{max-width:1000px;margin:20px auto 60px}.results-hero{min-height:290px;border:1px solid var(--line);border-radius:30px;background:var(--surface);padding:36px 44px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.results-hero>div{max-width:660px}.results-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.2;letter-spacing:-.05em;margin:14px 0}.results-hero img{width:min(24%,210px);align-self:end;filter:drop-shadow(0 12px 14px rgba(79,68,42,.1))}.score{font-size:16px;color:var(--muted)}.score strong{font-size:26px;color:var(--green)}.score span{color:#c8826b}.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.result-actions .outline-button{min-height:50px}.review-head{display:flex;justify-content:space-between;align-items:end;margin:45px 0 16px}.review-head h2{font-size:28px;letter-spacing:-.04em;margin:5px 0}.review-head p:not(.eyebrow){font-size:13px;color:var(--muted);margin:8px 0}.review-head>span{font-size:30px;color:#d78e78}.review-list{display:grid;gap:8px}.review-item{border:1px solid var(--line);background:var(--paper);border-radius:16px}.review-item summary{display:flex;align-items:center;gap:16px;min-height:64px;padding:10px 17px;cursor:pointer;list-style:none}.review-item summary::-webkit-details-marker{display:none}.review-num{font-size:11px;color:var(--muted);font-weight:800}.review-item summary strong{font-size:17px;flex:1 1}.review-good,.review-learn{font-size:12px;font-weight:800;white-space:nowrap;color:var(--green)}.review-learn{color:#a35540}html[data-theme=dark] .review-learn{color:#ffc0a5}.chevron{font-size:20px;color:var(--muted)}.review-item[open] .chevron{transform:rotate(180deg)}.review-detail{display:grid;gap:7px;border-top:1px solid var(--line);padding:14px 48px 18px}.review-detail p{font-size:12px;margin:0 0 3px;color:var(--muted)}.privacy-card{max-width:780px;margin:38px auto 60px;padding:48px;border:1px solid var(--line);border-radius:30px;background:var(--paper)}.privacy-card h1{font-size:clamp(32px,5vw,48px);letter-spacing:-.05em}.privacy-card p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.8}.privacy-card .privacy-lead{font-size:18px!important;color:var(--ink)!important;font-weight:700}.inline-button{margin-top:18px}@media(max-width:900px){.welcome-copy{padding:42px 24px 35px 35px}.welcome-card{min-height:550px}.level{display:grid;gap:6px}.under-card{align-items:start;flex-direction:column}.quiz-card{grid-template-columns:1fr .83fr}.question-area{padding:28px}.input-area{padding:25px}}@media(max-width:700px){.topbar{min-height:72px;padding:10px 18px}.brand b{font-size:14px}.brand small{font-size:7px}.footer,main{width:calc(100% - 32px)}.welcome-card{display:flex;flex-direction:column-reverse;border-radius:25px}.welcome-art{min-height:240px;max-height:280px}.art-orbit{width:235px}.speech{top:12%;right:10%}.art-badge{left:7%;bottom:8%}.welcome-copy{padding:27px 22px 30px}.welcome-copy h1{font-size:clamp(37px,10vw,52px);margin:14px 0}.intro{font-size:15px;margin-bottom:22px}.levels{gap:6px}.level{min-height:90px;padding:10px 8px}.level b{font-size:12px}.level small{font-size:10px}.welcome-actions{gap:10px}.start{flex:1 1;min-width:0;padding:0 12px}.under-card{padding:40px 6px 25px}.under-card h2{font-size:23px}.mini-steps span{padding:10px}.footer{gap:10px;flex-wrap:wrap}.footer span{order:3;width:100%}.quiz-shell{margin:8px auto 40px}.quiz-card{display:flex;flex-direction:column}.question-area{min-height:245px;padding:22px 18px 12px}.equation{font-size:clamp(33px,10vw,50px);gap:clamp(6px,2.5vw,15px);margin:25px 0}.answer{min-height:64px;min-width:66px;border-radius:15px}.hint-wrap{min-height:52px}.quiz-friend img{width:38px;height:38px}.input-area{padding:18px}.keypad button{min-height:52px}.feedback{align-items:start;flex-direction:column;gap:12px}.results-hero{padding:27px 22px;min-height:245px}.results-hero img{width:27%;align-self:end}.results-hero h1{font-size:30px}.review-head{margin-top:32px}.review-item summary{gap:9px;padding:10px 11px}.review-item summary strong{font-size:14px}.review-good,.review-learn{font-size:10px}.review-detail{padding:14px 18px}.privacy-card{padding:28px 22px;margin:18px auto 40px}.privacy-card p:not(.eyebrow){font-size:14px}}@media(max-width:350px){.brand small{display:none}.brand b{font-size:13px}.levels{grid-template-columns:1fr}.level{min-height:55px;display:flex}.welcome-actions{flex-wrap:wrap}.start{min-width:120px}.speech{right:5%}.results-hero img,.review-num{display:none}.equation{font-size:32px;gap:6px}.answer{min-width:56px;min-height:58px}}@media(min-width:701px) and (max-height:650px){.topbar{min-height:60px;padding-top:7px;padding-bottom:7px}.quiz-shell{margin-top:3px}.progress-head p{margin:3px 0 7px}.progress-track{margin-bottom:10px}.question-area{min-height:330px;padding:20px 25px}.equation{font-size:clamp(38px,5vw,54px)}.answer{min-height:68px}.input-area{padding:15px 22px}.keypad{gap:6px}.keypad button{min-height:42px}.input-top{margin-bottom:6px}.check{min-height:44px}.feedback{padding:10px 16px}}@media(min-width:701px) and (max-height:450px){.topbar{min-height:51px;padding-top:3px;padding-bottom:3px}.brand{min-height:42px}.brand img{width:36px;height:36px}.quiz-shell{margin-top:0}.progress-head p{font-size:13px;margin:0 0 4px}.progress-head p strong{font-size:17px}.progress-kicker{font-size:9px}.quiet-button{min-height:40px}.progress-track{height:6px;margin-bottom:8px}.question-area{min-height:0;padding:14px 20px}.input-area{padding:10px 16px}.input-top{margin-bottom:4px}.keypad button{min-height:40px;height:40px}.answer-message{min-height:17px;padding-top:1px}.hint-wrap{min-height:43px}.quiz-friend img{width:36px;height:36px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.expanded-welcome .welcome-copy{padding-top:42px;padding-bottom:36px}.expanded-welcome .welcome-copy h1{font-size:clamp(40px,4.3vw,59px);margin:14px 0}.expanded-welcome .intro{margin-bottom:20px}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode-option{min-height:68px;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 13px;border-radius:16px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink)}.mode-option.selected{border-color:var(--green);background:var(--surface);box-shadow:inset 0 0 0 1px var(--green)}.mode-option>b{color:#b67159;font-size:17px;white-space:nowrap}.mode-option span{display:grid;gap:4px}.mode-option strong{font-size:13px}.mode-option small{font-size:10px;color:var(--muted)}.level-group{margin-top:20px}.expanded-welcome .level{min-height:66px}.expanded-welcome .welcome-actions{margin-top:19px}.extra-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.extra-actions button{min-height:44px}.storage-note{font-size:12px;color:var(--ink);line-height:1.5}.story-display{margin:auto 0;display:flex;flex-direction:column;align-items:center;gap:14px}.story-display p{font-size:clamp(20px,2.4vw,29px);line-height:1.55;font-weight:750;max-width:500px;text-align:center;margin:20px auto}.story-display .answer{font-size:38px;font-weight:800;min-height:64px}.explain-trigger{margin-left:6px}.answer-options{flex:1 1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:190px}.answer-options button{position:relative;min-height:60px;border:1.5px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);font-size:28px;font-weight:800}.answer-options button[aria-pressed=true]{border-color:var(--green);background:var(--mint);box-shadow:inset 0 0 0 1px var(--green)}.answer-options button small{position:absolute;top:9px;left:11px;font-size:10px;color:var(--muted)}.answer-options.compare-options{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}.compare-options button{height:84px}.retry-score,.reward-line{font-size:14px;color:var(--muted)}.reward-line{font-size:16px;color:var(--ink)}.book-shell,.transition-card{max-width:850px;margin:30px auto 70px}.transition-card{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:35px;box-shadow:var(--shadow)}.transition-card img{width:155px;height:155px;object-fit:contain}.book-card h1,.transition-card h1{font-size:clamp(30px,4vw,45px);letter-spacing:-.04em;margin:12px 0}.book-card>p:not(.eyebrow),.transition-card p:not(.eyebrow){color:var(--muted);line-height:1.7}.transition-card .primary{margin-top:12px}.book-card{margin-top:15px;padding:42px;border-radius:30px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}.book-stats{display:flex;gap:10px;margin:25px 0}.book-stats span{display:grid;gap:5px;min-width:125px;padding:16px;border-radius:18px;background:var(--surface);font-size:12px;color:var(--muted)}.book-stats strong{font-size:28px;color:var(--green)}.sticker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:24px 0}.sticker-grid span{aspect-ratio:1;display:grid;place-items:center;border-radius:18px;background:var(--surface);font-size:clamp(25px,4vw,40px)}.sticker-grid span.locked{color:var(--muted);opacity:.48;font-size:20px}.review-detail strong,.review-item summary strong{overflow-wrap:anywhere}.review-detail strong{line-height:1.6}.mode-option>b{color:#864432}html[data-theme=dark] .mode-option>b{color:#f3c1ae}.explain-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(18,32,22,.58);padding:16px}.explain-panel{width:min(680px,100%);max-height:min(90vh,850px);overflow:auto;padding:26px;border:1px solid var(--line);border-radius:26px;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px rgba(0,0,0,.25)}.explain-head{display:flex;gap:12px;justify-content:space-between;align-items:start}.explain-head .eyebrow{margin:0 0 9px}.explain-head h2{font-size:clamp(18px,3vw,27px);line-height:1.4;overflow-wrap:anywhere;margin:0}.explain-tabs{display:flex;gap:8px;margin:20px 0}.explain-tabs button{min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:13px;background:var(--paper);color:var(--ink);font-weight:750}.explain-tabs button[aria-pressed=true]{background:var(--mint);border-color:var(--green)}.column-math,.group-visual,.visual-blocks{min-height:110px;border-radius:18px;background:var(--surface);padding:16px}.visual-blocks{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}.place-blocks{max-width:45%;display:grid;gap:7px}.block-value{font-size:17px;color:var(--green)}.block-row{display:flex;gap:3px;align-items:end;flex-wrap:wrap}.block-row i{font-style:normal;display:inline-grid;place-items:center;border-radius:3px;background:#8ebc92;color:#143c27;font-size:7px;font-weight:800}.block-row .hundred{width:25px;height:25px;background:#e6b19f}.block-row .ten{width:11px;height:25px}.block-row .one{width:11px;height:11px;font-size:6px;background:#e6c56e}.visual-operation{font-size:23px;font-weight:800;color:#c07660}.column-math{font:750 22px/1.2 ui-monospace,Consolas,monospace;margin:0;white-space:pre}.column-math,.group-visual{text-align:center}.group-grid{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:12px}.group-grid span{display:flex;flex-wrap:wrap;gap:3px;width:52px;min-height:30px;padding:5px;border-radius:9px;background:var(--mint)}.group-grid i{display:block;width:7px;height:7px;border-radius:50%;background:#bd7a62}.group-summary{font-size:22px;margin-top:12px;color:var(--green);font-weight:800}.explain-step{min-height:113px;margin:16px 0;padding:16px;border-radius:16px;background:var(--surface)}.explain-step small{font-weight:750;color:var(--muted)}.explain-step p{margin:9px 0 6px;font-size:14px}.explain-step strong{font-size:22px;overflow-wrap:anywhere}.explain-actions{display:flex;justify-content:space-between;gap:10px}.explain-actions button{min-height:48px}.explain-actions button:disabled{opacity:.5}.worksheet-shell{max-width:1050px;margin:20px auto 60px}.worksheet-controls{margin-bottom:24px}.worksheet-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:24px}.worksheet-top h1{font-size:35px;letter-spacing:-.04em;margin:5px 0}.worksheet-top p:not(.eyebrow){font-size:13px;color:var(--muted)}.sheet-actions{display:flex;gap:8px;flex-wrap:wrap}.sheet-actions button{min-height:48px}.sheet-settings{border:0;margin:20px 0 0;padding:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.sheet-settings legend{font-size:13px;font-weight:750;margin-bottom:10px}.sheet-settings button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-weight:800}.sheet-settings button[aria-pressed=true]{border-color:var(--green);background:var(--mint)}.sheet-settings label{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 10px;font-size:13px}.sheet-settings input{width:20px;height:20px;accent-color:#315e48}.sheets{display:grid;gap:18px}.worksheet-page{background:#fff;color:#24392d;border:1px solid #d4dfd2;border-radius:18px;padding:35px;box-shadow:var(--shadow)}.sheet-heading{display:flex;justify-content:space-between;gap:15px;align-items:start;border-bottom:2px solid #cbdcc7;padding-bottom:17px;margin-bottom:20px}.sheet-heading small{font-size:9px;letter-spacing:.1em;font-weight:800;color:#5a7560}.sheet-heading h2{font-size:23px;margin:8px 0}.sheet-heading p{font-size:12px;color:#5a7560;margin:0}.sheet-name{font-size:12px;line-height:2.3;white-space:nowrap}.sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.sheet-question{display:flex;gap:7px;min-height:78px;padding:8px;border:1px solid #e2eadf;border-radius:11px;page-break-inside:avoid;break-inside:avoid}.sheet-question>span{font-size:11px;color:#5b7861;font-weight:800}.sheet-question p{font-size:14px;line-height:1.45;margin:0}.sheet-question small{font-size:10px;line-height:1.5}.sheet-answer-line{margin-top:9px;color:#9dada0;font-size:10px}.sheet-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 25px;padding-left:22px}.sheet-answers li{padding:4px;font-size:11px;line-height:1.5;page-break-inside:avoid;break-inside:avoid}.sheet-answers li span,.sheet-answers li strong{display:block}.sheet-answers strong{font-size:15px;color:#315e48}.sheet-instructions{font-size:12px;line-height:1.5;color:#496450;margin:-3px 0 14px}.share-status{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.share-status input{max-width:100%;width:100%;min-height:42px;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:7px;background:var(--paper);color:var(--ink)}@media(max-width:900px){.expanded-welcome .level{display:flex}.expanded-welcome .welcome-copy{padding-top:30px}.expanded-welcome .level b{font-size:12px}.expanded-welcome .level small{font-size:10px}}@media(max-width:700px){.expanded-welcome .welcome-copy{padding:27px 20px 30px}.expanded-welcome .welcome-copy h1{font-size:clamp(37px,10vw,50px)}.expanded-welcome .level{display:grid;min-height:88px}.mode-option{min-height:66px;padding:9px}.mode-option>b{font-size:14px}.mode-option strong{font-size:12px}.mode-option small{font-size:9px}.story-display p{font-size:19px;margin:12px auto}.story-display .answer{min-height:55px;font-size:30px}.answer-options{min-height:170px}.answer-options.compare-options{min-height:105px}.quiz-card .hint-wrap{min-height:55px}.hint-button{padding:0 10px;font-size:12px}.explain-trigger{margin-left:4px}.book-card{padding:26px}.sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.worksheet-top{align-items:start;flex-direction:column}.worksheet-page{padding:20px}.sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sheet-heading{flex-direction:column}.sheet-answers{grid-template-columns:repeat(2,minmax(0,1fr))}.explain-panel{padding:19px}.explain-head h2{font-size:17px}.column-math,.group-visual,.visual-blocks{min-height:85px;padding:12px}.explain-step{min-height:90px;padding:12px}.explain-step strong{font-size:18px}}@media(max-width:350px){.expanded-welcome .levels{grid-template-columns:repeat(2,minmax(0,1fr))}.expanded-welcome .level{min-height:68px;display:flex}.mode-options{grid-template-columns:1fr}.mode-option{min-height:55px}.extra-actions button{flex:1 1}.book-stats span{min-width:0;flex:1 1}.equation{font-size:27px}.equation .answer{min-width:48px}.sheet-grid{grid-template-columns:1fr}}@media(min-width:701px) and (max-height:650px){.keypad button{min-height:44px}}@media(min-width:701px) and (max-height:450px){.question-area .hint-wrap{min-height:42px}.question-area .hint-button{min-height:40px}.story-display p{font-size:19px;margin:4px auto}.story-display .answer{min-height:48px;font-size:28px}.input-area{padding:6px 14px}.input-top{margin-bottom:2px}.keypad{gap:4px}.keypad button{min-height:44px;height:44px}.answer-message{min-height:14px}.answer-options{min-height:175px}.compare-options button{height:70px}}@media print{@page{margin:12mm}body,html{background:#fff!important;color:#000!important}.footer,.skip,.topbar,.worksheet-controls{display:none!important}main{width:auto!important}.worksheet-shell,main{max-width:none!important;margin:0!important}.sheets{display:block}.worksheet-page{border:0;border-radius:0;box-shadow:none;margin:0;padding:0;color:#000;break-after:page;page-break-after:always}.worksheet-page:last-child{break-after:auto;page-break-after:auto}.sheet-heading{padding-bottom:5mm;margin-bottom:5mm}.sheet-heading h2{font-size:18pt}.sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4mm;grid-auto-rows:minmax(31mm,auto)}.sheet-question{min-height:0;border:1px solid #ddd;padding:2mm}.sheet-question p{font-size:11pt}.sheet-question small{font-size:8pt}.sheet-answer-line{margin-top:3mm}.sheet-answers{grid-template-columns:repeat(3,minmax(0,1fr));gap:5mm}.sheet-answers li{font-size:9pt}.sheet-answers strong{font-size:12pt}}