@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#283f37;--muted:#68766b;--paper:#f7f6ee;--green:#355e47;--line:#dfe3d5;--gold:#bf943b;--radius:26px;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #b27b29;outline-offset:5px}button{border:0}button[hidden],[hidden]{display:none!important}.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}.skip{position:fixed;z-index:100;left:16px;top:-70px;background:white;padding:16px}.skip:focus{top:10px}.topbar{height:94px;max-width:1440px;margin:auto;padding:0 58px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-family:Manrope,Arial,sans-serif;font-size:36px;letter-spacing:-2px;font-weight:800;text-decoration:none;white-space:nowrap}.brand>span:first-child{display:inline-block;color:var(--green);font-size:36px;margin-right:8px;vertical-align:middle}.brand-dot{color:#b09550}.topbar nav{display:flex;gap:8px;align-items:center}.topbar nav button{background:transparent;padding:14px 20px;border-radius:50px;font-size:16px;font-weight:600;display:flex;align-items:center;gap:9px;min-height:48px}.topbar nav button>span{font-size:22px;font-weight:400}.topbar nav [aria-current=page]{background:#e5ead9;color:#294e3b}.topbar nav button:hover{background:#e9ecdf}.learner{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.avatar{background:#ebe5d3;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;font-size:25px}.learner select{max-width:160px;border:0;background:transparent;color:var(--ink);padding:8px}.preview-strip{max-width:1324px;margin:15px auto 0;padding:0 20px;display:flex;justify-content:space-between;font-size:12px;color:#7a806e;letter-spacing:.02em}.preview-strip a{text-underline-offset:4px}main{max-width:1220px;margin:0 auto;padding:42px 24px 60px;outline:none!important}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:#61765e;margin:0 0 18px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,Arial,sans-serif}h1{font-size:clamp(36px,4.2vw,58px);line-height:1.13;letter-spacing:-2px;margin-bottom:17px;font-weight:600}h2{font-size:25px;letter-spacing:-.7px;line-height:1.3}h3{font-size:20px;letter-spacing:-.4px}p{line-height:1.65;color:var(--muted)}.world-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px;gap:50px}.world-intro>div:first-child>p:last-child{font-size:17px;margin-bottom:0}.pip-greeting{display:flex;align-items:center;gap:20px;max-width:345px;padding-top:40px}.pip-greeting .pip{font-size:56px}.pip-greeting strong{font-size:16px;line-height:1.45;display:block}.pip-greeting p{font-size:14px;margin:7px 0 0}.world-board{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);background:#edf1e5;border:1px solid #dce3d4;border-radius:var(--radius);overflow:hidden;min-height:545px;box-shadow:0 10px 28px #334c3310}.globe-stage{position:relative;min-width:0;background:radial-gradient(ellipse at 45% 43%,#f8f8ed 0%,#e7eee1 66%,#e4ebdc 100%);display:flex;flex-direction:column;align-items:center}.globe-host{width:100%;height:460px;position:relative;overflow:hidden}.globe-host canvas{display:block;touch-action:pan-y;cursor:grab}.globe-host canvas.dragging{cursor:grabbing;touch-action:none}.map-markers{position:absolute;inset:0;pointer-events:none}.map-pin{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;background:transparent;white-space:nowrap;gap:6px;padding:5px;min-width:48px;min-height:48px}.pin-dot{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#fffcef;border:3px solid white;box-shadow:0 6px 16px #25412e44;font-size:25px;color:#345e47}.pin-label{padding:7px 12px;background:#fffcf0;border:1px solid #e3e6d5;font-size:12px;font-weight:700;border-radius:30px;box-shadow:0 3px 8px #21392820}.map-pin:hover .pin-dot{transform:translateY(-4px);transition:transform .18s}.pin-locked{opacity:.7}.pin-locked .pin-dot{background:#e4e8dc}.map-spark{position:absolute;z-index:1;color:#a08c4a;pointer-events:none}.spark-one{top:50px;left:40px;font-size:36px}.spark-two{right:40px;bottom:100px;font-size:20px}.globe-controls{display:flex;justify-content:center;align-items:center;gap:8px;z-index:2}.globe-controls button{min-width:46px;min-height:44px;border:1px solid #cdd8c4;background:#f8f8efcc;border-radius:30px;font-size:19px}.globe-controls #spinToggle{font-size:13px;padding:0 16px;min-width:125px}.globe-caption{font-size:12px;margin:10px 0 18px;letter-spacing:.02em}.destination-panel{background:#fffdf5;padding:32px 30px;display:flex;flex-direction:column;justify-content:center;position:relative}.destination-panel .eyebrow{font-size:10px;margin-bottom:14px}.destination-panel h2{font-size:27px;margin-bottom:9px}.panel-description{font-size:14px;margin-bottom:22px}.destination{width:100%;background:white;display:flex;align-items:center;gap:13px;text-align:left;padding:19px 16px;border:1px solid #dce3d5;border-radius:17px;margin-bottom:10px;min-height:88px;transition:transform .18s,box-shadow .18s}.destination:hover:enabled{transform:translateX(3px);box-shadow:0 4px 12px #38503913}.destination.math{background:#edf2dc;border-color:#c8d5ad}.destination.reading{background:#fbede3;border-color:#ead0b9}.destination:disabled{background:#f4f3ed;color:#858a7b;border-color:#e7e6dc;min-height:73px}.destination-icon{font-size:28px;width:35px;flex-shrink:0;text-align:center}.destination strong{display:block;font-size:16px;letter-spacing:-.3px}.destination small{display:block;font-size:12px;color:#6a7566;line-height:1.5;margin-top:4px}.destination-arrow{margin-left:auto;font-size:23px}.growth-small{margin-top:17px;font-size:12px;color:#718064}.growth-tally{display:flex;flex-wrap:wrap;gap:17px;font-size:14px;color:#62725d}.growth-small .growth-tally{gap:10px;font-size:11px}.growth-tally b{color:var(--ink)}.world-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:23px;font-size:13px;color:#72806a}.text-link{background:transparent;font-weight:600;padding:10px}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:13px;color:#77816d;margin-bottom:25px}.breadcrumbs button{background:transparent;padding:8px 0;text-underline-offset:4px}.breadcrumbs button:hover{text-decoration:underline}.region-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.region-heading h1{font-size:44px;margin-bottom:12px}.region-heading p:last-child{margin-bottom:0}.subject-token{font-size:38px;width:78px;height:78px;display:grid;place-items:center;border-radius:24px;background:#e5ecd2;transform:rotate(-8deg)}.subject-token.reading{background:#f3ddcd}.region-board{min-height:530px}.region-board .globe-host{height:465px}.region-panel{justify-content:flex-start;padding-top:35px}.landing-card{border:1px solid #dce4d0;background:#f5f6eb;border-radius:20px;text-align:center;margin-top:14px;padding:25px 20px}.landing-cat{font-size:42px}.landing-card h3{margin:15px 0 12px}.landing-card p{font-size:14px}.primary{background:var(--green);color:#fffdf2;border:1px solid var(--green);border-radius:14px;min-height:64px;padding:17px 27px;font-size:20px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.4;box-shadow:0 3px 0 #254330;transition:background .15s,transform .15s}.primary:hover{background:#294d39;transform:translateY(-1px)}.primary:active{transform:translateY(2px);box-shadow:none}.landing-card .primary{width:100%;font-size:17px;min-height:60px;padding:15px}.map-note{font-size:12px;line-height:1.7;margin:18px 0 0;color:#7c856f}.outside-note{text-align:center}.learning-stops{position:relative;margin-top:18px;display:flex;flex-direction:column;gap:13px}.learning-stops:before{content:'';position:absolute;top:30px;bottom:30px;left:22px;border-left:2px dashed #c9d4b9}.learning-stop{position:relative;z-index:1;display:flex;gap:13px;align-items:center;text-align:left;background:#f6f6ed;border:1px solid #dfe5d5;padding:16px 12px;border-radius:16px;min-height:84px}.learning-stop.current{background:#e9efd6;border-color:#adc18b}.stop-number{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e0e7d2;font-size:16px;flex-shrink:0}.learning-stop.current .stop-number{background:var(--green);color:white}.learning-stop strong{font-size:15px;display:block}.learning-stop small{font-size:12px;line-height:1.5;display:block;margin-top:5px;color:#6c7962}.learning-stop.locked{opacity:.58;border-style:dashed;background:#f4f4ed}.learning-stop>span:last-child:not(:nth-child(2)){margin-left:auto}.pip-note{font-size:13px;margin:22px 0 0}.trail-card{background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;min-height:390px}.trail-illustration{position:relative;overflow:hidden;background:#e5eee0;min-height:340px}.trail-card.reading .trail-illustration{background:#eae3d6}.hill{position:absolute;width:150%;height:80%;border-radius:50% 50% 0 0;bottom:-30%;left:-25%;background:#b8cc91;transform:rotate(-15deg)}.hill-front{bottom:-35%;left:0;background:#87a77a;transform:rotate(18deg)}.trail-illustration .pip{font-size:82px;position:absolute;bottom:20%;left:38%;z-index:2;filter:drop-shadow(0 8px 4px #38513022)}.trail-tree{position:absolute;font-size:170px;color:#4e785b;bottom:26%;left:2%;transform:rotate(-7deg)}.tree-two{font-size:140px;left:70%;bottom:40%;color:#789c71;transform:rotate(5deg)}.trail-sprout{position:absolute;bottom:13%;right:18%;font-size:40px}.trail-spark{position:absolute;right:28%;top:12%;font-size:50px;color:#b79847}.trail-copy{padding:44px}.trail-copy h1{font-size:43px}.trail-copy>p{font-size:17px}.mission-promise{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px;color:#78816b;margin:24px 0}.trail-copy .primary{width:100%;font-size:22px}.trail-copy .gentle{font-size:12px;text-align:center;margin:18px 0 0}.skill-garden{background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading h2{margin-bottom:15px}.section-heading>span{font-size:13px;color:#6c7963}.fact-family{display:flex;align-items:center;gap:24px;padding:12px 0}.fact-family h3{margin:0;width:28px}.fact-flowers{display:grid;grid-template-columns:repeat(12,minmax(35px,1fr));gap:10px;flex:1}.fact-flower{text-align:center;min-width:35px;background:#f0f2e7;border-radius:12px;padding:11px 3px;color:#b6c3a8}.fact-flower>span:first-child{font-size:28px;height:35px;display:block}.fact-flower small{display:block;font-size:12px;color:#6d7863;margin-top:5px}.fact-flower.growing{background:#e7efd8}.fact-flower.blooming{background:#f5edcc}.growth-legend{display:flex;gap:30px;justify-content:center;margin-top:30px;padding-top:23px;border-top:1px solid var(--line);font-size:14px}.growth-legend small{display:block;font-size:11px;color:#7a826d;margin:6px 0 0 23px}.reading-seed{display:flex;align-items:center;gap:24px;padding:20px 5px}.reading-seed>span{font-size:60px}.reading-seed h3{margin-bottom:10px}.reading-seed p{margin:0}.practice-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px;font-size:14px;color:#6d7b65}.back-button{font-size:16px;font-weight:600;min-height:48px;padding:12px 18px;background:#e9eddf;border-radius:12px}.mission-progress{height:7px;background:#e2e8d7;border-radius:6px;margin:8px 8px 37px;position:relative}.mission-progress>span{display:block;height:100%;background:#8daa75;border-radius:6px;transition:width .3s}.mission-progress b{position:absolute;top:-21px;font-size:29px;transform:translateX(-30%);transition:left .3s}.practice-card{max-width:850px;margin:auto;background:#fffdf8;border:1px solid var(--line);border-radius:var(--radius);padding:30px 36px}.pip-banner{background:#f1efd9;border-radius:16px;display:flex;gap:20px;align-items:center;padding:14px 22px;min-height:80px}.pip-banner .pip{font-size:42px;display:inline-block}.pip-banner p{margin:0;color:#46583e;font-size:17px}.question-kind{font-size:10px;letter-spacing:.16em;color:#7a856d;text-align:center;margin:30px 0 18px}.math-question{text-align:center;font-size:clamp(45px,6vw,65px);letter-spacing:-2px;margin:24px 0 30px}.math-question.word-question{font-size:clamp(25px,3vw,34px);line-height:1.5;letter-spacing:-.7px;max-width:640px;margin:22px auto 30px}.seed-groups{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:620px;margin:20px auto 14px}.seed-group{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;border:2px solid #aac18d;border-radius:13px;background:#edf3df;min-width:47px;max-width:125px;padding:13px}.seed-group i{display:block;width:10px;height:16px;background:#739d57;border-radius:60% 5% 60% 5%;transform:rotate(-16deg)}.group-caption{text-align:center;color:#6a7a5b;font-size:16px}.answer-instruction{text-align:center;font-size:14px;margin:27px 0 18px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:13px}.answer{min-height:78px;border:2px solid #dde3d2;background:#fafbf3;border-radius:15px;padding:16px;font-size:31px;transition:background .15s,transform .15s}.answer:enabled:hover{border-color:#95b179;background:#edf2df;transform:translateY(-2px)}.answer.correct{border-color:#89a968;background:#e0edcd;color:#314f2d}.answer.incorrect{border-color:#c69b73;background:#f6e9d9}.feedback{font-size:clamp(19px,2.1vw,23px);padding:21px 23px;border-radius:15px;margin-top:22px;line-height:1.55}.feedback strong{font-weight:700}.feedback p{font-size:17px;margin:10px 0 0;color:inherit}.feedback.positive{background:#e9f1de;color:#36572e}.feedback.encouraging{background:#f7efd7;color:#705b32}.practice-actions{text-align:right;margin-top:22px}.practice-actions:has([hidden]){margin:0}.practice-actions .primary{min-width:250px;min-height:70px;font-size:23px}.floating-help{position:fixed;bottom:25px;right:30px;z-index:10;width:65px;height:65px;background:#f7eab5;border:2px solid #aa8c42;border-radius:50%;font-size:35px;font-weight:700;color:#725826;box-shadow:0 5px 18px #33483230}.story{margin:24px 0;background:#f6f0e6;border:1px solid #e8ddc9;padding:24px 28px;border-radius:18px}.story-title{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:.15em;color:#8a795b;margin-bottom:20px}.read-aloud{background:#fffdf6;border:1px solid #ddd0b9;border-radius:25px;font-size:14px;letter-spacing:0;padding:10px 16px;min-height:44px;white-space:nowrap}.story h2{font-size:26px;margin-bottom:16px}.story>p{font-size:21px;line-height:1.9;color:#475246;margin:0}.reading-question{font-size:28px;line-height:1.4;letter-spacing:-.7px;margin:29px 0 12px;text-align:center}.text-answers .answer{font-size:19px;min-height:88px;line-height:1.5;text-align:left}.text-answers .answer:before{content:'○';margin-right:12px;font-size:22px;color:#a3ae92}.text-answers .answer.correct:before{content:'✓';color:#51713d}dialog{color:var(--ink);background:#fffdf4;border:2px solid #d5bb6a;border-radius:26px;max-width:700px;width:calc(100% - 32px);padding:36px;text-align:center;max-height:90dvh;box-shadow:0 25px 80px #15281f66}dialog::backdrop{background:#203a35a8;backdrop-filter:blur(4px)}dialog>.pip{font-size:60px;display:block;margin-bottom:20px}.dialog-close{position:absolute;right:15px;top:12px;width:44px;height:44px;background:#eee9d8;border-radius:50%;font-size:28px}dialog h2{font-size:29px}.help-question{font-size:22px;color:var(--ink)}.big-hint{font-size:clamp(21px,3vw,27px);background:#f5e9b7;padding:24px;border-radius:16px;color:#695527}.help-story{font-size:19px;line-height:1.8;text-align:left;padding:20px;background:#f2efe2;border-radius:16px}.pip-happy{animation:pipHop .65s ease both}.pip-nod{animation:pipNod .6s ease both}@keyframes pipHop{25%{transform:translateY(-12px) rotate(-10deg)}60%{transform:translateY(-5px) rotate(9deg)}}@keyframes pipNod{30%{transform:rotate(-9deg)}70%{transform:rotate(7deg)}}.home-heading{text-align:center;margin:0 0 35px}.home-heading h1{font-size:47px}.home-scene{height:360px;position:relative;overflow:hidden;border:1px solid #d6e0cd;border-radius:var(--radius);background:linear-gradient(#e2eee4,#ecf0d7)}.home-sun{position:absolute;right:15%;top:15px;color:#d4b866;font-size:90px}.home-cloud{position:absolute;left:15%;top:12px;color:#fffdf2;font-size:90px}.home-hills{position:absolute;bottom:-115px;left:-10%;width:120%;height:280px;background:#adc68d;border-radius:50% 55% 0 0;transform:rotate(-6deg)}.cottage{position:absolute;left:calc(50% - 90px);bottom:64px;width:180px;height:200px}.roof{position:absolute;top:0;left:-10px;width:200px;height:100px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#6e8a65}.cottage-body{background:#f2e4bd;width:158px;height:115px;position:absolute;left:11px;bottom:0;border-radius:0 0 5px 5px;box-shadow:6px 8px 0 #819a6540}.window{position:absolute;left:20px;top:23px;border:5px solid #d8c492;background:#aec7b4;width:43px;height:43px;text-align:center;font-size:33px;line-height:30px;color:#f4ebd6}.door{position:absolute;bottom:0;right:23px;width:45px;height:82px;background:#8b9f73;border-radius:25px 25px 0 0}.home-cat{position:absolute;left:calc(50% + 120px);bottom:53px;font-size:58px}.home-garden{display:flex;align-items:flex-end;justify-content:center;gap:20px;position:absolute;bottom:20px;left:10%;right:10%;font-size:30px;flex-wrap:wrap;max-height:65px;overflow:hidden}.home-garden>span{min-width:20px}.home-sign{position:absolute;bottom:36px;left:13%;background:#e9d6a5;border-radius:7px;padding:9px 14px;font-size:12px;transform:rotate(-6deg);border:1px solid #bca76e}.home-content{display:grid;grid-template-columns:1.5fr 1fr;gap:35px;margin-top:32px}.home-content>.memory-book{border-left:1px solid var(--line);padding-left:30px}.home-content .growth-tally{font-size:17px;margin:17px 0}.home-content .growth-legend{justify-content:flex-start;gap:25px;margin-top:22px}.home-actions{display:flex;flex-wrap:wrap;gap:25px;align-items:center;margin-top:30px}.home-actions .primary{font-size:18px}.decorate{font-size:12px;color:#6b7960}.decorate select{display:block;border:1px solid var(--line);background:#fffdf5;border-radius:10px;padding:10px;margin-top:6px;max-width:180px;color:var(--ink)}.memory-book h2{font-size:21px;margin-bottom:22px}.memory-book>div{display:flex;align-items:center;gap:14px;margin:15px 0}.memory-book>div>span:first-child{width:40px;height:40px;display:grid;place-items:center;background:#e9eedc;border-radius:11px;font-size:22px}.memory-book>div>span:last-child{margin-left:auto;color:#b4943d}.memory-book p{font-size:14px;margin:0}.memory-book small{display:block;font-size:12px}.celebration{position:relative;overflow:hidden;background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);padding:55px 35px;text-align:center;max-width:900px;margin:20px auto}.celebration h1{font-size:46px}.celebration>p:not(.eyebrow){font-size:18px}.celebration-art{font-size:35px;color:#c7a441;display:flex;align-items:center;justify-content:center;gap:40px;margin:10px 0 40px}.celebration-art .pip{font-size:94px;display:inline-block;animation:pipHop .8s 2}.score-badge{display:inline-flex;align-items:center;gap:20px;background:#edf1df;border-radius:40px;padding:15px 24px;font-size:22px;margin:15px 0 25px}.score-badge span{font-size:13px;color:#7a803d}.unlock-badge{border:1px solid #e0c36b;background:#fbf1c9;border-radius:16px;padding:20px;max-width:550px;margin:0 auto 28px;font-size:18px}.finish-note{margin:0 0 28px}.celebration .growth-tally{justify-content:center;font-size:16px;margin:25px}.finish-buttons{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:35px}.finish-buttons .primary{font-size:23px;min-height:74px;min-width:330px}.secondary{border:1px solid #cdd8c3;background:#f4f6eb;border-radius:12px;padding:14px 22px;font-size:16px;min-height:52px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;left:var(--x);top:-25px;width:10px;height:18px;border-radius:3px;background:var(--color);animation:confettiFall 2.6s var(--delay) ease-out both}@keyframes confettiFall{0%{transform:translateY(0) rotate(var(--turn));opacity:0}10%{opacity:1}100%{transform:translateY(650px) rotate(calc(var(--turn) + 280deg));opacity:0}}.adult-page{max-width:900px;margin:auto;background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);padding:40px}.adult-page h1{font-size:39px}.adult-page h2{font-size:23px;margin-top:32px}.adult-page p,.adult-page li{font-size:16px;line-height:1.8}.adult-page li{margin-bottom:9px;color:#67765e}.adult-role{background:#edf1e2;border:1px solid #d8e1c8;border-radius:18px;padding:25px;display:flex;gap:25px;margin:30px 0}.adult-role>span{font-size:40px}.adult-role h2{margin:0 0 12px}.adult-role .primary{font-size:17px;min-height:56px}.adult-stats{display:flex;gap:15px;flex-wrap:wrap;background:#f4f3e8;padding:20px;border-radius:14px;font-size:14px}.adult-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}.save-note{font-size:12px!important;margin-top:20px}.loading{text-align:center;padding:100px 20px}.save-status{position:fixed;bottom:0;left:0;right:0;background:#f5e3b2;margin:0;text-align:center;font-size:13px;z-index:20}.save-status:empty{display:none}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#304c3c;color:#fffdf4;padding:17px 23px;border-radius:16px;max-width:calc(100% - 36px);width:max-content;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:16px}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){main{padding-top:50px}.world-board{min-height:600px}.globe-host{height:510px}.destination-panel{padding:38px}.destination{min-height:94px}.world-intro h1{font-size:62px}}
@media(max-width:1000px){.topbar{padding:0 28px}.topbar nav button{padding:12px 15px}.world-board{grid-template-columns:minmax(0,1.3fr) minmax(290px,1fr)}.globe-host{height:420px}.destination-panel{padding:28px 22px}.world-intro{gap:25px}.pip-greeting{max-width:285px}.fact-flowers{grid-template-columns:repeat(6,minmax(35px,1fr))}.trail-copy{padding:30px}.trail-copy h1{font-size:35px}.home-content{gap:25px}.home-actions{gap:15px}.home-actions .primary{font-size:16px}}
@media(max-width:760px){.topbar{height:auto;min-height:120px;padding:15px 20px 9px;flex-wrap:wrap;gap:12px}.brand{font-size:29px}.brand>span:first-child{font-size:29px}.learner{font-size:13px;order:1}.avatar{width:33px;height:33px;font-size:21px}.topbar nav{order:2;flex-basis:100%;justify-content:center;gap:9px}.topbar nav button{font-size:14px;min-height:44px;padding:10px 16px}.topbar nav button>span{font-size:20px}.preview-strip{font-size:10px;padding:0 20px;gap:15px;margin-top:13px}main{padding:30px 18px 60px}.world-intro{align-items:flex-start;margin-bottom:25px}.world-intro h1{font-size:44px;letter-spacing:-1.5px}.eyebrow{font-size:9px;letter-spacing:.14em;margin-bottom:16px}.world-intro>div:first-child>p:last-child{font-size:14px}.pip-greeting{max-width:80px;padding:30px 0 0;justify-content:center}.pip-greeting>div{display:none}.pip-greeting .pip{font-size:48px}.world-board{display:flex;flex-direction:column;border-radius:22px}.globe-host{height:370px}.globe-stage{min-height:430px}.destination-panel{padding:27px 22px}.destination-panel h2{font-size:26px}.destination-panel .eyebrow{font-size:9px}.destination{min-height:84px;padding:18px}.destination strong{font-size:17px}.destination small{font-size:12px}.destination:disabled{min-height:70px}.growth-small{font-size:12px}.growth-small .growth-tally{font-size:12px;gap:18px}.world-bottom{align-items:flex-start;gap:12px;font-size:11px}.world-bottom>span{max-width:185px;line-height:1.6}.world-bottom .text-link{font-size:12px;padding:0}.spark-one{top:30px;left:20px;font-size:27px}.spark-two{right:20px;bottom:100px}.pin-dot{width:43px;height:43px;font-size:23px}.pin-label{font-size:10px;padding:6px 9px}.globe-caption{font-size:11px}.region-heading h1{font-size:35px;letter-spacing:-1px}.region-heading p:last-child{font-size:14px}.subject-token{width:57px;height:57px;border-radius:18px;font-size:28px;flex-shrink:0;margin-left:15px}.region-board .globe-host{height:350px}.region-board .globe-stage{min-height:420px}.region-panel{padding-top:27px}.learning-stop{min-height:90px}.learning-stop strong{font-size:17px}.learning-stop small{font-size:13px}.breadcrumbs{font-size:11px;gap:10px;margin-bottom:20px}.trail-card{grid-template-columns:1fr}.trail-illustration{min-height:220px;height:220px}.trail-illustration .pip{font-size:72px;bottom:14%;left:45%}.trail-tree{font-size:140px;bottom:20%;left:15%}.tree-two{font-size:120px;left:75%}.trail-copy{padding:28px 24px}.trail-copy h1{font-size:37px}.trail-copy .primary{font-size:22px;min-height:70px}.mission-promise{gap:10px 15px;font-size:11px}.skill-garden{padding:23px 18px}.section-heading{align-items:flex-start;gap:8px}.section-heading h2{font-size:21px}.section-heading>span{font-size:11px;text-align:right;max-width:120px;line-height:1.5}.fact-family{gap:12px}.fact-flowers{gap:7px;grid-template-columns:repeat(6,minmax(30px,1fr))}.fact-flower{min-width:30px;padding:8px 2px}.fact-flower>span:first-child{font-size:24px}.fact-flower small{font-size:10px}.fact-family h3{font-size:17px}.growth-legend{gap:18px;justify-content:space-between;font-size:12px}.growth-legend small{font-size:9px;margin-left:0}.practice-top{font-size:11px;gap:10px}.back-button{font-size:13px;min-height:48px;padding:10px 13px}.practice-card{padding:20px 17px;border-radius:21px}.pip-banner{padding:12px 15px;gap:13px;min-height:76px}.pip-banner .pip{font-size:32px}.pip-banner p{font-size:15px;line-height:1.5}.question-kind{font-size:9px}.math-question{font-size:49px}.answers{gap:10px}.answer{min-height:75px;font-size:29px;padding:14px}.practice-actions .primary{width:100%;font-size:22px;min-height:70px}.feedback{font-size:20px;padding:19px}.feedback p{font-size:16px}.floating-help{right:18px;bottom:18px;width:58px;height:58px;font-size:31px}.story{padding:20px 17px}.story-title{font-size:8px;gap:7px;letter-spacing:.1em}.read-aloud{padding:8px 12px;font-size:12px}.story h2{font-size:24px}.story>p{font-size:19px;line-height:1.85}.reading-question{font-size:24px}.text-answers{grid-template-columns:1fr}.text-answers .answer{font-size:18px;min-height:68px}.answer-instruction{font-size:13px}.home-heading h1{font-size:38px;letter-spacing:-1px}.home-scene{height:290px}.cottage{transform:scale(.85);transform-origin:bottom;bottom:60px}.home-sun{right:10%;font-size:65px}.home-cloud{left:5%;font-size:60px}.home-cat{left:calc(50% + 70px);font-size:46px}.home-garden{gap:12px;font-size:25px;bottom:16px}.home-sign{left:5%;bottom:37px;font-size:10px;padding:7px}.home-content{grid-template-columns:1fr;gap:32px}.home-content>.memory-book{border-left:0;border-top:1px solid var(--line);padding:25px 0 0}.home-actions .primary{font-size:18px;width:100%}.home-content .growth-tally{font-size:15px;gap:18px}.celebration{padding:35px 20px;margin-top:0}.celebration h1{font-size:36px;letter-spacing:-1px}.celebration>p:not(.eyebrow){font-size:16px}.celebration-art{gap:25px;font-size:25px}.celebration-art .pip{font-size:80px}.score-badge{font-size:21px;flex-direction:column;gap:8px}.celebration .growth-tally{gap:12px;font-size:13px;margin:20px 0}.finish-buttons .primary{min-width:0;width:100%;font-size:21px}.finish-buttons .secondary{width:100%}.unlock-badge{font-size:16px}.adult-page{padding:26px 21px}.adult-page h1{font-size:32px;letter-spacing:-1px}.adult-role{padding:20px;gap:12px}.adult-role>span{font-size:28px}.adult-role .primary{font-size:15px;padding:14px}.adult-page p,.adult-page li{font-size:15px}.adult-stats{padding:17px;gap:15px;font-size:13px}.adult-stats .growth-tally{font-size:13px}.adult-actions>*{width:100%}dialog{padding:30px 20px}dialog h2{font-size:25px}.help-question{font-size:20px}.big-hint{font-size:22px;padding:20px}.help-story{font-size:18px}.reading-seed{gap:15px}.reading-seed>span{font-size:45px}}
.region-pin .pin-label{visibility:hidden}.region-pin.current-pin .pin-label,.region-pin:hover .pin-label,.region-pin:focus-visible .pin-label{visibility:visible}.region-pin:not(.current-pin) .pin-dot{width:39px;height:39px;font-size:18px}.current-pin .pin-dot{width:55px;height:55px}.region-pin{transform:translate(-50%,-28%)}
@media(max-width:760px){.topbar nav{gap:4px}.topbar nav button{font-size:14px;white-space:nowrap;gap:5px;padding:10px 8px}.topbar nav button>span{font-size:18px}}
.region-panel .learning-stops{margin-top:5px;gap:20px;flex:1;justify-content:space-evenly}.region-panel .learning-stop{min-height:94px;padding-top:20px;padding-bottom:20px}.discoveries-link{display:flex;align-items:flex-start;gap:10px;background:#f0f3e4;border:1px solid #dce4ce;border-radius:15px;padding:17px 15px;text-decoration:none;font-size:14px;line-height:1.65;margin-top:25px}.discoveries-link strong{display:block;color:var(--green);text-decoration:underline;text-underline-offset:3px;margin-top:4px}.discoveries-link>span:last-child{margin-left:auto;font-size:20px;color:var(--green)}.discoveries-link:hover{background:#e7edd8}.discoveries-page{background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);padding:30px}.discovery-group{padding:10px 0 30px}.discovery-group+.discovery-group{border-top:1px solid var(--line);padding-top:30px}.discovered-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.discovered-fact{background:#f0f2e7;border:1px solid #e0e6d4;border-radius:15px;text-align:center;padding:18px 10px;display:flex;flex-direction:column;gap:8px}.discovered-fact>span{font-size:30px}.discovered-fact strong{font-size:20px}.discovered-fact small{color:var(--muted)}.discovered-fact.growing{background:#e7efd8}.discovered-fact.blooming{background:#f5edcc}.discovery-group .reading-seed ul{padding-left:20px;line-height:1.9;color:var(--muted);margin-bottom:0}.discovery-actions{text-align:center;margin-top:30px}.empty-discoveries{text-align:center;padding:30px 10px}.empty-discoveries>.pip{font-size:60px;display:block;margin-bottom:25px}
@media(max-width:760px){.region-panel .learning-stops{gap:17px;margin-top:4px}.region-panel .learning-stop{min-height:98px}.discoveries-link{font-size:15px;padding:17px 14px;margin-top:24px}.discoveries-page{padding:23px 18px}.discovery-actions .primary{width:100%;font-size:19px}.discovered-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.discovered-fact{padding:14px 7px}.discovered-fact strong{font-size:18px}}
.learner-login{background:transparent;padding:10px 4px;min-height:44px;font-weight:600}.student-signin{max-width:560px;margin:30px auto;background:#fffdf6;border:1px solid var(--line);border-radius:var(--radius);padding:36px;text-align:center}.student-signin>.pip{display:block;font-size:65px;margin-bottom:25px}.student-signin h1{font-size:39px}.student-signin form{text-align:left;margin-top:25px}.student-signin label{display:block;font-size:17px;font-weight:600;margin:20px 0}.student-signin input{display:block;width:100%;margin-top:9px;padding:15px;border:2px solid #d5dfc8;border-radius:12px;background:#fff;font-size:20px;min-height:58px}.student-signin form .primary{width:100%}.student-signin>.secondary{margin-top:25px}.student-signin #signInMessage{color:#8a542c;font-size:16px}
/* The world overview owns one viewport. Other learning pages keep normal scrolling. */
.brand{letter-spacing:-1.5px}
body[data-view="world-home"]{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
body[data-view="world-home"] .topbar{flex:0 0 76px;height:76px;min-height:0;width:100%;max-width:none;padding:0 clamp(18px,4vw,65px)}
body[data-view="world-home"] .preview-strip{display:none}
body[data-view="world-home"] main{flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:0;display:flex;flex-direction:column}
body[data-view="world-home"] .world-intro{display:block;flex:0 0 auto;text-align:center;margin:0;padding:18px 16px 8px}
body[data-view="world-home"] .world-intro h1{font-size:clamp(28px,3.1vw,46px);line-height:1.15;letter-spacing:-1.4px;margin:0 0 8px;font-weight:600}
body[data-view="world-home"] .world-intro p{font-size:16px;margin:0;line-height:1.5}
.world-overview{display:flex;flex-direction:column;flex:1;min-height:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#f8f8ef,#e7eee0)}
.world-overview .globe-stage{flex:1;min-height:0;background:none;padding:0 0 46px}
.world-overview .globe-host{position:absolute;inset:0 0 46px;width:100%;height:auto;min-height:0}
.world-overview .globe-controls{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);height:44px;white-space:nowrap}
.world-overview .globe-caption{display:none}
.world-overview .destination-panel{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(960px,100%);padding:10px 20px 16px;align-self:center;background:transparent}
.world-overview .destination{margin:0;padding:12px 16px;min-height:64px;border-radius:16px;gap:12px;box-shadow:0 3px 12px #334c3309}
.world-overview .destination:disabled{min-height:64px}
.world-overview .destination strong{font-size:15px;line-height:1.3}
.world-overview .destination small{font-size:11px;margin-top:3px}
.world-overview .destination-icon{width:28px;font-size:25px}
@media(max-width:760px){
 body[data-view="world-home"] .topbar{flex-basis:108px;height:108px;padding:10px 18px 7px;gap:4px}
 body[data-view="world-home"] .topbar .brand{font-size:28px}
 body[data-view="world-home"] .topbar nav{gap:8px}
 body[data-view="world-home"] .topbar nav button{font-size:13px;padding:9px 12px;min-height:42px}
 body[data-view="world-home"] .world-intro{padding:12px 12px 4px}
 body[data-view="world-home"] .world-intro h1{font-size:29px;letter-spacing:-1px;line-height:1.13;margin-bottom:7px}
 body[data-view="world-home"] .world-intro h1 span{display:block}
 body[data-view="world-home"] .world-intro p{font-size:14px}
 .world-overview .destination-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 14px 12px;gap:8px}
 .world-overview .destination,.world-overview .destination:disabled{min-height:58px;padding:9px 11px;gap:8px;border-radius:13px}
 .world-overview .destination strong{font-size:13px}
 .world-overview .destination small{font-size:10px}
 .world-overview .destination-icon{font-size:22px;width:24px}
}
@media(max-height:500px) and (min-width:600px){
 body[data-view="world-home"] .topbar{flex-basis:56px;height:56px;flex-wrap:nowrap;padding:0 20px}
 body[data-view="world-home"] .topbar .brand{font-size:27px}
 body[data-view="world-home"] .topbar nav{flex-basis:auto;order:0}
 body[data-view="world-home"] .topbar nav button{font-size:13px;padding:8px 12px;min-height:44px}
 body[data-view="world-home"] .world-intro{padding:8px 12px 0}
 body[data-view="world-home"] .world-intro h1{font-size:25px;margin-bottom:4px}
 body[data-view="world-home"] .world-intro h1 span{display:inline}
 body[data-view="world-home"] .world-intro p{font-size:13px}
 .world-overview .destination-panel{grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 14px 8px;gap:8px}
 .world-overview .destination,.world-overview .destination:disabled{min-height:48px;padding:7px 10px}
 .world-overview .destination strong{font-size:12px}
 .world-overview .destination small{font-size:10px}
}
@media(max-width:360px){
 body[data-view="world-home"] .topbar nav{width:100%;min-width:0;gap:4px}
 body[data-view="world-home"] .topbar nav button{flex:1;min-width:0;padding:9px 5px;gap:4px;font-size:12px}
 body[data-view="world-home"] .topbar nav button>span{font-size:16px}
}
.mission-finished{display:inline-flex;background:#e4edda;border:1px solid #b6cba5;border-radius:30px;padding:8px 15px;color:#355e47;font-size:15px!important;font-weight:600}
.learning-stop.finished{border-color:#9eb997}.learning-stop.finished .stop-number{background:#466e50;color:#fff}.learning-stop.locked .stop-number{filter:grayscale(1)}.trail-key{font-size:12px;margin:18px 0 0;color:#526c51;line-height:1.6}.region-panel .learning-stops{gap:14px;justify-content:flex-start}.region-panel .learning-stop{min-height:82px;padding-top:15px;padding-bottom:15px}.pin-finished .pin-dot{border-color:#a7c69b;background:#e3edd8}.pin-finished .pin-check{position:absolute;top:2px;left:calc(50% + 8px);right:auto;background:#3e6b47;color:white;border:2px solid #fffcef;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:14px;box-shadow:0 2px 5px #29432e33}.nature-entry{display:flex;align-items:center;gap:12px;text-align:left;background:#e5eee1;border:1px solid #b8cdaa;border-radius:16px;padding:17px 14px;margin-top:19px;min-height:76px}.nature-entry>span:first-child{font-size:29px}.nature-entry>span:last-child{margin-left:auto;font-size:23px}.nature-entry strong,.nature-entry small{display:block}.nature-entry strong{font-size:17px}.nature-entry small{font-size:12px;line-height:1.5;color:#647660;margin-top:4px}.nature-entry:hover{background:#d9e7d3}.nature-break{border:1px solid #d2ddc8;background:#eaf0e1;min-height:44px;padding:10px 14px;border-radius:12px;white-space:nowrap}.practice-top{flex-wrap:wrap}.nature-break+span{margin-left:auto}
body[data-view="nature"]{height:100dvh;overflow:hidden;display:flex;flex-direction:column}body[data-view="nature"] .preview-strip{display:none}body[data-view="nature"] .topbar{flex-shrink:0;width:100%;max-width:1500px}body[data-view="nature"] main{flex:1;min-height:0;width:100%;max-width:1500px;padding:16px 28px 12px;display:flex}.nature-page{display:flex;flex-direction:column;gap:14px;width:100%;min-height:0}.nature-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.nature-top>p{font-size:14px;margin:0;font-weight:600}.nature-top>p span{padding:0 12px;color:#9aab8e}.nature-resume{font-size:16px;min-height:48px;padding:11px 20px;box-shadow:0 2px 0 #254330}.nature-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.nature-heading h1{font-size:32px;letter-spacing:-.9px;margin:0 0 6px}.nature-heading p{font-size:15px;margin:0}.nature-heading .secondary{font-size:15px;min-height:48px;padding:12px 16px;white-space:nowrap}.nature-heading .secondary span{background:#e2ebd5;border-radius:20px;padding:4px 8px;margin-left:7px}.nature-frame{position:relative;flex:1;min-height:0;border:1px solid #bccdb2;border-radius:23px;overflow:hidden;background:#b7cba5;touch-action:none;cursor:grab;isolation:isolate}.nature-frame:focus-visible{outline:3px solid #b27b29;outline-offset:3px}.nature-frame.panning{cursor:grabbing}.habitat-world{position:absolute;left:0;top:0;width:1600px;height:1000px;transform-origin:0 0;will-change:transform;pointer-events:none}.habitat-world svg{display:block;width:1600px;height:1000px;max-width:none}.nature-hotspots{position:absolute;inset:0;pointer-events:none}.nature-hotspot{pointer-events:auto;position:absolute;transform:translate(-50%,calc(-100% - 10px));padding:4px;display:flex;align-items:center;flex-direction:column;gap:3px;background:none;min-height:48px;min-width:48px;white-space:nowrap}.nature-hotspot>span{width:35px;height:35px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#fff7d8;color:#385b43;box-shadow:0 3px 10px #304e3445;font-size:25px;font-weight:500}.nature-hotspot b{background:#fffdf0e8;border:1px solid #dae3c9;border-radius:20px;padding:4px 10px;font-size:12px;box-shadow:0 2px 5px #304e3420}.nature-hotspot.discovered>span{background:#456e4d;color:white;font-size:20px}.nature-hotspot:hover>span{transform:translateY(-3px)}.nature-camera{position:absolute;z-index:3;right:14px;bottom:14px;display:flex;align-items:center;background:#fffdf1eb;border:1px solid #c1d0b6;box-shadow:0 2px 10px #31583a22;border-radius:15px;padding:4px;gap:2px}.nature-camera button{width:44px;height:44px;border-radius:10px;background:#e5eddc;font-size:26px}.nature-camera button:disabled{opacity:.4}.nature-camera span{font-size:13px;min-width:43px;text-align:center}.habitat-caption{position:absolute;left:15px;bottom:19px;background:#edf3dfdd;color:#375d44;border-radius:20px;padding:7px 12px;font-size:12px;pointer-events:none}.nature-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#687d62}.nature-footer .text-link{font-size:13px;min-height:44px}.nature-challenge{border:1px solid #b6c894;background:#f6efd3;border-radius:14px;font-size:15px;min-height:44px;padding:10px 18px;font-weight:600}.nature-fact{font-size:22px;line-height:1.7;color:#3f5947}.nature-look{background:#edf1df;border-radius:14px;padding:17px;font-size:18px;color:#48623e}.nature-dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.nature-dialog-actions .primary{font-size:17px;min-height:54px}.nature-dialog-actions .secondary{font-size:16px}.nature-sources{font-size:12px;color:#6b7e62;margin-top:20px}.nature-sources summary{cursor:pointer;padding:12px 0}.nature-sources p{font-size:13px;margin:8px 0}.nature-journal{display:flex;flex-direction:column;gap:10px}.nature-journal button{display:flex;align-items:center;text-align:left;gap:15px;border:1px solid #d5dfca;border-radius:13px;background:#edf2e5;padding:15px;min-height:66px}.nature-journal button>span:first-child{font-size:23px;color:#52714c}.nature-journal button>span:last-child{margin-left:auto}.nature-journal strong,.nature-journal small{display:block}.nature-journal small{margin-top:4px;color:#667c5d;font-size:12px}.nature-observation{display:flex;flex-direction:column;gap:12px}.nature-observation button{font-size:20px;text-align:left;background:#f1f2e6;border:1px solid #c4d1b4;border-radius:14px;padding:18px;min-height:64px}.nature-observation button:disabled{opacity:.55}.nature-observation button.correct{opacity:1;background:#dbe9d0;border-color:#7ea368}.nature-result{font-size:19px;color:#48643d;margin:20px 0 0}.biome-list{padding:0;list-style:none}.biome-list li{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e0e6d5;padding:12px 0;font-size:17px}.biome-list li span{color:#6c7e62;font-size:12px}.animal-breathe{transform-box:fill-box;transform-origin:center;animation:forestBreathe 3.5s ease-in-out infinite}.animal-float{animation:riverFloat 4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.river-shimmer{animation:riverShimmer 5s ease-in-out infinite}@keyframes forestBreathe{50%{scale:1.018 1.035}}@keyframes riverFloat{50%{translate:0 -5px}}@keyframes riverShimmer{50%{opacity:.22}}
@media(max-width:760px){body[data-view="nature"] main{padding:10px 12px}.nature-page{gap:10px}.nature-top{gap:8px;flex-wrap:wrap}.nature-top>p{order:3;flex-basis:100%;text-align:center;font-size:12px}.nature-top .back-button{font-size:12px;min-height:44px;padding:9px 11px}.nature-resume{font-size:13px;min-height:44px;padding:9px 13px}.nature-heading{gap:10px}.nature-heading h1{font-size:23px;letter-spacing:-.5px}.nature-heading p{font-size:12px}.nature-heading .secondary{font-size:12px;padding:8px 10px;white-space:normal;max-width:112px;flex-shrink:0}.nature-heading .secondary span{display:inline-block;margin:4px 0 0}.nature-frame{border-radius:17px}.nature-camera{right:8px;bottom:8px;padding:3px}.nature-camera button{width:42px;height:42px}.habitat-caption{bottom:auto;top:9px;left:8px;font-size:10px;padding:5px 9px}.nature-footer{gap:7px}.nature-footer .text-link{font-size:11px;padding:6px 0}.nature-footer>span{display:none}.nature-challenge{font-size:12px;padding:8px 10px;max-width:190px}.nature-fact{font-size:20px}.nature-look{font-size:17px}.nature-dialog-actions .primary{width:100%}.biome-list li{font-size:15px}.biome-list li span{font-size:11px}.nature-hotspot b{font-size:10px;padding:4px 7px}.nature-hotspot>span{width:30px;height:30px;font-size:22px}.nature-hotspot{gap:2px}.nature-break{font-size:12px;padding:8px 10px}.practice-top>span{width:100%;text-align:right}.mission-finished{font-size:13px!important}.nature-entry strong{font-size:16px}}
@media(max-width:360px){body[data-view="nature"] .topbar{padding:10px 14px;min-height:108px;height:108px}body[data-view="nature"] .topbar nav{width:100%;min-width:0;gap:4px}body[data-view="nature"] .topbar nav button{flex:1;min-width:0;padding:9px 5px;gap:4px;font-size:12px}body[data-view="nature"] .topbar nav button>span{font-size:16px}}
@media(max-height:650px){.nature-heading p{display:none}.nature-heading h1{font-size:22px}.nature-heading .secondary{padding:6px 10px}.nature-page{gap:8px}.nature-hotspot b{font-size:10px}}
@media(max-height:500px) and (min-width:600px){body[data-view="nature"] .topbar{height:56px;min-height:56px;flex-wrap:nowrap;padding:0 20px}body[data-view="nature"] .topbar nav{flex-basis:auto;order:0}.nature-heading{display:none}.nature-top>p{order:0;flex-basis:auto}.nature-top{flex-wrap:nowrap}.nature-footer{min-height:44px}.nature-footer>span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}

.nature-footer #natureGuide{font-size:13px;min-height:44px;padding:10px 14px}.nature-footer #natureCount{background:#e2ebd5;border-radius:20px;padding:3px 7px;margin-left:6px}
.pip{display:inline-block;width:1.05em;height:1.2em;font-size:52px;vertical-align:middle;flex-shrink:0}.pip-cat{display:block;width:100%;height:100%;overflow:visible}.student-signin>.pip{margin-left:auto;margin-right:auto}.pip-banner .pip{width:1.05em;height:1.2em}.mission-progress .pip{font-size:30px}.home-cat .pip{font-size:66px}.pin-dot>.pip-cat{width:100%;height:100%}.current-pin .pin-dot{width:62px;height:76px;border-radius:43%;padding:2px}.pip-tail{transform-origin:110px 150px;animation:pipTail 4s ease-in-out infinite}@keyframes pipTail{50%{transform:rotate(-6deg)}}
body[data-view="trail"]{height:100dvh;overflow:hidden;display:flex;flex-direction:column}body[data-view="trail"] .topbar{flex:0 0 76px;height:76px;min-height:0;width:100%;margin:0 auto;padding:0 clamp(18px,4vw,58px)}body[data-view="trail"] .preview-strip{display:none}body[data-view="trail"] main{flex:1;min-height:0;display:flex;width:100%;max-width:1440px;margin:0 auto;padding:20px 28px}.journey-shell{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;background:#f8f8ee;border:1px solid #d6dfca;border-radius:25px;overflow:hidden}.journey-stage{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden;background:#e4eddd}.journey-landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.journey-title{position:absolute;left:34px;top:27px;z-index:3;max-width:calc(100% - 68px)}.journey-title p{font-size:12px;color:#566f54;font-weight:600;margin:0 0 9px;letter-spacing:.04em}.journey-title h1{font-size:clamp(27px,3.2vw,43px);margin:0;letter-spacing:-1.2px}.journey-finished{display:inline-block;font-size:12px;color:#416342;background:#edf3dfdd;border:1px solid #becfae;border-radius:20px;padding:5px 10px;margin-top:12px}.journey-growth{position:absolute;left:54%;bottom:12%;transform:translateX(-50%);height:72%;width:min(46vw,500px);display:flex;align-items:center;justify-content:center;transition:left .35s,opacity .25s}.journey-plant{display:block;height:100%;max-width:100%;overflow:visible}.plant-caption{position:absolute;bottom:-20px;font-size:12px;color:#304f35;background:#edf2debd;padding:5px 11px;border-radius:20px;white-space:nowrap}.journey-pip{position:absolute;left:26%;bottom:17%;transition:opacity .25s}.journey-pip .pip{font-size:clamp(100px,13vw,180px);filter:drop-shadow(0 8px 8px #375a3520)}.plant-unfold{transform-origin:200px 380px;animation:plantUnfold 1.1s cubic-bezier(.2,.65,.3,1) both}.plant-crown{transform-box:view-box;animation:leafReveal .9s ease-out both}.kapok-flowers{animation:leafReveal 1.2s ease-out both}@keyframes plantUnfold{from{scale:.85 .76;opacity:.55}to{scale:1;opacity:1}}@keyframes leafReveal{from{opacity:.2}to{opacity:1}}.journey-state{position:absolute;left:25px;bottom:18px;display:flex;align-items:center;gap:8px;z-index:3}.growth-state,.review-state{border-radius:25px;padding:7px 12px;background:#edf3dfdc;font-size:13px;color:#3c5d39;border:1px solid #d0dfbd}.state-blooming{background:#faf0c8}.review-state{background:#f2ebd4;font-size:12px}.journey-dock{flex-shrink:0;display:flex;align-items:center;gap:15px;padding:14px 20px;background:#fffdf3;border-top:1px solid #d9e2cc;min-height:88px}.journey-back{width:48px;height:48px;flex-shrink:0;background:#edf1e2;border:1px solid #d5dec8;border-radius:14px;font-size:24px}.journey-context{display:flex;gap:5px;margin-right:auto;background:#eef1e5;border-radius:15px;padding:4px}.journey-context button{min-height:46px;min-width:86px;border-radius:12px;background:transparent;padding:10px 15px;font-size:15px;color:#62725b}.journey-context button[aria-pressed="true"]{background:#dbe7cc;color:#2e533b;font-weight:700}.journey-dock>.primary{font-size:20px;min-height:58px;min-width:210px;padding:14px 25px}.journey-growth.behind-panel{left:24%;opacity:.25}.journey-pip.behind-panel{opacity:.4}.trail-overlay{position:absolute;right:5%;top:23%;bottom:15%;width:63%;max-width:800px;background:#fcfcefec;backdrop-filter:blur(9px);border:1px solid #d7e0ca;border-radius:23px;padding:24px;overflow:auto;z-index:2}.trail-overlay h2{font-size:23px;margin:0 0 20px}.trail-fact-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.trail-fact{border:1px solid #dae3cd;border-radius:12px;min-height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f0f3e7;color:#8c9d7c}.trail-fact span{font-size:20px}.trail-fact strong{font-size:15px;white-space:nowrap}.trail-fact.planted{background:#e9f0dd;color:#658343}.trail-fact.growing{background:#dceacb;color:#436b3f}.trail-fact.blooming{background:#f4eac7;color:#7e662e}.trail-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.trail-story{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:14px 10px;border:1px solid #d4dfc4;border-radius:15px;background:#eef3e3}.story-cover{display:block;width:75px;height:85px;color:#809460}.story-cover svg{width:100%;height:100%}.cover-1{color:#be995c}.cover-2{color:#759895}.trail-story strong{font-size:15px;line-height:1.4}.trail-story small{font-size:12px;color:#61764e}.trail-story.unexplored{background:#f1f1e7;color:#86917d}.trail-story.unexplored .story-cover{opacity:.4;filter:grayscale(.7)}.next-trail-steps{display:grid;gap:14px}.next-trail-step{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #b5c99d;border-radius:16px;min-height:88px;padding:18px 20px;background:#e7efd8}.next-trail-step>span:first-child{font-size:24px}.next-trail-step strong,.next-trail-step small{display:block}.next-trail-step strong{font-size:18px}.next-trail-step small{font-size:13px;color:#667e55;margin-top:5px}.next-trail-step.unavailable{background:#efefe9;border-style:dashed;border-color:#d5d9cc;color:#8b9285;filter:grayscale(1)}
@media(max-width:760px){body[data-view="trail"] .topbar{height:108px;flex-basis:108px;padding:10px 16px;flex-wrap:wrap;gap:4px}body[data-view="trail"] .topbar nav{width:100%;gap:4px}body[data-view="trail"] .topbar nav button{flex:1;min-width:0;font-size:12px;padding:9px 5px;gap:4px}body[data-view="trail"] .topbar nav button>span{font-size:16px}body[data-view="trail"] main{padding:12px}.journey-shell{border-radius:20px}.journey-title{top:21px;left:22px;max-width:calc(100% - 44px)}.journey-title p{font-size:10px;margin-bottom:7px}.journey-title h1{font-size:28px;letter-spacing:-.7px}.journey-finished{font-size:10px;margin-top:8px;padding:4px 9px}.journey-growth{left:58%;width:76%;height:66%;bottom:15%}.journey-pip{left:13%;bottom:20%}.journey-pip .pip{font-size:clamp(95px,22vw,150px)}.plant-caption{font-size:10px;bottom:-15px;padding:4px 8px}.journey-state{left:15px;bottom:13px;gap:5px}.growth-state{font-size:11px;padding:6px 10px}.review-state{font-size:10px;padding:6px 8px}.journey-dock{display:grid;grid-template-columns:44px 1fr;padding:10px;gap:9px;min-height:0}.journey-back{width:44px;height:44px;border-radius:12px}.journey-context{width:100%;margin:0;padding:3px;gap:2px;justify-content:space-between}.journey-context button{flex:1;min-width:0;min-height:44px;font-size:13px;padding:8px 7px}.journey-dock>.primary{grid-column:1/-1;width:100%;font-size:20px;min-width:0;min-height:54px;padding:12px}.trail-overlay{left:12px;right:12px;top:105px;bottom:58px;width:auto;padding:15px;border-radius:17px}.trail-overlay h2{font-size:20px;margin-bottom:12px}.journey-growth.behind-panel{opacity:.12;left:40%}.journey-pip.behind-panel{opacity:.15}.trail-story-grid{gap:8px}.trail-story{padding:11px 6px;gap:8px;border-radius:12px}.story-cover{width:48px;height:55px}.trail-story strong{font-size:12px}.trail-story small{font-size:10px}.trail-fact-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.trail-fact{min-height:54px}.trail-fact strong{font-size:13px}.next-trail-step{min-height:75px;padding:14px;gap:12px}.next-trail-step strong{font-size:16px}.next-trail-step small{font-size:12px}}
@media(max-height:500px) and (min-width:600px){body[data-view="trail"] .topbar{height:56px;flex-basis:56px;flex-wrap:nowrap;padding:0 20px}body[data-view="trail"] .topbar nav{width:auto;flex-basis:auto;order:0}body[data-view="trail"] main{padding:10px 18px}.journey-title{top:14px;left:22px}.journey-title h1{font-size:26px}.journey-title p{font-size:10px;margin-bottom:5px}.journey-finished{font-size:10px;margin-top:6px;padding:3px 9px}.journey-dock{display:flex;min-height:66px;padding:9px 13px;gap:10px}.journey-context{width:auto;margin-right:auto}.journey-context button{min-width:76px;font-size:13px;min-height:44px}.journey-dock>.primary{width:auto;min-width:185px;min-height:48px;font-size:17px;padding:10px 18px}.journey-growth{left:58%;height:88%;bottom:4%;width:36%}.journey-pip{left:35%;bottom:14%}.journey-pip .pip{font-size:95px}.plant-caption{font-size:10px;bottom:-8px}.journey-state{bottom:10px;left:15px}.trail-overlay{top:16px;bottom:15px;right:15px;left:auto;width:60%;padding:15px}.trail-overlay h2{font-size:18px;margin-bottom:10px}.trail-story-grid{gap:10px}.story-cover{width:42px;height:48px}.trail-story{padding:8px;gap:5px}.trail-story strong{font-size:12px}.trail-story small{font-size:10px}.next-trail-step{min-height:60px;padding:10px}.next-trail-step strong{font-size:15px}.next-trail-steps{gap:10px}}
@media(max-width:600px){.nature-footer{display:grid;grid-template-columns:1fr 1fr;gap:6px}.nature-footer .nature-challenge{grid-column:1/-1;max-width:none}.nature-footer #natureGuide{font-size:12px;padding:8px}.nature-footer .text-link{text-align:left;padding-left:6px}}

/* Shared viewport shell: country maps and practice. */
body:is([data-view="country"],[data-view="mission"]){height:100dvh;overflow:hidden;display:flex;flex-direction:column}body:is([data-view="country"],[data-view="mission"]) .topbar{flex:0 0 76px;height:76px;min-height:0;width:100%;margin:0 auto;padding:0 clamp(18px,4vw,58px)}body:is([data-view="country"],[data-view="mission"]) .preview-strip{display:none}body:is([data-view="country"],[data-view="mission"]) main{flex:1;min-height:0;display:flex;width:100%;max-width:1500px;margin:0 auto;padding:16px 24px}.country-shell .globe-stage{position:absolute;inset:0;min-height:0}.country-shell .globe-host{position:absolute;inset:0;height:auto;width:100%}.country-shell .globe-controls{position:absolute;right:20px;top:20px;left:auto}.country-shell .globe-caption{display:none}.country-shell .current-pin .pin-label{display:none}.country-shell .current-pin{transform:translate(-50%,-50%)}.country-shell .current-pin .pin-dot{background:#fffdf2d9}.country-current{position:absolute;left:24px;bottom:17px;background:#fffdf0e8;border:1px solid #cbdabd;border-radius:17px;padding:11px 16px;pointer-events:none}.country-current strong,.country-current span{display:block}.country-current strong{font-size:17px}.country-current span{font-size:11px;color:#65775b;margin-top:5px}.country-overlay{top:110px;bottom:80px}.country-nature{min-height:48px;background:#e6efdc;border:1px solid #c4d5b3;border-radius:14px;padding:12px 17px;font-size:14px;white-space:nowrap}.country-dock .journey-context{margin-right:auto}.country-shell .pin-locked{opacity:1}.country-shell .pin-locked .pin-dot{filter:grayscale(1);color:#77836e;background:#e2e6da}.country-shell .region-pin .pin-label{font-size:12px}.country-shell .journey-title{pointer-events:none}.country-shell .globe-controls button{background:#fffdf2e8}
body[data-view="mission"] main{flex-direction:column;gap:8px;padding:12px 24px 16px}.practice-top{flex:0 0 44px;margin:0;gap:10px}.practice-top .back-button,.practice-top .nature-break{min-height:44px;padding:8px 14px}.practice-top>span{font-size:13px;width:auto;max-width:48%;margin-left:auto}.mission-progress{flex:0 0 5px;height:5px;margin:2px 0 10px}.mission-progress b{top:-13px}.mission-progress .pip{font-size:24px}.practice-card{flex:1;min-height:0;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;padding:18px 22px;border-radius:23px;overflow:hidden}.question-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,42px);flex:1;min-height:0}.story{padding:19px 23px;margin:0;min-height:0;display:flex;flex-direction:column;border-radius:18px}.story-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.story-header h2{font-size:clamp(22px,2.2vw,29px);margin:0;line-height:1.25}.story-header .read-aloud{min-height:44px;padding:9px 14px;flex-shrink:0}.story>p{font-size:clamp(17px,1.5vw,21px);line-height:1.65;margin:0;color:#405740}.question-pane{display:flex;flex-direction:column;justify-content:center;gap:22px;min-height:0;min-width:0}.reading-question{font-size:clamp(23px,2.1vw,30px);line-height:1.35;letter-spacing:-.5px;margin:0;text-align:center}.answers{margin:0;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.answer{min-height:74px;padding:14px;font-size:31px}.text-answers .answer{min-height:78px;font-size:clamp(16px,1.35vw,20px);line-height:1.4;padding:15px 13px;text-align:left}.math-task{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;min-width:0}.math-question{font-size:clamp(44px,5vw,69px);margin:0 0 20px;text-align:center}.math-question.word-question{font-size:clamp(24px,2.7vw,36px);line-height:1.45;letter-spacing:-.5px}.math-task .seed-groups{margin:0;gap:7px;max-width:100%;display:flex;flex-wrap:wrap;justify-content:center}.math-task .seed-group{min-width:34px;max-width:75px;min-height:29px;padding:7px;gap:4px;border-radius:10px}.math-task .seed-group i{width:6px;height:9px}.math-task .group-caption{font-size:14px;line-height:1.45;margin:12px 0 0}.practice-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:98px;border-top:1px solid #e2e8d8;padding-top:12px;margin-top:15px}.practice-coach{flex:1;min-width:0}.practice-footer .pip-banner{min-height:38px;background:transparent;padding:0;gap:12px;border:0}.practice-footer .pip-banner .pip{font-size:32px}.practice-footer .pip-banner p{font-size:16px;margin:0;line-height:1.4}.practice-footer .feedback{font-size:17px;line-height:1.45;border:0;border-radius:10px;margin:5px 0 0;padding:8px 12px}.practice-footer .feedback:empty{display:none}.practice-footer-actions{display:flex;align-items:center;gap:9px;padding-right:65px;flex-shrink:0}.practice-footer-actions .primary{font-size:18px;min-height:56px;padding:12px 20px;white-space:nowrap}.practice-footer-actions .secondary{font-size:14px;min-height:48px;padding:10px 13px}.practice-view-toggle,.compact-answer{display:none!important}body[data-view="mission"] .floating-help{width:48px;height:48px;font-size:29px;bottom:38px;right:37px}.practice-help{max-width:820px;padding:24px;max-height:calc(100dvh - 24px);overflow:auto}.help-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.help-heading .pip{font-size:40px}.help-heading h2{margin:0;font-size:25px;padding-right:20px}.practice-help .help-question{font-size:20px;line-height:1.4;margin:10px 0 16px}.help-content{display:flex;gap:18px;align-items:center}.help-content>.help-story{flex:1;font-size:17px;line-height:1.6;margin:0;padding:14px;background:#f1f1df;border-radius:12px}.help-content>.big-hint{flex:1;font-size:21px;line-height:1.45;padding:16px;margin:0;background:#f9efcf}.help-content .seed-groups{flex:1;gap:5px}.help-content .seed-group{padding:6px;min-width:30px}.help-content .seed-group i{width:6px;height:9px}.help-content .group-caption{display:none}.help-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}.help-actions .primary{font-size:18px;min-height:50px;padding:12px 18px}.help-actions .secondary{min-height:50px}
@media(max-width:760px){body:is([data-view="country"],[data-view="mission"]) .topbar{height:108px;flex-basis:108px;padding:10px 16px;flex-wrap:wrap;gap:4px}body:is([data-view="country"],[data-view="mission"]) .topbar nav{width:100%;gap:4px}body:is([data-view="country"],[data-view="mission"]) .topbar nav button{flex:1;min-width:0;font-size:12px;padding:9px 5px;gap:4px}body:is([data-view="country"],[data-view="mission"]) .topbar nav button>span{font-size:16px}body:is([data-view="country"],[data-view="mission"]) main{padding:10px 12px}.country-shell .globe-controls{top:18px;right:12px;gap:4px}.country-shell .globe-controls button{min-width:42px;min-height:42px}.country-shell .journey-title{top:20px;left:18px}.country-shell .journey-title h1{font-size:27px}.country-current{left:14px;bottom:13px;padding:9px 12px;max-width:calc(100% - 28px)}.country-current strong{font-size:15px}.country-current span{font-size:10px}.country-dock{grid-template-columns:44px minmax(0,1fr) auto;gap:7px}.country-dock .journey-context{margin:0}.country-dock .journey-context button{font-size:12px;padding:8px 5px}.country-nature{padding:8px 6px;min-width:48px;font-size:11px;min-height:48px;white-space:normal;max-width:54px}.country-dock>.primary{grid-column:1/-1}.country-dock:not(:has(.country-nature)) .journey-context{grid-column:2/-1}.country-overlay{top:110px;bottom:78px}.practice-top{flex-basis:42px;flex-wrap:nowrap;gap:7px}.practice-top .back-button,.practice-top .nature-break{font-size:12px;padding:8px 10px;min-height:42px}.practice-top>span{font-size:10px;max-width:42%;line-height:1.4}.mission-progress{margin-bottom:7px}.practice-card{padding:13px;border-radius:18px}.question-workspace{gap:15px}.practice-footer{gap:8px;min-height:90px;padding-top:8px;margin-top:10px}.practice-footer .pip-banner{gap:8px;min-height:32px}.practice-footer .pip-banner .pip{font-size:27px}.practice-footer .pip-banner p{font-size:14px}.practice-footer .feedback{font-size:15px;padding:7px 9px;line-height:1.4}.practice-footer-actions{gap:6px;padding-right:50px}.practice-footer-actions .primary{font-size:15px;padding:11px 14px;min-height:48px}.practice-footer-actions .secondary{font-size:12px;padding:8px 10px;min-height:44px}body[data-view="mission"] .floating-help{right:23px;bottom:27px;width:44px;height:44px;font-size:27px}.story{padding:15px}.story-header{margin-bottom:12px;gap:10px}.story-header h2{font-size:22px}.story>p{font-size:18px;line-height:1.6}.reading-question{font-size:24px}.text-answers .answer{font-size:16px;min-height:66px;padding:12px}.math-task .seed-group{max-width:52px;padding:5px;gap:3px}.math-task .seed-group i{width:5px;height:7px}.math-task .group-caption{font-size:12px}.help-content{gap:10px}.practice-help{padding:20px}.help-heading h2{font-size:22px}.practice-help .help-question{font-size:18px}.help-content>.help-story{font-size:16px;padding:10px}.help-content>.big-hint{font-size:18px;padding:12px}}
@media(max-width:600px),(max-height:600px){.practice-card.reading .question-workspace{display:block}.practice-card.reading[data-reading-view="story"] .question-pane{display:none}.practice-card.reading[data-reading-view="answer"] .story{display:none}.practice-card.reading .story,.practice-card.reading .question-pane{height:100%}.practice-card.reading .question-pane{justify-content:center;gap:18px}.practice-card.reading .practice-view-toggle{display:flex!important;gap:3px;background:#edf1e2;padding:3px;border-radius:12px}.practice-view-toggle button{min-height:40px;padding:8px 11px;background:transparent;border-radius:9px;font-size:13px}.practice-view-toggle button[aria-pressed="true"]{background:#d7e4c7;font-weight:600}.practice-card.reading[data-reading-view="story"] .compact-answer{display:inline-flex!important}.practice-card.reading[data-reading-view="story"] #nextQuestion,.practice-card.reading[data-reading-view="story"] #retryHelp{display:none!important}.practice-footer{flex-direction:column;align-items:stretch;gap:8px}.practice-coach{width:100%}.practice-footer-actions{justify-content:flex-end}.practice-footer .pip-banner{min-height:28px}.practice-footer .pip-banner .pip{font-size:24px}.practice-footer .feedback{margin-top:3px;font-size:14px}.math-question{font-size:44px}.math-question.word-question{font-size:23px}.answers{gap:10px}.answer{min-height:62px;font-size:27px}.text-answers .answer{min-height:66px}.help-heading h2{font-size:21px}.help-content>.help-story{font-size:15px}.help-content>.big-hint{font-size:17px}.practice-help .help-question{font-size:17px;margin:8px 0 12px}.help-actions{margin-top:12px}}
@media(max-height:600px) and (min-width:600px){body:is([data-view="country"],[data-view="mission"]) .topbar{height:56px;flex-basis:56px;flex-wrap:nowrap;padding:0 20px}body:is([data-view="country"],[data-view="mission"]) .topbar nav{width:auto;flex-basis:auto;order:0}body[data-view="mission"] main{padding:8px 20px;gap:5px}.practice-top{flex-basis:40px}.mission-progress{margin:1px 0 7px}.practice-card{padding:11px 16px}.practice-footer{flex-direction:row;align-items:center;min-height:66px;margin-top:8px;padding-top:7px;gap:15px}.practice-footer .pip-banner p{font-size:13px}.practice-footer .feedback{font-size:14px;padding:5px 8px}.practice-footer-actions .primary{font-size:15px;min-height:44px;padding:9px 14px}.practice-view-toggle button{min-height:38px;font-size:12px;padding:7px 10px}.story{padding:12px 16px}.story-header{margin-bottom:8px}.story-header h2{font-size:21px}.story>p{font-size:17px;line-height:1.5}.story-header .read-aloud{min-height:40px;padding:7px 12px}.text-answers .answer{min-height:54px;font-size:16px;padding:9px 12px}.question-pane{gap:12px}.reading-question{font-size:24px}.math-question{font-size:44px;margin-bottom:12px}.math-question.word-question{font-size:23px}.math-task .seed-groups{gap:4px}.math-task .seed-group{padding:4px;min-height:24px}.math-task .group-caption{font-size:12px;margin-top:6px}body[data-view="mission"] .floating-help{right:31px;bottom:24px;width:44px;height:44px}.country-dock{display:flex;padding:9px 13px;min-height:66px}.country-dock .journey-context{width:auto;margin-right:auto}.country-dock>.primary{width:auto;min-width:175px;min-height:48px;font-size:17px}.country-shell .journey-title{top:13px;left:20px}.country-shell .journey-title h1{font-size:25px}.country-shell .journey-title p{font-size:10px;margin-bottom:5px}.country-current{bottom:10px;left:20px;padding:7px 12px}.country-current strong{font-size:14px}.country-current span{font-size:10px}.country-overlay{top:16px;bottom:60px}.practice-help{padding:17px 22px}.help-heading{margin-bottom:8px}.help-heading .pip{font-size:30px}.help-heading h2{font-size:21px}.help-actions .primary,.help-actions .secondary{min-height:44px;font-size:15px;padding:9px 14px}}
.story-pager{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:auto;padding-top:8px;flex-shrink:0;font-size:13px;color:#5b7153}.story-pager button{min-width:42px;min-height:40px;border:1px solid #d4dfc7;border-radius:11px;background:#eef1e2;font-size:20px}.story-pager button:disabled{opacity:.4}
@media(max-width:600px),(max-height:600px){.practice-card.reading[data-reading-view="story"] .practice-view-toggle,.practice-card.reading[data-reading-view="story"] .practice-coach{display:none!important}.practice-card.reading[data-reading-view="answer"] .practice-view-toggle [data-reading-view="answer"]{display:none!important}.practice-footer-actions{flex-shrink:1;min-width:0}.practice-coach:has(#feedback:not(:empty)){display:flex;align-items:center;gap:5px}.practice-coach:has(#feedback:not(:empty)) .pip-banner p{display:none}.practice-coach:has(#feedback:not(:empty)) .pip-banner{flex:0 0 26px}.practice-coach:has(#feedback:not(:empty)) #feedback{margin:0;flex:1}.practice-card.reading[data-reading-view="story"] .practice-footer{min-height:54px}.practice-view-toggle button{padding:8px 10px}}
@media(max-width:400px){body[data-view="mission"] .topbar{height:96px;flex-basis:96px;padding:7px 14px}body[data-view="mission"] .topbar .brand{font-size:26px}body[data-view="mission"] main{padding:8px 10px;gap:6px}.practice-card{padding:10px}.practice-footer{min-height:0;gap:6px;padding-top:7px;margin-top:8px}.practice-footer .feedback{font-size:13px;line-height:1.35}.practice-footer-actions{padding-right:47px;gap:5px}.practice-footer-actions .primary{font-size:14px;padding:9px 12px;min-height:46px}.practice-footer-actions .secondary{font-size:12px;padding:9px;min-height:44px}.reading-question{font-size:21px;line-height:1.25}.practice-card.reading .question-pane{gap:12px}.text-answers .answer{font-size:15px;min-height:52px;padding:8px 10px}.story>p{font-size:17px;line-height:1.5}.story-header h2{font-size:20px}.story-header .read-aloud{padding:7px 10px;font-size:12px}.story{padding:12px}.practice-footer .pip-banner p{font-size:13px}body[data-view="mission"] .floating-help{right:19px;bottom:22px}}
@media(max-height:600px) and (min-width:600px){body:is([data-view="country"],[data-view="mission"]) .topbar nav button{font-size:13px;padding:8px 12px;min-height:44px;height:44px}body:is([data-view="country"],[data-view="mission"]) .topbar nav button>span{font-size:18px;line-height:1}.reading-question{font-size:21px;line-height:1.25}.practice-card.reading .question-pane{gap:10px}.text-answers .answer{min-height:50px}.answers{gap:8px}.practice-footer .pip-banner p{font-size:12px}.practice-footer .feedback{line-height:1.3}}
.math-task .seed-groups{display:grid;grid-template-columns:repeat(var(--group-columns),minmax(0,1fr));width:min(100%,360px)}.math-task .seed-group{width:100%;justify-self:center}.help-content .seed-groups{display:grid;grid-template-columns:repeat(var(--group-columns),minmax(0,1fr));width:100%;max-width:none;margin:0;gap:6px}.help-content .seed-group{width:100%;max-width:80px;justify-self:center;gap:3px;padding:5px}.help-content .seed-group i{width:5px;height:7px}
dialog:has(.nature-observation){padding:22px;max-height:calc(100dvh - 24px)}dialog:has(.nature-observation) h2{font-size:25px;margin-bottom:14px}dialog:has(.nature-observation) .eyebrow{margin-bottom:10px}.nature-observation button{min-height:56px;font-size:18px;padding:12px}.nature-result{font-size:16px;line-height:1.4;margin-top:12px}dialog:has(.nature-observation) .nature-fact{font-size:18px;line-height:1.5;margin-bottom:15px}
@media(max-width:600px){.help-content:has(.seed-groups){display:grid;grid-template-columns:1fr}.help-content .seed-group{max-width:58px;padding:3px;gap:2px}.help-content .seed-group i{height:6px}.country-shell .globe-controls{top:18px;right:10px;gap:3px}.country-shell .globe-controls button{min-width:36px;min-height:40px}.country-shell .journey-title h1{font-size:24px}}
@media(max-height:600px) and (min-width:600px){.math-task .seed-group{max-width:56px;padding:3px;gap:2px;min-height:0}.math-task .seed-group i{width:5px;height:6px}.math-task .seed-groups{gap:4px;max-width:260px}.math-task .math-question{font-size:34px;line-height:1.3;margin-bottom:8px}.math-task .word-question{font-size:22px}.math-task:has(.word-question) .seed-groups,.math-task:has(.word-question) .group-caption{display:none}.math-task .group-caption{font-size:11px;margin-top:4px}.nature-observation{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.nature-observation button{font-size:16px;min-height:64px;padding:10px}dialog:has(.nature-observation) .nature-fact{font-size:17px}dialog:has(.nature-observation) h2{font-size:23px}.help-content .seed-group{max-width:54px;padding:3px;gap:2px;min-height:0}.help-content .seed-group i{height:6px}.help-content .seed-groups{gap:4px}}
@media(max-width:600px){.practice-card.math .question-workspace{display:flex;flex-direction:column;gap:12px}.practice-card.math .math-task{flex:1}.practice-card.math .question-pane{flex:1;justify-content:center}.practice-card.math .math-question{font-size:42px;margin-bottom:10px}.practice-card.math .word-question{font-size:23px;line-height:1.35}.practice-card.math .seed-groups{max-width:260px}.practice-card.math .seed-group{max-width:52px;padding:4px;gap:2px}.practice-card.math .group-caption{font-size:11px}.help-content{display:grid;grid-template-columns:1fr}.help-actions .primary,.help-actions .secondary{font-size:15px;min-width:0;flex:1;padding:10px 12px}.help-content>.help-story{font-size:15px;line-height:1.5}.help-content>.big-hint{font-size:17px;line-height:1.4}}
@media(max-width:400px) and (max-height:700px){.practice-card.math .math-task .many-groups{display:none}.practice-card.math .math-question{font-size:36px}.practice-card.math .word-question{font-size:21px}.practice-card.math .answer{min-height:54px;font-size:27px;padding:9px}.practice-card.math .seed-groups{max-width:210px}}
.country-shell .region-pin .pin-label{position:absolute;left:50%;top:100%;transform:translateX(-50%);pointer-events:none}.country-shell .region-pin{min-width:48px;min-height:48px}.country-shell .current-pin .pin-label{display:none}
.country-shell .region-pin{transform:translate(-50%,-50%)}
.student-management-card header>div{min-width:0;overflow-wrap:anywhere}.management-dialog .dialog-heading h2{overflow-wrap:anywhere}#linkedSelection{max-height:120px;overflow:auto}.linked-student-chip{max-width:100%;overflow-wrap:anywhere}#studentLinkChoices label{overflow-wrap:anywhere}@media(max-width:650px){.management-heading{flex-direction:column!important;align-items:stretch!important}.management-heading .primary{align-self:flex-start}.management-pagination{gap:10px}.management-pagination .secondary{font-size:13px;padding:10px}.management-pagination span{font-size:12px}}
/* Role-specific account workspaces. Student landscapes keep their own layout. */
body[data-role=admin] #main,body[data-role=parent] #main{max-width:1440px;padding:36px 32px 64px}body[data-role=admin] .topbar,body[data-role=parent] .topbar{max-width:1440px;padding-inline:32px}body[data-role=admin] #saveStatus,body[data-role=parent] #saveStatus{display:none}.adult-identity{font-size:14px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button,.account-menu{padding:11px 14px;border:1px solid var(--line);border-radius:11px;background:#fffdf6;font-weight:600}.logout-button{background:#355944;color:white;border-color:#355944}.management-page h1{font-size:clamp(30px,4vw,42px);letter-spacing:-1px;margin-bottom:10px}.management-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.management-heading p{margin-bottom:0}.management-heading .eyebrow{margin-bottom:10px}.management-heading .primary{font-size:17px;white-space:nowrap;min-height:48px}.management-tools{display:flex;align-items:end;gap:16px;background:#edf1e5;border:1px solid var(--line);border-radius:18px;padding:18px}.management-search{flex:1}.management-tools label,.management-dialog label{font-size:14px;font-weight:600;display:block}.management-tools input,.management-tools select,.management-dialog input,.management-dialog select{display:block;width:100%;margin-top:7px;min-height:46px;padding:10px 12px;border:1px solid #bac7ae;border-radius:10px;background:white;color:var(--ink);font-size:16px}.management-tools .secondary{min-height:46px}.managed-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.student-management-card{padding:23px;background:#fffef8;border:1px solid var(--line);border-radius:22px;min-width:0;display:flex;flex-direction:column;box-shadow:0 4px 12px #243f2f05}.student-management-card>header{display:flex;align-items:center;gap:13px;min-width:0}.student-monogram{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:16px;background:#e4ead8;color:#355944;font-size:24px;font-weight:700}.student-management-card h2{font-size:20px;margin:0 0 3px;letter-spacing:-.4px;overflow-wrap:anywhere}.student-management-card header div>span{font-size:12px;color:var(--muted)}.student-management-card dl{display:flex;gap:26px;border-bottom:1px solid var(--line);padding-bottom:18px;margin:20px 0}.student-management-card dt{color:var(--muted);font-size:12px;margin-bottom:4px}.student-management-card dd{margin:0;font-size:15px;font-weight:600}.subject-status>div{display:flex;gap:12px;align-items:center;padding:8px 0}.subject-status>div>span{font-size:22px;width:27px;color:#65814e}.subject-status p{line-height:1.45;margin:0}.subject-status strong{display:block;color:var(--ink);font-size:14px}.subject-status small{display:block;color:var(--muted);font-size:13px}.student-management-card>footer{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:24px}.student-management-card footer>span{font-size:13px;color:var(--muted)}.student-management-card footer small{display:block;font-size:11px;margin-top:5px}.student-management-card .secondary{font-size:13px;padding:12px;min-height:44px;white-space:nowrap}.management-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:28px}.management-pagination span{font-size:14px}.management-pagination button:disabled{opacity:.4}.management-empty{grid-column:1/-1;padding:44px;text-align:center}.admin-setup{background:#fff4d2;border:1px solid #d6bd79;border-radius:15px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;font-size:14px}.admin-setup .secondary{font-size:14px;white-space:nowrap}.parent-children{display:flex;flex-wrap:wrap;gap:8px}.parent-children span,.linked-student-chip{background:#e7edde;border-radius:10px;padding:8px 11px;font-size:13px}.parent-management-card>p{font-size:14px;overflow-wrap:anywhere;margin:18px 0}.management-dialog{width:min(780px,calc(100vw - 24px));max-width:780px;max-height:90dvh;overflow:auto;text-align:left;padding:28px}.management-dialog .dialog-heading h2{padding-right:35px;font-size:26px;margin-bottom:24px}.management-dialog form>label{margin:14px 0}.management-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.management-dialog .primary,.management-dialog .secondary{font-size:16px;min-height:45px;padding:12px 18px}.management-dialog form>button{margin-top:18px}.management-dialog .small-note,.small-note{font-size:13px;line-height:1.6;color:var(--muted)}.student-curriculum{border-block:1px solid var(--line);margin:26px 0;padding:24px 0}.student-curriculum h3{margin-bottom:10px}.student-curriculum .management-fields{grid-template-columns:1fr 1.2fr}.management-actions{display:flex;gap:12px;flex-wrap:wrap}#managedConfirm{background:#fff5d8;padding:16px;margin-top:20px;border-radius:12px}#managedConfirm button{margin-right:10px}.management-dialog details summary{font-size:16px;cursor:pointer;padding:10px 0}.parent-student-picker{border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:24px}.parent-student-picker legend{font-weight:700;padding-inline:6px}#linkedSelection{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}#studentLinkChoices{max-height:220px;overflow:auto;border-block:1px solid var(--line);margin:14px 0}#studentLinkChoices label{padding:10px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);font-weight:400}#studentLinkChoices input{width:20px;min-height:20px;margin:0}#studentLinkChoices small{margin-left:auto;color:var(--muted)}.dialog-status{color:#8b4d23;margin-top:14px}.login-choice{max-width:660px}.login-choice h1{font-size:35px}.login-portals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}.login-portal{border:1px solid #bfccad;background:#edf1e2;border-radius:18px;padding:25px 15px;min-height:160px}.login-portal:hover{background:#e1e9d2}.login-portal>span{display:block;font-size:35px;margin-bottom:13px}.login-portal strong,.login-portal small{display:block}.login-portal strong{font-size:19px}.login-portal small{font-size:13px;color:var(--muted);margin-top:8px}.owner-signin{display:block;font-size:13px;margin-top:22px;color:var(--muted);text-underline-offset:4px}.student-signin .text-link{margin-top:15px}body[data-role=anonymous] .topbar{justify-content:center}body[data-role=anonymous] #learner{display:none}
@media(max-width:1100px){.managed-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.adult-identity{display:none}body[data-role=admin] .topbar nav button,body[data-role=parent] .topbar nav button{padding:12px}}@media(max-width:650px){body[data-role=admin] #main,body[data-role=parent] #main{padding:24px 16px 44px}body[data-role=admin] .topbar,body[data-role=parent] .topbar{padding:10px 16px;height:auto;min-height:82px;flex-wrap:wrap;gap:8px}body[data-role=admin] .topbar nav,body[data-role=parent] .topbar nav{order:3;flex-basis:100%;justify-content:center}body[data-role=admin] .topbar nav button,body[data-role=parent] .topbar nav button{font-size:14px;min-height:42px}.managed-cards{grid-template-columns:1fr}.management-heading{align-items:start;gap:12px}.management-heading .primary{font-size:14px;padding:12px}.management-tools{flex-wrap:wrap;padding:14px;gap:12px}.management-search{flex-basis:100%}.management-tools label:not(.management-search){flex:1}.management-fields{grid-template-columns:1fr}.management-dialog{padding:24px 18px}.admin-setup{align-items:start;flex-direction:column}.student-signin{padding:26px 22px;margin-top:12px}.login-portals{gap:10px}.login-portal{padding:20px 8px}.login-portal strong{font-size:17px}.login-choice h1{font-size:30px}.logout-button,.account-menu{padding:10px 12px;font-size:13px}.student-curriculum .management-fields{grid-template-columns:1fr}}
.account-settings{border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:26px;text-align:left}.account-settings legend{font-weight:700;padding:0 8px}.account-settings label{display:block;margin:12px 0}.account-settings select,.world-admin select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #b9c9ac;border-radius:10px;background:#fffdf6;min-height:44px}.world-admin{border-block:1px solid var(--line);padding:28px 0;margin:28px 0}.world-admin .section-heading{gap:16px;flex-wrap:wrap}.admin-table{overflow-x:auto}.world-admin table{width:100%;border-collapse:collapse;font-size:15px;text-align:left}.world-admin th,.world-admin td{padding:14px 10px;border-bottom:1px solid var(--line)}.world-admin th button{background:#e8eedc;border-radius:10px;padding:10px;font-weight:700}.world-admin th [aria-pressed=true]{background:#355944;color:white}.world-admin small{display:block;color:var(--muted);font-weight:400;padding:6px 10px}.world-controls{margin-top:28px;padding:22px;background:#f1f4e8;border-radius:18px}.world-controls form{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.world-controls label{flex:1;min-width:160px}.world-controls .primary{font-size:17px;min-height:48px}.world-controls .admin-actions{display:flex;gap:12px;flex-wrap:wrap}.world-controls .control-note{font-size:14px;margin:18px 0}.world-control-confirm{padding:18px;background:#fff8dc;border:1px solid #b8a563;border-radius:14px;margin-top:20px}.world-control-confirm button{margin:5px}.save-status{pointer-events:none;z-index:30}.save-status[data-sync=changed],.save-status[data-sync=offline],.save-status[data-sync=signin]{pointer-events:auto;background:#fff8dc;border:1px solid #b8a563;border-radius:12px;padding:10px 14px;max-width:min(540px,calc(100vw - 24px))}.save-status button{background:#355944;color:white;padding:10px;border-radius:8px;margin-left:8px;pointer-events:auto}.save-status[data-sync=saved]{opacity:.65;font-size:11px}body[data-motion=reduced] *,body[data-motion=reduced] *:before,body[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body[data-motion=reduced] .confetti{display:none}@media(max-width:600px){.world-controls{padding:16px}.world-admin th,.world-admin td{padding:10px 5px;font-size:13px}.world-controls .admin-actions>*{width:100%}.save-status{font-size:12px}}
/* Guided conversation: one question, a short exchange, and answers in the dock. */
.practice-card.conversation-practice{max-width:900px;width:100%;margin:0 auto;padding:0;display:flex;flex-direction:column;min-height:0;background:#fffdf8;overflow:hidden}.conversation-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 24px;border-bottom:1px solid var(--line);gap:12px}.conversation-heading>span:last-child{font-size:12px;color:var(--muted)}.conversation-badge{display:flex;gap:10px;align-items:center;font-size:16px}.conversation-badge .pip{width:35px;height:40px;font-size:34px}.conversation-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 28px;scrollbar-width:thin}.speaker-label{display:block;font-size:12px;font-weight:700;letter-spacing:.04em;color:#61765e;margin-bottom:7px}.question-bubble{background:#edf2e3;border:1px solid #dbe6cc;border-radius:4px 22px 22px;padding:17px 22px;max-width:680px}.question-bubble p{font-size:16px;margin:0 0 8px}.conversation-practice .math-question{font-size:clamp(30px,4vw,46px);text-align:left;margin:0;letter-spacing:-1px}.conversation-practice .math-question.word-question{font-size:clamp(20px,2.3vw,28px);line-height:1.35}.conversation-turn{margin:14px 0 0;max-width:85%;width:fit-content}.conversation-turn p{margin:0;border-radius:4px 18px 18px;background:#edf2e3;padding:10px 16px;font-size:17px;color:var(--ink)}.conversation-turn.student{margin-left:auto;text-align:right}.conversation-turn.student p{border-radius:18px 4px 18px 18px;background:#385c48;color:#fff;font-size:22px;min-width:64px;text-align:center}.conversation-practice .practice-coach{display:block!important;margin-top:16px;width:100%}.conversation-practice .pip-banner{background:transparent;display:flex;gap:12px;min-height:40px;padding:0}.conversation-practice .pip-banner .pip{width:38px;height:45px;font-size:38px;flex:0 0 38px}.conversation-practice .pip-banner p{display:block!important;font-size:17px;margin:0;color:var(--ink)}.conversation-practice #feedback:not(:empty){margin:6px 0 0 50px;padding:10px 14px;background:#fff1cc;border-radius:4px 16px 16px;font-size:17px;line-height:1.4;color:#655223}.conversation-practice .practice-footer{margin:0;padding:13px 28px 18px;display:flex;flex-direction:column;align-items:stretch;border-top:1px solid var(--line);gap:10px;flex-shrink:0;background:#fffdf8;min-height:0}.conversation-answer-area{width:100%}.conversation-practice .answers{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.conversation-practice .answer{font-size:27px;min-height:58px;padding:8px;border-radius:15px;background:white}.conversation-practice .answer.correct{background:#dcebc7;border-color:#91ae70}.conversation-practice .answer.incorrect{background:#f5e9e0;opacity:.55}.conversation-practice .practice-footer-actions{padding-right:0;min-height:0;justify-content:flex-end}.conversation-practice .practice-footer-actions:has(#nextQuestion[hidden]):has(#retryHelp[hidden]){display:none}.conversation-practice .primary{min-height:48px;font-size:18px;padding:11px 24px}.conversation-practice .secondary{min-height:46px}.conversation-practice .conversation-thread:focus-visible{outline:2px solid #b27b29;outline-offset:-3px}
@media(max-width:600px){.conversation-heading{padding:10px 15px}.conversation-heading>span:last-child{display:none}.conversation-thread{padding:14px 16px}.conversation-practice .practice-footer{padding:12px 16px 15px}.conversation-practice .answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.conversation-practice .answer{min-height:49px;font-size:25px}.conversation-practice .pip-banner p{font-size:15px}.conversation-practice #feedback:not(:empty){font-size:15px;margin-left:0}.conversation-practice .practice-footer-actions{padding-right:45px}.question-bubble{padding:14px 16px}.question-bubble p{font-size:14px}.conversation-turn{margin-top:10px}.conversation-turn p{font-size:15px}.conversation-turn.student p{font-size:20px}}
@media(max-height:650px) and (min-width:601px){.conversation-heading{padding:6px 20px}.conversation-thread{padding:10px 20px}.question-bubble{padding:10px 18px}.conversation-practice .math-question{font-size:32px}.conversation-practice .practice-coach{margin-top:8px}.conversation-practice .practice-footer{padding:8px 20px;gap:6px}.conversation-practice .answer{min-height:46px;font-size:23px}.conversation-practice .pip-banner p,.conversation-practice #feedback:not(:empty){font-size:15px}}
@media(prefers-reduced-motion:reduce){.conversation-practice .pip{animation:none!important}}
.conversation-groups{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.conversation-groups>span{display:flex;flex-wrap:wrap;gap:5px;padding:9px 12px;border:1px solid #abc48d;border-radius:10px;background:#fafcf2;max-width:90px}.conversation-groups i{display:block;width:9px;height:14px;border-radius:70% 0 70% 0;background:#7e9f62;transform:rotate(-20deg)}
@media(max-width:600px){.conversation-practice .practice-footer-actions{padding-right:70px}}
.typed-answer-form>label{display:block;font-size:18px;font-weight:700;margin-bottom:10px;color:var(--ink)}.typed-answer-controls{display:flex;gap:12px;align-items:stretch}.typed-answer-controls input{width:100%;min-width:0;flex:1;border:2px solid #9bb786;border-radius:15px;background:white;padding:12px 18px;font:inherit;font-size:27px;color:var(--ink);min-height:60px}.typed-answer-controls input::placeholder{font-size:18px;color:#798375}.typed-answer-controls input:focus{outline:3px solid #b27b29;outline-offset:3px}.typed-answer-controls input[aria-invalid=true]{border-color:#aa6a47}.typed-answer-controls .primary{white-space:nowrap}.typed-answer-form>p{margin:8px 0 0;font-size:15px;color:#8b4e2c}.conversation-answer-area:has(#typedAnswerForm:not([hidden]))>#conversationAnswerLabel{display:none}@media(max-width:600px){.typed-answer-controls{flex-direction:column;gap:10px}.typed-answer-controls input{min-height:54px;font-size:25px}.typed-answer-controls .primary{margin-right:65px;font-size:17px}.typed-answer-form>label{font-size:17px;margin-bottom:8px}}
.practice-card.reading .typed-answer-form{width:100%}.practice-card.reading .typed-answer-controls{flex-direction:column;gap:10px}.practice-card.reading .typed-answer-controls input{font-size:20px;min-height:56px}.practice-card.reading .typed-answer-controls .primary{font-size:17px;white-space:normal;min-height:48px}.reading-student-response{margin:0;padding:10px 14px;border-radius:12px;background:#edf2e3;font-size:16px;color:var(--ink);overflow-wrap:anywhere}.help-story mark{background:#f7df85;color:#233a2e;border-radius:4px;padding:2px 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.help-story .clue-label{font-weight:700;color:#3d6246;margin:0 0 12px;font-size:15px}.help-story p{margin:0;line-height:1.65;color:var(--ink)}
@media(max-height:650px) and (min-width:601px){.practice-card.reading .typed-answer-controls input{min-height:45px;font-size:18px;padding:9px 12px}.practice-card.reading .typed-answer-controls .primary{min-height:44px;font-size:15px}.practice-card.reading .typed-answer-form>label{font-size:16px;margin-bottom:7px}}
@media(max-width:600px){.practice-card.reading .typed-answer-controls .primary{margin-right:0}.practice-card.reading .typed-answer-form>label{font-size:17px}.reading-student-response{font-size:14px}}
.reading-student-response{max-height:4.5em;overflow:auto;flex-shrink:0}
/* Reading shares Pip's conversation language; feedback belongs below answers. */
.conversation-reading .reading-scene{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.conversation-reading .conversation-story{display:block;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.conversation-story .story-header{position:sticky;top:-1px;background:#f5efe4;padding-bottom:12px;margin-bottom:10px;z-index:1}.conversation-reading .reading-chat{display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-width:0;min-height:0;overflow:hidden}.reading-chat-heading{display:flex;align-items:center;gap:9px;padding:2px 10px 11px;border-bottom:1px solid var(--line);flex-shrink:0;font-size:15px}.reading-chat-heading .pip{width:30px;height:36px;font-size:30px}.reading-chat-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:15px 9px 14px;scrollbar-width:thin}.conversation-reading .question-bubble{padding:14px 17px;max-width:none}.conversation-reading .question-bubble>p{font-size:14px;margin-bottom:8px}.conversation-reading .reading-question{text-align:left;font-size:clamp(21px,2vw,27px);margin:0;line-height:1.35}.reading-answer-area{margin-top:17px}.conversation-reading .typed-answer-controls .primary{font-size:17px;min-height:48px}.conversation-reading #readingResponse{margin:0;padding:0;max-height:none;overflow:visible}.conversation-reading .conversation-turn{max-width:95%;margin-top:15px}.conversation-reading .conversation-turn.student p{font-size:18px;text-align:left;overflow-wrap:anywhere;line-height:1.5}.conversation-reading .conversation-turn.pip p{font-size:15px;line-height:1.5}.conversation-reading .practice-coach{display:block!important;margin-top:16px;border:1px solid #e0e5d7;border-radius:5px 19px 19px;padding:13px 15px;background:#f6f6ea}.conversation-reading .pip-banner{display:flex;align-items:center;gap:10px;padding:0;background:transparent;min-height:36px}.conversation-reading .pip-banner .pip{width:34px;height:42px;font-size:34px;flex:0 0 34px}.conversation-reading .pip-banner p{display:block!important;font-size:17px;margin:0;color:var(--ink);line-height:1.5}.conversation-reading #feedback:not(:empty){font-size:17px;line-height:1.5;margin:8px 0 0 44px;padding:0;background:transparent;color:#476046}.conversation-reading .chat-success{background:#edf5e4;border-color:#acc78c;animation:reading-reply-pop .25s ease-out}.reading-chat-actions{display:flex;justify-content:flex-end;flex-shrink:0;gap:10px;padding:12px 9px 0}.reading-chat-actions:has(#nextQuestion[hidden]):has(#retryHelp[hidden]){display:none}.reading-chat-actions .primary{font-size:18px;min-height:50px;padding:11px 21px}.conversation-reading .reading-conversation-dock{display:none!important}.conversation-reading .answers{gap:10px}.conversation-reading .text-answers .answer{font-size:17px;min-height:60px;padding:12px}.reading-chat-thread:focus-visible,.conversation-story:focus-visible{outline:2px solid #b27b29;outline-offset:-3px}
.conversation-practice .practice-footer>.practice-coach{margin:0;padding:10px 12px;border-radius:12px;background:#f2f5e9}.conversation-practice .practice-footer .pip-banner p{font-size:17px}.conversation-practice .practice-footer #feedback:not(:empty){margin-top:3px}
@keyframes reading-reply-pop{from{transform:translateY(5px);opacity:.75}to{transform:translateY(0);opacity:1}}
@media(max-width:600px),(max-height:600px){.conversation-reading .reading-scene{display:block}.conversation-reading .reading-chat{height:100%;justify-content:flex-start;gap:0}.conversation-reading .reading-chat-thread{padding:11px 4px}.conversation-reading .reading-chat-heading{padding:0 4px 8px;font-size:14px}.conversation-reading .reading-conversation-dock{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-end;min-height:50px;padding:7px 52px 0 0;margin-top:7px}.conversation-reading .practice-view-toggle{margin-right:auto}.conversation-reading .compact-answer{font-size:16px;padding:10px 15px;min-height:46px}.conversation-reading .reading-chat-actions{padding:8px 4px 0}.conversation-reading .reading-chat-actions .primary{font-size:16px;min-height:46px}.conversation-reading .reading-chat-actions .secondary{font-size:14px;min-height:44px}.conversation-reading .question-bubble{padding:12px 14px}.conversation-reading .reading-question{font-size:23px}.conversation-reading .practice-coach{padding:10px 12px}.conversation-reading #feedback:not(:empty){margin-left:0;font-size:16px}.conversation-reading .pip-banner p{font-size:16px}.conversation-reading .conversation-turn.student p{font-size:17px}.conversation-reading .text-answers .answer{font-size:16px;min-height:56px}}
@media(prefers-reduced-motion:reduce){.conversation-reading .chat-success{animation:none}}body[data-motion="reduced"] .conversation-reading .chat-success{animation:none}
.reading-chat-actions{padding-right:68px}.conversation-practice .practice-footer-actions{padding-right:64px}@media(max-width:600px),(max-height:600px){.conversation-reading .reading-chat-actions{padding-right:58px}}
@media(max-width:600px),(max-height:600px){.conversation-reading[data-reading-view="answer"] .practice-view-toggle [data-reading-view="answer"]{display:block!important}}
@media(max-width:600px),(max-height:600px){.practice-card.reading.conversation-reading[data-reading-view="answer"] .practice-view-toggle button[data-reading-view="answer"]{display:block!important}}

/* Mission history and story drawings stay within their scrollable panels. */
.past-discovery{border-bottom:2px dashed #dce4d0;padding:0 0 22px;margin:0 0 24px}
.past-discovery-label{font-size:.85rem;font-weight:700;color:#66775d}
.past-story{margin:12px 0;padding:12px;background:#f4f0e5;border-radius:14px}
.past-story summary{cursor:pointer;min-height:36px}
.past-pip-feedback{padding:16px;background:#edf4df;border-radius:18px;display:grid;gap:8px}
.past-pip-feedback p{margin:0}.past-pip-feedback .speaker-label{display:block}
/* The story scene grows into the space left below the text. */
.conversation-reading .conversation-story{display:flex;flex-direction:column;gap:0}
.conversation-story>.story-header,.conversation-story>p{flex:0 0 auto}
.story-drawing{margin:16px 0 0;min-width:0;min-height:235px;flex:1 0 235px;display:flex;flex-direction:column;gap:9px}
.story-drawing-canvas{position:relative;flex:1;min-height:180px;width:100%;overflow:hidden;border-radius:20px;background:#dce7cd;box-shadow:inset 0 0 0 1px #718d6020}
.story-drawing-svg{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none}
.story-drawing figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.85rem;color:#637555;margin:0;flex:0 0 auto}
.story-play{min-height:44px;padding:9px 16px;border:1px solid #c5d2af;border-radius:22px;background:#f8faee;color:#36543e;font:inherit;font-weight:700;cursor:pointer}
.scene-focus{filter:drop-shadow(0 1px 2px #bdad6d35)}
.object-carried{display:none}.object-place{animation:story-placed 8s both}.object-pour{animation:story-pouring 8s both}.object-roll{animation:story-seed-roll 8s both}.object-sail{animation:story-boat-sail 8s both}.object-land{animation:story-bird-land 8s both}.object-cloud{animation:story-cloud 8s both}.object-flutter{animation:story-butterfly 8s both}.object-print{animation:story-leaf-print 8s both}.object-glint{animation:story-glint 8s both}.object-crawl{animation:story-crawl 8s both}.object-snack{animation:story-snack 8s both}
.actor-travel{animation:story-travel 8s both}.actor-performing .actor-head{transform-origin:50px 55px;animation:story-look 8s both}.actor-performing .actor-tail{transform-origin:74px 88px;animation:story-tail 8s both}.actor-performing .actor-eyes{transform-box:fill-box;transform-origin:center;animation:story-blink 8s both}.actor-performing .actor-leg{transform-origin:50px 80px;animation:story-walk 8s both}.actor-performing .leg-back{animation-name:story-walk-back}.actor-performing .actor-arm{transform-origin:66px 73px;animation:story-reach 8s both}.actor-performing.action-pour .actor-arm{animation-name:story-tip}.actor-performing.action-paint .actor-arm,.actor-performing.action-draw .actor-arm,.actor-performing.action-tie .actor-arm{animation-name:story-brush}.actor-performing.action-crouch,.actor-performing.action-peek,.actor-performing.action-rest{transform-origin:50px 110px;animation:story-crouch 8s both}.actor-performing.action-wait .actor-arm,.actor-performing.action-watch .actor-arm{animation:none}
.prop-place{animation:story-held-place 8s both}.prop-receive{animation:story-receive 8s both}.scene-weather{animation:story-weather 8s both}.river-ripple{animation:story-water 8s both}
@keyframes story-travel{0%,8%{transform:translate(0,0)}30%,66%{transform:translate(var(--dx),var(--dy))}90%,100%{transform:translate(var(--fx),var(--fy))}}
@keyframes story-walk{0%,8%,16%,24%,30%,66%,78%,90%,100%{transform:rotate(0)}12%,20%,70%,82%{transform:rotate(16deg)}15%,23%,74%,86%{transform:rotate(-12deg)}}
@keyframes story-walk-back{0%,8%,16%,24%,30%,66%,78%,90%,100%{transform:rotate(0)}12%,20%,70%,82%{transform:rotate(-14deg)}15%,23%,74%,86%{transform:rotate(13deg)}}
@keyframes story-reach{0%,28%,86%,100%{transform:rotate(0)}40%,65%{transform:rotate(-28deg)}75%{transform:rotate(-8deg)}}
@keyframes story-tip{0%,30%,85%,100%{transform:rotate(0)}42%,65%{transform:rotate(-38deg)}}
@keyframes story-brush{0%,30%,85%,100%{transform:rotate(0)}40%,52%,64%{transform:rotate(-30deg)}46%,58%,70%{transform:rotate(-10deg)}}
@keyframes story-crouch{0%,30%,85%,100%{transform:translateY(0) rotate(0)}42%,70%{transform:translateY(10px) rotate(12deg)}}
@keyframes story-look{0%,28%,92%,100%{transform:rotate(0)}40%,70%{transform:rotate(8deg)}80%{transform:rotate(-5deg)}}
@keyframes story-tail{0%,100%{transform:rotate(0)}25%,65%{transform:rotate(-9deg)}45%,80%{transform:rotate(8deg)}}
@keyframes story-blink{0%,33%,37%,77%,81%,100%{transform:scaleY(1)}35%,79%{transform:scaleY(.1)}}
@keyframes story-placed{0%,52%{opacity:0}58%,100%{opacity:1}}
@keyframes story-held-place{0%,52%{opacity:1}58%,100%{opacity:0}}
@keyframes story-receive{0%,55%{opacity:0}62%,100%{opacity:1}}
@keyframes story-pouring{0%,38%,75%,100%{opacity:0;transform:translateY(-6px)}45%,60%{opacity:1;transform:translateY(4px)}50%,66%{opacity:.6;transform:translateY(0)}}
@keyframes story-seed-roll{0%,40%{transform:translateX(0)}65%,100%{transform:translateX(-85px)}}
@keyframes story-boat-sail{0%,48%{opacity:0;transform:translateX(-70px)}55%{opacity:1;transform:translateX(-50px)}90%,100%{opacity:1;transform:translateX(80px)}}
@keyframes story-bird-land{0%,25%{transform:translate(90px,-65px)}50%,100%{transform:translate(0,0)}}
@keyframes story-cloud{from{transform:translateX(-45px)}to{transform:translateX(0)}}
@keyframes story-butterfly{0%,40%{transform:translate(80px,-35px) rotate(12deg)}55%{transform:translate(-30px,-10px) rotate(-8deg)}75%,100%{transform:translate(0,22px) rotate(0)}}
@keyframes story-leaf-print{0%,35%{opacity:0}40%,70%{opacity:1;transform:translateY(0)}85%,100%{opacity:1;transform:translate(0,0)}}
@keyframes story-glint{0%,45%,100%{filter:brightness(1)}55%,70%{filter:brightness(1.22)}}
@keyframes story-crawl{0%,30%{transform:translateX(-10px)}70%,100%{transform:translateX(9px)}}
@keyframes story-snack{0%,35%{transform:translate(0,0)}65%,100%{transform:translate(105px,-6px)}}
@keyframes story-weather{0%,25%{opacity:0;transform:translateY(-15px)}45%,60%,80%{opacity:.8;transform:translateY(10px)}52%,72%,100%{opacity:.5;transform:translateY(0)}}
@keyframes story-water{from{transform:translateX(-10px)}to{transform:translateX(18px)}}
@media(min-width:861px) and (max-height:800px){.story-drawing{min-height:205px;flex-basis:205px;margin-top:12px}.conversation-story>p{font-size:1.08rem;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.story-drawing *{animation:none!important}.story-drawing .actor-travel{transform:translate(var(--fx),var(--fy))}.story-drawing .prop-place{opacity:0}}
body[data-motion="reduced"] .story-drawing *{animation:none!important}body[data-motion="reduced"] .story-drawing .actor-travel{transform:translate(var(--fx),var(--fy))}body[data-motion="reduced"] .story-drawing .prop-place{opacity:0}

.scene-wide .object-land{translate:0 55px}.scene-wide .object-cloud{translate:0 110px}

.actor-spill{animation:story-late-pour 8s both}@keyframes story-late-pour{0%,64%,95%,100%{opacity:0}70%,80%,88%{opacity:1;translate:0 4px}75%,85%{opacity:.6;translate:0 0}}

/* Portrait screens give the performance a full-width stage, with the existing chat switch. */
@media(max-width:900px),(max-aspect-ratio:1/1){
 .conversation-reading .reading-scene{display:block}
 .conversation-reading .conversation-story,.conversation-reading .reading-chat{height:100%}
 .conversation-reading[data-reading-view="story"] .reading-chat{display:none}
 .conversation-reading[data-reading-view="answer"] .conversation-story{display:none}
 .conversation-reading .reading-conversation-dock{display:flex!important;flex-direction:row;align-items:center;min-height:50px;padding:7px 52px 0 0;margin-top:7px}
 .conversation-reading .practice-view-toggle{display:flex!important;gap:4px;margin-right:auto;background:#edf1e2;padding:3px;border-radius:12px}
 .conversation-reading .practice-view-toggle button{display:block!important;min-height:42px;padding:8px 12px;border-radius:9px}
 .conversation-reading .practice-view-toggle button[aria-pressed="true"]{background:#d7e4c7;font-weight:700}
 .conversation-reading[data-reading-view="story"] .compact-answer{display:inline-flex!important;font-size:16px;min-height:46px;padding:10px 15px}
 .conversation-reading[data-reading-view="answer"] .compact-answer{display:none!important}
 .conversation-reading .reading-chat-actions{padding-right:58px}
}

.country-picker{max-width:1100px;margin:0 auto;padding:clamp(20px,4vh,50px) 24px}.country-picker header{text-align:center;margin-bottom:30px}.country-picker h1{font-size:clamp(28px,4vw,44px)}.country-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:25px}.country-choice{text-align:left;border:1px solid #c8d5bc;border-radius:28px;padding:32px;background:#e8efdd;color:var(--ink);cursor:pointer;font:inherit;display:grid;gap:14px}.country-choice.argentina{background:#f4edd7}.country-choice>span{font-size:60px}.country-choice>strong{font-size:22px}.country-choice h2{font-size:30px;margin:0}.country-choice p{font-size:19px;line-height:1.5;margin:0}.country-choice b{display:block;padding:16px;background:#365b46;color:white;border-radius:15px;font-size:20px}.country-choice:hover,.country-choice:focus-visible{outline:3px solid #91ae72;outline-offset:3px}.word-story-build{margin-top:24px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:linear-gradient(#e5eed6,#faf3db);border-radius:22px;text-align:center}.word-story-build .pip{display:block;width:110px;height:125px}.word-story-build p{font-size:17px}.word-story-build strong{font-size:24px;max-width:350px}@media(max-width:650px){.country-choices{grid-template-columns:1fr;gap:16px}.country-choice{padding:22px;gap:10px}.country-choice>span{font-size:36px}.country-choice h2{font-size:26px}.country-choice p{font-size:17px}.country-picker{padding:18px}.word-story-build{padding:16px;min-height:190px}}

.story-word-bank{padding:14px;background:#f5f0dc;border:1px solid #ded5b2;border-radius:17px;margin-bottom:16px}.story-word-bank h2{font-size:20px;margin:0 0 5px}.story-word-bank p{font-size:14px;line-height:1.4;margin:0 0 12px;color:#65715a}.story-word-bank>div{display:flex;gap:8px;flex-wrap:wrap}.story-word-bank button{font:inherit;font-size:17px;min-height:44px;padding:9px 14px;background:#fffdf3;border:1px solid #bac9a8;border-radius:12px;color:#304e3b;cursor:pointer}.story-word-bank button:hover,.story-word-bank button:focus-visible{background:#ddebc9;outline:2px solid #7b9b60;outline-offset:1px}.story-word-bank[hidden]{display:none}

.conversation-story>.story-word-bank{margin-top:20px;flex:0 0 auto}.story-word-bank small{display:block;margin-top:14px;color:#65715a}.story-word-bank button:disabled{cursor:default;opacity:.7}

.curriculum-summary{margin:1rem 0 1.5rem;padding:1rem 1.25rem;border:1px solid #d8e1ce;border-radius:18px;background:#f8faf3}.curriculum-summary summary{cursor:pointer;font-weight:700;min-height:32px}.curriculum-summary>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}.curriculum-summary article{background:#fffdf7;border:1px solid #e1e5d6;border-radius:14px;padding:18px}.curriculum-summary article h3{margin-top:0}.curriculum-summary article p{font-size:15px;line-height:1.6}
.garden-home{background:#edf1df;border:1px solid #d5dfc6;border-radius:28px;padding:clamp(16px,3vw,32px);background-image:radial-gradient(ellipse at top right,#fcf4d3,transparent 65%)}.garden-welcome{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.garden-welcome>.pip{width:76px;height:90px}.garden-welcome h2{margin-bottom:8px}.garden-welcome .decorate{margin-left:auto}.garden-tally{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.garden-tally>span{padding:16px;border-radius:16px;background:#fffdf3;border:1px solid #d5dfc6;text-transform:capitalize;font-size:20px}.garden-tally b{font-size:28px;margin-right:5px}.garden-tally small{display:block;text-transform:none;font-size:14px;line-height:1.5;margin-top:5px}.garden-bed{margin-top:32px}.garden-bed>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.garden-bed>header h2{margin:0}.garden-bed>header span{font-size:14px}.stage-garden-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px;margin-top:18px}.garden-plot{background:#fffcf4;border:1px solid #cdd9bd;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}.garden-plot>.secondary{margin:0 18px 20px;min-height:48px;margin-top:auto}.plant-portrait{background:radial-gradient(ellipse at center,#f4efd0,#e2ead8);position:relative;padding:12px;display:grid;place-items:center}.stage-plant-card .garden-botanical{position:static!important;width:100%;height:240px;max-width:300px;transform:none!important}.plant-state{position:absolute;bottom:12px;right:14px;background:#fffcf0;border:1px solid #bdcca8;border-radius:30px;padding:7px 14px;font-size:14px;font-weight:700}.plant-label{padding:20px}.plant-label h2{margin:7px 0;font-size:24px}.plant-label small{font-size:12px;color:#63725b}.plant-label p{font-size:15px;line-height:1.5;margin-bottom:10px}.plant-mission-check{font-size:13px;color:#4c724b}.latest-plant{box-shadow:0 0 0 3px #b4c78d}.garden-next{text-align:center;margin-top:26px}.garden-next p{font-size:14px;margin-top:16px}.empty-garden{padding:36px;text-align:center}.garden-home.lanterns{background-color:#e5e4cb}.garden-home.stars{background-color:#dce6e9;background-image:radial-gradient(circle at 80% 5%,#fff8dc 2px,transparent 3px),radial-gradient(circle at 20% 10%,#fff8dc 2px,transparent 3px)}.garden-celebration{max-width:920px;padding:clamp(20px,3vw,36px)}.garden-finish-heading{display:flex;justify-content:center;align-items:center;gap:18px;text-align:left}.garden-finish-heading>.pip{width:72px;height:90px}.garden-finish-heading h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1px}.garden-finish-heading p{margin-bottom:8px}.featured-plant{display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:left;background:#f4f5e9;border:1px solid #d5dfc6;border-radius:22px;overflow:hidden;margin:20px auto}.featured-plant .garden-botanical{height:250px}.garden-celebration .score-badge{margin:0 auto 12px}.garden-celebration .finish-buttons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px}.garden-celebration .finish-buttons>*{min-height:54px}.garden-finish-note{font-size:16px;line-height:1.5;margin:10px 0}.garden-botanical .plant-unfold{animation:garden-arrive .8s ease-out}.garden-celebration .garden-botanical{animation:garden-arrive .9s ease-out}@keyframes garden-arrive{from{opacity:.25}to{opacity:1}}@media(max-width:600px){.garden-tally{gap:6px}.garden-tally>span{font-size:15px;padding:10px}.garden-tally b{display:block}.garden-tally small{font-size:12px}.featured-plant{grid-template-columns:1fr}.featured-plant .garden-botanical{height:210px}.garden-welcome .decorate{margin-left:0}.garden-finish-heading>.pip{display:none}}@media(prefers-reduced-motion:reduce){.garden-botanical,.garden-botanical .plant-unfold{animation:none!important}}

.stage-garden-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}body[data-view="celebrate"] main{padding-top:18px;padding-bottom:18px}.garden-celebration{margin:0 auto;padding:22px 28px}.garden-celebration h1{font-size:clamp(27px,3vw,38px)}.garden-celebration .featured-plant{margin:12px auto}.garden-celebration .featured-plant .garden-botanical{height:200px}.garden-celebration .featured-plant .plant-label{padding:14px 20px}.garden-celebration .score-badge{padding:10px 18px;font-size:20px}.garden-celebration .unlock-badge{margin:8px auto;padding:8px}.garden-celebration>p:not(.eyebrow){font-size:15px}.home-heading{margin-bottom:20px}.home-heading h1{font-size:clamp(32px,4vw,46px)}

.garden-beds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:22px}.garden-bed{min-width:0;margin-top:14px}.garden-bed>header h2{font-size:21px}.garden-bed>header span{white-space:nowrap}.garden-bed .stage-garden-grid{grid-template-columns:1fr}.garden-bed .plant-label h2{font-size:22px}.garden-bed .plant-portrait{padding:0}.garden-bed .garden-botanical{height:220px}

.garden-botanical .plant-unfold{transform-origin:0 0;transform-box:view-box;scale:1}.garden-botanical{overflow:hidden}

/* One shared scene, with a consistent context dock beneath it. */
body[data-view="home"]{height:100dvh;display:flex;flex-direction:column;overflow:hidden}body[data-view="home"] .topbar{flex-shrink:0;width:100%}body[data-view="home"] main{flex:1;min-height:0;width:100%;max-width:1440px;padding:14px 24px 20px;display:flex}.living-garden-shell{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;border:1px solid #d6dec9;border-radius:25px;background:#fffdf3;overflow:hidden}.living-garden-title{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;gap:16px;background:#f1f3e6}.living-garden-title h1{font-size:30px;letter-spacing:-1px;margin:0}.living-garden-title .eyebrow{font-size:9px;margin:0 0 5px}.living-garden-title label{display:flex;align-items:center;gap:10px;font-size:13px}.living-garden-title select{padding:8px;border:1px solid #d4ddc5;background:#fffdf5;border-radius:12px;color:var(--ink)}.living-garden{flex:1;min-height:240px;position:relative;isolation:isolate;overflow:hidden;background:#a7c294}.living-garden-landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.garden-scene-instruction{position:absolute;top:14px;left:24px;color:#41634b;font-size:14px;background:#fffcedb8;border-radius:20px;padding:7px 13px}.garden-specimen{position:absolute;width:26%;height:78%;bottom:9%;padding:0;background:none;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;transition:filter .2s}.garden-specimen:hover{filter:brightness(1.06)}.garden-specimen.selected .garden-wood-sign{box-shadow:0 0 0 3px #fff9dc,0 4px 12px #3b60333d}.garden-specimen-art{display:block;flex:1;min-height:0;width:100%;position:relative}.garden-specimen .garden-botanical{position:absolute;height:100%;width:100%;inset:0;max-width:none;overflow:visible;pointer-events:none}.specimen-0{left:8%;bottom:10%}.specimen-1{left:38%;bottom:20%}.specimen-2{left:68%;bottom:7%}.garden-wood-sign{background:#fff7dc;border:1px solid #b7a87f;border-bottom:4px solid #b7a87f;padding:9px 14px;border-radius:14px;position:relative;max-width:100%;min-width:145px}.garden-wood-sign strong{display:block;font-size:17px}.garden-wood-sign small{display:block;font-size:12px;margin-top:4px}.garden-pip{position:absolute;left:38%;bottom:3%;height:90px;width:70px;pointer-events:none}.garden-pip svg{width:100%;height:100%;filter:drop-shadow(0 5px 3px #45603933)}.garden-inspector{padding:14px 24px 16px;flex:0 0 auto;max-height:42vh;overflow-y:auto;border-top:1px solid #d8dfc8}.garden-inspector>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.garden-inspector header small{font-size:12px;color:#69765c}.garden-inspector h2{font-size:22px;margin:3px 0 10px}.garden-inspector header>span{font-size:13px}.garden-stage-path{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 8px}.garden-stage-path button{flex:1;min-width:76px;max-width:150px;background:transparent;border-radius:10px;padding:4px;position:relative}.garden-stage-path button>span{display:grid;place-items:center;margin:auto;width:31px;height:31px;border-radius:50%;background:#e8eddb;border:1px solid #c9d6b5;font-weight:700}.garden-stage-path button.finished>span{background:#577c55;color:#fff}.garden-stage-path button.current{background:#edf1dc;outline:2px solid #9db47c;outline-offset:0}.garden-stage-path button:disabled{opacity:.52}.garden-stage-path small{display:block;font-size:11px;line-height:1.25;margin-top:5px}.garden-stage-detail{display:flex;gap:18px;align-items:center;justify-content:space-between;padding-top:8px}.garden-stage-detail h3{font-size:18px;margin:0 0 5px}.garden-stage-detail p{font-size:13px;line-height:1.45;max-width:680px;margin:0}.garden-stage-detail .primary{min-width:220px;min-height:50px;font-size:16px;padding:12px 20px;white-space:nowrap}.celebration-back{display:block;margin:0 0 14px;background:transparent;border-radius:12px;min-height:44px;padding:8px 12px;font-weight:600}.garden-display-link{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#fff9e5;border:1px solid #a9bd8f;padding:9px 15px;border-radius:30px;font-weight:600;white-space:nowrap;min-height:44px;font-size:14px}.garden-celebration .plant-portrait{padding-bottom:38px}.journey-growth-steps{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.journey-growth-steps span{display:grid;place-items:center;width:24px;height:24px;font-size:11px;border-radius:50%;background:#e3e9d5;color:#68745e}.journey-growth-steps .done{background:#5f8257;color:#fff}.living-garden-shell.stars .living-garden-landscape{filter:brightness(.7) saturate(.7)}.living-garden-shell.lanterns .living-garden-landscape{filter:sepia(.18)}.living-garden-shell.stars .living-garden{background:#738a93}@media(max-width:850px){body[data-view="home"] .topbar{height:76px}.living-garden-title{padding:12px 16px}.living-garden-title h1{font-size:25px}.garden-inspector{padding:12px 16px;max-height:44vh}.garden-wood-sign{padding:7px 9px;min-width:110px}.garden-wood-sign strong{font-size:13px}.garden-wood-sign small{font-size:11px}.garden-specimen{width:29%}.specimen-0{left:3%}.specimen-1{left:35%}.specimen-2{left:67%}.garden-pip{height:70px;left:32%}.garden-stage-detail .primary{min-width:180px}.garden-scene-instruction{font-size:12px;left:12px}.living-garden-title label{font-size:0}.living-garden-title select{font-size:12px}}@media(max-width:560px){body[data-view="home"]{overflow:auto;height:auto;min-height:100dvh}body[data-view="home"] main{padding:10px}.living-garden{flex:none;height:330px;min-height:330px}.garden-specimen{height:70%;width:31%}.specimen-0{left:1%}.specimen-1{left:34%;bottom:25%}.specimen-2{left:67%}.garden-wood-sign{min-width:0;width:100%;padding:7px 4px}.garden-wood-sign strong{font-size:11px}.garden-wood-sign small{font-size:10px}.garden-inspector{max-height:none}.garden-inspector>header{align-items:flex-start}.garden-inspector header>span{font-size:11px}.garden-stage-detail{flex-direction:column;align-items:stretch}.garden-stage-detail .primary{width:100%}.living-garden-title h1{font-size:23px}.garden-celebration .plant-portrait{padding-bottom:45px}}
/* Walkable home: an oversized continuous world with a following camera. */
.garden-explorer{flex:1;min-height:240px;display:flex;flex-direction:column;overflow:hidden}.garden-explorer .living-garden{overflow:hidden;min-height:180px;outline-offset:-4px;cursor:crosshair}.garden-world{width:2400px;height:950px;position:relative;isolation:isolate}.garden-world .living-garden-landscape{z-index:-2}.garden-paths{position:absolute;inset:0;width:2400px;height:950px;pointer-events:none}.garden-cottage{position:absolute;left:160px;top:300px;width:280px;background:transparent;padding:0}.garden-cottage svg{width:100%;display:block}.garden-cottage strong{display:inline-block;background:#fff3cf;border:2px solid #b99a6a;border-radius:12px;padding:8px 18px}.garden-area{position:absolute;width:510px;height:470px}.garden-soil{position:absolute;bottom:42px;left:0;width:510px;height:180px;border-radius:50%;background:radial-gradient(ellipse,#baaa79,#8c9f65 70%);border:8px solid #aabf82;box-shadow:0 5px 0 #6c885a}.future-plot{position:absolute;bottom:90px;width:82px;height:44px;border:3px dashed #d7c69b;border-radius:50%;background:#93805b66}.plot-one{left:12px}.plot-two{right:12px}.garden-area .garden-specimen{left:95px;bottom:40px;width:300px;height:390px}.garden-area .garden-specimen-art{width:285px;height:300px;flex:none}.garden-area .garden-wood-sign{min-width:200px}.garden-world .garden-pip{left:0;top:0;bottom:auto;width:90px;height:115px;transform:translate(-50%,-90%);transition:left .65s linear,top .65s linear;z-index:5}.garden-pip.walking svg{animation:pip-walk .18s ease-in-out infinite alternate}.garden-walk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 14px;background:#edf1de;border-top:1px solid #c9d4b7;flex-wrap:wrap}.garden-walk-toolbar>span{font-size:12px}.garden-walk-toolbar nav,.garden-directions{display:flex;gap:4px}.garden-walk-toolbar button{min-height:40px;min-width:40px;padding:7px 12px;border-radius:10px;background:#fffbee;border:1px solid #bbcba7;font-size:14px}.garden-highlight .garden-specimen-art{animation:plant-spotlight 2s ease-in-out 3}.garden-highlight .garden-wood-sign{outline:4px solid #edc564}.garden-celebration .plant-portrait{display:flex;flex-direction:column;padding:12px;gap:8px;align-self:stretch;justify-content:center}.plant-growth-reveal{width:100%;height:240px;overflow:visible}.stage-plant-card .plant-growth-reveal .garden-botanical{height:240px;max-width:100%;animation:plant-grow 1.7s ease-out both;transform-origin:50% 95%}.garden-celebration .garden-display-link{position:static;transform:none;flex-shrink:0;margin:0 auto 4px}.garden-highlight .plant-unfold{animation:plant-grow 1.7s ease-out;transform-origin:50% 95%}.garden-inspector{max-height:35vh}.garden-stage-detail p{max-width:600px}@keyframes pip-walk{from{transform:rotate(-4deg) translateY(0)}to{transform:rotate(4deg) translateY(-5px)}}@keyframes plant-grow{from{scale:.68;opacity:.5}to{scale:1;opacity:1}}@keyframes plant-spotlight{50%{filter:drop-shadow(0 0 18px #fff39d) brightness(1.15)}}@media(max-width:850px){.garden-walk-toolbar>span{display:none}.garden-inspector{max-height:38vh}.garden-explorer{min-height:300px}.garden-stage-detail p{font-size:12px}}@media(max-width:560px){.garden-explorer .living-garden{height:360px;min-height:360px}.garden-walk-toolbar{justify-content:center}.garden-inspector{max-height:none}.garden-area .garden-wood-sign strong{font-size:17px}.garden-area .garden-wood-sign small{font-size:13px}}@media(prefers-reduced-motion:reduce){.garden-world .garden-pip{transition:none}.garden-highlight .garden-specimen-art,.garden-highlight .plant-unfold,.plant-growth-reveal .garden-botanical,.garden-pip.walking svg{animation:none!important}}

.garden-world{zoom:.65}.garden-explorer{min-height:310px}.garden-explorer .living-garden{min-height:255px}.living-garden-title{padding:9px 20px}.garden-inspector{padding:10px 20px;max-height:32vh}.garden-stage-detail{padding-top:4px}.garden-stage-detail p{font-size:12px}.garden-inspector h2{margin-bottom:5px}.garden-celebration .plant-portrait{padding-bottom:12px}@media(max-width:560px){.garden-inspector{max-height:none}}

@media(min-width:700px) and (max-height:800px){.garden-celebration{padding:16px 24px;margin-top:0}.garden-celebration .celebration-back{margin-bottom:0}.garden-finish-heading h1{font-size:30px}.garden-finish-heading p{margin:4px 0}.garden-celebration .featured-plant{margin:10px auto}.garden-celebration .plant-growth-reveal,.stage-plant-card .plant-growth-reveal .garden-botanical{height:155px}.garden-celebration .plant-label{padding:12px 18px}.garden-celebration .score-badge{padding:9px 16px;margin-bottom:5px}.garden-celebration .finish-buttons{margin-top:7px}.garden-celebration .garden-finish-note{font-size:13px;margin:6px 0}}

/* Clear evidence for adults; compact cards retain scan-friendly management. */
.parent-learning-report{margin:1.5rem 0}.parent-learning-report>p{color:#5c6e60;line-height:1.5}.parent-subject-report{margin:1rem 0;padding:1.2rem;border:1px solid #cfdbc4;border-radius:18px;background:#fbfcf6}.parent-subject-report header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.parent-subject-report h4{font-size:1.18rem;margin:0}.parent-subject-report header>span{font-size:.86rem;white-space:nowrap;color:#586d54}.parent-subject-report p{line-height:1.55}.learning-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}.learning-evidence>div{background:#eaf0df;border-radius:12px;padding:.7rem}.learning-evidence dt{font-size:.8rem;color:#53634c}.learning-evidence dd{font-size:1.05rem;font-weight:700;margin:.4rem 0 0}.parent-session-summary{padding:.8rem;border-left:3px solid #8eac6d;background:#f1f3e8}.parent-card-evidence{color:#355c43!important;font-weight:600}.garden-extra-stages{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.6rem 0}.garden-extra-stages strong{font-size:.85rem;color:#647159}.garden-extra-stages .secondary{font-size:.85rem;padding:.45rem .7rem;min-height:40px}
@media(max-width:600px){.learning-evidence{grid-template-columns:1fr}.parent-subject-report header{align-items:flex-start;flex-direction:column;gap:.4rem}}
.home-customize{display:flex;align-items:center;gap:16px}.star-market-entry{display:flex;align-items:center;gap:9px;background:#fff1bf;border:1px solid #c7ac5b;border-radius:16px;padding:12px 18px;min-height:48px;font-weight:750;color:#514628}.star-market-entry>span{font-size:24px;color:#bd922a}.star-market-entry b{padding:3px 10px;background:#fffbee;border-radius:20px}.star-market-panel{width:100%;min-width:0;height:calc(100dvh - 125px);min-height:480px;display:flex;flex-direction:column;max-width:1280px;margin:0 auto;gap:12px}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.market-heading h1{font-size:clamp(26px,3vw,40px);margin:8px 0}.market-heading .eyebrow{margin:12px 0 0}.market-heading p{margin:6px 0}.market-heading .back-button{min-height:44px}.market-wallet{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 10px;padding:16px 22px;background:#fff0bb;border:1px solid #d5be74;border-radius:24px;color:#594927;flex-shrink:0}.market-wallet>span{font-size:32px;color:#c29838}.market-wallet strong{font-size:34px}.market-wallet small{grid-column:1 / -1;text-align:center}.market-status{min-height:24px;font-size:15px;margin:0;color:#586a57}.market-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;overflow-y:auto;min-height:0;padding:4px 6px 20px 3px;align-items:stretch}.market-item{background:#fffdf4;border:1px solid #d4dcc6;border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 5px 0 #d5ddbd33}.market-item-art{position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 75%,#f8edc4,#eef2df);border-radius:18px;height:132px}.market-item-art svg{width:150px;height:137px;align-self:end}.market-price{position:absolute;top:9px;right:9px;padding:5px 10px;background:#fffbeb;border:1px solid #e0cf92;border-radius:20px;font-weight:750;font-size:14px}.market-item h2{font-size:20px;margin:4px 0 0}.market-item>p{font-size:14px;line-height:1.45;min-height:40px;margin:0 0 5px}.market-item>button{margin-top:auto;min-height:46px;font-size:16px}.market-item button:disabled{opacity:.65;cursor:default;box-shadow:none}.market-item button.primary:disabled{background:#e9ead8;color:#63705b}.market-placement{display:flex;gap:8px;align-items:center;font-size:14px}.market-placement select{flex:1;width:0;min-height:42px;border:1px solid #b8c9a2;border-radius:10px;background:#fffef8;padding:5px;color:#334d3f}.market-selected{outline:3px solid #dfc06b;outline-offset:-2px}.garden-decorations{position:absolute;inset:0;pointer-events:none;z-index:3}.garden-decoration{position:absolute;width:180px;height:175px;padding:0;border:0;background:transparent;pointer-events:auto;transition:filter .2s}.garden-decoration:hover,.garden-decoration:focus-visible{filter:drop-shadow(0 0 9px #fff2a8);outline:2px dashed #fff1b7;outline-offset:2px;border-radius:24px}.garden-decoration svg{width:100%;height:100%}.garden-decoration.decoration-highlight{animation:decoration-reveal 1.4s ease-in-out 3}.market-spin{transform-origin:100px 70px;animation:pinwheel-turn 12s linear infinite}.market-glow{animation:firefly-glow 2.4s ease-in-out infinite alternate}.context-counter{background:transparent!important;transform:none!important;border-radius:0!important;font-style:normal;font-size:16px;display:inline-grid!important;place-items:center;width:19px!important;height:20px!important}.seed-group:has(.context-counter){gap:1px;padding:8px}.seed-groups:has(.context-counter){max-height:270px;overflow-y:auto}@keyframes pinwheel-turn{to{transform:rotate(360deg)}}@keyframes firefly-glow{to{opacity:.5}}@keyframes decoration-reveal{50%{filter:drop-shadow(0 0 15px #ffe699);transform:translateY(-4px)}}@media(max-width:900px){.market-items{grid-template-columns:repeat(2,minmax(0,1fr))}.star-market-panel{height:calc(100dvh - 120px)}.home-customize{gap:8px}.home-customize label{font-size:12px}.star-market-entry{padding:9px 12px}.market-heading p{font-size:14px}}@media(max-width:560px){.living-garden-title{flex-wrap:wrap;gap:8px}.home-customize{width:100%;justify-content:space-between}.market-heading{gap:12px;align-items:flex-start}.market-heading h1{font-size:26px}.market-heading .eyebrow{font-size:9px}.market-wallet{padding:12px 10px;gap:0 4px;margin-top:5px}.market-wallet strong{font-size:27px}.market-wallet>span{font-size:25px}.market-wallet small{font-size:11px}.market-item{padding:10px;border-radius:17px;gap:6px}.market-items{gap:9px}.market-item-art{height:110px}.market-item-art svg{width:125px;height:118px}.market-item h2{font-size:17px}.market-item>p{font-size:12px;min-height:52px}.market-item>button{font-size:14px}.market-placement{flex-wrap:wrap}.market-placement select{flex:0 0 100%;width:100%}.star-market-panel{min-height:430px;height:calc(100dvh - 140px)}.market-status{font-size:13px}}@media(prefers-reduced-motion:reduce){.market-spin,.market-glow,.garden-decoration.decoration-highlight{animation:none}}body[data-motion=reduced] .market-spin,body[data-motion=reduced] .market-glow,body[data-motion=reduced] .garden-decoration.decoration-highlight{animation:none}

/* Let the details panel yield space while the garden header stays visible. */
.living-garden-title{flex-shrink:0}.garden-inspector{flex:0 1 auto;min-height:0}
/* One connected, ground-level garden; controls remain outside the learning plants. */
.immersive-garden{position:relative}.immersive-garden .living-garden-title{padding:10px 18px;gap:12px;min-height:70px;background:#f4f5e8}.immersive-garden h1{font-size:clamp(22px,2.2vw,32px);margin:0}.immersive-garden .eyebrow{font-size:9px;margin:0 0 5px}.immersive-garden .home-customize label{display:flex;align-items:center;gap:8px;font-size:12px}.immersive-garden select{min-height:44px;border-radius:12px;border:1px solid #cbd5bc;background:#fffdf3;padding:8px;color:#354d40}.garden-play-space{position:relative;flex:1;min-height:220px;isolation:isolate;background:#d5e6df;overflow:hidden}.garden-render-host{position:absolute;inset:0;touch-action:none;outline:none}.garden-render-host:focus-visible{box-shadow:inset 0 0 0 3px #d9b352;z-index:0}.garden-webgl{display:block;width:100%;height:100%;touch-action:none}.garden-loading{position:absolute;inset:40% 0 auto;text-align:center}.garden-camera-controls{position:absolute;top:16px;left:16px;display:flex;padding:4px;background:#fffdf3ed;border:1px solid #fff5d0;border-radius:16px;box-shadow:0 4px 18px #233e3015}.garden-camera-controls button{min-height:44px;border:0;border-radius:12px;background:transparent;padding:9px 14px;font-size:14px;font-weight:650;color:#405c47}.garden-camera-controls button[aria-pressed=true]{background:#3d604e;color:white}.garden-decorate-toggle{position:absolute;top:16px;right:16px;min-height:52px;background:#fff3c8;border:1px solid #c7ac5b;border-radius:16px;padding:11px 19px;font-size:16px;font-weight:750;color:#554b2e;box-shadow:0 4px 16px #233e3012}.garden-decorate-toggle[aria-pressed=true]{background:#3d604e;color:#fff}.garden-view-tools{position:absolute;left:16px;bottom:18px;display:flex;gap:7px}.garden-view-tools button,.garden-dpad button{width:46px;height:46px;border:1px solid #d9dfc7;border-radius:14px;background:#fffdf2e8;color:#395641;font-size:23px;touch-action:none;box-shadow:0 3px 9px #35492c20}.garden-view-tools button:hover,.garden-dpad button:active{background:#e3edcb}.garden-dpad{position:absolute;right:18px;bottom:16px;display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:48px 48px;gap:5px}.garden-dpad [data-direction=forward]{grid-column:2}.garden-dpad [data-direction=left]{grid-column:1;grid-row:2}.garden-dpad [data-direction=back]{grid-column:2;grid-row:2}.garden-dpad [data-direction=right]{grid-column:3;grid-row:2}.garden-bottom-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;background:#f5f5e6;border-top:1px solid #d7debf;min-height:60px}.garden-live-message{font-size:13px;line-height:1.4;margin:0;max-width:480px}.garden-bottom-bar nav{display:flex;gap:5px;flex-shrink:0}.garden-bottom-bar button{min-height:42px;padding:8px 12px;border:1px solid #cad6b5;background:#fffdf3;border-radius:11px;font-size:13px;color:#36513e}.garden-learning-drawer{background:#fffdf3;flex:none}.garden-learning-drawer>summary{cursor:pointer;padding:11px 18px;font-weight:700;min-height:44px;font-size:14px;border-top:1px solid #dde2ce}.garden-learning-drawer>summary span{float:right;font-size:12px;font-weight:400}.garden-learning-drawer .garden-inspector{max-height:27vh;overflow:auto;padding:12px 18px}.garden-learning-drawer .garden-stage-detail{gap:16px}.garden-learning-drawer .garden-stage-detail button{min-width:180px;font-size:16px;padding:12px 16px}.garden-placement-panel{position:absolute;left:16px;right:185px;bottom:14px;border:1px solid #cbd4b5;border-radius:18px;background:#fffdf4f5;box-shadow:0 8px 25px #334b3c22;padding:12px 14px;max-width:850px}.garden-placement-panel[hidden],.garden-place-actions[hidden]{display:none}.garden-placement-name{display:block;font-size:16px;margin-bottom:8px}.garden-owned-tray{display:flex;gap:6px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}.garden-owned-tray>button{flex:0 0 96px;min-height:78px;border:1px solid #d1dbc1;border-radius:12px;background:#f1f4e5;padding:4px;font-size:11px;color:#3c5543}.garden-owned-tray>button svg{width:60px;height:45px;display:block;margin:auto}.garden-owned-tray>button[aria-pressed=true]{outline:2px solid #bda04c;outline-offset:-2px;background:#fff0bc}.garden-place-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;border-top:1px solid #e0e4d3;margin-top:4px}.garden-place-actions button{min-width:44px;min-height:44px;border:1px solid #cbd4ba;border-radius:11px;padding:8px 11px;background:#f2f4e7;font-size:14px;color:#354f40}.garden-place-actions button.primary{background:#3f604c;color:#fff;font-weight:750;padding-inline:18px}.is-decorating .garden-dpad{display:none}.is-decorating .garden-view-tools{bottom:auto;top:82px}.is-decorating .garden-placement-panel{right:16px}.immersive-garden button:disabled{opacity:.48;cursor:default}.immersive-garden button:focus-visible{outline:3px solid #b99936;outline-offset:3px}.garden-flat{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 35%,#c5d69d,#9db987);overflow:hidden}.garden-flat[data-theme=lanterns],.garden-flat[data-theme=stars]{filter:saturate(.8);background:#9eb2a0}.garden-flat>svg{position:absolute;inset:0;width:100%;height:100%}.flat-plant,.flat-item{position:absolute;transform:translate(-50%,-80%);border:0;background:transparent;padding:0;touch-action:none}.flat-plant{width:18%;height:38%;min-width:90px}.flat-plant svg{height:100%;width:100%}.flat-plant b{display:block;background:#fff6d5;border-radius:9px;padding:4px;font-size:12px;white-space:nowrap}.flat-item{width:80px;height:80px}.flat-item svg{width:100%;height:100%}.flat-item.selected{filter:drop-shadow(0 0 7px #ffdd55)}.flat-item.invalid{filter:drop-shadow(0 0 7px #c54635)}.flat-pip{position:absolute;width:45px;height:60px;transform:translate(-50%,-90%);pointer-events:none}.flat-pip svg{width:100%;height:100%}.flat-cottage{position:absolute;font-size:100px;line-height:1;transform:translate(-50%,-80%);color:#946c4c;text-shadow:0 3px #f7e1ad}.garden-bottom-bar button:hover{background:#e5edce}
@media(max-width:1000px){.immersive-garden .home-customize label{font-size:0}.immersive-garden select{font-size:12px}.garden-bottom-bar{flex-wrap:wrap;gap:5px;padding:7px 12px}.garden-live-message{flex:1;max-width:none;font-size:12px}.garden-bottom-bar button{font-size:12px;padding:7px 10px}.garden-learning-drawer .garden-stage-detail p{font-size:12px}.garden-camera-controls{left:12px;top:12px}.garden-decorate-toggle{top:12px;right:12px}.garden-camera-controls button{padding-inline:10px;font-size:13px}}
@media(max-width:780px){.garden-bottom-bar nav{width:100%;justify-content:center}.garden-bottom-bar .garden-live-message{text-align:center}.garden-dpad{transform:scale(.92);transform-origin:bottom right}.garden-learning-drawer>summary span{display:none}.garden-placement-panel{left:10px;right:10px;padding:9px}.garden-owned-tray>button{flex-basis:84px}.garden-place-actions{gap:4px}.garden-place-actions button{padding:7px;font-size:12px}.garden-camera-controls button{padding:8px;font-size:12px}.garden-decorate-toggle{padding:10px 13px;font-size:14px}.immersive-garden .living-garden-title{padding:9px 12px}.immersive-garden .star-market-entry{font-size:13px;padding:7px 10px;min-height:44px}.immersive-garden .home-customize{gap:8px}}
@media(max-width:560px){body[data-view=home]:has(.immersive-garden){height:100dvh;min-height:0;overflow:hidden}body[data-view=home]:has(.immersive-garden) main{padding:6px 6px 15px}.immersive-garden .living-garden-title{flex-wrap:nowrap;gap:6px;min-height:62px}.immersive-garden .living-garden-title .eyebrow{display:none}.immersive-garden .living-garden-title h1{font-size:20px}.immersive-garden .home-customize{width:auto;gap:5px}.immersive-garden .home-customize select{max-width:100px;font-size:11px;padding:4px}.immersive-garden .star-market-entry{font-size:0;gap:5px;padding:7px}.immersive-garden .star-market-entry b{font-size:14px}.garden-camera-controls{top:8px;left:8px;padding:3px}.garden-camera-controls button{padding:7px;font-size:11px;min-height:40px}.garden-decorate-toggle{top:8px;right:8px;min-height:46px;padding:8px;font-size:12px}.garden-view-tools{left:10px;gap:4px}.garden-view-tools button{width:40px;height:44px}.garden-bottom-bar{padding:6px;min-height:78px}.garden-bottom-bar button{padding:7px;min-height:40px;font-size:11px}.garden-learning-drawer .garden-inspector{max-height:30vh}.garden-play-space{min-height:210px}.garden-placement-panel{bottom:8px}.garden-owned-tray>button{min-height:62px;flex-basis:70px;font-size:10px}.garden-owned-tray>button svg{height:34px}.garden-placement-name{font-size:14px;margin-bottom:4px}.garden-place-actions button{font-size:11px;min-height:40px;min-width:36px}.garden-place-actions button.primary{padding-inline:8px}.garden-learning-drawer>summary{padding:10px 12px}}
.garden-scene-label{position:absolute;transform:translate(-50%,-20%);background:#fff9e6ed;border:1px solid #c5b788;box-shadow:0 4px 12px #32472a22;border-radius:12px;padding:8px 13px;min-height:44px;color:#3a5141;white-space:nowrap;touch-action:none}.garden-scene-label strong{display:block;font-size:13px}.garden-scene-label small{display:block;font-size:10px;margin-top:3px}.garden-scene-label[hidden]{display:none}.is-decorating .garden-scene-label{pointer-events:none;opacity:.65}@media(max-width:560px){.garden-scene-label{padding:6px 8px}.garden-scene-label strong{font-size:11px}.garden-scene-label small{font-size:9px}}
.garden-placement-panel{padding:9px 12px}.garden-placement-name{font-size:14px;margin-bottom:5px}.garden-owned-tray>button{min-height:62px;flex-basis:94px}.garden-owned-tray>button svg{height:35px;width:48px}.garden-place-actions{padding-top:6px;margin-top:2px}.garden-placement-panel .garden-owned-tray{padding-bottom:3px}
/* HOME ADVENTURES */

.group-puzzle{position:relative}.held-pieces:not([hidden]){position:absolute;z-index:3;pointer-events:none;transform:translate(-45%,-115%);padding:5px 10px;border-radius:18px;background:#f4d49d;border:2px solid #865b2e;font-weight:bold;color:#4f391d}
/* The world and conversation share the viewport. Only the conversation scrolls. */
.station-prompt{position:absolute;z-index:5;bottom:1rem;left:50%;transform:translateX(-50%);min-height:48px;max-width:64%;padding:.65rem 1.25rem;border:2px solid #40634c;border-radius:22px;background:#fff8d9;color:#284c39;font-weight:750;box-shadow:0 4px 0 #40634c;cursor:pointer}
.station-prompt[hidden],[hidden].room-fallback,[hidden][data-door-together]{display:none}
.station-caption{color:#496a56;font-size:.92rem}
.place-quest{position:absolute;bottom:14px;left:10px;right:10px;padding:12px 15px;background:#fffbeaef;color:#304a39;border:1px solid #bccda7;border-radius:17px;display:grid;gap:5px;text-align:center;pointer-events:none}.place-quest span{color:#81956b;font-size:1.15rem}.place-quest small{font-size:.82rem}
@media(max-width:1040px){.place-quest{display:none}}
.flat-orchard{position:absolute;transform:translate(-50%,-50%);font-size:1.6rem}


#embeddedLesson:has(.garden-celebration){overflow:auto}
.cottage-shell{width:100%}
.enroll-family fieldset{border:1px solid #c6d0b8;border-radius:15px;padding:14px;margin:15px 0;text-align:left}.enroll-family legend{font-weight:bold}.enroll-family input[type=checkbox]{width:20px;height:20px;min-height:0;display:inline}
.cottage-shell{display:flex;flex-direction:column;overflow:hidden;min-height:0;height:min(79dvh,820px);background:#f7f4e5;border:1px solid #cbd5bf;border-radius:22px}
.room-floor{flex:1;min-height:180px;position:relative;overflow:hidden;isolation:isolate;background:#d6ddcb}
.room-canvas,.room-fallback{position:absolute;inset:0;width:100%;height:100%;touch-action:manipulation}
.room-fallback{background:repeating-linear-gradient(0deg,#dec198 0 9%,#cfb089 9% 10%);border:12px solid #ac8767}
.room-rug{position:absolute;inset:40% 25% 18%;border:8px double #edcf96;border-radius:20%;background:#81a098}
.room-pip,.room-landmark{position:absolute;transform:translate(-50%,-50%)}.room-pip{width:42px;pointer-events:none}.room-pip svg{width:100%}
.room-landmark,.door-keys button,.door-footer button{border:1px solid #bdc9ac;border-radius:13px;padding:10px;background:#fff8e4;min-height:44px;color:#314b38}
.door-keys,.door-footer{display:flex;justify-content:center;gap:12px;margin:16px auto}.door-keys button{font-size:1.35rem;min-width:56px}.firefly-leaves{background:#eff1d9;padding:1rem;border-radius:14px;color:#796019;font-size:1.4rem}

/* One uninterrupted canvas, with a readable conversation floating over it. */
body[data-view="home"] main:has(#embeddedLesson){position:relative;display:flex;flex-direction:row;width:100%;max-width:1440px;min-height:0;flex:1;padding:14px 24px 20px;gap:0;overflow:hidden}
main:has(#embeddedLesson)>.immersive-garden{width:100%;flex:1;min-height:0}
.immersive-garden.talking .station-prompt,.talking .garden-dpad,.talking .garden-decorate-toggle,.talking .garden-learning-drawer,.talking .home-customize,.talking .garden-scene-label{visibility:hidden}
.talking .place-quest{left:1rem;right:auto;bottom:4.2rem;width:min(220px,25%);text-align:left;pointer-events:none}
#embeddedLesson{position:absolute;z-index:8;right:2.2rem;bottom:2.2rem;display:flex;flex-direction:column;gap:5px;width:min(560px,46%);height:min(610px,calc(100% - 7rem));min-height:0;min-width:0;padding:10px 12px;border:1px solid #b8c9b6;border-radius:23px;background:rgba(253,251,239,.97);box-shadow:0 12px 36px #213e3133;animation:chat-arrives .24s ease-out}
#embeddedLesson:has(.conversation-reading){width:min(940px,72%);height:calc(100% - 9rem)}
#embeddedLesson:has(.garden-celebration){height:calc(100% - 8rem);overflow:auto}
#embeddedLesson .practice-top{margin:0;min-height:36px;gap:8px;flex:none;flex-wrap:wrap}
#embeddedLesson .practice-top .back-button{font-size:.85rem;min-height:36px;padding:5px 9px}
#embeddedLesson .conversation-practice,#embeddedLesson .practice-card{flex:1;min-height:0;width:100%;max-width:none;margin:0;overflow:hidden}
#embeddedLesson .conversation-log{min-height:0}
#embeddedLesson .floating-help{position:absolute;top:8px;right:9px;bottom:auto;width:37px;height:37px;font-size:23px}
#embeddedLesson .practice-top{padding-right:41px}
#embeddedLesson .math-question.word-question{font-size:clamp(1.25rem,2.4vw,1.95rem)}
#embeddedLesson .station-caption{font-size:.82rem}
@keyframes chat-arrives{from{transform:translateY(12px);opacity:.45}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){#embeddedLesson{animation:none}}
body[data-motion=reduced] #embeddedLesson{animation:none}
.firefly-leaves{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}.firefly-leaves span{padding:3px 7px;background:#e1e8ba;border-radius:12px;font-size:.9rem}
.style-picker{position:relative;z-index:7}.style-picker summary,.style-picker button{cursor:pointer;display:flex;align-items:center;gap:.5rem;border:1px solid #c2ceba;background:#fffaf0;color:#30473a;padding:.3rem .65rem;border-radius:12px;min-height:45px;font-size:.88rem}.style-picker summary svg{width:58px;border-radius:7px}.style-picker>div{position:absolute;right:0;top:calc(100% + 5px);width:200px;display:grid;gap:5px;padding:8px;border-radius:15px;background:#fffbed;box-shadow:0 8px 22px #29453238}.style-picker button svg{width:58px;border-radius:6px}.style-picker button[aria-pressed=true]{border:2px solid #446d4c;background:#edf3df}
#explorerForm{text-align:center;margin:1.2rem auto;padding:1rem .6rem;background:#eef3e5;border-radius:20px}#explorerLook svg{height:105px}.avatar .explorer-art{width:34px;height:34px}.explorer-options{padding:7px 4px;border:0;margin:.2rem 0}.explorer-options legend{font-weight:700}.explorer-options>div{display:flex;justify-content:center;gap:6px}.explorer-options label{flex:1;max-width:115px;position:relative;margin:0;cursor:pointer}.explorer-options input{position:absolute!important;opacity:0;width:1px!important;height:1px!important;min-height:0!important}.explorer-options label span{display:grid;place-items:center;background:#fffdf3;border:2px solid #c6d0ba;border-radius:12px;min-height:56px;padding:4px;color:#344b3d}.explorer-options svg{height:40px}.explorer-options b{font-size:12px}.explorer-options i{width:23px;height:23px;border-radius:50%;border:1px solid #796b56}.explorer-options input:checked+span{border-color:#3d644c;background:#dce9cb;box-shadow:inset 0 -3px #3d644c}.explorer-options input:checked+span b:before{content:'✓ '}.explorer-options input:focus-visible+span{outline:3px solid #b98229;outline-offset:2px}
/* The garden now has nine destinations. Keep a single touch-sized picker on compact screens. */
.garden-walk-picker{display:none;align-items:center;gap:.5em;font-weight:650}
.immersive-garden:not(.cottage-shell) .garden-bottom-bar nav{flex:1;min-width:0;justify-content:flex-end;flex-wrap:wrap}
.garden-flat .flat-plant{width:18%;height:18%;min-width:52px;min-height:42px}
.garden-flat .flat-plant b{font-size:clamp(9px,1vw,13px);white-space:normal;padding:2px}
@media(max-width:1150px){
 .immersive-garden:not(.cottage-shell) .garden-bottom-bar nav{display:none}
 .garden-walk-picker{display:flex}
}
.garden-flat[data-theme=lanterns]{background:radial-gradient(ellipse at 75% 25%,#e1bc75 0%,transparent 8%),linear-gradient(155deg,#45695a,#7b8466)}.garden-flat[data-theme=stars]{background:radial-gradient(ellipse at 25% 20%,#dccfa5,transparent 5%),linear-gradient(140deg,#364259,#667765)}.flat-pip svg,.room-pip svg{width:100%}
@media(max-width:1040px){#embeddedLesson{width:64%;right:1rem;bottom:4rem;max-height:calc(100% - 7.5rem)}#embeddedLesson:has(.conversation-reading){width:83%}}
@media(max-width:760px){body[data-view="home"] main:has(#embeddedLesson){padding:5px 8px 14px}#embeddedLesson,#embeddedLesson:has(.conversation-reading),#embeddedLesson:has(.garden-celebration){width:auto;left:12px;right:12px;bottom:1.3rem;height:73%;max-height:calc(100% - 2rem);padding:6px 8px;border-radius:17px}.talking .place-quest{display:none}.style-picker summary{font-size:11px;padding:4px}.style-picker summary svg{width:38px}}
@media(max-height:580px){#embeddedLesson,#embeddedLesson:has(.conversation-reading){top:5px;bottom:12px;height:auto;max-height:none}.style-picker summary svg{width:32px}}

#embeddedLesson .conversation-ask .question-bubble>p:first-child{display:none}#embeddedLesson .conversation-thread{padding:10px 13px}#embeddedLesson .practice-footer:has(#typedAnswerForm:not([hidden])) .practice-coach:has(#feedback:empty){display:none}#embeddedLesson .conversation-heading{padding:9px 14px}#embeddedLesson .practice-footer{max-height:62%;overflow-y:auto}
/* The lock shows each collection on its own leaf, including in guided counting. */
dialog:has(.lock-puzzle){padding:clamp(14px,2.4vw,30px);width:min(660px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}
.lock-puzzle{text-align:center;color:#294a3a}.lock-puzzle>small{color:#61764f;font-size:.68rem;letter-spacing:.18em;font-weight:800}
.lock-puzzle h2{margin:.3rem 0 .65rem}.lock-puzzle .lock-clue,.lock-puzzle h3{font-size:clamp(1.06rem,2.3vw,1.45rem);margin:.65rem 0;line-height:1.4}
.lock-puzzle figure{margin:.8rem 0;background:linear-gradient(140deg,#f1f4dd,#dae7c5);border:1px solid #cedbb7;border-radius:18px;padding:clamp(6px,1.7vw,15px)}
.lock-leaves{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));justify-content:center;gap:6px;max-width:calc(var(--cols) * 112px);margin:auto}
.lock-leaf{background:#fffdf0;border:1px solid #b6c999;border-radius:14px;padding:3px;display:grid;justify-items:center;align-content:start}.lock-leaf svg{display:block;width:100%;max-height:65px}.lock-leaf span,.lock-leaf strong{font-size:.8rem;color:#365940}.lock-leaf strong{color:#6b4420}.lock-leaf:has(strong:not([hidden])){border-color:#967747;background:#fff3c9}.lock-puzzle .door-keys,.lock-puzzle .door-footer{margin:.7rem 0;flex-wrap:wrap}.lock-puzzle .door-keys button{background:#fffdf2;border:2px solid #a7ba8b;min-width:64px;font-weight:700}.lock-puzzle [data-door-hint]{margin:.4rem 0;background:#fbefd0;border-radius:12px;padding:.55rem}
.cottage-shell .room-floor{min-height:160px;touch-action:none}.room-canvas{touch-action:none}.room-controls{position:absolute;z-index:2;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:3px;background:#fffaeced;border-radius:16px;padding:4px;box-shadow:0 2px 10px #34291640}.room-controls[hidden]{display:none}.room-controls button{border:none;border-radius:12px;padding:7px 11px;min-height:42px;color:#344d41;background:transparent;font-weight:680;cursor:pointer}.room-controls [aria-pressed=true]{background:#405f49;color:#fffcec}.room-controls button:focus-visible{outline:3px solid #956324}
.cottage-shell{height:min(84dvh,950px)}.cottage-shell .room-floor:focus-visible{outline:3px solid #8c9d61;outline-offset:-3px}.room-floor[inert] .room-controls{display:none}
@media(max-width:680px){.room-controls{left:5px;right:5px;top:6px;width:max-content;max-width:calc(100% - 10px)}.room-controls button{padding:5px 8px}.cottage-shell .garden-bottom-bar nav{flex-wrap:wrap}}
.group-puzzle{min-height:0;overflow:auto;overscroll-behavior:contain;padding:clamp(10px,2vw,20px);border-radius:16px;background:#fffcf2;border:1px solid #d5dcca;color:#2f4a3c;scrollbar-gutter:stable}
.group-puzzle .group-running-count{font-weight:700;color:#36573b;font-size:1.1rem}.group-puzzle .group-target:disabled{opacity:1;color:#31523d}.group-puzzle .group-pieces i{animation:pour-seeds .35s var(--seed-delay,0ms) backwards}.group-puzzle h3{margin:.35rem 0;font-size:1.16rem}.big-hint:empty{display:none}@keyframes pour-seeds{from{transform:translateY(-16px) rotate(-25deg);opacity:0}}@media(prefers-reduced-motion:reduce){.group-puzzle .group-pieces i{animation:none}}body[data-motion=reduced] .group-puzzle .group-pieces i{animation:none}
.group-puzzle h2{font-size:clamp(1.15rem,1.8vw,1.6rem);line-height:1.24;margin:0}
.group-puzzle p{font-size:.94rem;line-height:1.4;margin:.45rem 0 .7rem}
.piece-tray,.group-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.piece-tray button,.group-target{min-height:44px;border:1px solid #a7ba9e;background:#f6f8eb;color:#314b39;border-radius:12px;font:inherit;cursor:pointer}
.piece-tray button{padding:6px 11px;touch-action:none;user-select:none;cursor:grab}.piece-tray [aria-pressed=true]{background:#deeed8;box-shadow:inset 0 0 0 2px #557849}
.piece-tray .carrying{cursor:grabbing}.group-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(77px,1fr));gap:6px;margin:12px 0}
.group-target{padding:5px 3px;display:grid;gap:3px;justify-items:center}.group-target span:first-child{text-transform:capitalize;font-size:.8rem}.group-target.clue{outline:2px solid #bd8537}.group-target.drop-target{background:#d2e7bf;outline:3px solid #518144}.group-target b{line-height:1}
.group-vessel{width:64px;height:45px;position:relative;border:2px solid #78a79b;border-radius:7px 7px 14px 14px;background:linear-gradient(100deg,#daefdf,#f6fbf2 26%,#d6e9df);display:flex;align-items:flex-end;justify-content:center}.group-vessel:before{content:"";position:absolute;top:-3px;left:3px;right:3px;border:2px solid #719a8d;border-radius:50%;height:5px;background:#e9f3e6}.group-pieces{display:grid;grid-template-columns:repeat(5,8px);gap:2px;align-content:end;padding-bottom:4px;pointer-events:none}.group-pieces i,.piece-tray i{display:inline-block;width:8px;height:10px;background:linear-gradient(110deg,#e8ba63,#aa6b32);border-radius:75% 20% 65% 35%;border:1px solid #965c30}.piece-tray i{margin-right:6px;vertical-align:middle;width:11px;height:14px}
.kind-orchard .group-vessel{background:repeating-linear-gradient(0deg,#d6aa72 0 5px,#bf945e 5px 8px);border-color:#ad8154}.kind-orchard i{background:#d96748;border-radius:50%}.kind-meadow .group-vessel{background:#ba936c;border-color:#9f7955;border-radius:34%}
.group-puzzle [data-group-hint]:not(:empty){background:#fff0c7;border-radius:9px;padding:8px}.group-actions button{min-height:44px;padding:8px 14px}
@media(max-height:650px){.group-targets{margin:5px 0}.group-vessel{height:37px}}
.choice-bank-title{grid-column:1/-1;font-size:1rem}.reading-answer-area .typed-answer-form:not([hidden]){margin-top:.7rem}.conversation-story [data-story-passage]>p{font-size:clamp(1rem,1.5vw,1.3rem);line-height:1.65}.pip-clue-label{display:block;color:#36593f;font-weight:700;margin:.35rem 0}.reading-clue-passage mark{background:#ffe49b;color:#253d31;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.sequence-cue{text-decoration-thickness:2px;text-underline-offset:.13em;font-weight:750}
.built-groups{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.clue-passage small{display:block;color:#54634f;margin:.6rem 0}.clue-passage p{margin:.5rem 0;font-size:clamp(1rem,1.5vw,1.3rem);line-height:1.65}
.clue-passage button{display:inline;border:0;font:inherit;padding:2px 3px;color:inherit;background:transparent;cursor:pointer;text-align:left;border-radius:5px}.clue-passage button:hover,.clue-passage button:focus-visible{background:#e6ecda}.clue-passage button[aria-pressed=true]{background:#ffe599;box-shadow:inset 0 -2px #ac873d}

/* Garden field journals: one readable panel over the student's current bed. */
.field-picks,.field-choices{display:grid;gap:8px}.field-topic,.field-choices button{display:flex;align-items:center;gap:13px;padding:10px 14px;border:1px solid #9fb393;background:#f6f7e9;color:#294233;border-radius:14px;min-height:46px;text-align:left;font:inherit;cursor:pointer}
.field-topic>span:first-child{font-size:1.4em}.field-topic strong,.field-topic small{display:block}.field-topic>b{margin-left:auto}.field-topic small{color:#48634c}.field-inspector .field-picks{display:flex;flex-wrap:wrap}.field-inspector .field-topic{min-width:155px}
.field-guide{margin:10px 0;padding:10px;background:#e9efdc;border-radius:14px}.field-guide>div{display:flex;gap:8px;flex-wrap:wrap}.field-guide div>span{flex:1 1 85px;background:#fffbea;border:1px solid #bccaa5;border-radius:10px;padding:8px;text-align:center}.field-guide span>b{display:block;font-size:1.55em}.field-guide figcaption{font-weight:700;margin-bottom:6px}.field-guide svg{display:block;width:100%;max-height:230px}
.field-slots{padding-left:2em}.field-slots li{margin:4px 0;border-bottom:1px dashed #bbc6ab}.field-choices button:disabled{opacity:.58}.field-stamp{font-size:3em;text-align:center}.field-panel>small{font-weight:700;color:#526a4f}.jar-shelf{display:flex;flex-wrap:wrap;gap:6px;padding:10px}.packed-jar{display:inline-grid;justify-items:center;gap:4px;width:65px;padding:7px 4px;border:2px solid #8ea897;background:#f2faec;border-radius:6px 6px 14px 14px}.packed-jar>span{display:flex;flex-wrap:wrap;justify-content:center;gap:2px}
.world-overview .destination-panel{overflow:auto;min-height:0;overscroll-behavior:contain}

.field-guide.clue-notes{margin:10px 0;padding:10px 14px;background:#f5f0dc;border:0;border-left:4px solid #bd954b;border-radius:0 12px 12px 0}
.clue-notes p,.clue-notes ul{margin:.35em 0}.clue-notes ul{list-style:none;padding:0}.clue-notes li{padding:3px 0}.clue-notes li>span{margin-right:8px}.clue-notes .field-guide-next{font-weight:650}
.field-panel .field-answers{border:0;padding:0;margin:12px 0}.field-answers legend{font-weight:bold;margin-bottom:8px}.field-answers .field-choices button::before{content:'○';color:#537749}
.field-pip{display:flex;align-items:center;gap:12px}.field-pip .pip{width:42px;flex:none}.field-pip svg{width:100%}.field-pip p{margin:5px 0}
.field-help-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.field-help-tools button{min-height:44px}
.field-worked{padding:.5em .8em;background:#e8f0dd;border-radius:12px;margin:8px 0}.field-worked p{margin:.25em 0}
@media(min-width:900px){#embeddedLesson:has(.atlas-board,.rock-workbench,.habitat-orientation){width:min(640px,60%);height:min(720px,calc(100% - 4rem))}}

#embeddedLesson .practice-top .field-jump{margin-left:auto;min-height:38px;padding:4px 10px;border:1px solid #91a484;border-radius:10px;background:#e8efdd;color:#304b39;font:inherit;font-weight:650;cursor:pointer}
@media(max-width:600px){#embeddedLesson .practice-top:has(.field-jump) strong{display:none}}
.welcome-garden{box-sizing:border-box;position:fixed;inset:auto max(16px,5vw) max(18px,6vh) auto;margin:0;width:min(490px,calc(100vw - 32px));max-height:80dvh;overflow:auto;padding:clamp(18px,3vw,32px);color:#294136;background:#fffdf3;border:1px solid #bdcba9;border-radius:22px;box-shadow:0 12px 52px #23392744}
.welcome-garden::backdrop{background:rgba(31,53,38,.15);backdrop-filter:none}
.welcome-garden header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.welcome-garden h2{margin:10px 0;font-size:clamp(24px,3vw,32px)}
.welcome-garden p{line-height:1.5}.welcome-place,.welcome-reward{font-weight:700;color:#436142}.welcome-choices{display:grid;gap:8px;margin:16px 0 8px}.welcome-choices button{text-align:left;min-height:44px}.welcome-status:empty{display:none}.welcome-explorer #explorerForm{margin-bottom:0}.welcome-explorer #explorerLook svg{height:64px}

.race-scene {
  --lane: 0;
  --approach: 0;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  height: clamp(165px, 34dvh, 385px);
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(#96cad3 0%, #d5e7d0 32%, #fbefd0 48%);
}
.race-scene i { display: block; position: absolute; }
.race-sun {
  position: absolute;
  top: 7%; left: 72%;
  width: clamp(27px,5%,55px); aspect-ratio: 1;
  border-radius: 50%;
  background: #fff3b8;
  box-shadow: 0 0 24px 8px #fce6a888;
}
.race-cloud {
  height: 4%; width: 15%; border-radius: 50%; background: #fffae4bd;
}
.race-cloud::before, .race-cloud::after {
  content: ''; position: absolute; bottom: 15%; border-radius: 50%;
  width: 45%; height: 160%; left: 18%; background: inherit;
}
.race-cloud::after { width: 32%; height: 115%; left: 48%; }
.race-cloud.one { top: 18%; left: 10%; }
.race-cloud.two { top: 10%; left: 43%; width: 9%; opacity: .7; }
.race-ridge {
  position: absolute; inset: 12% 0 54%;
  background: #9abaae;
  clip-path: polygon(0 55%,10% 50%,21% 64%,35% 25%,42% 19%,55% 66%,70% 15%,77% 6%,90% 52%,100% 34%,100% 100%,0 100%);
}
.race-ridge.near {
  inset: 23% 0 51%; background: #7aa485;
  clip-path: polygon(0 11%,9% 28%,22% 43%,35% 58%,45% 61%,59% 35%,72% 33%,86% 51%,100% 30%,100% 100%,0 100%);
}
.race-field {
  position: absolute; inset: 37% 0 0;
  background: radial-gradient(100% 85% at 92% 110%,#567849 26%,transparent 27%),
    radial-gradient(130% 68% at 10% 66%,#93af66 20%,transparent 21%),
    radial-gradient(120% 70% at 110% 17%,#acbf78 25%,transparent 26%),
    linear-gradient(#c5ce92,#8ea767 58%,#688552);
}
.race-tree {
  left: var(--x); top: var(--y);
  width: calc(var(--size) * .65%); height: calc(var(--size) * 1.7%);
  min-height: 12px; transform: translate(-50%,-92%);
  background: linear-gradient(90deg,#766545 47%,#5b5541 48%) center bottom / 8% 54% no-repeat;
}
.race-tree::before {
  content: ''; position: absolute; inset: 3% 0 19%; border-radius: 50% 46% 43% 42%;
  background: radial-gradient(ellipse at 30% 25%,#96ad70 0 21%,transparent 22%),
    radial-gradient(ellipse at 15% 47%,#80a169 0 32%,transparent 33%),
    radial-gradient(ellipse at 65% 26%,#769765 0 39%,transparent 40%),
    linear-gradient(125deg,#729367,#47735a);
}
.race-cottage {
  left: 27%; top: 30%; width: 4.2%; height: 8%;
  background: linear-gradient(90deg,transparent 47%,#65553e 48% 65%,transparent 66%) center bottom / 100% 55% no-repeat,#e1c58f;
  transform: skewY(-3deg);
}
.race-cottage::before {
  content: ''; position:absolute; inset:-45% -12% 78%;
  background: #a76c48; clip-path:polygon(0 100%,44% 0,95% 50%,100% 100%);
}
.race-track {
  position: absolute; inset: 37% 0 0;
  clip-path: polygon(48% 0,52% 0,104% 100%,-4% 100%);
  background: linear-gradient(95deg,#d3ba82,#efdaa3 42%,#e9d59b 60%,#c6aa79);
}
.race-lane-lines {
  position:absolute; inset:37% 0 0;
  background: #f9e7b7;
  clip-path:polygon(49.1% 0,49.45% 0,34% 100%,33.3% 100%,49.1% 0,50.55% 0,50.9% 0,66.7% 100%,66% 100%,50.55% 0);
}
.race-verge {
  top: 40%; left: 50%; width: 1.6%; height: 4%;
  transform-origin: bottom center;
  background: radial-gradient(circle at 52% 25%,#e5b255 0 15%,transparent 16%),
    radial-gradient(ellipse at 52% 24%,#fff3cd 0 33%,transparent 34%),
    linear-gradient(90deg,transparent 42%,#658553 43% 54%,transparent 55%);
  animation: race-verge 3s linear var(--cycle) infinite;
}
@keyframes race-verge {
  0% { top: 39%; left: calc(50% + var(--side) * 5%); transform: scale(.12); }
  45% { top: 50%; left: calc(50% + var(--side) * 21%); transform: scale(.45); }
  80% { top: 75%; left: calc(50% + var(--side) * 39%); transform: scale(1); }
  100% { top: 103%; left: calc(50% + var(--side) * 56%); transform: scale(1.8); }
}
.race-arches {
  position: absolute; left: 12%; right: 12%; top: calc(14% + var(--approach) * 43%);
  height: 34%; display: flex; justify-content: space-around;
  transform-origin: center top; transform: scale(calc(.63 + var(--approach) * .55));
}
.race-arch {
  position: relative;
  width: 24%;
  background: linear-gradient(90deg,#795138,#b88754,#826140) left bottom / 7% 100% no-repeat,
    linear-gradient(90deg,#795138,#b88754,#826140) right bottom / 7% 100% no-repeat;
}
.race-arch [data-gate-sign] {
  position:absolute; inset: 0 -4% auto; height: 41%; min-height: 23px;
  display: grid; place-items: center; border-radius: 5px;
  font: 800 clamp(20px,4.2cqi,40px)/1 system-ui,sans-serif; color:#fff9dc;
  background: linear-gradient(120deg,#52784e,#345743);
  border: 2px solid #e7d4a0; box-shadow: 0 3px #5f6040;
}
.race-pennant {
  top: -19%; left: 0; width: 20%; height: 23%;
  background:#ce8353; clip-path:polygon(0 0,100% 28%,0 68%,0 100%);
}
.race-runner {
  position:absolute; left:calc(50% + var(--lane) * 26%); bottom:4%;
  height:30%; aspect-ratio: .85; transform:translateX(-50%);
  transition:left .24s ease-out;
}
.race-shadow { inset:89% 9% 1%; border-radius:50%; background:#59614555; }
.race-run-body { position:absolute; inset:0; animation:race-gait .38s ease-in-out infinite alternate; }
.race-body { inset:49% 26% 11%; border-radius:49% 51% 43% 45%; background:linear-gradient(115deg,var(--light-fur),var(--fur) 38%,var(--shade-fur)); }
.race-head {
  inset:23% 16% 38%; border-radius:48% 48% 44% 44%;
  background:linear-gradient(130deg,var(--light-fur),var(--fur) 40%,var(--shade-fur));
}
.race-ear {
  top:12%; height:29%; width:24%; border-radius:65% 35% 8% 9%;
  background:linear-gradient(120deg,var(--light-fur),var(--fur) 40%,var(--shade-fur));
}
.race-ear.left { left:19%; transform:rotate(-22deg); }
.race-ear.right { right:19%; transform:rotate(22deg) scaleX(-1); }
.race-runner[data-animal="cat"] .race-ear { clip-path:polygon(0 0,49% 17%,100% 100%,2% 93%); }
.race-runner[data-animal="cat"] .race-head::after {
  content:''; position:absolute; inset:1% 18% 48%; opacity:.64;
  background:var(--shade-fur); clip-path:polygon(0 0,22% 0,29% 78%,9% 35%,0 0,35% 0,60% 0,60% 90%,45% 48%,35% 0,78% 0,100% 0,83% 47%,75% 69%,78% 0);
}
.race-runner[data-animal="rabbit"] .race-ear { top:0; width:16%; height:42%; border-radius:65%; }
.race-runner[data-animal="bear"] .race-ear { height:24%; border-radius:50%; }
.race-foot {
  top:77%; width:22%; height:17%; background:linear-gradient(var(--shade-fur),var(--light-fur)); border-radius:48%;
  animation:race-paw .38s ease-in-out infinite alternate;
}
.race-foot.left { left:26%; }
.race-foot.right { right:24%; animation-direction:alternate-reverse; }
.race-tail {
  top:57%; right:14%; height:25%; width:24%;
  border-right:.38em solid var(--fur); border-bottom:.38em solid var(--shade-fur);
  border-radius:0 75% 68% 50%; transform:rotate(-14deg);
}
.race-runner:not([data-animal="cat"]) .race-tail { top:71%; right:39%; height:13%; width:17%; z-index:1; border:0; border-radius:50%; background:var(--light-fur); }
.race-runner[data-gear="pack"] .race-accessory {
  inset:58% 31% 17%; border-radius:28% 28% 32% 36%; border:2px solid #275952;
  background:linear-gradient(#68a391 36%,#dbc38e 37% 46%,#38786f 47%);
}
.race-runner[data-gear="scarf"] .race-accessory {
  inset:55% 24% 18%; background:#a74455;
  clip-path:polygon(0 0,100% 0,96% 23%,39% 28%,32% 94%,10% 100%,20% 25%,5% 24%);
}
@keyframes race-gait { to { transform:translateY(-4%) rotate(1.8deg); } }
@keyframes race-paw { to { transform:translateY(-21%) rotate(-13deg); } }
.race-scene:not([data-running="true"]) :is(.race-verge,.race-run-body,.race-foot) { animation-play-state:paused; }
.race-scene[data-reduced]:not([data-reduced="false"]) * { animation-play-state:paused; transition:none; }
.race-scene[data-reduced]:not([data-reduced="false"]) .race-arches { top:39%; transform:none; }
@media(prefers-reduced-motion:reduce) {
  .race-scene * { animation-play-state:paused; transition:none; }
  .race-scene .race-arches { top:39%; transform:none; }
}

.meadow-race .race-options{margin-bottom:4px}
@media(max-height:770px){.meadow-race .race-console h2{font-size:clamp(19px,1.85vw,25px);margin:.35em 0}.meadow-race .race-actions button{padding:9px 16px}.meadow-race:is([data-mode=retry]) .race-scene{flex-basis:clamp(60px,12dvh,92px);min-height:54px}}
.race-entry{min-height:44px;border:1px solid #85a377;border-radius:14px;background:#deebce;color:#2c4934;padding:.55rem 1rem;font:inherit;font-weight:700;cursor:pointer}
.meadow-race{width:min(100%,1080px);box-sizing:border-box;margin:0 auto;border:1px solid #c8d4be;background:#faf8ee;border-radius:22px;padding:clamp(9px,1.4vw,20px)}
.meadow-race{display:flex;flex-direction:column;min-height:0;overflow:hidden}
body[data-view=home] main:has(.meadow-race){padding-bottom:max(30px,env(safe-area-inset-bottom))}
.meadow-race .race-scene{flex:0 1 clamp(84px,min(44dvh,calc(100% - 334px)),470px);min-height:84px;touch-action:pan-y;cursor:ew-resize}
.meadow-race:is([data-mode=retry]) .race-scene{flex-basis:clamp(80px,16dvh,150px)}
.meadow-race .race-console{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;width:100%;margin:0 auto;padding:0 5px 8px;scrollbar-width:thin}
.meadow-race .race-actions{flex:none;flex-wrap:wrap;padding:6px 4px 0;border-top:1px solid #d6dfcc;background:#faf8ee;z-index:2;margin:0}
.meadow-race>header{flex:none}
.race-scene:focus-visible{outline:3px solid #95732c;outline-offset:-3px}
.race-canvas{position:absolute;inset:0;pointer-events:none;visibility:hidden}
.race-scene.has-webgl>.race-canvas{visibility:visible}
.race-canvas canvas{width:100%;height:100%;display:block}
.race-scene.has-webgl>:not(.race-canvas){visibility:hidden}
.race-options [aria-pressed=true],.race-arch.chosen [data-gate-sign]{outline:3px solid #c08a25;background:#e9f2da}
.race-arch.chosen [data-gate-sign]{background:#4a673c}
.share-dots{background:#f6f4e8;border:1px solid #becdb0;border-radius:16px;padding:10px}
.share-dots h3,.share-dots p{margin:.25em 0 .5em}.dot-pool{display:flex;align-items:center;gap:.8em;padding:8px;border-radius:10px;background:#f4e7b4;text-align:left}.dot-pool b{flex:none}
.dot-pool span,.nest-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px}
.share-dots i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#cd942c;border:1px solid #835f22}
.dot-nests{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px;margin:8px 0}
.dot-nests button,.dot-tools button{border:1px solid #9bb08a;border-radius:12px;background:#fffff5;color:#2d4735;cursor:pointer;font:inherit}
.dot-nests button{min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px}
.dot-tools{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.dot-tools button{min-height:44px;padding:4px 10px}.dot-nests button:disabled{opacity:1}
.meadow-race>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.meadow-race h1{margin:0;font-size:clamp(22px,3vw,36px)}.meadow-race header span{min-width:5rem;font-weight:650;text-align:right}
.race-scene[data-choosing=true] .race-arch{cursor:pointer;pointer-events:auto}.race-scene[data-choosing=true] .race-arch:hover [data-gate-sign]{outline:3px solid #ffdf80}.race-arch::after{content:"";position:absolute;top:9%;left:12%;width:6px;height:6px;border-radius:50%;background:#fff7a6;box-shadow:0 0 8px 3px #ffe47e;pointer-events:none}.race-scene[data-running=true] .race-arch::after{animation:gate-glow 1.8s ease-in-out infinite alternate}@keyframes gate-glow{to{opacity:.4;transform:translate(7px,-5px)}}
.race-console{max-width:770px;margin:auto;text-align:center}.race-console h2{font-size:clamp(20px,2.4vw,30px);line-height:1.15;margin:.6em 0 .25em}.race-console [data-comment]{margin:.25em 0 .6em;min-height:1.5em}
.race-options,.race-setup,.race-actions{display:flex;align-items:center;justify-content:center;gap:10px}.meadow-race [hidden]{display:none!important}
.race-options button{flex:1;min-height:56px;border:2px solid #8ca97e;border-radius:14px;background:#eff4e4;color:#253c30;cursor:pointer}.race-options small,.race-options b{display:block}.race-options b{font-weight:700;font-size:1.65rem;line-height:1.1}.race-options button:focus-visible{outline:3px solid #ab7327;outline-offset:2px}
.race-setup{flex-wrap:wrap}.race-setup label{font-weight:600}.race-setup select{margin-left:5px;min-height:42px;border:1px solid #a6b99a;border-radius:9px;font:inherit;padding:0 6px;color:#334738;background:#fffdf5}
.race-actions{min-height:52px;margin-top:8px}.race-actions button{min-height:44px}.race-actions [data-clock]{font-variant-numeric:tabular-nums;color:#485d42;font-weight:750}
@media(max-height:650px){.meadow-race .race-scene{height:27dvh}.race-console h2{margin-top:6px}.race-options button{min-height:44px}}
@media(max-width:540px){.meadow-race header span{min-width:0;font-size:.84rem}.race-actions,.race-setup{gap:5px}.race-entry{padding:5px 8px}}


/* Keep the lane shortcuts in front of both renderers, just above the track edge. */
.race-scene .race-lane-arrows,.race-scene.has-webgl>.race-lane-arrows{visibility:visible;position:absolute;z-index:2;inset:auto 8% 5%;display:flex;justify-content:space-between;pointer-events:none}
.race-lane-arrows button{pointer-events:auto;display:inline-flex;gap:.35em;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:3px 11px;border:2px solid #ecdda7;border-radius:22px;background:#204b3ced;color:#fff8d3;box-shadow:0 3px 0 #203e2c;font:700 clamp(17px,2.4vw,23px)/1 system-ui;cursor:pointer}
.race-lane-arrows button:hover,.race-lane-arrows button:focus-visible{background:#456437;outline:3px solid #ffdf84}
.race-lane-arrows button:active{transform:translateY(2px)}
.race-lane-arrows svg{width:1.1em;height:1.1em;flex:none}
.division-kitchen{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding:clamp(12px,2vw,24px);color:#293e32}
.division-kitchen h2{margin:.3em 0}.division-kitchen p{line-height:1.45}
.division-kitchen>button,.division-kitchen form button{display:block;width:100%;margin:9px 0;min-height:44px}
.division-kitchen label{font-weight:700;display:block}.division-kitchen input{width:100%;min-height:48px;font:inherit;border:2px solid #8aa77b;border-radius:10px;padding:7px 12px}.division-kitchen .division-success{background:#e7efd8;border-radius:12px;padding:13px}

.atlas-board{margin:12px 0;color:#284337}
.atlas-board>p{margin:6px 0 10px;line-height:1.4}
.atlas-map-heading,.atlas-key,.atlas-key span{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.atlas-map-heading{justify-content:space-between}
.atlas-key{font-size:.83rem;gap:12px}
.atlas-key span{gap:4px}
.atlas-key i{display:inline-block;width:1.3rem;height:0;border-top:3px solid #1e7192;border-radius:2px}
.atlas-key .atlas-range-key{border-top:4px dashed #83502e}
.atlas-frame{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b8cdc1;border-radius:13px;background:#deece9}
.atlas-frame>svg{width:100%;height:auto;display:block}
.atlas-trace .atlas-outline,.atlas-trace .atlas-line,.atlas-tap-line,.atlas-halo,.atlas-leader{fill:none;stroke-linejoin:round;stroke-linecap:round}
.atlas-trace .atlas-outline{stroke:#fff7db;stroke-width:4.3}
.atlas-trace.river .atlas-line{stroke:#247495;stroke-width:2.3}
.atlas-trace.mountain .atlas-line{stroke:#84542d;stroke-width:4;stroke-dasharray:3.2 2}
.atlas-leader{stroke:#455b4d;stroke-width:.9}
.atlas-anchor{fill:#334e40}
.atlas-tap-line{stroke:transparent;stroke-width:11;pointer-events:stroke;cursor:pointer}
.atlas-trace.missed{opacity:.53}
.atlas-search-area{fill:#ffe294;fill-opacity:.35;stroke:#9a6d1b;stroke-width:1.5;stroke-dasharray:3 2}
.atlas-halo{stroke:#f4c24c;stroke-width:10}
.atlas-compass{fill:#425c50;text-anchor:middle;font:700 8px system-ui}
.atlas-place-labels{fill:#53695e;text-anchor:middle;font:7px system-ui;letter-spacing:.2px;pointer-events:none}
.atlas-frame .atlas-pin{display:grid;place-items:center;position:absolute;z-index:1;transform:translate(-50%,-50%);margin:0;padding:0;border:0;border-radius:50%;width:44px;height:44px;min-height:44px;background:transparent;color:#fffdf3;cursor:pointer;touch-action:manipulation;font:700 1rem/1 system-ui}
.atlas-frame .atlas-pin span{display:grid;place-items:center;width:29px;height:29px;box-sizing:border-box;border:2px solid #fffce9;border-radius:50%;background:#305848;box-shadow:0 1px 4px #14372575}
.atlas-frame .atlas-pin:hover span,.atlas-frame .atlas-pin:focus-visible span{background:#173b30;box-shadow:0 0 0 3px #ecc564}
.atlas-frame .atlas-pin:focus-visible{outline:2px solid #355e49;outline-offset:-3px}
.atlas-frame .atlas-pin.lit span{color:#312914;background:#f3ce6d;box-shadow:0 0 0 3px #a37322}
.atlas-frame .atlas-pin:disabled{opacity:.55;cursor:default}
.atlas-board .atlas-caption{border-inline-start:4px solid #bb8d35;padding:5px 9px;background:#fbf1d4;color:#493e24}
.atlas-demo .atlas-frame{max-width:360px}.atlas-demo-note{font-size:.94rem}

.rock-workbench {
  padding: 10px;
  border: 1px solid #c5c8aa;
  border-radius: 16px;
  background: linear-gradient(145deg,#f6f3df,#ede7cf);
  color: #2c4035;
}
.rock-workbench p { margin: 0 0 8px; }
.rock-mat, .rock-trays { display: grid; gap: 6px; }
.rock-mat { grid-template-columns: repeat(auto-fit,minmax(68px,1fr)); }
.rock-trays { grid-template-columns: repeat(2,minmax(0,1fr)); }
.rock-workbench button {
  color: inherit;
  font: inherit;
  touch-action: manipulation;
  min-width: 0;
}
.rock-specimen {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 4px 3px 6px;
  background: #faf9ed;
  border: 2px solid #afa988;
  border-radius: 11px;
  cursor: grab;
}
.rock-specimen:active { cursor: grabbing; }
.rock-specimen small { line-height: 1.15; font-size: .76em; }
.rock-specimen[aria-pressed="true"] {
  border-color: #326047;
  background: #e0edd8;
  box-shadow: 0 0 0 2px #326047;
}
.rock-specimen.rock-inspected { border-style: dashed; border-color: #977328; }
.rock-specimen[aria-pressed="true"].rock-inspected { border-style: solid; }
.rock-workbench button:focus-visible { outline: 3px solid #24688a; outline-offset: 2px; }
ludus-rock {
  display: block;
  isolation: isolate;
  position: relative;
  width: min(100%,100px);
  aspect-ratio: 180/115;
  pointer-events: none;
  line-height: 1.1;
  font-size: .8em;
}
ludus-rock::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 66% 8% 5%;
  background: radial-gradient(ellipse,#6e674b66,transparent 70%);
}
ludus-rock canvas { display: block; width: 100%; height: 100%; }
.rock-lens {
  padding: 7px 10px;
  background: #fff4ca;
  border-left: 3px solid #ac7c24;
  border-radius: 0 8px 8px 0;
  font-size: .94em;
}
.rock-workbench .rock-direction { margin: 8px 0; font-size: .94em; }
.rock-tray {
  min-height: 60px;
  display: grid;
  place-items: center;
  align-content: start;
  border: 2px solid #8a7050;
  border-bottom: 5px solid #9e8056;
  border-radius: 6px 6px 14px 14px;
  padding: 4px 6px;
  background: linear-gradient(#eee5ca,#f8f2dd);
  cursor: pointer;
}
.rock-tray:hover, .rock-tray-clue { border-color: #517b4f; background: #e5edd5; }
.rock-tray-stones { display: flex; align-items: center; justify-content: center; min-height: 22px; }
.rock-tray-stones ludus-rock { width: 31px; }
.rock-tray-stones:empty::after { content: ''; border-bottom: 1px dashed #9c9176; width: 44px; }

.waterwheel-map {
  position: absolute;
  top: 80px;
  right: 16px;
  z-index: 4;
  width: 119px;
  padding: 4px;
  border: 1px solid #b7bb96;
  border-radius: 15px;
  background: #fff9e9;
  color: #324b3c;
  box-shadow: 0 3px 13px #293e3529;
}
.waterwheel-map[hidden], .talking .waterwheel-map, .is-decorating .waterwheel-map { display: none; }
.waterwheel-map button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.waterwheel-map .wm-open {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 11px;
  background: #ececd7;
  padding: 0;
  overflow: hidden;
}
.wm-mini-chart {
  display: block;
  width: 100%;
  height: 87px;
  background: repeating-linear-gradient(40deg,#e9e8d2 0 1px,#edecd8 1px 6px);
}
.wm-open > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 6px 4px;
  font-size: 12px;
  font-weight: 750;
}
.wm-open > span span { font-size: 16px; }
.wm-destination { display: block; margin: 5px 1px 0; text-align: center; font-size: 11px; line-height: 1.15; font-weight: 700; }
.waterwheel-map .wm-walk, .waterwheel-map .wm-return, .waterwheel-map .wm-close {
  min-height: 44px;
  border: 1px solid #c3c7ad;
  border-radius: 10px;
  padding: 6px 12px;
  background: #faf8e9;
  color: #355241;
  font-size: 15px;
  font-weight: 700;
}
.waterwheel-map .wm-walk { border-color: #3f6050; background: #3f6050; color: #fffef0; }
.waterwheel-map > .wm-walk { width: 100%; margin-top: 3px; padding: 3px; font-size: 13px; }
.waterwheel-map .wm-walk:disabled { background: #d6dfc6; border-color: #bbc9ab; color: #3b4e37; opacity: 1; }
.wm-dialog {
  width: min(460px, calc(100vw - 26px));
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(12px, 2.6vw, 23px);
  border: 1px solid #b5bd99;
  border-radius: 21px;
  background: #fff9e9;
  color: #344437;
  box-shadow: 0 18px 80px #24342f44;
}
.wm-dialog::backdrop { background: #152e2d80; }
.wm-dialog[open] { display: grid; gap: 10px; }
.wm-dialog header { display: flex; align-items: center; justify-content: space-between; }
.wm-dialog header small { color: #656c51; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.immersive-garden .wm-dialog h2 { margin: 2px 0 0; font-size: clamp(22px, 3vw, 29px); line-height: 1.1; }
.wm-chart-wrap {
  border: 1px solid #c5c8ac;
  border-radius: 13px;
  overflow: hidden;
  background: repeating-linear-gradient(40deg,#e9e8d2 0 1px,#edecd8 1px 6px);
}
.wm-chart { display: block; width: 100%; height: clamp(170px, 47dvh, 440px); }
.wm-key { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.wm-key span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.wm-key i { display: inline-block; width: 14px; height: 14px; }
.wm-you-key { border-radius: 50%; border: 3px solid #8c4824; background: #ffce78; }
.wm-path-key { height: 0 !important; border-bottom: 3px dashed #a06a32; }
.wm-mist-key { background: repeating-linear-gradient(40deg,#e5e7d9 0 1px,#f0f1e7 1px 4px); border: 1px solid #bcc3ad; border-radius: 4px; }
.wm-dialog .wm-location { margin: 0; min-height: 1.4em; font-size: 15px; line-height: 1.4; color: #465241; }
.wm-dialog footer { display: flex; justify-content: space-between; gap: 9px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; }
@media (max-width: 780px) {
  .waterwheel-map { right: 10px; top: 72px; width: 105px; }
  .wm-mini-chart { height: 74px; }
}
@media (max-height: 580px), (max-width: 530px) {
  .waterwheel-map { top: 62px; right: 9px; width: 100px; }
  .wm-mini-chart { height: 47px; }
  .wm-open > span { padding: 2px 5px; }
  .wm-dialog[open] { gap: 6px; }
  .wm-chart { height: clamp(130px,42dvh,275px); }
}


.river-table{position:relative;isolation:isolate;aspect-ratio:1.65;min-height:165px;max-height:33dvh;margin:.8rem 0;border:2px solid #96aa84;border-radius:18px;background:repeating-linear-gradient(20deg,transparent 0 18px,#92ab78 19px,transparent 20px 42px),#dce6c8;touch-action:none;overflow:hidden}
.river-table svg{position:absolute;inset:0;width:100%;height:100%}.river-table button{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;border:3px solid #fff7d4;background:#30594f;color:white;font-weight:bold;box-shadow:0 2px 5px #35473588}
.river-table button.traced{background:#667e3b}.river-table button.clue{outline:4px dashed #a46109;outline-offset:2px}.river-lesson p{margin:.55rem 0}.river-lesson .secondary,.river-lesson .primary{min-height:44px;margin:.25rem}.flat-wheel{position:absolute;transform:translate(-50%,-50%);color:#563f24;background:#fff2bf;border:2px solid #795839;border-radius:50%;min-width:44px;min-height:44px;font-size:24px;z-index:2}
.talking .waterwheel-map{display:none}.river-lesson{overflow:auto;min-height:0}.river-lesson .river-caption{font-size:1rem}
