:root{color:#16314a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:radial-gradient(circle at top,#cbe4ffd9,#7a96d640 35%,#121e3ce6 100%);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:500;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100dvh;margin:0}body{background:linear-gradient(#dfeeff 0%,#b8d4ff 30%,#f5f0ff 100%);min-height:100dvh;overflow-x:clip}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,p,ul{margin:0}.app-shell{width:min(1200px,100vw - 24px);padding:max(20px, env(safe-area-inset-top)) env(safe-area-inset-right) max(32px, env(safe-area-inset-bottom)) env(safe-area-inset-left);margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:16px;padding:12px 16px 18px;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#566f8f;font-size:.72rem}.topbar h1{color:#18345a;letter-spacing:-.04em;font-size:clamp(1.8rem,3vw,3.1rem);line-height:1.1}.role-switcher{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.pill{color:#173a5d;background:#ffffff7a;border:1px solid #7b9bc7b3;border-radius:999px;padding:10px 16px;font-weight:700}.pill.active{background:linear-gradient(135deg,#cfe9ff,#ebd9ff);box-shadow:0 8px 18px #5166aa2e}.layout{grid-template-columns:1.25fr .9fr;align-items:start;gap:20px;display:grid}.tree-panel,.card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fff6;border:1px solid #97afda73;border-radius:28px;box-shadow:0 20px 48px #3657871f}.tree-panel{padding:18px}.developer-preview{gap:10px;margin:8px 0 12px;display:grid}.developer-preview.active{background:#f4e6ffb8;border:1px solid #744fa373;border-radius:14px;padding:10px 12px}.preview-toggle{color:#1f446a;align-items:center;gap:8px;font-weight:700;display:inline-flex}.stage-preview-controls{flex-wrap:wrap;gap:8px;display:flex}.stage-preview{color:#1b3d62;background:#ffffff8c;border:1px solid #80a0d3cc;border-radius:999px;padding:7px 12px;font-weight:700}.stage-preview.active{background:linear-gradient(135deg,#d4eeff,#e7d8ff);box-shadow:0 8px 18px #5166aa26}.tree-fruit-button{background:0 0;border:none;width:100%;padding:0;display:block}.tree-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding:0 8px;display:flex}.badge{color:#20466d;text-transform:uppercase;letter-spacing:.08em;background:#80b6df33;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-size:.74rem;font-weight:700;display:inline-flex}.parent-settings-toggle{touch-action:manipulation;flex:none;gap:7px;font-weight:800}.parent-settings-toggle[aria-expanded=true]{background:#dcebffe0;border-color:#4d70a5e6}.parent-settings-icon{font-size:1rem;line-height:1}.parent-settings-dialog{color:#193c62;background:#eef6fffa;border:1px solid #7794c0b3;border-radius:26px;width:min(760px,100vw - 32px);max-width:none;max-height:min(88dvh,900px);margin:auto;padding:0;overflow:hidden;box-shadow:0 26px 80px #1f365c52}.parent-settings-dialog:not([open]){display:none}.parent-settings-dialog[open]{grid-template-rows:auto minmax(0,1fr);display:grid}.parent-settings-dialog::backdrop{background:#182b4785}.parent-settings-dialog-header{border-bottom:1px solid #7794c059;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 14px;display:flex}.parent-settings-dialog-header h2{color:#1d426f;margin:0;font-size:1.35rem}.parent-settings-dialog-content{overscroll-behavior:contain;gap:16px;min-width:0;min-height:0;padding:16px 20px 20px;display:grid;overflow-y:auto}.music-tree{filter:drop-shadow(0 18px 28px #4a73a838);width:100%;max-width:560px;margin:0 auto;display:block}.tree-ground-shadow{fill:#2a416f3d}.winter-sparkles circle{fill:#ffffffdb}.distant-snow-bank{fill:#dcebf86b}.near-snow-bank{fill:#f6fbffc7;stroke:#cfe1ef8c;stroke-width:1.2px}.falling-snow{fill:#ffffffd6;stroke:#bbd3e757;stroke-width:.7px}.snow-star path{fill:none;stroke:#f4fcffbd;stroke-width:1.5px;stroke-linecap:round}.music-sparkles text{fill:#7180b47a;font-family:Georgia,serif;font-size:19px}.music-sparkles path{fill:none;stroke:#ceb6de57;stroke-width:2.5px;stroke-linecap:round;stroke-dasharray:2 7}.music-sparkles circle{fill:#ffeff9bf}.melody-trail path{fill:none;stroke:#b0d9f461;stroke-width:3px;stroke-linecap:round;stroke-dasharray:2 8}.melody-trail circle{fill:#f0fbffcc}.melody-trail text{fill:#6484b8a3;font-family:Georgia,serif;font-size:17px}.treble-ornament circle{fill:#deecfcad;stroke:#8394c680}.treble-ornament text{fill:#6675aab8;font-family:Georgia,serif;font-size:20px}.leaf-note-engraving{fill:#365b8b6b;stroke:#f6fdffb8;stroke-width:1.2px;stroke-linecap:round}.tree-scene-companions{pointer-events:none}.lucy-shadow{fill:#505b7d29}.lucy-cape,.lucy-coat{stroke:#5c4b696b;stroke-width:1.2px;stroke-linejoin:round}.lucy-face{fill:#f5cfbc;stroke:#81575b73;stroke-width:1px}.lucy-hair{stroke:#5e45476b;stroke-width:1px}.lucy-eye{fill:#49536c}.lucy-smile,.lucy-arm,.lucy-legs,.lucy-boots{fill:none;stroke:#766579;stroke-linecap:round}.lucy-smile{stroke-width:1.3px}.lucy-arm{stroke-width:4.5px}.lucy-legs{stroke-width:3.5px}.lucy-boots{stroke-width:4px}.lucy-hat{stroke:#5c4b6966;stroke-width:1px}.lucy-hat-pom{fill:#fff8f8;stroke:#a78cac7a}.lucy-magic circle,.lucy-magic path{fill:#faeaffe0;stroke:#9179b57a;stroke-width:.8px}.companion-shadow{fill:none;stroke:#5e779f2e;stroke-width:5px;stroke-linecap:round}.guardian-cat ellipse,.guardian-cat>path:not(.cat-tail,.cat-smile,.cat-star,.companion-shadow){fill:#b8b5df;stroke:#747aa8;stroke-width:1.3px}.guardian-cat circle{fill:#42516f}.cat-tail,.cat-smile{fill:none;stroke:#777baa;stroke-width:4px;stroke-linecap:round}.cat-smile{stroke:#56617e;stroke-width:1.4px}.cat-star{fill:#eaf8ff;stroke:#8499bf;stroke-width:1px}.snow-buddy circle{fill:#f9fefff0;stroke:#a6c9d8;stroke-width:1.4px}.snow-buddy circle:not(:nth-of-type(-n+2)){fill:#52647d;stroke:none}.snow-smile,.snow-scarf,.snow-arm{fill:none;stroke-linecap:round}.snow-smile{stroke:#62738b;stroke-width:1.5px}.snow-scarf{stroke:#bf769d;stroke-width:4px}.snow-arm{stroke:#8294aa;stroke-width:2px}.leaf-nibbler ellipse,.nibbler-ear{fill:#9ca2c9;stroke:#696e99;stroke-width:1.2px}.leaf-nibbler circle{fill:#3f4768}.nibbler-smile{fill:none;stroke:#535b7d;stroke-width:1.4px;stroke-linecap:round}.snow-hide{fill:#e6f4f9;stroke:#b6d5e1;stroke-width:1.2px}.leaf-nibbler.watching{opacity:.68}.leaf-nibbler text{fill:#7283aa;font-size:18px}.tree-root,.tree-branch-highlight,.tree-branch-organic,.tree-trunk-highlight,.leaf-twig{fill:none;stroke-linecap:round;stroke-linejoin:round}.tree-root{stroke:#8b666294;stroke-width:6px}.tree-trunk-silhouette{fill:url(#trunkCrystal);stroke:#6f4f4c7a;stroke-width:1.35px;stroke-linejoin:round;filter:drop-shadow(0 5px 9px #734f5b29)}.tree-trunk-highlight{stroke:#fff2efc7;stroke-width:3.4px}.stage-five-crown-aura{fill:#dac5f224;stroke:#fff1fb57;stroke-width:1.2px;filter:blur(2px)}.stage-five-trunk-aura{fill:#ffd3dd1f;filter:blur(7px)}.stage-five-trunk-magic{fill:none;stroke-linecap:round;stroke-linejoin:round}.mature-wood-glow{stroke:#ffe2e5ad;stroke-width:5px;filter:url(#memoryGlow)}.mature-wood-engraving{stroke:#6e484c7a;stroke-width:2.1px}.root-rune{stroke:#f2cddfbd;stroke-width:2.4px;filter:url(#memoryGlow)}.stage-five-trunk-magic circle{fill:#f7ddec;stroke:#9c7188;stroke-width:1.2px;filter:url(#memoryGlow)}.final-crown-halo{fill:none;stroke:#d3b3e857;stroke-width:2px;stroke-dasharray:3 9}.final-melody-ribbon{fill:none;stroke:#b196d275;stroke-width:2.2px;stroke-linecap:round}.crystal-music-crown>path:first-child{fill:#decaf2b8;stroke:#fff9fff2;stroke-width:1.5px;filter:url(#memoryGlow)}.crystal-music-crown circle{fill:#f4cfe0;stroke:#fff;stroke-width:1px;filter:url(#memoryGlow)}.crystal-music-crown .crown-note,.memory-star-fruit .hero-note{fill:none;stroke:#765b91;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.memory-star-fruit .hero-stem{fill:none;stroke:#987184;stroke-width:2.3px;stroke-linecap:round}.memory-star-fruit .hero-fruit{fill:#ffdce8e6;stroke:#fffcfffa;stroke-width:1.7px;filter:url(#memoryGlow)}.memory-charm>path:first-child{fill:none;stroke:#a58099;stroke-width:1.4px}.memory-charm .charm-crystal{fill:#c9e8f4c7;stroke:#fffffff0;stroke-width:1.2px}.memory-charm text{fill:#725d8c;font-size:8px;font-weight:700}.branch-tip-sparks circle{fill:#fbe5ef;stroke:#fff;stroke-width:1px;filter:url(#memoryGlow)}.tree-branch-organic{fill:url(#trunkCrystal);stroke:#7452506b;stroke-width:1px;stroke-linejoin:round;filter:drop-shadow(0 2px 4px #79526021)}.tree-branch-highlight{stroke:#ffebf1ad}.leaf-twig{stroke:#a2849c;stroke-width:3.4px}.tree-leaves,.leaf-overflow-cluster{pointer-events:none}.tree-leaves .interactive-tree-item{pointer-events:auto}.leaf-overflow-cluster ellipse{stroke:#f5fdffeb;stroke-width:1.2px;filter:url(#leafGlow)}.leaf-cluster-blue ellipse{fill:#8ed4f4}.leaf-cluster-turquoise ellipse{fill:#69d5d5}.leaf-cluster-lavender ellipse{fill:#b9a5e7}.leaf-cluster-pink ellipse{fill:#e5a7cc}.leaf-cluster-count-disc{fill:#fffaf7eb;stroke:#8068b88c;stroke-width:1px}.leaf-cluster-count{fill:#665581;font-family:inherit;font-size:8px;font-weight:800}.leaf-attachment{fill:#f6e7ef;stroke:#a0839e;stroke-width:1.2px}.crystal-leaf{filter:url(#leafGlow)}.leaf-silhouette{stroke:#f5fdfff5;stroke-width:1.55px;stroke-linejoin:round}.leaf-vein{fill:none;stroke:#2b4e7ceb;stroke-width:1.45px;stroke-linecap:round}.leaf-facet{stroke:#fff6;stroke-width:.7px}.leaf-facet-light{fill:#ffffff40}.leaf-facet-shadow{fill:#2e4b7d2e}.crystal-flower path{fill:#bceeff;stroke:#f5fdff;stroke-width:1.4px}.crystal-flower circle{fill:#fff8d9;stroke:#6696bc;stroke-width:1.2px}.crystal-fruit path{fill:#64d7ca;stroke:#fff;stroke-width:1.5px}.creature ellipse{fill:#bbd4ffe6}.creature circle{fill:#354d77}.tree-stats{color:#1c446d;flex-wrap:wrap;justify-content:center;gap:12px;padding-top:8px;font-weight:700;display:flex}@media (width<=700px){.layout{grid-template-columns:1fr}.tree-header{flex-direction:column;align-items:flex-start}.tree-header.parent-view-header{flex-direction:row;align-items:center}.music-tree{max-width:420px}}@media (prefers-reduced-motion:reduce){.stage-preview,.pill,.primary-button{transition:none}}.teacher-page{padding:8px 16px 32px}.teacher-title{max-width:720px;margin-bottom:22px}.teacher-title h2{color:#18345a;margin:3px 0 6px;font-size:clamp(1.55rem,2.5vw,2.25rem)}.teacher-title>p:last-child{color:#49627d}.teacher-workspace{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:20px;display:grid}.teacher-main-column,.teacher-summary-column{gap:16px;display:grid}.teacher-section,.teacher-summary-card,.teacher-empty{background:#ffffffb8;border:1px solid #738fb56b;border-radius:18px;box-shadow:0 12px 30px #30486c17}.teacher-section{padding:22px;position:relative}.teacher-section h3{color:#183d66;margin:0 0 16px 38px}.teacher-section h4{color:#335675;margin:0 0 7px}.step-number{color:#fff;background:#315b86;border-radius:50%;place-items:center;width:28px;height:28px;font-size:.82rem;font-weight:800;display:grid;position:absolute;top:18px;left:20px}.homework-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.homework-details div{background:#f3f7fb;border-radius:12px;padding:12px}.homework-details dt,.teacher-summary-card span{color:#60758c;letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:800}.homework-details dd{color:#203e5d;margin:4px 0 0}.summary-metrics{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.summary-metrics div{background:#edf4fa;border-radius:12px;padding:12px;display:grid}.summary-metrics strong{color:#1c4b73;font-size:1.45rem}.summary-metrics span,.teacher-summary-card small{color:#587088}.summary-detail{margin-top:16px}.summary-detail ul{color:#365570;margin:0;padding-left:20px}.teacher-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.teacher-form-grid .full-width{grid-column:1/-1}.checkbox-label{align-items:center;grid-template-columns:none!important;display:flex!important}.checkbox-label input{width:auto}.teacher-summary-column{position:sticky;top:14px}.teacher-summary-card{gap:5px;padding:18px;display:grid}.teacher-summary-card strong{color:#244868}.lesson-submit .primary-button{width:100%}.primary-button:disabled{cursor:not-allowed;opacity:.58}.form-message{border-radius:10px;margin-bottom:12px;padding:11px 13px}.form-message.error{color:#862f3e;background:#fff0f2}.form-message.success{color:#245f4c;background:#e9f8f1}@media (width<=760px){.teacher-page{padding-inline:4px}.teacher-workspace,.teacher-form-grid,.homework-details{grid-template-columns:1fr}.teacher-summary-column{grid-row:1;position:static}.summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-section{padding:18px 15px}.step-number{top:14px;left:14px}}.child-page{background:radial-gradient(circle at 68% 34%,#e7f9ffdb,#0000 34%),linear-gradient(155deg,#c8e4fbb3,#ded3fa8f);border-radius:30px;padding:4px 12px 32px;overflow:hidden}.child-profile-banner{align-items:center;gap:11px;max-width:920px;margin:0 auto;padding:14px 22px 0;display:flex}.child-profile-banner h1{color:#284f78;margin:1px 0 0;font-size:clamp(1.25rem,2.5vw,1.8rem)}.child-avatar{border:3px solid #ffffffd6;border-radius:18px;width:52px;height:52px;box-shadow:0 8px 20px #3d557f24}.child-profile-editor fieldset{border:0;margin:0;padding:0}.child-profile-editor legend{color:#214d72;margin-bottom:7px;font-weight:700}.avatar-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.avatar-option{color:#385a77;cursor:pointer;background:#ffffff75;border:1px solid #6988af85;border-radius:12px;align-content:start;gap:5px;min-width:0;min-height:112px;padding:7px 5px;display:grid}.avatar-option>svg{width:58px;height:58px;margin:auto;display:block}.avatar-option small{text-overflow:ellipsis;overflow:hidden}.avatar-option.selected{border-color:#4f719d;box-shadow:inset 0 0 0 2px #6b8db5}.avatar-option:focus-visible{outline-offset:2px;outline:3px solid #245f91}.avatar-selected-label{color:#245f91;text-transform:uppercase;letter-spacing:.04em;font-size:.7rem}.child-stage-progress{grid-template-columns:minmax(210px,1fr) auto;align-items:end;gap:8px 24px;max-width:920px;margin:0 auto;padding:18px 22px 12px;display:grid}.child-kicker{color:#557394;letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:850}.child-stage-progress h1{color:#244c78;margin:2px 0 0;font-size:clamp(1.5rem,3vw,2.35rem);line-height:1.05}.stage-next{color:#557394;text-align:right;display:grid}.stage-next span{text-transform:uppercase;font-size:.72rem;font-weight:800}.stage-next strong{color:#70578f}.stage-progress-track{background:#49629133;border:2px solid #ffffffd1;border-radius:999px;grid-column:1/-1;height:17px;overflow:hidden;box-shadow:inset 0 2px 5px #32497424}.stage-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#6cced4,#8ebeea 54%,#c09be1);height:100%;transition:width .7s;display:block;box-shadow:0 0 14px #78d3e8d9}.stage-progress-caption{color:#486783;grid-column:1/-1;align-items:baseline;gap:10px;display:flex}.stage-progress-caption strong{color:#265b82;font-size:1.12rem}.child-game-layout{grid-template-columns:minmax(0,1.55fr) minmax(260px,.72fr);align-items:center;gap:18px;max-width:1040px;margin:0 auto;display:grid}.child-tree-scene{text-align:center;min-width:0;padding:0 8px 12px;position:relative}.story-button{z-index:3;color:#315a7f;background:#f8fdffe0;border:1px solid #5b79a685;border-radius:999px;align-items:center;gap:6px;min-height:38px;padding:7px 12px;font-weight:850;display:inline-flex;position:absolute;top:10px;right:16px;box-shadow:0 7px 18px #405f8921}.story-overlay{z-index:100;background:#192d488c;border:0;place-items:center;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:24px;display:grid;position:fixed;inset:0}.story-overlay:not([open]){display:none}.story-overlay::backdrop{background:0 0}.story-dialog{color:#355d7d;text-align:left;background:linear-gradient(160deg,#fbfeff,#f3edff);border:1px solid #ffffffe0;border-radius:24px;flex-direction:column;width:min(680px,100%);max-height:min(84dvh,760px);display:flex;overflow:hidden;box-shadow:0 24px 70px #1b304f4d}.story-dialog-header{flex-shrink:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:20px 22px 12px;display:grid}.story-dialog-header h2{color:#284f78;margin:0;font-size:clamp(1.25rem,4vw,1.7rem)}.story-book-icon{font-size:1.5rem}.story-close-button{color:#315a7f;background:#ffffffc2;border:1px solid #5b79a66b;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;font-size:1.55rem;line-height:1;display:grid}.story-language-selector{flex-wrap:wrap;flex-shrink:0;gap:7px;padding:0 22px 14px;display:flex}.story-language-selector button{color:#426582;background:#ffffffa6;border:1px solid #5b79a673;border-radius:999px;min-height:36px;padding:6px 13px;font-weight:750}.story-language-selector button.active{color:#fff;background:#527fb6;border-color:#527fb6}.story-scroll{overscroll-behavior:contain;min-height:0;padding:2px 22px 24px;line-height:1.65;overflow-y:auto}.story-scroll:focus-visible{outline-offset:-3px;outline:3px solid #245f91}.story-scroll p{margin:0 0 1em}.story-scroll p:last-child{color:#684f87;margin-bottom:0;font-style:italic;font-weight:750}.child-tree-glow{pointer-events:none;background:radial-gradient(circle,#ffffff9e,#95d2f41f 65%,#0000 73%);border-radius:50%;position:absolute;inset:11% 8% 16%}.child-tree-scene .music-tree{z-index:1;width:min(100%,620px);position:relative}.tree-whisper{z-index:2;color:#385e80;background:#f8fdffc7;border:1px solid #ffffffc7;border-radius:999px;width:fit-content;max-width:90%;margin:-20px auto 0;padding:9px 15px;position:relative;box-shadow:0 8px 20px #405f891a}.child-side-cards{gap:12px;display:grid}.child-card{color:#355d7d;background:#fafdffb8;border:1px solid #ffffffd1;border-radius:20px;gap:12px;padding:17px;display:flex;box-shadow:0 12px 27px #455f8b1a}.child-card h2{color:#244d73;margin:2px 0 5px;font-size:1.08rem}.child-card p{margin:0}.child-card-icon{color:#426a91;background:linear-gradient(145deg,#c8eff3,#e3d2f7);border-radius:13px;flex:0 0 38px;place-items:center;height:38px;font-size:1.35rem;display:grid}.mission-card ol{gap:8px;margin:9px 0 0;padding-left:20px;display:grid}.mission-card li strong,.mission-card li span,.mission-card li small{display:block}.mission-card li span,.mission-card li small{color:#58738c}.memories-button,.surprise-fruit-button{color:#315a7f;background:linear-gradient(135deg,#d5f0f9e6,#e7d7f9e6);border:1px solid #6381ae8c;border-radius:16px;min-height:48px;font-weight:850}.surprise-fruit-button{z-index:2;margin-top:10px;padding:10px 16px;position:relative}.interactive-tree-item{cursor:pointer;outline:none}.interactive-tree-item:focus-visible{filter:url(#leafGlow)drop-shadow(0 0 5px #fff)}@media (width<=700px){.child-page{background:linear-gradient(165deg,#cfe9fbc2,#e5daf99e);border-radius:22px;padding:3px 4px 24px}.child-stage-progress{grid-template-columns:1fr;gap:7px;padding:14px 12px 8px}.child-profile-banner{padding:12px 12px 0}.child-avatar{width:46px;height:46px}.avatar-options{grid-template-columns:repeat(3,minmax(0,1fr))}.stage-next{text-align:left;gap:7px;display:flex}.stage-progress-track,.stage-progress-caption{grid-column:1}.child-game-layout{grid-template-columns:1fr;gap:10px}.child-tree-scene{padding:0 0 8px}.story-button{top:4px;right:8px}.story-overlay{align-items:end;padding:10px}.story-dialog{border-radius:20px;max-height:calc(100dvh - 20px)}.story-dialog-header{padding:16px 16px 10px}.story-language-selector{padding:0 16px 12px}.story-scroll{padding:2px 16px 20px;font-size:.96rem}.child-tree-scene .music-tree{width:min(100%,430px)}.child-tree-scene .winter-sparkles circle:nth-child(n+4),.child-tree-scene .falling-snow:nth-of-type(n+7),.child-tree-scene .snow-star-right,.child-tree-scene .music-sparkles text:last-of-type,.child-tree-scene .melody-trail text:nth-of-type(n+2){display:none}.tree-whisper{margin-top:-25px;font-size:.9rem}.child-side-cards{padding:0 7px}.child-card{padding:15px}.mission-card{order:0}}@media (width>=701px) and (width<=900px){.child-game-layout{grid-template-columns:minmax(0,1.35fr) minmax(240px,.8fr)}.child-tree-scene .music-tree{width:min(100%,540px)}}@media (prefers-reduced-motion:reduce){.stage-progress-track span{transition:none}}.evaluation-workspace{grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:20px;display:grid}.evaluation-list{gap:16px;display:grid}.homework-evaluation-card{background:#ffffffc7;border:1px solid #6684ab73;border-radius:18px;padding:22px;box-shadow:0 12px 28px #2d456817}.homework-evaluation-card header{gap:12px;margin-bottom:18px;display:flex}.homework-evaluation-card header>span{color:#fff;background:#315b86;border-radius:50%;flex:0 0 30px;place-items:center;height:30px;font-weight:800;display:grid}.homework-evaluation-card h3,.homework-evaluation-card p{margin:0}.compact-evaluation-row{grid-template-columns:minmax(250px,1fr) auto auto;align-items:end;gap:18px;display:grid}.star-rating,.improvement-selector{border:0;min-width:0;margin:0;padding:0}.star-rating legend,.improvement-selector legend{color:#294d6c;margin-bottom:5px;font-size:.78rem;font-weight:800}.star-buttons,.improvement-selector>div{gap:5px;display:flex}.star-button{color:#55708d;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;width:48px;height:48px;padding:0;font-size:2.05rem;line-height:1;display:grid}.star-button.selected{color:#8a63aa;text-shadow:0 2px 5px #5f458833}.star-button:focus-visible,.improvement-button:focus-visible,.completed-toggle input:focus-visible{outline-offset:2px;outline:3px solid #5a83aa}.star-rating small{color:#526d86;min-height:1.3em;font-weight:700;display:block}.improvement-button{color:#355979;background:#f5f8fb;border:1px solid #53739994;border-radius:999px;min-height:44px;padding:8px 13px;font-weight:750}.improvement-button.selected{background:#dceaf5;border-color:#4f769b;box-shadow:inset 0 0 0 1px #4f769b}.completed-toggle{color:#294d6c;align-items:center;gap:8px;min-height:48px;font-weight:800;display:flex}.completed-toggle input{width:24px;height:24px}.homework-evaluation-card h3{color:#183d66}.homework-evaluation-card p{color:#557087}.homework-instruction{font-style:italic;margin-top:5px!important}.evaluation-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.evaluation-fields label{color:#294d6c;gap:6px;font-weight:700;display:grid}.evaluation-fields .full-width{grid-column:1/-1}.quality-selector{border:0;min-width:0;margin:0;padding:0}.quality-selector legend{color:#294d6c;margin-bottom:7px;font-weight:700}.quality-segments{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.quality-option{color:#284b69;text-align:center;background:#f5f8fb;border:1px solid #6c8bb2b8;border-radius:10px;gap:2px;min-height:66px;padding:8px 5px;display:grid}.quality-option strong{font-size:1rem}.quality-option span{font-size:.68rem;line-height:1.2}.quality-option.active{background:#dceaf6;border-color:#315b86;box-shadow:inset 0 0 0 1px #315b86}.evaluation-fields select,.evaluation-fields textarea{color:#173650;background:#fff;border:1px solid #6c8bb2b8;border-radius:11px;width:100%;padding:11px 12px}.optional-label{color:#708296;font-size:.75rem;font-weight:500}.evaluation-summary{gap:12px;display:grid;position:sticky;top:14px}.teacher-confirmation{max-width:720px}.homework-item-list{gap:9px;margin:0;padding-left:22px;display:grid}.homework-item-list li{background:#ffffff5c;border-radius:11px;justify-content:space-between;align-items:start;gap:12px;padding:10px;display:flex}.homework-item-list li div{gap:2px;display:grid}.homework-item-list span,.homework-item-list small{color:#557087}.homework-manager h3{color:#24496c;margin:8px 0 0}.homework-form-actions{align-items:center;gap:10px;display:flex}.parent-data-tools{gap:10px;display:grid}.leaf-reward-settings>div:first-child p{margin:0}.form-card .leaf-goal-field{gap:7px}.leaf-goal-input{align-items:center;gap:10px;display:flex}.form-card .leaf-goal-input input{width:7.5rem}.leaf-goal-input>span{color:#557087;font-weight:600}.leaf-reward-options{border:0;gap:8px;margin:0;padding:0;display:grid}.leaf-reward-options legend{color:#1d426f;margin-bottom:3px;font-weight:800}.form-card .leaf-reward-option{cursor:pointer;background:#ffffff52;border-radius:12px;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;padding:10px 11px;display:grid}.form-card .leaf-reward-option input{accent-color:#527fb6;width:20px;height:20px;margin:2px 0 0;padding:0}.leaf-reward-option>span{gap:2px;display:grid}.leaf-reward-option small,.leaf-reward-footer{color:#557087}.leaf-reward-footer{margin:0;font-size:.88rem}.data-tool-actions{flex-wrap:wrap;gap:8px;display:flex}.import-file-button{cursor:pointer;align-items:center;display:inline-flex}.import-file-button input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.data-tool-message{color:#285d50;background:#def4edcc;border-radius:10px;padding:9px 11px}@media (width<=760px){.evaluation-workspace,.evaluation-fields,.quality-segments{grid-template-columns:1fr}.quality-option{text-align:left;justify-content:space-between;align-items:center;min-height:0;padding:10px 12px;display:flex}.evaluation-summary{grid-row:2;position:static}.homework-evaluation-card{padding:17px}.compact-evaluation-row{grid-template-columns:1fr;gap:13px}.star-buttons{justify-content:flex-start}.star-button{width:46px;height:46px}}.info-panel{gap:16px;display:grid}.reward-reminder-card{background:linear-gradient(145deg,#fff7fbf0,#eee5fae6);border-color:#bf8db380}.reward-reminder-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.vacation-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.vacation-period-list{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.vacation-period-list li{background:#eff6fbc2;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.vacation-period-list li>div:first-child{gap:2px;display:grid}.vacation-period-list span{color:#6e5c88;text-transform:capitalize;font-size:.76rem;font-weight:800}@media (width<=520px){.vacation-form-grid{grid-template-columns:1fr}}.card{padding:18px}.card h2{color:#1d426f;margin-bottom:10px;font-size:1.1rem}.card p,.card li,.card label{color:#214d72}.form-card{gap:12px;display:grid}.form-card label{gap:6px;font-weight:600;display:grid}.form-card input,.form-card select,.form-card textarea{color:#16314a;background:#ffffffbf;border:1px solid #7894bccc;border-radius:14px;width:100%;padding:12px 14px}.primary-button{color:#17365e;background:linear-gradient(135deg,#8ec7ff,#d7c2ff);border:none;border-radius:999px;padding:14px 18px;font-weight:800;box-shadow:0 12px 24px #7b7fcd38}.record-list{gap:10px;padding:0;list-style:none;display:grid}.reward-list li{background:#ffffff38;border-radius:12px;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.reward-actions{flex-wrap:wrap;gap:8px;display:flex}.mini-button{color:#1c456d;background:#fff9;border:1px solid #6f88b2cc;border-radius:999px;min-height:44px;padding:10px 13px;font-size:.74rem}.fruit-hit-target{fill:#0000;stroke:none;pointer-events:all}.music-fruit-count-disc{fill:#fffaf7f5!important;stroke:#3e5380a6!important;stroke-width:1px!important}.music-fruit-count{fill:#365174;pointer-events:none;font-size:8px;font-weight:850}.parent-reward-fruit,.crystal-fruit{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.import-file-button:focus-within{outline-offset:3px;outline:3px solid #245f91}.card,.homework-item-list li,.reward-list li,.vacation-period-list li,.teacher-summary-card,.homework-evaluation-card{min-width:0}.card h2,.card h3,.card p,.card li,.card span,.card strong,.homework-evaluation-card h3,.homework-evaluation-card p{overflow-wrap:anywhere}.reward-reveal{color:#1d436b;font-weight:700}.record-list li{background:#ffffff38;border-radius:12px;justify-content:space-between;gap:12px;padding:8px 10px;display:flex}.notice{background:linear-gradient(#f0f5ffbf,#e5ecff8c)}@media (width<=768px){.app-shell{width:min(100vw - 18px,820px);padding-top:10px}.topbar{flex-direction:column;align-items:flex-start;padding:8px 8px 14px}.layout{grid-template-columns:1fr}.tree-panel{padding:12px}.parent-settings-dialog{border-radius:20px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.parent-settings-dialog-header{padding:14px 14px 12px}.parent-settings-dialog-content{gap:12px;padding:12px}.role-switcher{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.pill,.primary-button,.stage-preview,.improvement-button,.completed-toggle{min-height:44px}.form-card input,.form-card select,.form-card textarea,.vacation-form-grid input{min-width:0;max-width:100%;font-size:16px}.child-page{overflow:visible}.reward-list li,.homework-item-list li,.vacation-period-list li{flex-direction:column;align-items:stretch}.reward-list li{display:grid}.reward-actions,.homework-form-actions,.reward-reminder-actions,.data-tool-actions{align-items:stretch}.reward-actions>*,.homework-form-actions>*,.reward-reminder-actions>*,.data-tool-actions>*{flex:140px}.import-file-button{text-align:center;justify-content:center;display:flex}}@media (width<=430px){.app-shell{width:100%;padding-inline:max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right))}.topbar h1{font-size:clamp(1.45rem,8vw,2rem)}.info-panel,.child-side-cards{min-width:0}.card,.teacher-section,.homework-evaluation-card{border-radius:18px;padding:15px 12px}.star-buttons{grid-template-columns:repeat(5,minmax(44px,1fr));gap:4px;display:grid}.star-button{width:100%;min-width:44px;min-height:44px}.improvement-selector>div{flex-wrap:wrap}.improvement-button{flex:calc(50% - 5px)}}@media (orientation:landscape) and (height<=430px){.topbar{flex-direction:row;align-items:center}.role-switcher{width:auto;min-width:300px}.child-game-layout,.layout{align-items:start}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.parent-stage-progress ul{gap:.45rem;padding:0;list-style:none;display:grid}.parent-stage-progress li{justify-content:space-between;gap:1rem;display:flex}.parent-stage-progress strong{white-space:nowrap}.parent-reward-fruit{cursor:pointer;transform-box:fill-box;transform-origin:50%;transition:filter .18s,opacity .18s,transform .18s}.parent-reward-fruit.available{filter:url(#memoryGlow);animation:2.8s ease-in-out infinite reward-fruit-breathe}.parent-reward-fruit.claimed{filter:none;opacity:.82}.parent-reward-fruit:focus{filter:url(#memoryGlow);outline:none}.reward-fruit-body{stroke:#6a4153b8;stroke-width:1.5px}.reward-fruit-body.apple{fill:#e86f83}.reward-fruit-body.pear{fill:#b8c86e}.reward-fruit-body.berry{fill:#8563a8;stroke:#4c3268b8}.reward-fruit-body.peach{fill:#efaa9c}.reward-fruit-stem{fill:none;stroke:#765747;stroke-width:2px;stroke-linecap:round}.reward-fruit-leaf{fill:#829b68;stroke:#60764d;stroke-width:1px}.reward-fruit-seam{fill:none;stroke:#af5c5ba6;stroke-width:1.2px}@keyframes reward-fruit-breathe{0%,to{opacity:.9}50%{opacity:1}}.auth-screen{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{background:#ffffffeb;border:1px solid #fff;border-radius:24px;width:min(100%,400px);padding:32px 24px;box-shadow:0 16px 48px #16314a14}.auth-mark{color:#347267;font-size:40px}.auth-card h1{font-size:30px}.auth-card form{gap:10px;margin-top:24px;display:grid}.auth-card input{color:#16314a;background:#fff;border:1px solid #7e94a8;border-radius:10px;width:100%;min-height:44px;padding:10px 12px}.auth-card button{border-radius:10px;min-height:44px;padding:10px 16px}.auth-password-label{justify-content:space-between;align-items:center;display:flex}.auth-card .auth-password-toggle{color:#286358;background:0 0;border:0;min-height:32px;padding:4px 8px;font-size:13px}.auth-password-toggle:hover{text-decoration:underline}.auth-submit{color:#fff;background:#286358;border:0;margin-top:8px;font-weight:700}.auth-switch,.auth-logout{color:#16314a;background:#fff;border:1px solid #7e94a8}.auth-card button:disabled,.auth-logout:disabled{opacity:.65;cursor:wait}.auth-error,.auth-account-bar [role=alert]{color:#a22536}.auth-message{color:#286358}.auth-help{font-size:13px}.auth-account-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;width:min(1200px,100% - 24px);margin:0 auto;padding:12px 16px 0;font-size:14px;display:flex}.auth-account-email{overflow-wrap:anywhere;min-width:0}.auth-logout{border-radius:10px;padding:8px 12px}
