
:root{--cream:#fffaf0;--ink:#254639;--green:#267762;--yellow:#fff1d0;--muted:#60796d;--shadow:0 12px 30px #244a3917}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}.shell{width:min(1120px,calc(100% - 38px));margin:auto}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:12px;top:8px;z-index:999;background:white;padding:12px}.header{background:#fffdf6;position:sticky;top:0;z-index:10;border-bottom:1px solid #edf0e7}.header-inner{display:flex;align-items:center;gap:26px;min-height:82px}.logo{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;line-height:1.1;white-space:nowrap}.logo small{display:block;font-size:10px;font-weight:500;margin-top:7px;color:var(--muted)}.logo strong{color:var(--green)}.logo-crest{font-size:38px;background:#d7f2dc;width:52px;height:52px;display:grid;place-items:center;border-radius:17px}.header nav{display:flex;align-items:center;gap:23px;margin-left:auto}.header nav a{text-decoration:none;font-size:13px;font-weight:750}.header nav a:hover,.source-links a:hover{text-decoration:underline}.header-play{white-space:nowrap;color:white;background:var(--green);padding:11px 17px;border-radius:30px;text-decoration:none;font-size:12px;font-weight:850}.hero{background:linear-gradient(140deg,#fdf5df,#f4f8e9)}.hero-layout{display:grid;grid-template-columns:1fr 0.9fr;gap:30px;padding:80px 0;align-items:center}.eyebrow{display:block;font-size:11px;letter-spacing:.12em;font-weight:900;color:#a17b32;text-transform:uppercase}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.13;letter-spacing:-2px;margin:16px 0;color:#214d3d}.hero h1 em{font-style:normal;color:#e29d52}.hero p{max-width:525px;color:#5c7469;font-size:16px}.hero-buttons,.game-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.button{display:inline-block;padding:14px 19px;border-radius:15px;text-decoration:none;font-weight:850;border:0;text-align:center}.primary{background:var(--green);color:white}.outline{background:white;color:var(--green);border:1px solid #bcd7c9}.hint{background:#fff1bd;color:#725c2d}.button:hover,.activity-card button:hover{filter:brightness(1.07)}.hero-trust{font-size:12px;color:#64816e}.hero-stage{min-height:330px;position:relative;overflow:hidden;border-radius:40px;background:linear-gradient(#d6edf1,#ecf8e7);box-shadow:var(--shadow)}.sky-sun{position:absolute;top:25px;right:53px;font-size:65px;color:#f2bb59}.hill{position:absolute;bottom:-70px;width:145%;height:180px;left:-20%;background:#9fc995;border-radius:50%}.hill-back{bottom:25px;background:#a9d7a1}.hill-front{bottom:-60px;background:#70b586}.tree{position:absolute;left:36px;bottom:66px;font-size:92px}.character{position:absolute;right:65px;bottom:64px;font-size:92px}.character-tag{position:absolute;right:-27px;bottom:100px;min-width:155px;background:white;padding:8px;border-radius:12px;font-size:10px;font-weight:850}.hero-number{position:absolute;background:white;border-radius:14px;padding:8px 14px;font-weight:900;box-shadow:var(--shadow)}.n1{left:60px;top:40px}.n2{right:50px;top:110px}.n3{left:42%;top:120px}.hero-flowers{position:absolute;bottom:23px;left:40%;font-size:26px}.section{padding:78px 0}.section-title{text-align:center;margin-bottom:30px}.section-title h2,h2{line-height:1.22;letter-spacing:-.8px;font-size:clamp(28px,3vw,39px);margin:10px 0}.section-title p{max-width:600px;margin:auto;color:var(--muted)}.grade-tabs{display:flex;gap:11px;justify-content:center;margin:25px 0}.grade-tabs button{background:#fff;border:2px solid #dce9dd;border-radius:16px;padding:12px 18px;font-size:21px;display:flex;gap:6px;align-items:center}.grade-tabs button.selected{background:#dbf2e7;border-color:#5baf87}.grade-tabs b{font-size:15px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:40px}.filter-row h3{margin:0;font-size:26px}.filter-row p{margin:4px 0 16px;color:var(--muted);font-size:13px}.count-pill{border-radius:20px;background:#e9f4e8;padding:8px 14px;font-size:12px;white-space:nowrap}.activity-grid,.pdf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.activity-card,.pdf-card{background:#fff;border:1px solid #e7eee6;border-radius:19px;overflow:hidden;box-shadow:var(--shadow)}.card-illustration{min-height:150px;position:relative;display:flex;align-items:center;justify-content:center}.card-illustration .emoji{font-size:68px}.yellow{background:#fff1ce}.blue{background:#d9eff7}.pink{background:#fbe2e1}.lilac{background:#e9e1f9}.pill{position:absolute;bottom:9px;left:13px;background:#fffffff0;padding:4px 9px;border-radius:14px;font-size:10px;font-weight:800}.card-body{padding:17px}.card-body h4{font-size:18px;margin:0 0 8px}.card-body p{color:var(--muted);font-size:13px;min-height:52px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-bottom button{border:0;background:#267762;color:white;padding:10px 11px;border-radius:10px;font-size:12px;font-weight:800}.card-bottom small{font-size:10px;color:var(--muted)}.play-section{background:#e8f4eb}.play-head,.play-frame-head,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.play-head{margin-bottom:16px}.back-button,.text-button{border:0;background:transparent;color:var(--green);font-weight:850}.play-meta{font-size:13px;color:var(--muted)}.play-frame{border-radius:24px;background:#fff;padding:30px;box-shadow:var(--shadow)}.play-frame-head h2{margin:7px 0}.play-frame-head p{color:var(--muted);font-size:13px}.star-meter{background:#fff5d9;border-radius:17px;padding:10px 15px;text-align:center;min-width:110px}.star-meter span{font-size:23px}.star-meter strong{display:block;font-size:25px}.star-meter small{display:block;font-size:9px}.level-group{display:flex;gap:6px;flex-wrap:wrap}.level-group button{background:#eff4ef;color:#356753;padding:10px 13px;border:0;border-radius:11px;font-size:12px;font-weight:850}.level-group button.active{background:#338c70;color:white}.progress-track{height:9px;background:#edf5ed;border-radius:30px;overflow:hidden;margin:21px 0}.progress-track div{height:100%;width:0;background:linear-gradient(90deg,#6dc89b,#f6c367);transition:width .25s}.question-area{min-height:210px;background:#f7faf5;border:1px solid #e4eee1;border-radius:19px;padding:25px;text-align:center}.question-area h3{font-size:24px;margin:2px 0 15px}.question-area p{font-size:14px;color:var(--muted)}.answer-input{width:130px;font-size:27px;text-align:center;padding:10px;border:2px solid #8fc7a8;border-radius:13px;background:white}.visual{margin:20px auto;display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap}.ten-frame{display:grid;grid-template-columns:repeat(5,34px);gap:6px;justify-content:center;margin:16px auto}.ten-frame span{height:34px;border:2px solid #bdd2c4;background:white;border-radius:8px}.ten-frame span.filled{background:#f2bb71}.rod{width:20px;height:85px;border:2px solid #689bb6;background:repeating-linear-gradient(#93c7dd 0 7px,#4c7e95 8px 9px);border-radius:4px}.small-cube{height:18px;width:18px;border:2px solid #d9a267;border-radius:4px;background:#f6d097}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;margin:20px auto;gap:12px}.choice{border:2px solid #cfe5d7;border-radius:13px;background:white;padding:14px;font-size:16px;font-weight:800;min-height:90px;display:grid;place-items:center}.choice svg{width:120px;height:95px}.choice small{font-size:11px;color:#527466}.choice:focus-visible,.button:focus-visible{outline:3px solid #d99940;outline-offset:3px}.coin-tray{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.money-item{background:white;border:1px solid #dce9df;border-radius:11px;padding:9px;text-align:center;min-width:74px}.money-coin{background:#f4d88f;padding:10px;border-radius:12px;font-weight:950;margin-bottom:8px}.money-coin.note{background:#c5e7c8}.coin-count{display:flex;align-items:center;justify-content:center;gap:9px}.coin-count button{border:0;border-radius:7px;background:#e2efdf;padding:4px 9px;font-size:20px}.forbidden{color:#b24b41;font-size:10px;font-weight:900}.base-panel{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.base-col{background:#fff;border-radius:13px;padding:12px;min-width:160px}.base-display{display:flex;gap:5px;justify-content:center;align-items:center;min-height:80px;flex-wrap:wrap}.base-buttons{display:flex;gap:8px;justify-content:center}.base-buttons button,.exchange-button{background:#e1f2e6;border:0;padding:8px 12px;border-radius:8px}.fraction-strip{display:flex;max-width:500px;margin:20px auto;border:3px solid #52796f;border-radius:12px;overflow:hidden;height:72px}.fraction-strip button{flex:1;border:0;border-right:2px solid #bcd0c5;background:white}.fraction-strip button.painted{background:#8bd0a3}.feedback{margin:15px auto;background:#fff4cf;border-radius:13px;padding:13px;max-width:680px;font-weight:800;text-align:center}.feedback.success{background:#e0f5e0;color:#276043}.feedback.error{background:#fde4df;color:#934438}.feedback.hint{background:#fff1c0;color:#766035}.game-actions{justify-content:center}.safe-note{text-align:center;font-size:11px;color:var(--muted)}.complete{text-align:center;padding:28px}.complete .big{font-size:65px}.garden-section{background:#faf2de}.garden-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px}.garden-layout p{color:var(--muted)}.garden-stats{display:flex;gap:10px}.garden-stats div{background:white;padding:12px 15px;border-radius:13px;display:grid}.garden-stats strong{font-size:27px}.garden-stats span{font-size:11px}.garden-note{font-weight:800}.sound-choice{display:flex;gap:8px;align-items:center;font-size:12px}.garden-panel{border:7px solid white;border-radius:24px;background:#d5f0ed;overflow:hidden;box-shadow:var(--shadow);text-align:center}.garden-sky{height:100px;font-size:40px;padding:10px;text-align:left}.garden-scene{height:150px;background:radial-gradient(ellipse at bottom,#70b781 0,#70b781 60%,transparent 62%);position:relative}.garden-hedgehog{font-size:62px;position:absolute;left:6%;bottom:8px}.garden-plants{position:absolute;right:6%;bottom:8px;font-size:43px}.garden-panel p{background:#ffffffaa;padding:8px;font-size:11px;margin:0}.documents{background:white}.print-filter{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin-bottom:25px}.print-filter select{padding:9px;border-radius:9px}.pdf-cover{display:flex;justify-content:space-between;align-items:center;background:#fff2d9;padding:15px}.pdf-cover span{font-size:35px}.pdf-cover h3{margin:3px 0;font-size:18px}.pdf-cover small{font-size:10px}.pdf-card-body{padding:15px}.pdf-card-body p,.pdf-count,.counter-note{font-size:12px;color:var(--muted)}.pdf-actions{display:flex;gap:8px;flex-wrap:wrap}.pdf-actions button{padding:10px;background:var(--green);color:white;border:0;border-radius:9px;font-size:12px;font-weight:850}.pdf-actions .correction{background:#e3f1e3;color:#2a755f}.pdf-count{display:block;margin-top:8px}.counter-note{text-align:center}.parents{background:#eaf5eb}.parent-layout{display:grid;grid-template-columns:1fr 0.8fr;gap:40px}.parent-layout p{color:var(--muted)}.parent-steps b{display:inline-block;margin-right:9px;background:white;border-radius:8px;padding:7px}.parent-card{background:#fff;padding:27px;border-radius:20px;box-shadow:var(--shadow)}.parent-card span{font-size:35px}.parent-card blockquote{font-size:25px;font-weight:800;color:#2c735d;margin:10px 0}.references{padding:29px 0;background:#fbf7ee;color:var(--muted);font-size:12px}.source-links{display:flex;flex-wrap:wrap;gap:16px}.footer{background:#305a49;color:white;padding:25px 0}.footer .shell{display:flex;justify-content:space-between;gap:12px;align-items:center}.footer small{font-size:10px}.footer button{background:transparent;color:white;border:1px solid #b6d6c2;padding:8px;border-radius:9px}.toast{position:fixed;right:20px;bottom:20px;z-index:99;background:#245740;color:white;border-radius:13px;padding:14px;box-shadow:var(--shadow);font-weight:800}.celebrate{animation:pop .45s ease}@keyframes pop{50%{transform:scale(1.02)}}[hidden]{display:none!important}@media(max-width:850px){.header-inner{flex-wrap:wrap;gap:9px;padding:12px 0}.header nav{order:3;flex:1 0 100%;justify-content:space-around;margin:0;overflow:auto}.header-play{display:none}.hero-layout{grid-template-columns:1fr}.hero-stage{min-height:250px}.activity-grid,.pdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.shell{width:calc(100% - 24px)}.section{padding:48px 0}.hero-layout{padding:45px 0}.activity-grid,.pdf-grid,.garden-layout,.parent-layout{grid-template-columns:1fr}.header nav a{font-size:11px}.grade-tabs{gap:5px}.grade-tabs button{flex:1;flex-direction:column;font-size:15px;padding:9px 3px}.grade-tabs button b{font-size:12px}.filter-row{align-items:flex-start}.play-frame{padding:17px 12px}.play-frame-head{align-items:start}.level-group{flex:1}.level-group button{font-size:10px;padding:9px}.toolbar{flex-wrap:wrap}.star-meter{min-width:82px}.question-area{padding:14px 5px}.question-area h3{font-size:19px}.garden-stats div{flex:1;padding:8px}.footer .shell{flex-direction:column}.character{right:30px}.choice-grid{gap:7px}.choice{padding:6px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
