:root{--ink:#203d38;--muted:#687a75;--green:#147869;--dark:#155b51;--mint:#e7f5ef;--border:#e4eae6;--page:#f8faf7;--orange:#ff8658;--yellow:#f8cc58;--radius:24px;--shadow:0 10px 30px #123b3010;font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:var(--ink);background:var(--page);font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d28d22;outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0}svg{width:22px;height:22px;display:block;flex-shrink:0}h1,h2,h3,h4,p{margin:0}button{touch-action:manipulation}button,select,input{min-height:44px}h1{font-size:clamp(2rem,3.6vw,3.25rem);letter-spacing:-1.6px;line-height:1.1}h2{font-size:1.65rem;letter-spacing:-.7px;line-height:1.2}h3{font-size:1.15rem;line-height:1.3}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;border-right:1px solid var(--border);padding:35px 21px 24px;background:#fff;position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 12px;margin-bottom:56px;font-size:1rem;font-weight:800;letter-spacing:1px;line-height:1.2}.brand small{display:block;font-size:1.65rem;letter-spacing:-1px;font-weight:800}.brand-mark{background:var(--green);border-radius:13px;padding:11px;color:#dcf6bd}.brand-mark svg{width:26px;height:26px}.sidebar-label{font-size:.75rem;letter-spacing:1.5px;color:#86918b;font-weight:700;margin:0 14px 16px}.nav-item{display:flex;align-items:center;gap:12px;border-radius:12px;background:transparent;text-align:left;padding:15px 13px;margin-bottom:8px;width:100%;font-size:.91rem;font-weight:700;color:#687970;white-space:nowrap}.nav-item:hover{background:#f3f7f3}.nav-item.active{color:var(--green);background:var(--mint)}.nav-item.active svg{stroke-width:2.3}.nav-badge{font-size:.75rem;background:#f2f4ef;padding:1px 7px;border-radius:6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.together-note{padding:24px 14px 20px;margin-bottom:20px;border-bottom:1px solid var(--border)}.together-note>span{display:block;color:var(--orange);margin-bottom:12px}.together-note strong{font-size:.9rem}.together-note p{font-size:.85rem;color:var(--muted);line-height:1.8;margin-top:6px}.made-by{display:block;font-size:.65rem;letter-spacing:.7px;color:#8d9790;text-align:center;margin-top:24px}.main-shell{margin-left:248px;width:calc(100% - 248px)}.topbar{height:94px;background:#ffffffc9;border-bottom:1px solid var(--border);padding:0 42px;display:flex;justify-content:space-between;align-items:center;gap:15px}.breadcrumb{font-size:.85rem;color:var(--muted)}.breadcrumb span{padding:0 13px;color:#c1cbc3}.breadcrumb b{font-weight:600;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:18px}.star-total{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted)}.star-total svg{color:#d89b22;fill:#ffe59d;width:20px}.star-total b{font-size:1rem;color:var(--ink)}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:transparent;width:44px;height:44px;flex-shrink:0;font-size:1.75rem}.icon-button:hover{background:#eff4ed}.profile-chip{display:flex;gap:10px;align-items:center;background:transparent;font-size:.9rem;padding:0}.profile-chip>svg{width:14px}.avatar{display:flex;align-items:center;justify-content:center;border:3px solid white;box-shadow:0 0 0 1px #e9e5dc;border-radius:50%;width:38px;height:38px;background:#ffdec4;color:#825129;font-weight:800;font-size:1.1rem}.mobile-brand{display:none}main{max-width:1400px;margin:0 auto;padding:34px 42px 30px}.welcome-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.welcome-line h2{font-size:1.65rem;letter-spacing:-.8px}.welcome-line p{font-size:.9rem;color:var(--muted);margin-top:6px}.tiny-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:30px;padding:7px 12px;font-size:.75rem;font-weight:700;background:white;white-space:nowrap}.tiny-pill svg{width:16px;height:16px;color:var(--green)}.hero{position:relative;min-height:292px;border-radius:24px;overflow:hidden;background:#e0f5e7;box-shadow:inset 0 0 0 1px #d7eade;display:flex;align-items:center}.hero-art{position:absolute;right:0;top:0;width:61%;height:100%;object-fit:cover;object-position:60% 48%;mix-blend-mode:multiply}.hero-copy{width:58%;position:relative;z-index:1;padding:32px;pointer-events:none}.hero-copy>*{pointer-events:auto}.eyebrow{font-size:.7rem;letter-spacing:1.8px;font-weight:800;text-transform:uppercase}.hero .eyebrow{display:flex;gap:8px;align-items:center;margin-bottom:12px;color:#387b62}.hero .eyebrow svg{width:16px;height:16px}.hero h1{max-width:460px}.hero p{font-size:.95rem;color:#517364;margin:13px 0 20px;max-width:300px}.primary,.secondary,.text-button,.danger{display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:.95rem;font-weight:700;border-radius:12px;min-height:48px;padding:12px 20px;transition:transform .15s,background .15s}.primary{background:var(--green);color:white;box-shadow:0 4px 0 #0b584c}.primary:hover{background:#10695d;transform:translateY(-1px)}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 #0b584c}.primary svg{width:19px;height:19px}.secondary{background:white;border:1px solid #d9e4dc;color:var(--green)}.secondary:hover{background:#edf6ef}.text-button{background:transparent;color:var(--green);padding:8px 0;min-height:40px;font-size:.85rem}.text-button svg{width:17px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:25px;margin-top:26px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.section-head h2{font-size:1.25rem;letter-spacing:-.35px}.section-head p{font-size:.85rem;color:var(--muted);margin-top:5px}.journey-card{background:white;border:1px solid var(--border);border-radius:20px;overflow:hidden}.journey-header{display:flex;align-items:center;gap:13px;padding:20px 22px 0}.world-symbol{width:42px;height:42px;display:flex;justify-content:center;align-items:center;border-radius:13px;background:#e0f1cd;color:#4a7e37}.journey-header strong{font-size:.96rem}.journey-header small{display:block;color:var(--muted);font-size:.8rem;margin-top:2px}.world-count{margin-left:auto;font-size:.8rem;color:var(--muted)}.lesson-path{display:flex;justify-content:space-around;position:relative;padding:28px 12px 22px;gap:8px}.lesson-path:before{content:'';position:absolute;left:13%;right:13%;top:63px;border-top:3px dashed #dce7de}.path-item{position:relative;display:flex;flex-direction:column;align-items:center;flex:1;max-width:130px;text-align:center}.lesson-node{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#f0f4ee;border:5px solid white;box-shadow:0 0 0 1px #e3e9df;color:#8a9a8b;font-size:1.3rem;font-weight:800;position:relative;transition:transform .2s}.lesson-node:hover{transform:translateY(-4px)}.lesson-node.current{background:var(--green);color:white;box-shadow:0 0 0 5px #dff0e3}.lesson-node.done{background:#e1efbc;color:#5b7629}.lesson-node.current:before{content:'LET’S GO';position:absolute;top:-20px;font-size:.56rem;color:white;letter-spacing:.7px;border-radius:5px;background:var(--orange);padding:2px 6px;white-space:nowrap}.path-item p{font-size:.75rem;font-weight:700;margin-top:13px}.path-item small{font-size:.7rem;color:var(--muted);margin-top:3px}.journey-footer{background:#fbfcf9;display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);padding:12px 20px;font-size:.75rem;color:var(--muted)}.journey-footer svg{color:#d8a229;width:17px}.goal-card{border-radius:20px;background:#fff9e9;border:1px solid #f1e7cc;padding:20px;min-height:253px}.goal-top{display:flex;align-items:center;justify-content:space-between}.goal-top h3{font-size:1rem}.goal-top svg{color:#c69025;width:20px}.goal-ring{position:relative;width:103px;height:103px;border-radius:50%;background:conic-gradient(#e4b347 var(--pct),#f3e9ce 0);display:grid;place-items:center;margin:20px auto 14px}.goal-ring:before{content:'';position:absolute;inset:9px;background:#fff9e9;border-radius:50%}.goal-ring span{position:relative;display:flex;flex-direction:column;align-items:center;font-size:.7rem;color:#847655}.goal-ring b{font-size:1.7rem;color:var(--ink);line-height:1.2}.goal-card>p{text-align:center;font-size:.8rem;max-width:185px;margin:auto;color:#81755c}.next-up{display:flex;gap:10px;align-items:center;padding:14px 0;font-size:.8rem;color:var(--muted)}.next-up svg{color:var(--green);width:17px}.play-section{margin-top:26px}.quick-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quick-card{display:flex;gap:14px;align-items:center;text-align:left;border:1px solid var(--border);background:white;border-radius:16px;padding:19px;transition:transform .15s;min-height:100px}.quick-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.quick-icon{width:53px;height:57px;display:grid;place-items:center;background:#efe9ff;color:#8463b6;border-radius:15px;flex-shrink:0}.quick-icon.peach{background:#fff0df;color:#d58b44}.quick-card small{font-size:.65rem;color:var(--muted);letter-spacing:1px}.quick-card h3{font-size:1rem;margin-top:2px}.quick-card p{font-size:.75rem;color:var(--muted);margin-top:5px}.quick-card>.arrow{margin-left:auto;color:#8a9b91}.page-heading{margin-bottom:25px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.page-heading h1{font-size:2.6rem}.page-heading p{color:var(--muted);font-size:.95rem;margin-top:10px}.worlds-list{display:grid;gap:16px}.worlds-list .lesson-path{padding-bottom:30px}.worlds-list .journey-header{padding-top:22px}.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 20px}.book-card{background:transparent;text-align:left;padding:0;min-width:0;position:relative}.book-cover{aspect-ratio:3/4;border-radius:7px 17px 17px 7px;border-left:8px solid #00000015;padding:20px 18px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;position:relative;box-shadow:3px 6px 0 #0000000c;overflow:hidden;transition:transform .2s}.book-card:hover .book-cover{transform:rotate(-2deg) translateY(-4px)}.book-cover:after{content:'';position:absolute;inset:9px;border:1px solid #ffffff60;border-radius:6px 11px 11px 6px;pointer-events:none}.book-cover .eyebrow{font-size:.56rem;letter-spacing:1.3px;text-align:center}.book-cover h2{font-size:1.6rem;line-height:1.05;text-align:center;max-width:160px}.book-cover svg{width:57px;height:57px;stroke-width:1.4}.book-cover small{font-size:.66rem;text-align:center;opacity:.75}.mint{background:#d1eacc;color:#2f6146}.blue{background:#d9ecfa;color:#3f6789}.peach{background:#ffe0c3;color:#985a36}.pink{background:#f6d9e4;color:#96556d}.yellow{background:#f9e7a6;color:#82652f}.lilac{background:#e3dafa;color:#72589b}.book-meta{padding:14px 0 0}.book-meta h3{font-size:.95rem}.book-meta p{font-size:.75rem;color:var(--muted);margin-top:3px}.read-badge{position:absolute;right:8px;top:8px;z-index:1;background:white;border-radius:50%;padding:5px;color:var(--green)}.read-badge svg{width:17px;height:17px}.shelf-note{margin-top:28px;padding:16px 20px;background:white;border:1px solid var(--border);border-radius:13px;font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:13px}.shelf-note svg{color:var(--green)}.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.game-card{padding:28px 25px;border-radius:22px;min-height:285px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;transition:transform .2s}.game-card:hover{transform:translateY(-4px)}.game-card>.game-symbol{padding:17px;background:#ffffff90;border-radius:18px;margin:9px 0 13px}.game-symbol svg{width:34px;height:34px}.game-card h2{font-size:1.4rem}.game-card p{font-size:.9rem;opacity:.8}.game-card .game-start{font-size:.9rem;display:flex;align-items:center;gap:15px;margin-top:auto;padding-top:18px;font-weight:800}.reward-summary{display:flex;align-items:center;gap:18px;padding:26px;background:#fff5d2;border:1px solid #f4e3a9;border-radius:20px;margin-bottom:28px}.reward-summary>svg{width:48px;height:48px;color:#dca82e;fill:#fbe18c}.reward-summary p{color:#8f793e;font-size:.9rem;margin-top:4px}.treasures-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.treasure{border-radius:20px;border:1px solid var(--border);text-align:center;padding:27px 18px;background:white}.treasure>span{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 16px;border-radius:50%;background:#fff4ce;color:#cc9432}.treasure>span svg{width:34px;height:34px}.treasure p{font-size:.8rem;color:var(--muted);margin:6px 0 12px}.treasure small{color:var(--green);font-size:.75rem;font-weight:700}.treasure.locked>span{background:#f2f4ef;color:#a5b0a6}.treasure.locked small{color:#93a096}.progress-overview{margin-top:24px;display:flex;justify-content:space-around;padding:25px;background:white;border:1px solid var(--border);border-radius:20px;text-align:center}.progress-overview b{display:block;font-size:1.8rem}.progress-overview span{font-size:.8rem;color:var(--muted)}footer{max-width:1400px;margin:0 auto;padding:5px 42px 24px;font-size:.72rem;color:#94a198;display:flex;justify-content:space-between;gap:10px}
/* The activity stays focused on one small win at a time. */
dialog{border:1px solid var(--border);border-radius:24px;padding:28px;width:min(760px,calc(100% - 32px));max-height:92dvh;box-shadow:0 25px 90px #123b3038;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#163d3866;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.dialog-top .eyebrow{color:var(--green)}.activity-heading{text-align:center;margin:23px 0 25px}.activity-heading h2{font-size:1.9rem}.activity-heading p{color:var(--muted);margin-top:10px;font-size:.95rem}.step-progress{display:flex;gap:7px;max-width:350px;margin:0 auto}.step-progress span{height:6px;flex:1;background:#e8eee7;border-radius:4px}.step-progress .done{background:#97c8a7}.step-progress .current{background:var(--green)}.sound-cards{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.sound-card{padding:15px 18px;background:#e4f4e9;border:1px solid #cbe4d3;border-bottom:5px solid #cbe4d3;border-radius:18px;min-width:125px;max-width:180px;text-align:center}.sound-letter{display:block;font-size:4.2rem;line-height:1.2;font-family:'Trebuchet MS',sans-serif;font-weight:700}.sound-card p{font-size:.85rem;color:#537865;margin-top:7px}.sound-card button{background:white;color:var(--green);border-radius:50%;width:40px;min-height:40px;display:grid;place-items:center;margin:12px auto 0}.sound-card svg{width:19px}.grownup-cue{margin:20px auto;padding:16px 18px;background:#f7f8f1;border-radius:13px;font-size:.86rem;color:#617060;max-width:610px}.grownup-cue strong{color:#3d5945}.grownup-cue p+p{margin-top:7px}.activity-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:25px}.question-word{font-size:3.4rem;text-align:center;letter-spacing:2px;margin:15px 0;color:var(--green);font-weight:800}.choices{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:22px auto}.choice{min-width:90px;min-height:82px;border-radius:17px;background:white;border:2px solid #dce6dc;box-shadow:0 4px 0 #e7ece3;font-size:2rem;font-weight:700;padding:14px 20px}.choice:hover{background:#eff7ee}.choice.correct{background:#dcedc8;border-color:#8fbd73}.choice.incorrect{background:#fff1df;border-color:#edbd77}.feedback{min-height:30px;text-align:center;color:#91612e;font-size:.95rem;margin:15px 0 0}.feedback.good{color:var(--green)}.blend-letters{display:flex;justify-content:center;gap:13px;margin:20px 0;flex-wrap:wrap}.blend-letter{min-width:82px;padding:10px 17px;font-size:3.8rem;line-height:1.4;font-weight:700;background:#f1f4eb;border-radius:16px;transition:background .1s}.blend-letter.lit{background:#c4e7bb;color:#23684d}.blend-range{width:min(90%,430px);display:block;margin:25px auto;accent-color:var(--green);height:34px}.range-caption{display:flex;justify-content:space-between;max-width:430px;margin:auto;color:var(--muted);font-size:.75rem}.spell-slots,.spell-bank{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0}.spell-slot{display:grid;place-items:center;border:2px dashed #b4c8b8;min-width:60px;height:72px;border-radius:14px;background:#fafcf8;font-size:2rem;font-weight:700}.spell-slot.filled{border:2px solid #a7c8ae;background:#eaf5e4}.spell-bank button{font-size:1.7rem;min-width:62px;min-height:64px;border-radius:12px;background:#f5e8ce;border-bottom:4px solid #dfcca8;font-weight:700}.spell-bank button:disabled{visibility:hidden}.read-words{display:flex;gap:13px;justify-content:center;flex-wrap:wrap;margin:28px 0}.read-words button{font-size:2.2rem;font-weight:700;background:#e7f3e9;min-width:100px;padding:15px 20px;border-radius:14px}.check-label{display:flex;gap:12px;align-items:center;font-size:.9rem;margin:24px auto;max-width:480px}.check-label input{width:23px;height:23px;min-height:23px;accent-color:var(--green);flex-shrink:0}.success-art{display:grid;place-items:center;width:112px;height:112px;background:#fff0b9;color:#daab2c;border-radius:50%;margin:30px auto 22px;animation:pop .45s ease-out}.success-art svg{width:63px;height:63px;fill:#f9d76a}.earned-stars{font-size:1.1rem;font-weight:700;color:#bf8d22;text-align:center;margin:15px 0}.book-reader{background:#fffdf4;padding:25px;border:1px solid #ebe7d7;border-radius:18px;min-height:240px;display:flex;flex-direction:column;justify-content:center}.book-reader .adult-line{font-size:.95rem;color:#7b7b6e;line-height:1.8;max-width:530px;margin:0 auto 27px;text-align:center}.book-reader .child-line{font-size:clamp(1.9rem,5vw,3rem);font-weight:700;line-height:1.6;text-align:center}.child-line button{background:transparent;font:inherit;padding:0 4px;min-height:0;display:inline;border-radius:6px}.child-line button:hover,.child-line button.speaking{background:#ddefc2}.book-page-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px;font-size:.85rem;color:var(--muted)}.book-page-nav button{min-width:110px}.question-choices .choice{font-size:1.3rem;min-height:65px}.round-count{display:flex;justify-content:center;gap:6px;align-items:center;font-size:.8rem;color:var(--muted);margin:5px 0}.listening-note{text-align:center;font-size:.75rem;color:var(--muted);margin:10px 0}.correct-count{text-align:center;font-size:.9rem;color:var(--muted);margin-top:10px}#parent-dialog{width:min(590px,calc(100% - 32px))}#parent-dialog>h2{font-size:1.85rem}#parent-dialog>p{color:var(--muted);margin:15px 0;line-height:1.7}#settings-form{display:grid;gap:9px;margin:23px 0}#settings-form label{font-size:.9rem;font-weight:700;margin-top:7px}#settings-form input,#settings-form select{border:1px solid #ccdace;background:#fafcf9;border-radius:10px;padding:10px 12px;width:100%;color:var(--ink)}#settings-form .primary{margin-top:15px}.parent-tip{background:#edf6e7;border-radius:13px;padding:18px;margin-top:20px;font-size:.86rem;line-height:1.7}.parent-tip p{margin-top:7px;color:#5d775e}details{border-top:1px solid var(--border);margin-top:20px;padding-top:17px;font-size:.85rem}summary{cursor:pointer;min-height:30px;font-weight:700}details p{color:var(--muted);margin:10px 0;line-height:1.7}.danger{background:#ffebe2;color:#9d452c;font-size:.85rem;box-shadow:none}.status{font-size:.85rem;color:var(--green)}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#203d38;color:white;border-radius:14px;padding:14px 22px;z-index:100;box-shadow:var(--shadow);transition:.2s;max-width:90vw;text-align:center;font-size:.9rem}.toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes pop{from{transform:scale(.5)}to{transform:scale(1)}}@media(min-width:1550px){main{padding-top:44px}.hero{min-height:340px}.hero-copy{padding:38px}.dashboard-grid{grid-template-columns:1fr 300px}.goal-card{min-height:264px}}@media(max-width:1200px){.sidebar{width:215px;padding:28px 14px}.main-shell{margin-left:215px;width:calc(100% - 215px)}.nav-item{font-size:.8rem;padding:14px 11px}.brand{padding:0 8px}.topbar{padding:0 28px}.breadcrumb{font-size:.75rem}.topbar-actions{gap:10px}main{padding:28px}.hero{min-height:290px}.hero-copy{padding:26px}.hero h1{font-size:2.6rem}.hero-art{width:65%;object-position:64% center}.dashboard-grid{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.journey-header{padding:17px 15px 0}.journey-header strong{font-size:.86rem}.world-count{display:none}.path-item p{font-size:.67rem}.lesson-node{width:60px;height:60px}.lesson-path:before{top:57px}.goal-card{padding:18px}.quick-card{padding:14px;gap:10px}.quick-card>.arrow{display:none}.quick-card p{font-size:.7rem}.quick-icon{width:43px;height:48px}.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card{padding:23px 19px}.game-card h2{font-size:1.2rem}footer{padding:5px 28px 24px}}@media(max-width:950px){.sidebar{width:88px;padding:28px 12px;align-items:center}.brand{padding:0;margin-bottom:38px}.brand>span:last-child,.sidebar-label,.nav-badge,.together-note,.made-by{display:none}.sidebar nav{width:100%}.nav-item{font-size:0;gap:0;justify-content:center;padding:17px}.nav-item svg{width:24px;height:24px}.sidebar-bottom{width:100%}.main-shell{margin-left:88px;width:calc(100% - 88px)}.topbar{height:82px}.hero h1{font-size:2.6rem}.hero-copy{width:64%}.hero p{max-width:230px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 210px}.hero-art{width:69%;object-position:62%}.quick-card{min-height:95px}.game-card p{font-size:.8rem}.games-grid{gap:12px}.page-heading h1{font-size:2.2rem}}@media(max-width:700px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:76px;padding:5px 8px 10px;border-top:1px solid var(--border);border-right:0;flex-direction:row;background:#fffffffa}.brand,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);height:100%;gap:3px}.nav-item{font-size:.6rem;gap:5px;flex-direction:column;padding:8px 3px;border-radius:12px;margin:0;font-weight:700;line-height:1.2}.nav-item svg{width:21px;height:21px}.main-shell{margin-left:0;width:100%;padding-bottom:76px}.topbar{padding:0 19px;height:76px}.breadcrumb{display:none}.mobile-brand{display:block;font-size:.8rem;letter-spacing:.3px;line-height:1}.mobile-brand b{display:block;font-size:1.3rem;letter-spacing:-.5px;line-height:1.2}.star-total>span:last-child{display:none}.topbar-actions{gap:10px}.profile-chip{gap:0}.profile-chip b,.profile-chip>svg{display:none}.icon-button{width:38px;min-height:38px;height:38px}.avatar{width:35px;height:35px}main{padding:25px 18px}.welcome-line{align-items:flex-start;margin-bottom:20px}.welcome-line h2{font-size:1.45rem}.welcome-line p{font-size:.8rem;max-width:215px}.tiny-pill{font-size:.65rem;padding:6px 8px;gap:4px}.tiny-pill svg{width:13px;height:13px}.hero{min-height:325px;align-items:flex-start}.hero-art{width:100%;height:100%;object-fit:cover;object-position:72% center;opacity:.85}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#e0f5e7 0%,#e0f5e7e0 20%,#e0f5e740 62%,transparent 100%)}.hero-copy{width:100%;padding:26px 23px}.hero .eyebrow{font-size:.65rem;letter-spacing:1px;margin-bottom:13px}.hero h1{font-size:2.35rem;max-width:260px;letter-spacing:-1.4px}.hero p{max-width:175px;font-size:.8rem;margin:13px 0 21px}.hero .primary{font-size:.8rem;padding:11px 15px;min-height:45px}.hero-art{object-position:56% 65%;transform:translateX(21%)}.dashboard-grid{display:flex;flex-direction:column;gap:18px;margin-top:26px}.goal-card{min-height:0;display:grid;grid-template-columns:1fr 75px;grid-template-rows:auto auto;column-gap:10px;padding:17px 20px;order:2}.goal-top{grid-column:1;justify-content:flex-start;gap:12px}.goal-ring{grid-column:2;grid-row:1/3;width:70px;height:70px;margin:0}.goal-ring:before{inset:6px}.goal-ring b{font-size:1.3rem}.goal-ring span{font-size:.55rem}.goal-card>p{grid-column:1;max-width:none;text-align:left;margin:8px 0 0;font-size:.75rem}.journey-header{padding:20px 17px 0}.journey-header strong{font-size:.91rem}.path-item p{font-size:.7rem}.path-item small{font-size:.65rem}.lesson-node{width:59px;height:59px}.section-head h2{font-size:1.15rem}.section-head .text-button{font-size:.8rem}.quick-cards{gap:12px}.quick-card{align-items:flex-start;flex-direction:column;gap:12px;padding:17px;min-height:190px}.quick-card h3{font-size:.96rem}.quick-card p{font-size:.75rem}.quick-icon{width:46px;height:48px}.page-heading{align-items:flex-start}.page-heading h1{font-size:2.05rem;letter-spacing:-1px}.page-heading p{font-size:.85rem}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.book-cover{padding:18px 15px}.book-cover h2{font-size:1.4rem}.book-cover svg{width:47px;height:47px}.book-cover .eyebrow{font-size:.5rem}.book-cover small{font-size:.6rem}.shelf-note{font-size:.75rem;align-items:flex-start}.games-grid{grid-template-columns:1fr;gap:16px}.game-card{min-height:210px;padding:23px;display:grid;grid-template-columns:65px 1fr;column-gap:20px;row-gap:5px}.game-card>.eyebrow{grid-column:2;font-size:.65rem}.game-card>.game-symbol{grid-column:1;grid-row:1/4;align-self:center;margin:0;padding:15px}.game-card h2,.game-card p,.game-card .game-start{grid-column:2}.game-card h2{font-size:1.4rem}.game-card p{font-size:.85rem}.game-card .game-start{padding-top:10px}.treasures-grid{grid-template-columns:repeat(2,1fr);gap:12px}.treasure{padding:22px 12px}.treasure h3{font-size:1rem}.treasure p{font-size:.75rem}.treasure small{font-size:.7rem}.reward-summary{padding:22px;gap:13px}.reward-summary h2{font-size:1.4rem}.reward-summary p{font-size:.8rem}.progress-overview{padding:18px 8px}.progress-overview b{font-size:1.4rem}.progress-overview span{font-size:.65rem}footer{padding:0 18px 23px;flex-direction:column;gap:4px;font-size:.65rem}dialog{padding:20px;width:calc(100% - 20px);border-radius:20px;max-height:95dvh}.activity-heading{margin:18px 0 22px}.activity-heading h2{font-size:1.55rem}.activity-heading p{font-size:.85rem}.sound-cards{gap:8px}.sound-card{min-width:85px;padding:14px 12px;max-width:130px;flex:1}.sound-letter{font-size:3rem}.sound-card p{font-size:.75rem}.grownup-cue{font-size:.8rem;padding:14px}.blend-letters{gap:8px}.blend-letter{min-width:57px;font-size:2.75rem;padding:10px 11px}.spell-slot{min-width:50px;height:64px}.spell-bank button{min-width:53px;min-height:57px}.book-reader{padding:22px 15px;min-height:255px}.book-reader .adult-line{font-size:.85rem}.book-page-nav button{min-width:85px;font-size:.8rem;padding:10px 13px}.book-page-nav{font-size:.75rem}.question-choices .choice{font-size:1.15rem}.toast{bottom:95px}.activity-actions .primary,.activity-actions .secondary{font-size:.85rem}.sound-card button{min-width:40px}.read-words{gap:8px}.read-words button{font-size:1.75rem;min-width:75px;padding:12px}.choice{min-width:80px;font-size:1.75rem}.worlds-list .journey-header .world-count{display:block;font-size:.7rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.question-word>svg{width:58px;height:58px;margin:25px auto;color:var(--green)}

/* Hosted inside the Learning workspace; the outer app owns area navigation. */
.embedded,.embedded body{background:#f8faf7}.embedded .sidebar{display:none}.embedded .main-shell{margin-left:0;width:100%;padding-bottom:0}.embedded .app-shell{min-height:0}.embedded .topbar{height:70px;padding:0 30px}.embedded main{padding:27px 30px}.embedded .breadcrumb{font-size:.85rem}.embedded footer{padding-left:30px;padding-right:30px}.embedded .toast{bottom:22px}.embedded .hero{min-height:292px}@media(max-width:700px){.embedded .topbar{padding:0 19px}.embedded main{padding:24px 18px}.embedded footer{padding-left:18px;padding-right:18px}.embedded .hero{min-height:325px}.embedded .main-shell{padding-bottom:0}}

.embedded dialog{margin:0 auto;top:var(--embed-dialog-top,20px);max-height:var(--embed-dialog-height,85dvh)}
