:root{font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,Microsoft YaHei,sans-serif;color:#284b3c;background:#f7f6ef;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top left,#e6eedc,transparent 50%),#f7f6ef}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:0;padding:11px 16px;border-radius:12px;background:#eaf0e2;color:#315341;font-weight:700}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d79a3e;outline-offset:4px}a{color:#315e49;text-underline-offset:3px}input,textarea,select{font-size:16px;max-width:100%;border:1px solid #cdd9c5;border-radius:10px;padding:10px;background:#fffdf9;color:#284b3c}select{padding:9px}textarea{width:100%;min-height:120px;resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4vw,52px);line-height:1.13;letter-spacing:-1.8px}h2{font-size:25px;letter-spacing:-.7px}h3{font-size:19px;line-height:1.3}p{color:#60715f}.site-header{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;max-width:1320px;margin:auto;padding:22px 32px;gap:20px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:24px;font-weight:850;letter-spacing:-1px}.brand img{border-radius:12px}.brand-light{font-weight:450}.brand small{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#6a7d5c}nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}nav button{background:transparent;font-size:13px}.primary{background:#39765b;color:#fff;box-shadow:0 3px #285440}main{max-width:1220px;margin:0 auto;padding:20px 28px 60px;min-height:70vh}.eyebrow{display:block;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:2px;color:#7a875c;margin-bottom:14px}.hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:20px;padding:40px 44px;background:#eaf0df;border:1px solid #dce5ce;border-radius:30px;position:relative;overflow:hidden}.hero p{max-width:520px}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;min-height:250px}.hero-art img{width:245px;max-width:100%;border-radius:50%;transform:rotate(-5deg);box-shadow:20px 20px #d6e4c6}.hero-orbit{position:absolute;left:15%;top:8%;background:#fff9ed;border:1px solid #e5d7b4;border-radius:18px;padding:10px 18px;transform:rotate(-9deg);font-weight:800;color:#b47738}.hero-orbit:last-child{inset:auto 7% 12% auto;transform:rotate(9deg);color:#886c9d}.hero-links{display:flex;gap:10px;flex-wrap:wrap}.section-top{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:36px 0 16px}.section-top h2{margin:0}.muted,.small{font-size:13px;color:#71806b}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filters label{display:grid;gap:4px;font-size:12px;font-weight:700}.year-tabs{display:flex;gap:10px;margin:20px 0;flex-wrap:wrap}.year-tabs button{min-width:80px;padding:15px 22px;background:#fffdf8;border:1px solid #e1e5d6}.year-tabs button[aria-pressed=true]{background:#39765b;color:#fff;border-color:#39765b;box-shadow:0 3px #285440}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.subject{display:flex;flex-direction:column;gap:12px;text-align:left;background:#fffdf8;border:1px solid #e0e5d7;padding:23px;border-radius:22px;box-shadow:0 5px #e4e7da;min-height:215px;transition:transform .2s}.subject:hover{transform:translateY(-3px)}.subject-icon{display:grid;place-items:center;width:51px;height:51px;background:color-mix(in srgb,var(--accent) 13%,#fff);border-radius:15px;font-size:25px;color:var(--accent)}.subject h3{margin:0}.subject small{font-size:12px;font-weight:500;color:#74816c}.subject-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#65765f}.chip{font-size:11px;background:#edf2e3;border-radius:20px;padding:5px 10px;display:inline-block;font-weight:700}.review-note{border-left:3px solid #d3af69;padding:12px 16px;background:#fcf5e5;border-radius:0 12px 12px 0;font-size:13px;color:#786138;margin:20px 0}.panel{background:#fffdf8;border:1px solid #e0e5d7;border-radius:24px;padding:26px;margin:20px 0}.course-head{display:flex;gap:20px;align-items:center;margin:20px 0}.course-head .subject-icon{width:78px;height:78px;font-size:36px}.course-head h1{font-size:36px;margin:0}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topic-card{padding:23px;background:#fffdf8;border:1px solid #e0e5d7;border-radius:21px;display:flex;flex-direction:column}.topic-card p{font-size:14px;flex:1}.topic-card button{align-self:start}.back{margin-bottom:12px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.attempt-list{display:grid;gap:9px}.attempt-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px;background:#f0f3e8;border-radius:13px}.question{padding:24px;background:#fffdf8;border:1px solid #e0e5d7;border-radius:22px;margin:16px 0}.q-heading{display:flex;align-items:start;gap:13px}.q-heading b{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#e8efdf;border-radius:10px;font-size:13px}.question h2{font-size:18px;line-height:1.6;letter-spacing:0;white-space:pre-wrap}.passage{background:#f0f3e7;border-left:3px solid #8aa475;padding:20px;border-radius:0 12px 12px 0;margin-bottom:20px;white-space:pre-wrap;font-size:18px;line-height:1.9}.options{border:0;margin:0;padding:0;display:grid;gap:9px}.option{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f6f6ee;border:1px solid #e0e5d7;border-radius:12px;cursor:pointer}.option:has(input:checked){background:#e3eddb;border-color:#729464}.option input{accent-color:#39765b;width:20px;height:20px;flex:none}.answer-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:700}.question input[type=text]{width:min(350px,100%)}.drawing{width:100%;height:220px;display:block;background:repeating-linear-gradient(0deg,#fff 0 31px,#eaf0e8 32px);border:1px dashed #b5c8a9;border-radius:14px;touch-action:none;margin-top:12px}.draw-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;margin:9px 0}.draw-controls input{width:95px;padding:0}.draw-controls button{font-size:12px;padding:7px 10px}.result{background:#edf4e5;border-radius:12px;padding:15px;margin-top:16px;font-size:14px}.result.wrong{background:#fcf0e7}.result.pending{background:#f8f0da}.result p{margin:5px 0 0}.sticky-actions{position:sticky;bottom:env(safe-area-inset-bottom);display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fffdf8f2;border:1px solid #dce5ce;border-radius:17px;padding:15px;backdrop-filter:blur(12px);z-index:5;box-shadow:0 0 20px #34572c12}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat{padding:22px;background:#edf2e3;border-radius:18px}.stat strong{display:block;font-size:32px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:13px;border-bottom:1px solid #e0e5d7}th{white-space:nowrap;background:#eff3e7}td:first-child{min-width:180px}.source-list{font-size:13px;line-height:1.9}.room-stage{height:510px!important;min-height:350px!important}.portal-room{overflow:hidden;border-radius:24px;background:#eaf2e7;border:1px solid #dce5ce;margin:20px 0}.portal-room>p{padding:0 20px;font-size:12px}.empty{padding:45px 25px;text-align:center;border:1px dashed #cbd8bd;border-radius:22px}.meter{height:5px;border-radius:10px;background:#e3e8d8;overflow:hidden;margin-top:8px}.meter span{display:block;height:100%;background:#6c9561}footer{max-width:1220px;margin:auto;padding:25px 28px calc(30px + env(safe-area-inset-bottom));border-top:1px solid #dfe6d5;color:#728068;font-size:12px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}dialog{width:min(490px,calc(100% - 30px));max-height:90dvh;overflow:auto;border:1px solid #dce5ce;border-radius:24px;padding:28px;background:#fffdf8;color:#284b3c}dialog::backdrop{background:#273e4266;backdrop-filter:blur(5px)}dialog form{display:grid;gap:12px}dialog label{font-size:13px}dialog input{width:100%;margin-top:5px}.error{color:#a54032;font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#315b46;color:#fff;border-radius:15px;padding:12px 20px;z-index:30;pointer-events:none;display:none;max-width:90vw}#toast.visible{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;top:-80px;left:15px;background:#fff;padding:12px;z-index:50}.skip:focus{top:10px}.check-label{display:flex!important;align-items:center;gap:8px!important}.check-label input{width:18px;height:18px;accent-color:#39765b}.preview-banner{font-size:12px;color:#7d6f4a;margin-top:12px}.doc-link{display:inline-block;margin-right:15px}body[data-motion=off] *{transition:none!important;animation:none!important}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:800px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{padding:18px 20px}.hero{padding:30px;grid-template-columns:1.3fr .7fr}.hero-art img{width:180px}.hero-art{min-height:190px}.hero-orbit{display:none}.section-top{align-items:start;flex-direction:column}.room-stage{height:430px!important}}@media(max-width:520px){main{padding:10px 16px 40px}.site-header{padding:15px 16px;gap:12px}nav{width:100%;gap:2px}nav button{padding:9px 8px;font-size:12px}.hero{padding:26px;grid-template-columns:1fr}.hero-art{display:none}.subject-grid{gap:12px}.subject{padding:17px;min-height:205px}.subject h3{font-size:17px}.subject-foot{align-items:start;gap:5px;flex-direction:column}.year-tabs{gap:7px}.year-tabs button{min-width:0;flex:1;padding:12px 9px}.filters{gap:9px}.topic-grid{grid-template-columns:1fr}.course-head h1{font-size:28px}.course-head .subject-icon{width:55px;height:55px;font-size:26px}.question{padding:18px}.stats{gap:8px}.stat{padding:14px;font-size:12px}.stat strong{font-size:25px}.sticky-actions{flex-wrap:wrap}.room-stage{height:380px!important}.attempt-row{align-items:start}.panel{padding:20px}footer{padding:20px 16px}.brand{font-size:22px}}.button-link{display:inline-block;padding:10px 16px;background:#e7eedc;border-radius:12px;font-weight:700;text-decoration:none}button[aria-pressed=true]:not(.year-tabs button){box-shadow:inset 0 0 0 2px #39765b}nav button[aria-current=page]{background:#e7eedc}summary{cursor:pointer;font-weight:650}dialog button{margin-top:5px}.room-stage{position:relative;width:100%;overflow:hidden;touch-action:none}.room-stage canvas{width:100%;height:100%;display:block}.classroom-settings{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}.classroom-settings .year-tabs{margin:0}.classroom-settings .year-tabs button{padding:11px 18px}.classroom-settings .filters{align-items:center}.learning-classroom .room-stage{height:560px!important;min-height:350px!important}.learning-classroom .room-pin[hidden]{display:none}.classroom-gestures{padding:12px 20px;margin:0;font-size:12px;text-align:center}.room-subject-pages{display:grid;gap:9px;margin-top:auto;padding-top:20px}.room-subject-pages button{font-size:12px;padding:9px 12px}.room-stage[data-unavailable=true] .room-loading{pointer-events:auto;padding:24px}.room-stage[data-unavailable=true] .room-loading p{max-width:360px}.learning-classroom .room-loading{padding:20px}.learning-classroom .station-menu{min-width:0}@media(max-width:780px){.classroom-settings{gap:14px}.classroom-settings .year-tabs{width:100%}.classroom-settings .year-tabs button{flex:1;min-width:0;padding:10px 8px}.learning-classroom .room-stage{height:440px!important}.room-subject-pages{grid-template-columns:1fr auto;align-items:center}.learning-classroom .station-choice:last-child{grid-column:auto}.classroom-heading>button{font-size:12px;flex-shrink:0}}@media(max-width:480px){.learning-classroom .room-stage{height:350px!important}.classroom-heading{align-items:start;gap:8px}.classroom-heading>button{padding:8px}.classroom-heading h1{font-size:26px}.classroom-gestures{font-size:10px;padding:10px}.classroom-settings .year-tabs{gap:5px}}.world-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.world-heading h1{font-size:clamp(23px,2.5vw,34px);margin:0}.world-heading .eyebrow{margin-bottom:7px}.world-heading .filters{font-size:12px}.world-shell{grid-template-columns:minmax(0,1fr) 275px}.world-shell .room-main{min-width:0;align-self:start}.world-shell .room-stage{height:580px!important}.world-controls{position:absolute;top:14px;left:16px;right:16px;z-index:6;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.world-controls>*{pointer-events:auto}.class-doors{display:flex;align-items:center;gap:5px;background:#fff9e8ed;border:1px solid #e0d5b9;padding:6px 9px;border-radius:14px;box-shadow:0 4px #cabd9f44}.class-doors>span{font-size:11px;font-weight:800;margin-right:4px}.class-doors button{padding:7px 10px;min-width:33px;border-radius:9px;font-size:12px;background:#eee8d4}.class-doors button[aria-pressed=true]{background:#3e7d60;color:#fff}.world-breadcrumbs{display:flex;align-items:center;gap:6px;background:#fffaf0ed;border:1px solid #e6dfcb;border-radius:11px;padding:5px 8px;font-size:10px;max-width:100%;flex-wrap:wrap}.world-breadcrumbs button{font-size:10px;background:transparent;padding:3px 6px}.world-score{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:9px;padding:12px 16px;background:#e0ead7;border-top:1px solid #cbd8bb}.score-board,.award-shelf{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#fff9e7;border:1px solid #d9ca9f;border-radius:13px;padding:11px 7px;box-shadow:0 3px #b4ad8755;font-size:10px;text-align:center}.score-board strong{font-size:25px;line-height:1.2;color:#477455}.score-board strong small{font-size:14px;color:#8b9b78}.score-board>small,.award-shelf>small{font-size:9px;color:#798169;font-weight:500}.shelf-stars{display:flex;gap:8px;align-items:center;justify-content:center;font-size:23px;min-height:31px}.shelf-stars .locked{filter:grayscale(1);opacity:.3}.world-shell .room-play-hud{position:relative;inset:auto;padding:6px 12px 14px;background:#edf3e5}.world-shell .room-play-panel{bottom:calc(100% + 5px)}.world-shell .classroom-gestures{background:#edf3e5;padding:7px 16px}.world-shell .station-menu[hidden],.classroom-desk[hidden]{display:none}.world-shell.desk-open{grid-template-columns:minmax(0,1fr) minmax(390px,46%)}.classroom-desk{background:#f4ead5;border-left:5px solid #d3b785;min-width:0;box-shadow:inset 8px 0 15px #b3904d12}.desk-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 17px;border-bottom:1px solid #d8c7a7;font-size:12px;font-weight:800;color:#8c734e}.desk-bar button{padding:7px 11px;background:#eee0c4}.classroom-desk #deskContent{padding:20px;max-height:720px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(90deg,#f7efdf 0 18px,#fffaf0 18px);scrollbar-width:thin}.classroom-desk h1{font-size:27px;letter-spacing:-.7px}.classroom-desk h2{font-size:20px}.classroom-desk .section-top{margin:12px 0}.classroom-desk .question{padding:17px}.classroom-desk .question h2{font-size:16px}.classroom-desk .panel{padding:16px}.classroom-desk .sticky-actions{bottom:0;padding:10px;font-size:12px}.classroom-desk .stats{gap:8px}.classroom-desk .stat{padding:12px;font-size:11px}.classroom-desk .stat strong{font-size:25px}.classroom-desk .table-scroll{padding:0}.world-footnote{font-size:11px;text-align:center;margin:15px 0;color:#839078}.award-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.award-card{border:1px solid #ddcd9c;background:#fff8de;border-radius:20px;padding:20px 15px;text-align:center;box-shadow:0 5px #d9c89e66}.award-card.locked{background:#f0eee5;border-color:#d9d8cd}.award-card.locked .award-icon{filter:grayscale(1);opacity:.35}.award-icon{display:block;font-size:40px}.award-card h2{font-size:18px;margin:10px 0}.award-card p{font-size:12px}.world-shell .room-pin[hidden]{display:none}@media(max-width:1000px){.world-shell.desk-open{grid-template-columns:minmax(0,1fr) minmax(350px,49%)}.world-shell.desk-open .room-stage{height:530px!important}.world-shell.desk-open .world-breadcrumbs{display:none}.world-score{padding:10px;gap:6px}.score-board,.award-shelf{font-size:9px}.shelf-stars{font-size:18px;gap:4px}}@media(max-width:780px){.world-heading{align-items:start;flex-wrap:wrap;gap:12px}.world-shell,.world-shell.desk-open{grid-template-columns:1fr}.world-shell .room-stage{height:440px!important}.world-shell.desk-open .room-stage{height:280px!important;min-height:220px!important}.world-shell.desk-open .world-score{padding:7px}.world-shell.desk-open .score-board,.world-shell.desk-open .award-shelf{padding:5px}.world-shell.desk-open .score-board strong{font-size:20px}.world-shell.desk-open .room-play-hud{padding:5px 10px}.world-shell.desk-open .room-play-hud>span,.world-shell.desk-open .classroom-gestures{display:none}.classroom-desk{border-left:0;border-top:5px solid #d3b785}.classroom-desk #deskContent{max-height:65svh;padding:16px}.world-controls{top:10px;left:10px;right:10px}.world-heading .filters{gap:9px}.world-shell .station-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.world-shell .room-stage{height:370px!important}.world-heading .filters{width:100%;justify-content:space-between}.world-heading h1{font-size:23px}.world-controls{gap:7px}.world-breadcrumbs{font-size:9px}.class-doors button{min-width:30px;padding:6px 9px}.class-doors>span{font-size:10px}.world-score{gap:5px;padding:9px}.score-board strong{font-size:22px}.score-board>small{font-size:8px}.shelf-stars{font-size:19px;gap:4px}.award-shelf>span:first-child{font-size:9px}.world-footnote{font-size:10px}.world-shell.desk-open .room-pin span{display:none}.award-grid{gap:9px}.award-card{padding:14px 10px}}.voice-caption{position:fixed;bottom:20px;left:20px;max-width:min(440px,calc(100vw - 40px));padding:14px 18px;border:2px solid white;border-radius:18px;background:#fff6dcf5;box-shadow:0 4px 20px #4d654a25;color:#82683e;font-size:13px;z-index:25;pointer-events:none}.voice-caption[hidden]{display:none}.room-theme-name{display:inline-flex;align-items:center;margin-top:9px;font-size:12px;color:#7b876f;font-weight:650}.world-shell .room-main{background:radial-gradient(ellipse at 50% 45%,#fffff3,var(--room-background,#e8f2e9) 75%)}.world-shell .class-doors button[aria-pressed=true]{background:var(--room-accent,#39765b)}.world-shell .world-score{background:var(--room-background,#e0ead7)}.world-shell[data-year-theme=space-station] .room-main:before{background-image:radial-gradient(#fff 1.4px,transparent 1.5px);background-size:26px 26px}.world-shell[data-year-theme=inventor-workshop] .room-main:before{background-image:linear-gradient(#719eab14 1px,transparent 1px),linear-gradient(90deg,#719eab14 1px,transparent 1px);background-size:22px 22px}[data-transitioning=true] .room-pin,[data-transitioning=true] .room-star-pin,[data-transitioning=true] .milo-play-pin{opacity:0;pointer-events:none}.room-pin{transition:opacity .15s ease}.school-badge{padding:10px 14px;border-radius:14px;background:#edf2e7;color:#52745c;font-size:12px;font-weight:700;white-space:nowrap}.station-menu .station-instruction{font-size:14px;margin:0 0 8px;color:#71816b}.fraction{display:inline-flex;flex-direction:column;vertical-align:middle;align-items:stretch;text-align:center;font-size:.9em;line-height:1.15;margin:.1em .16em;white-space:nowrap}.fraction-top{padding:0 .16em .1em}.fraction-bottom{border-top:1.5px solid currentColor;padding:.1em .16em 0}.account-dialog{max-width:460px}.account-dialog h2{margin-top:0}.account-dialog p{line-height:1.55}.account-email{overflow-wrap:anywhere;font-weight:700}.google-signin{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:48px;background:#fff;border:1px solid #747775;color:#1f1f1f;font:500 16px Arial,sans-serif;border-radius:24px;box-shadow:none}.google-signin>img{width:20px;height:auto;flex:none}.account-privacy,.account-import{padding:12px 0;border-top:1px solid #dfe6d8;margin:16px 0}.account-privacy summary,.account-import summary{font-size:14px;cursor:pointer}.account-children{display:grid;gap:10px;margin:14px 0}.child-choice{display:flex;gap:14px;align-items:center;text-align:left;min-height:72px}.child-choice[aria-pressed=true]{outline:2px solid #438a67;background:#edf5e9}.child-choice>span:first-child{font-size:32px}.child-choice strong,.child-choice small{display:block;overflow-wrap:anywhere}.account-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-dialog input,.account-dialog select{font-size:16px;min-height:44px}.account-dialog button:disabled{opacity:.6;cursor:wait}.account-language{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;font-size:13px;color:#61755f}.account-language select{width:auto;max-width:52%;margin:0;flex-shrink:0}html{height:100%;overflow:hidden}body{position:fixed;top:var(--viewport-top,0px);left:0;right:0;height:var(--app-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}body .site-header{width:100%;max-width:1440px;flex:none;padding:10px 20px;flex-wrap:nowrap;gap:12px}.site-header .brand small{display:none}.site-header nav{flex-wrap:nowrap;width:auto;gap:4px}.app-settings{position:relative}.app-settings summary{list-style:none;font-size:13px;padding:10px 12px;border-radius:12px;background:#eaf0e2;min-height:44px}.app-settings summary::-webkit-details-marker{display:none}.settings-panel{position:absolute;right:0;top:calc(100% + 8px);width:240px;padding:15px;display:grid;gap:8px;background:#fffdf8;border:1px solid #dce5ce;border-radius:18px;box-shadow:0 12px 35px #284b3c22;z-index:30}.settings-panel label{display:grid;gap:6px;font-size:12px}.settings-panel button{background:#eaf0e2;text-align:left;min-height:44px}.settings-panel>a{font-size:13px;padding:10px 12px;min-height:44px}.account-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:15px 0;font-size:12px;width:auto}.account-links a{padding:6px 0}body #main{flex:1;min-height:0;min-width:0;width:100%;max-width:1440px;margin:0 auto;padding:0 16px 12px;display:flex;flex-direction:column;overflow:hidden}body .world-heading{flex:none;margin:0 0 10px;gap:10px}.world-heading .eyebrow{display:none}body .world-heading h1{font-size:22px;letter-spacing:-.6px}body .room-theme-name{margin-top:3px;font-size:11px}body .school-badge{padding:7px 10px}body .world-shell{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr);box-shadow:none}body .world-shell .room-main{height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column;overflow:hidden}body .world-shell .room-main[hidden]{display:none}body .world-shell .room-stage{flex:1;min-height:0!important;height:auto!important}body .world-shell .world-score{flex:none;padding:7px 10px}body .score-board,body .award-shelf{padding:6px}body .world-shell .room-play-hud{flex:none;padding:5px 10px;min-height:44px}body .world-shell .classroom-gestures{display:none}body .world-shell .station-menu{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}body .station-menu .back{flex:none}body .world-footnote,body #footer{display:none}body .world-shell.desk-open{display:flex;flex-direction:column}.workspace-open .world-heading{display:none}body .classroom-desk{flex:1;min-height:0;display:flex;flex-direction:column;border:0;width:100%;background:#fffaf0}body .classroom-desk[hidden]{display:none}body .desk-bar{flex:none;padding:6px 16px;min-height:44px}body .desk-bar button{min-width:44px;min-height:36px}body .classroom-desk #deskContent{flex:1;min-height:0;max-height:none;overflow:auto;padding:20px clamp(16px,4vw,60px);background:#fffaf0}body .classroom-desk #deskContent.practice-workspace{display:flex;flex-direction:column;overflow:hidden;padding:12px clamp(12px,4vw,60px)}.practice-heading{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-heading .eyebrow{font-size:10px;letter-spacing:1px;margin:0 0 3px}body .practice-heading h1{font-size:25px;margin:0;line-height:1.2}.practice-heading>button{flex:none;font-size:12px;min-height:44px}.practice-status{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;font-size:12px;color:#6d7e65;margin:7px 0}.question-tabs{flex:none;display:flex;flex-wrap:wrap;gap:6px;padding:0 3px 8px}.question-tabs button{min-width:40px;min-height:40px;padding:6px;background:#f0efdf;border:2px solid transparent;position:relative}.question-tabs button[data-status=answered]{background:#e2ecda}.question-tabs button[data-status=correct]{background:#d9edce}.question-tabs button[data-status=wrong]{background:#ffe3cf}.question-tabs button[data-status=answered]:after{content:"\2022";position:absolute;bottom:-5px;right:4px;font-size:15px}.question-tabs button[data-status=correct]:after{content:"\2713";position:absolute;bottom:-3px;right:2px;font-size:12px}.question-tabs button[data-status=wrong]:after{content:"\21bb";position:absolute;bottom:-3px;right:2px;font-size:12px}.question-tabs button[aria-current=step]{border-color:#39765b;color:#234e37;box-shadow:0 2px #39765b}.question-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 4px 4px}body .question-viewport .question{max-width:960px;margin:0 auto;padding:clamp(16px,2.5vw,28px)}.question-viewport .question[hidden]{display:none}body .question-viewport .question h2{font-size:clamp(18px,2vw,23px);line-height:1.55}.question-viewport textarea{min-height:100px;resize:vertical}.question-viewport .drawing{height:190px}.question-viewport .maths-drawing{height:clamp(360px,55svh,520px)}.practice-actions{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 3px 2px;border-top:1px solid #dce5ce;background:#fffaf0}.practice-actions button{min-height:44px;font-size:14px}.practice-actions [hidden]{display:none}#questionPosition{font-size:12px;text-align:center;color:#6d7e65}body .voice-caption{bottom:auto;top:68px;left:50%;transform:translate(-50%);padding:8px 12px;font-size:12px}body #toast{bottom:80px;font-size:13px}@media(max-width:780px){body .site-header{padding:7px 12px}body .brand{font-size:20px;gap:7px}body .brand img{width:32px;height:32px}.site-header nav>button{font-size:12px;padding:8px;min-height:44px}body #main{padding:0 10px max(8px,env(safe-area-inset-bottom))}body .world-shell{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);border-radius:20px}body .world-heading{margin-bottom:6px}body .world-heading h1{font-size:18px}body .world-heading .room-theme-name,body .school-badge,body .world-shell .world-score{display:none}body .world-shell .room-play-hud>span{display:none}body .world-shell .station-menu{padding:10px 12px}body .world-shell .station-menu>p,body .world-shell .station-menu>.eyebrow{display:none}body .world-shell .station-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body .station-choice{min-height:56px}body .station-choice strong{font-size:12px}body .station-choice small{font-size:10px}body .station-menu .back{align-self:start;font-size:12px;padding:8px 12px;margin-bottom:7px}body .station-menu h2{font-size:20px}body .station-menu .station-instruction{font-size:12px;margin-bottom:8px}body .room-subject-pages{padding-top:10px}body .world-controls{top:8px;left:8px;right:8px;gap:5px}body .class-doors{padding:4px 6px}body .class-doors button{min-height:34px}body .world-breadcrumbs{padding:3px 5px}body .classroom-desk #deskContent.practice-workspace{padding:8px 10px}body .practice-heading h1{font-size:21px}.practice-status{font-size:11px;margin:5px 0}.question-tabs{gap:4px;padding-bottom:6px}.question-tabs button{min-width:36px;min-height:36px}body .desk-bar{padding:4px 12px}}@media(max-width:520px){body .site-header{gap:5px;justify-content:space-between;padding:5px 8px}body .brand{font-size:0;gap:0}body .brand img{width:32px;height:32px}.site-header nav{gap:0}.site-header nav>button{padding:8px 7px;font-size:11px}.app-settings summary{font-size:11px;padding:12px 8px}body .practice-heading h1{font-size:19px}.practice-heading>button{padding:8px;font-size:11px}.practice-heading .eyebrow{font-size:9px;letter-spacing:.4px}.practice-status #saveStatus{display:none}.question-tabs button{min-width:32px;min-height:36px}body .question-viewport .question{padding:14px}.practice-actions button{padding:9px 12px;font-size:12px}#questionPosition{font-size:10px}body .voice-caption{top:57px;max-width:90vw;width:max-content}}@media(max-height:520px)and (min-width:600px){body .world-shell{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr)}body .world-heading,body .desk-bar>span,.practice-status #saveStatus{display:none}body .site-header{padding:2px 10px}body .desk-bar{min-height:34px;padding:0 10px}body .practice-heading h1{font-size:18px}body .practice-heading>button{min-height:34px;padding:4px 10px}.practice-status{margin:3px 0}.question-tabs button{min-height:30px}.practice-actions{padding-top:5px}}.desk-bar>span{order:2}.desk-bar>button{order:1}.settings-panel{max-height:calc(var(--app-height,100dvh) - 80px);overflow:auto;overscroll-behavior:contain}.practice-heading>div{min-width:0}dialog{position:fixed;inset:auto;top:calc(var(--viewport-top,0px) + var(--app-height,100dvh)/2);left:50%;transform:translate(-50%,-50%);margin:0;max-height:calc(var(--app-height,100dvh) - 24px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:16px;-webkit-overflow-scrolling:touch}input,textarea,select{scroll-margin-block:16px}.keyboard-open body{padding-top:0}.keyboard-open .site-header,.keyboard-open .practice-status,.keyboard-open .practice-heading{display:none}.keyboard-open body .desk-bar{min-height:36px;padding-block:0}.keyboard-open .question-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.keyboard-open .question-tabs button{flex:none;min-height:30px}.keyboard-open .practice-actions{padding-top:4px}.keyboard-open .practice-actions button{min-height:36px;padding-block:6px}.keyboard-open .question-viewport textarea{min-height:72px;height:clamp(72px,calc(var(--app-height)*.3),150px);max-height:calc(var(--app-height)*.45)}.keyboard-open dialog{padding:16px 20px;border-radius:18px}.keyboard-open dialog .account-language{margin-bottom:10px}.keyboard-open dialog h2{margin-bottom:10px;font-size:21px}.question-context{margin:0 0 20px;background:#f0f3e8;border-radius:14px;padding:12px 16px}.question-context>summary{cursor:pointer;font-weight:700;color:#39634c;min-height:28px}.question-context .passage{margin:12px 0 0;padding:12px 16px;line-height:1.7}.question-context[open]{padding-bottom:16px}.typed-answer{margin:0 0 10px;border:1px solid #dce5ce;border-radius:12px;background:#f7f8f0}.typed-answer>summary,.drawing-answer>summary{cursor:pointer;min-height:44px;padding:10px 12px;font-weight:700}.typed-answer-content{padding:4px 12px 12px}.answer-preview{display:inline-block;max-width:65%;margin-left:12px;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;color:#6d7e65}.typed-answer[open] .answer-preview{display:none}.drawing-answer .draw-controls{margin:0 0 10px;padding:8px 10px;background:#f0f3e8;border-radius:12px;position:relative;z-index:1}body .question-viewport .is-drawing>.q-heading{position:sticky;top:0;z-index:3;background:#fffefb;margin-bottom:10px;padding:8px 0 12px;border-bottom:1px solid #dce5ce;box-shadow:0 5px 6px #fffefbe6}body .question-viewport .is-drawing>.q-heading h2{margin-bottom:0}@media(max-width:520px){.typed-answer>summary,.drawing-answer>summary{font-size:14px}.answer-preview{max-width:55%;font-size:11px;margin-left:8px}.drawing-answer .draw-controls{gap:6px;padding:6px;font-size:12px}.drawing-answer .draw-controls button{padding:8px;min-height:40px}.drawing-answer .draw-controls input[type=range]{width:75px}}.parent-help-notice{flex:none;margin:2px 0 8px;padding:7px 10px;border-radius:10px;background:#fff0cf;color:#755425;font-size:12px;line-height:1.4}body .question-viewport .parent-help{margin:12px 0 18px;padding:12px 16px;background:#f0f5e7;border:1px solid #b9cba9;border-radius:14px}.parent-help>summary{font-weight:750;color:#365a35;min-height:32px;cursor:pointer}.parent-help strong{font-size:13px;color:#4d6b40}.parent-help p{margin:5px 0 12px;line-height:1.6}.parent-help p:last-child{margin-bottom:8px}.parent-help .parent-reference p{font-weight:700;font-size:18px}@media(max-width:620px){.parent-help-notice{font-size:11px;padding:6px 8px}.parent-help>summary{min-height:38px}}:root{--forest:#284d37;--moss:#587e46;--cream:#fffbed;--wood:#d6b887;--line:#e3dcc5}body{background:#f5f2e7;color:var(--forest)}body .site-header{max-width:none;padding:12px 26px;background:#fffcef;border-bottom:1px solid var(--line);gap:20px;min-height:76px}body .brand{font-size:27px;gap:8px;color:#244a31;white-space:nowrap}body .brand-light{font-weight:850}body .brand img{width:46px;height:46px;border-radius:50%}.year-picker{position:relative;margin-right:auto}.year-picker summary{list-style:none;min-height:44px;border:1px solid #c9d0ad;padding:8px 18px;border-radius:24px;background:#f7f8eb;font-size:15px;white-space:nowrap}.year-picker summary::-webkit-details-marker{display:none}body .class-doors{position:absolute;left:0;top:calc(100% + 10px);display:grid;grid-template-columns:repeat(3,1fr);width:240px;padding:16px;background:#fffbed;box-shadow:0 12px 35px #283e2926;border:1px solid #d8d9bd;z-index:30}.class-doors>span{grid-column:1/-1;margin-bottom:8px}body .class-doors button{min-height:44px}.header-language select{border:0;background:transparent;min-height:44px;font-size:14px;font-weight:750;cursor:pointer;padding:8px 4px}body #familyNav{padding:0;margin:0 5px 0 10px;min-width:42px;min-height:42px;background:#e9eedb;border:1px solid #d4dec3;border-radius:50%;display:grid;place-items:center}#familyNav img{border-radius:50%}body .site-header nav{gap:3px}body .site-header nav>button:not(#familyNav){font-size:12px;padding:10px 13px;min-height:44px}body .app-settings summary{font-size:12px;background:transparent;border:1px solid #e1e3cc;padding:10px 12px}body .settings-panel{top:calc(100% + 16px)}body #main{max-width:none;padding:18px 22px 20px}body .world-shell.treehouse-dashboard{display:grid;grid-template-columns:285px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:18px;border:0;background:transparent;border-radius:0;overflow:visible}.dashboard-rail{display:grid;grid-template-rows:minmax(0,1fr) auto auto;min-height:0;border:1px solid var(--line);border-radius:26px;background:#fffcf2;box-shadow:0 5px #e8e3d2;overflow:hidden}.dashboard-rail[hidden]{display:none}body .treehouse-dashboard .station-menu{border:0;background:transparent;padding:23px 16px 8px;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd3b9 transparent}body .station-menu h2{font-size:23px;font-weight:800;letter-spacing:-.6px;margin:0 0 12px;color:var(--forest)}body .station-menu>.eyebrow{font-size:9px;letter-spacing:1.5px;color:#9b8962;margin-bottom:6px}body .station-menu>p{display:none}body .treehouse-dashboard .station-choices{display:flex;flex-direction:column;gap:7px}body .treehouse-dashboard .station-choices{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:1px 3px 4px 0;align-content:start}body .treehouse-dashboard .station-choice{flex-shrink:0}body .treehouse-dashboard .station-menu>h2,body .treehouse-dashboard .station-menu>.eyebrow,body .treehouse-dashboard .station-menu>.station-instruction,body .treehouse-dashboard .room-subject-pages{flex:none}body .station-choice{background:#fffdf5;border:1px solid #e6e1cd;border-radius:16px;box-shadow:0 2px #e7e2ce;min-height:49px;padding:8px 11px;gap:11px;color:#36533d}body .station-choice:hover,body .station-choice.is-hovered{background:#eef3e1;border-color:#aabb8e;box-shadow:0 2px #b2c399;transform:translate(2px);filter:none}body .station-choice .station-icon{height:31px;width:31px;background:var(--topic-soft);border-radius:10px;font-size:22px}body .station-choice strong{font-size:13px;line-height:1.35}body .station-choice small{font-size:10px;line-height:1.4;color:#71806b}.treehouse-dashboard:not([data-level=topic]) .station-choice[data-course] small{display:none}body .station-choice .station-arrow{display:block;font-size:22px;color:#8a9b73}body .room-subject-pages{margin-top:10px;padding:0;display:flex;justify-content:space-between;align-items:center;gap:6px}body .room-subject-pages>.small{font-size:10px;white-space:nowrap}body .room-subject-pages .row{gap:4px;flex-wrap:nowrap}body .room-subject-pages button{font-size:10px;padding:7px 10px;min-height:38px}body .station-menu .back{font-size:11px;background:#eef2e2;padding:10px 12px;margin-bottom:15px;border-radius:12px;min-height:42px}body .station-menu .station-instruction{font-size:11px;margin-top:-6px;margin-bottom:14px;font-weight:500}body .treehouse-dashboard .world-score{display:block;flex:none;background:transparent;border:0;padding:10px 16px 0}.dashboard-progress{display:block;text-align:left;width:100%;padding:13px 0;background:transparent;border-top:1px solid var(--line);border-radius:0}.rail-section-title{display:flex;justify-content:space-between;font-size:12px;font-weight:750}.rail-section-title>span{color:#8a9d72}.progress-numbers{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:5px;margin-top:10px}.progress-numbers>span{font-size:9px;font-weight:500;color:#75826a;line-height:1.4}.progress-numbers strong{display:block;font-size:23px;color:#527c3e;line-height:1.2;margin-bottom:3px}.progress-numbers strong small{font-size:12px;color:#819370}body .treehouse-dashboard .award-shelf{flex-direction:row;justify-content:space-between;text-align:left;width:100%;padding:11px 0;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;font-size:11px}body .shelf-stars{font-size:19px;gap:5px;min-height:26px}body .shelf-stars .locked{filter:grayscale(1);opacity:.3}.continue-card{padding:11px 16px 18px;background:linear-gradient(transparent,#f3f3e2);border-top:1px solid var(--line)}.continue-context{display:block;font-size:10px;line-height:1.4;color:#7c8066;margin-bottom:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.continue-button{display:flex;align-items:center;gap:10px;width:100%;justify-content:center;min-height:48px;background:#416f3d;font-size:15px;border:1px solid #376334;border-radius:15px;box-shadow:0 4px #2d522c}.continue-button>span:last-child{margin-left:auto;font-size:20px;font-weight:400}.continue-button>span:first-child{font-size:12px}body .treehouse-dashboard .room-main{border:1px solid #e0dcc5;border-radius:26px;background:#fcf9eb;box-shadow:0 5px #e8e3d2;min-width:0;overflow:hidden;display:flex;flex-direction:column}.treehouse-dashboard .room-main:before{display:none}body .treehouse-dashboard .world-heading{padding:23px 28px 18px;margin:0;display:flex;align-items:center;background:#fffcef;gap:12px}body .treehouse-dashboard .world-heading .eyebrow{display:block;font-size:9px;letter-spacing:1.5px;margin:0 0 8px;color:#8c926f}body .treehouse-dashboard .world-heading h1{font-size:clamp(22px,2.3vw,34px);letter-spacing:-1px;font-weight:800;line-height:1.2;margin:0}body .treehouse-dashboard .world-heading p{font-size:12px;line-height:1.5;margin:8px 0 0;color:#7d876c}body .treehouse-dashboard .room-theme-name{flex:none;background:#eef1de;border:1px solid #dce3c9;padding:8px 12px;border-radius:14px;font-size:11px;white-space:nowrap;align-self:start}body .treehouse-dashboard .room-stage{min-height:0!important;background:#eadab3;cursor:default;touch-action:auto;isolation:isolate}.treehouse-scene{position:absolute;inset:0;overflow:hidden;background:linear-gradient(#e9ecd0,#dcc093)}.treehouse-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;user-select:none}.treehouse-dapple{position:absolute;inset:0;background:linear-gradient(120deg,#fff5c015,transparent 45%,#345c2010);pointer-events:none}body .treehouse-dashboard .world-controls{top:14px;left:18px;right:18px;justify-content:start;z-index:3}body .treehouse-dashboard .world-breadcrumbs{background:#fffcefef;border:1px solid #fdf9e9;border-radius:20px;box-shadow:0 3px 8px #6e552021;padding:5px 10px;font-size:11px;max-width:90%}.treehouse-stations{position:absolute;inset:0;pointer-events:none}.treehouse-stop{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-100%);display:flex;align-items:center;gap:8px;padding:7px 13px 7px 7px;border-radius:18px;background:#fffbedf5;color:#345332;border:2px solid #fffef4;box-shadow:0 4px #9c7e4240,0 5px 14px #6b54222c;max-width:195px;min-height:45px;pointer-events:auto;text-align:left;font-size:12px;line-height:1.3;transition:translate .2s,box-shadow .2s}.treehouse-stop:after{content:"";position:absolute;bottom:-6px;left:calc(50% - 5px);width:9px;height:9px;background:#fffbed;rotate:45deg}.treehouse-stop b{display:grid;place-items:center;min-width:28px;height:29px;padding:0 4px;border-radius:9px;background:var(--station);color:#fff;font:750 17px Georgia,serif}.treehouse-stop span{overflow-wrap:anywhere}.treehouse-stop:hover,.treehouse-stop:focus-visible{translate:0 -4px;filter:none;box-shadow:0 6px #9c7e4240,0 9px 20px #6b542236}.treehouse-stop:active{transform:translate(-50%,-100%)}.treehouse-milo{position:absolute;width:clamp(110px,19%,240px);height:44%;left:48%;bottom:0;transform:translate(-50%);background:none;padding:0;border-radius:50%;cursor:pointer;filter:drop-shadow(0 8px 5px #5a422529);transform-origin:bottom center;animation:milo-breathe 5s ease-in-out infinite}.treehouse-milo img{height:100%;width:100%;object-fit:contain;pointer-events:none;user-select:none}.treehouse-milo:hover{filter:drop-shadow(0 8px 9px #5a422540)}.treehouse-milo:active{transform:translate(-50%)}.treehouse-milo.is-waving{animation:milo-greet .8s ease-in-out 2}.treehouse-milo.is-dancing{animation:milo-dance 1s ease-in-out 2}.milo-hello{position:absolute;bottom:43%;left:48%;transform:translate(-50%);max-width:240px;min-width:150px;background:#fffbed;border:2px solid white;border-radius:18px 18px 18px 3px;padding:11px 16px;text-align:center;font-size:12px;font-weight:650;box-shadow:0 4px 14px #5b4c2026;pointer-events:none;z-index:4}.treehouse-firefly{position:absolute;width:5px;height:5px;background:#fff2a4;border-radius:50%;top:36%;left:9%;box-shadow:0 0 12px 5px #fff0ad90;pointer-events:none;animation:leaflight 8s ease-in-out infinite}.treehouse-firefly.second{left:86%;top:20%;animation-delay:-4s}.changing-room .treehouse-stop{animation:station-arrive .52s ease-in-out both}.treehouse-caption{display:flex;justify-content:space-between;gap:10px;padding:12px 22px;background:#faf7e9;font-size:10px;color:#8a8968;flex:none}.treehouse-caption>span:first-child{font-weight:700;color:#6b8153}body .room-subject-pages[hidden]{display:none}body .station-choice .station-icon{font-size:17px}body .station-choice[data-course=en] .station-icon{font-size:12px}body .treehouse-stop b{font-size:14px}body .treehouse-dashboard.desk-open{display:flex;border-radius:24px;border:1px solid var(--line);overflow:hidden}body .treehouse-dashboard .room-main[hidden]{display:none}body .treehouse-dashboard .desk-bar{background:#eef1df;border-bottom:1px solid #d8dec1;color:#66794e;padding:8px 24px}body .treehouse-dashboard .desk-bar button{background:#fffbee;color:#436139;font-size:12px;border:1px solid #dce1c9}body .treehouse-dashboard .classroom-desk{background:#fffaf0}body .practice-heading{margin-bottom:3px}body .question-tabs button[aria-current=step]{border-color:#698a4e;box-shadow:0 2px #698a4e}@keyframes milo-breathe{0%,to{transform:translate(-50%) rotate(-1deg)}50%{transform:translate(-50%) translateY(-4px) rotate(1deg)}}@keyframes milo-greet{0%,to{transform:translate(-50%) rotate(0)}35%{transform:translate(-50%) rotate(-8deg) translateY(-8px)}65%{transform:translate(-50%) rotate(6deg)}}@keyframes milo-dance{0%,to{transform:translate(-50%)}25%{transform:translate(-44%) rotate(8deg)}75%{transform:translate(-56%) rotate(-8deg)}}@keyframes leaflight{0%,to{opacity:.15;translate:0 0}50%{opacity:.7;translate:20px -25px}}@keyframes station-arrive{0%,to{opacity:1;translate:0 0}35%,55%{opacity:0;translate:0 20px}}@media(min-width:1600px){body #main{padding:24px 32px 28px}body .world-shell.treehouse-dashboard{grid-template-columns:320px minmax(0,1fr);gap:24px}body .station-choice{min-height:57px}body .station-choice strong{font-size:15px}body .treehouse-dashboard .world-heading{padding:30px 36px}.treehouse-stop{font-size:14px;min-height:49px;max-width:220px}}@media(max-width:1100px){body .site-header{gap:12px;padding:10px 18px}body .brand{font-size:24px}body .site-header nav>button:not(#familyNav){padding:9px;font-size:11px}body #coverageNav{display:none}body #main{padding:12px 14px 16px}body .world-shell.treehouse-dashboard{grid-template-columns:255px minmax(0,1fr);gap:12px}body .treehouse-dashboard .world-heading{padding:19px 20px}body .treehouse-dashboard .world-heading h1{font-size:25px}body .treehouse-dashboard .room-theme-name{display:none}.treehouse-stop{font-size:12px;max-width:180px;gap:5px;padding:6px 9px 6px 5px}.treehouse-caption>span:last-child{display:none}.treehouse-milo{width:25%}body .station-choice strong{font-size:12px}}@media(max-width:760px){body .site-header{min-height:64px;padding:8px 12px;gap:9px}body .brand{font-size:21px}body .brand img{width:36px;height:36px}.year-picker summary{padding:8px 12px;font-size:13px}.header-language select{font-size:13px}body #familyNav{margin:0}body .site-header nav>button:not(#familyNav){padding:8px}body #homeNav{display:none}body .world-shell.treehouse-dashboard{grid-template-columns:230px minmax(0,1fr)}.treehouse-stop{max-width:130px;padding:5px;border-radius:12px;font-size:10px}.treehouse-stop b{font-size:13px;min-width:22px;height:24px}body .treehouse-dashboard .world-heading{padding:16px}body .treehouse-dashboard .world-heading h1{font-size:23px}body .treehouse-dashboard .world-heading p{font-size:11px}.treehouse-milo{width:31%}}@media(max-width:620px){body .site-header{padding:6px 10px;min-height:62px;gap:6px}body .brand{font-size:0;gap:0}body .brand img{width:39px;height:39px}body .site-header nav{gap:1px}.year-picker{margin-right:auto}.year-picker summary{font-size:13px;padding:8px 11px}body #familyNav{display:none}body .site-header nav>button:not(#familyNav){font-size:11px;padding:8px}.header-language select{width:63px;padding:8px 2px}body .app-settings summary{font-size:11px;padding:11px 8px;min-height:44px}body #main{padding:8px 10px 12px}body .world-shell.treehouse-dashboard{display:flex;flex-direction:column;gap:10px;min-height:0}body .treehouse-dashboard .room-main{order:0;flex:0 0 34%;min-height:150px;border-radius:20px;box-shadow:0 3px #e8e3d2}body .treehouse-dashboard .world-heading{position:absolute;top:0;left:0;right:0;z-index:2;padding:10px 14px;background:linear-gradient(#fffceff5,#fffcefd9 75%,transparent);pointer-events:none}body .treehouse-dashboard .world-heading .eyebrow{font-size:8px;margin-bottom:3px;letter-spacing:.8px}body .treehouse-dashboard .world-heading h1{font-size:19px;letter-spacing:-.6px}body .treehouse-dashboard .world-heading p{display:none}body .treehouse-dashboard .world-controls{inset:auto 9px 7px}body .treehouse-dashboard .world-breadcrumbs{padding:2px 6px;font-size:9px;max-width:90%}.treehouse-stop{display:none}.treehouse-art{object-position:center 45%}.treehouse-milo{height:64%;width:30%;left:72%;bottom:1%}.milo-hello{left:39%;bottom:20%;font-size:10px;min-width:130px;max-width:170px;padding:8px 10px}.treehouse-caption{display:none}.dashboard-rail{order:1;flex:1;min-height:0;border-radius:20px;grid-template-rows:minmax(0,1fr) auto auto;box-shadow:0 3px #e8e3d2}body .treehouse-dashboard .station-menu{padding:12px 12px 4px;min-height:0}body .station-menu h2{font-size:19px;margin-bottom:9px}body .station-menu>.eyebrow{display:none}body .treehouse-dashboard .station-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body .station-choice{min-height:49px;padding:8px;gap:8px;border-radius:12px}body .station-choice strong{font-size:12px}.station-choice small{display:none!important}body .station-choice .station-icon{width:26px;height:27px;font-size:14px;border-radius:8px}body .station-choice .station-arrow{display:none}body .station-choice:last-child{grid-column:auto}body .station-menu .back{margin-bottom:7px;font-size:10px;min-height:36px;padding:6px 10px}body .station-menu .station-instruction{font-size:11px;margin-bottom:8px}body .room-subject-pages{margin-top:8px}body .room-subject-pages button{min-height:34px;padding:6px 10px}body .treehouse-dashboard .world-score{display:grid;grid-template-columns:1fr auto;gap:10px;padding:6px 12px 0}.dashboard-progress{padding:7px 0}.rail-section-title{font-size:10px}.progress-numbers{gap:10px;margin-top:5px}.progress-numbers strong{font-size:17px}.progress-numbers>span{font-size:8px}body .treehouse-dashboard .award-shelf{display:grid;gap:2px;text-align:center;justify-items:center;padding:7px 0;font-size:9px}body .shelf-stars{font-size:16px;gap:2px;min-height:20px}.award-shelf>small{display:none}.continue-card{padding:8px 12px 12px}.continue-context{font-size:9px;margin-bottom:5px}.continue-button{min-height:44px;font-size:14px;border-radius:12px}body .treehouse-dashboard .desk-bar{padding:5px 12px}body .treehouse-dashboard .desk-bar>span{display:none}.treehouse-dashboard.desk-open .classroom-desk{flex:1}}@media(max-height:700px)and (min-width:621px){body .site-header{min-height:60px;padding-block:6px}body #main{padding-block:8px}.dashboard-progress{padding:7px 0}.progress-numbers{margin-top:5px}.progress-numbers strong{font-size:19px}body .treehouse-dashboard .award-shelf{padding:6px 0}.continue-card{padding-block:8px}.continue-context{font-size:9px;margin-bottom:5px}body .treehouse-dashboard .world-heading{padding:14px 20px}body .treehouse-dashboard .world-heading .eyebrow{margin-bottom:5px}body .treehouse-dashboard .world-heading p{display:none}body .treehouse-dashboard .station-menu{padding-top:15px}}@media(max-height:850px)and (min-width:621px){body .treehouse-dashboard .station-menu{padding:16px 12px 6px}body .station-menu>.eyebrow{display:none}body .station-menu h2{font-size:21px;line-height:1.3;margin-bottom:10px}body .treehouse-dashboard .station-choices{gap:5px}body .station-choice{min-height:43px;padding:6px 10px}body .station-choice .station-icon{width:28px;height:28px}body .station-choice strong{font-size:12px}.dashboard-progress{padding:8px 0}.progress-numbers{margin-top:6px}.progress-numbers strong{font-size:20px}body .treehouse-dashboard .award-shelf{padding:7px 0;font-size:10px}.continue-card{padding:8px 12px 13px}.continue-context{margin-bottom:6px;font-size:9px}.continue-button{min-height:44px;font-size:14px}}@media(max-height:700px)and (max-width:620px){body .treehouse-dashboard .room-main{flex-basis:27%;min-height:110px}body .treehouse-dashboard .world-score,.continue-context{display:none}}body[data-motion=off] .treehouse-scene *,body[data-motion=off] .station-choice{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){.treehouse-scene *,.station-choice{animation:none!important;transition:none!important}}body .station-choice .station-icon.subject-art,.treehouse-stop .subject-art{display:block;flex:0 0 auto;width:40px;height:40px;border-radius:0;padding:0;background-color:transparent;background-size:var(--icon-grid,400% 300%);background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat}.treehouse-stop .subject-art{width:36px;height:36px}@media(max-width:760px){.treehouse-stop .subject-art{width:28px;height:28px}}@media(max-width:620px){body .station-choice .station-icon.subject-art{width:32px;height:32px}}@media(max-height:850px)and (min-width:621px){body .station-choice .station-icon.subject-art{width:32px;height:32px}}body .classroom-3d .room-stage{background:var(--room-background,#e9efdc);touch-action:none;cursor:grab}body .classroom-3d .room-stage.is-dragging{cursor:grabbing}.classroom-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.12;filter:blur(5px);pointer-events:none;user-select:none}body .classroom-3d .room-pin{border-radius:15px;background:#fffbedf5;color:#345332;padding:5px 10px 5px 5px;gap:6px;min-height:40px;box-shadow:0 3px #9c7e4240,0 4px 12px #6b542220;font-size:11px;max-width:170px;white-space:normal;text-align:left}body .classroom-3d .room-pin>span{display:block;line-height:1.25;overflow-wrap:anywhere}body .classroom-3d .room-pin .subject-art{display:block;flex:0 0 32px;width:32px;height:32px;background-color:transparent;border-radius:0;background-size:var(--icon-grid,400% 300%);background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat}body .classroom-3d .world-heading{order:0}body .classroom-3d .room-stage{order:1}body .classroom-3d .room-play-hud{position:relative;order:2;left:auto;right:auto;bottom:auto;flex:none;margin:0;padding:8px 12px;background:#fffbed;border-top:1px solid var(--line);gap:7px}body .classroom-3d .room-play-hud>button{display:flex;align-items:center;gap:5px;min-height:40px;border-radius:13px;background:#eef2df;color:#47643e}.milo-play-portrait{width:28px;height:32px;object-fit:contain;pointer-events:none}body .classroom-3d .treehouse-caption{order:3;padding-block:8px}body .classroom-3d .room-play-hud>span{font-size:10px}body .classroom-3d .room-theme-name{display:block}@media(max-width:1100px){body .classroom-3d .room-pin{max-width:135px;font-size:10px}body .classroom-3d .room-theme-name{display:none}}@media(max-width:1100px){body .classroom-3d .room-pin>span{display:none}body .classroom-3d .room-pin{padding:4px;min-width:38px;min-height:38px}}@media(max-width:620px){body .classroom-3d .room-main{flex-basis:42%;min-height:245px}body .classroom-3d .room-play-hud{padding:5px 7px;gap:5px}body .classroom-3d .room-play-hud>button{min-height:35px;font-size:9px;padding:5px 8px}body .classroom-3d .room-play-hud>span{display:none}.milo-play-portrait{width:22px;height:25px}body .classroom-3d .world-controls{bottom:5px}body .classroom-3d .room-pin{min-width:30px;min-height:30px;padding:2px}body .classroom-3d .room-pin .subject-art{flex-basis:26px;width:26px;height:26px}body .classroom-3d .milo-play-pin{font-size:8px;padding:4px 8px;min-height:25px}}@media(max-height:700px)and (max-width:620px){body .classroom-3d .room-main{flex-basis:43%;min-height:210px}}body .classroom-3d .room-pin{flex-direction:column;width:100px;max-width:100px;gap:2px;padding:5px 5px 6px;border-radius:14px}body .classroom-3d .room-pin>span{display:block;font-size:10px;line-height:1.15;text-align:center;width:100%;overflow-wrap:anywhere}@media(max-width:1100px){body .classroom-3d .room-pin{width:86px;max-width:86px}body .classroom-3d .room-pin>span{font-size:9px}}@media(max-width:620px){body .classroom-3d .room-pin{width:70px;max-width:70px;padding:3px;border-radius:10px}body .classroom-3d .room-pin>span{font-size:8px}body .classroom-3d .room-pin .subject-art{width:23px;height:23px;flex-basis:23px}}body #familyNav{display:flex;align-items:center;gap:8px;border-radius:22px;padding:4px 11px 4px 4px;max-width:210px;margin:0 3px;min-height:44px;text-align:left}.account-avatar{position:relative;display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;overflow:hidden;background:#dce8cd;color:#345d3e;font-weight:800;font-size:13px}.account-photo{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:50%}.account-identity-copy{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}.account-display-name{display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.account-identity-copy small{display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#677c5e;font-weight:500}.account-dialog-identity{display:flex;align-items:center;gap:12px;margin:16px 0 5px}.account-dialog-identity .account-avatar{width:48px;height:48px;flex-basis:48px;font-size:18px}.account-dialog-identity .account-display-name{font-size:17px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.account-dialog-identity small{font-size:12px;max-width:100%;white-space:normal;overflow-wrap:anywhere}@media(max-width:1200px){body #familyNav{max-width:44px;min-width:44px;padding:4px;justify-content:center}#familyNav .account-identity-copy{display:none}}@media(max-width:620px){body #familyNav{display:flex;min-width:36px;max-width:36px;min-height:40px;padding:2px;margin:0}.account-avatar{width:30px;height:30px;flex-basis:30px}body .site-header{gap:4px}body .header-language select{width:52px}body .app-settings summary{font-size:0;min-width:40px;padding:10px 7px}body .app-settings summary:after{content:"\2699";font-size:18px}body .year-picker summary{padding-inline:8px}body .site-header nav>button:not(#familyNav){padding-inline:5px;font-size:10px}}dialog form{display:grid;gap:18px;min-width:0}dialog form label:not(.check-label){display:grid;align-content:start;gap:8px;min-width:0;line-height:1.5}dialog form :is(input,select,textarea){display:block;width:100%;min-width:0;margin:0}dialog :is(input,select,textarea){min-height:44px;font-size:16px}dialog select{appearance:none;-webkit-appearance:none;padding:10px 36px 10px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' fill='none' stroke='%233b614d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;border:1px solid #ccd8c2;border-radius:12px;background-color:#fffefa;color:inherit}dialog form .check-label input{width:18px;min-height:18px}dialog button{min-height:44px;max-width:100%;margin:0;line-height:1.45;white-space:normal;overflow-wrap:anywhere}dialog .error{margin:0;overflow-wrap:anywhere}.error:empty{display:none}.dialog-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;padding-block:4px}.dialog-actions>button{flex:1 1 140px;min-width:0}.account-dialog{display:flex;flex-direction:column;gap:18px;min-width:0}.account-dialog>*{margin-block:0}.account-dialog h2,.account-dialog h3{margin-block:0}.account-dialog .account-language{margin:0;gap:12px;flex-wrap:wrap;line-height:1.5}.account-language>span{flex:1 1 150px;min-width:0}.account-dialog .account-language select{flex:1 1 150px;width:100%;max-width:100%;min-width:0}.account-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.account-dialog .account-children{margin:0;gap:12px}.account-dialog .child-choice{min-width:0}.child-choice>span:nth-child(2){min-width:0}.account-links{gap:4px 16px;font-size:13px;align-items:flex-start}.account-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}.account-footer-actions{border-top:1px solid #dfe6d8;padding-top:18px}@media(max-width:380px){dialog{padding:22px 20px}.account-form-row{grid-template-columns:minmax(0,1fr)}.dialog-actions>button{flex-basis:100%}}
