:root{color-scheme:light;--ink:#17233b;--muted:#60708a;--blue:#477dff;--leaf:#66ce8c;--sun:#ffd166;--berry:#ff7eb6;--paper:#fff;--line:rgba(38,69,105,.14)}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:Inter,ui-rounded,"SF Pro Rounded",system-ui,sans-serif;color:var(--ink);background:radial-gradient(circle at 10% 10%,rgba(255,209,102,.35),transparent 30%),radial-gradient(circle at 88% 18%,rgba(110,213,255,.35),transparent 30%),linear-gradient(150deg,#f8fdff,#eff7ff 54%,#f4fff6)}button,input{font:inherit}.sprout-wall{min-height:100vh;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}.sprout-login{width:min(920px,100%);min-height:calc(100vh - 2rem);margin:auto;display:grid;grid-template-columns:1.15fr .85fr;align-content:center;gap:1.4rem;padding:clamp(1.2rem,5vw,4rem);border:1px solid var(--line);border-radius:36px;background:rgba(255,255,255,.78);box-shadow:0 28px 80px rgba(43,79,119,.14);backdrop-filter:blur(20px)}.sprout-brand{grid-column:1/-1;display:flex;align-items:center;gap:.65rem;font-weight:900;letter-spacing:.04em}.sprout-brand img{width:52px;height:52px;object-fit:contain}.sprout-brand span{padding:.45rem .7rem;border-radius:999px;background:#eaf8ef;color:#2b8051}.eyebrow{display:block;color:#4773a7;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.sprout-login h1,.sprout-hero h1{margin:.35rem 0;font-size:clamp(2.25rem,7vw,5rem);line-height:.94;letter-spacing:-.065em}.sprout-login-copy p,.sprout-hero p{max-width:640px;color:var(--muted);line-height:1.65}.sprout-login form{display:grid;gap:.75rem;align-self:end;padding:1.1rem;border:1px solid var(--line);border-radius:24px;background:var(--paper)}.sprout-login label{font-size:.72rem;font-weight:850}.sprout-login input{width:100%;min-height:56px;border:2px solid #d7e4f2;border-radius:16px;padding:0 1rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ink);background:#f9fcff}.sprout-login button,.sprout-home header button{min-height:50px;border:0;border-radius:16px;padding:0 1.2rem;color:#fff;background:linear-gradient(135deg,#477dff,#7a63e8);font-weight:900;cursor:pointer}.sprout-login-message{min-height:1.2em;margin:0;color:#b33a4d;font-size:.72rem}.sprout-login>small{grid-column:1/-1;color:var(--muted)}a{color:#3567d5}.sprout-home{width:min(1280px,100%);margin:auto}.sprout-home header{display:flex;align-items:center;gap:1rem;padding:.75rem 0}.sprout-home header .sprout-brand{grid-column:auto;margin-right:auto}.sprout-home header>div:nth-child(2){display:grid;text-align:right}.sprout-home header>div:nth-child(2) span{color:var(--muted);font-size:.72rem}.sprout-home header button{min-height:42px;color:var(--ink);background:#fff;border:1px solid var(--line)}.sprout-hero{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:end;padding:clamp(1.2rem,5vw,3.5rem);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(232,248,255,.9));box-shadow:0 20px 60px rgba(50,84,125,.1)}.sprout-level{display:grid;place-items:center;width:120px;height:120px;border-radius:50%;color:#fff;background:linear-gradient(145deg,var(--leaf),#3eafcb);box-shadow:0 14px 28px rgba(65,180,145,.25)}.sprout-level strong{font-size:2rem}.sprout-level span{font-size:.65rem;font-weight:900}.sprout-worlds{display:flex;gap:.6rem;overflow-x:auto;padding:1rem 0;scrollbar-width:none}.sprout-worlds button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;padding:.75rem 1.1rem;color:var(--muted);background:rgba(255,255,255,.8);font-weight:850;cursor:pointer}.sprout-worlds button.active{color:#fff;background:var(--ink)}.sprout-stage{min-height:360px;padding:clamp(1rem,3vw,2rem);border:1px solid var(--line);border-radius:30px;background:rgba(255,255,255,.82)}.sprout-loading{display:grid;place-items:center;min-height:280px;color:var(--muted)}.sprout-domain-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem}.sprout-domain{display:grid;align-content:start;gap:.55rem;min-height:230px;padding:1rem;border:1px solid color-mix(in srgb,var(--domain) 48%,#d9e4ec);border-radius:24px;background:linear-gradient(155deg,color-mix(in srgb,var(--domain) 18%,white),#fff)}.sprout-domain>b{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--domain)}.sprout-domain h2{margin:.25rem 0 0}.sprout-domain p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.5}.sprout-lesson{display:grid;gap:.2rem;width:100%;margin-top:.35rem;padding:.75rem;border:0;border-radius:14px;color:var(--ink);background:rgba(32,59,91,.07);text-align:left;cursor:pointer}.sprout-lesson small{color:var(--muted)}.sprout-note{display:grid;place-items:start;gap:.8rem;min-height:280px;padding:clamp(1rem,5vw,3rem);border:2px dashed var(--line);border-radius:24px}.sprout-note h2{font-size:clamp(1.7rem,5vw,3rem);margin:0}.sprout-note p{max-width:650px;color:var(--muted);line-height:1.65}@media(max-width:720px){.sprout-wall{padding:0}.sprout-login{grid-template-columns:1fr;min-height:100vh;border:0;border-radius:0;padding:1.1rem}.sprout-login form{align-self:auto}.sprout-home{padding:0 .8rem}.sprout-home header>div:nth-child(2){display:none}.sprout-hero{grid-template-columns:1fr;border-radius:26px}.sprout-level{width:88px;height:88px}.sprout-domain-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.sprout-domain{flex:0 0 84%;scroll-snap-align:start}}
/* Expanded Sprout worlds */
.sprout-stage-title{margin-bottom:1rem}.sprout-stage-title h2{font-size:clamp(1.7rem,5vw,3rem);margin:.25rem 0}.sprout-stage-title p{color:#436174}
.sprout-lesson-detail{max-width:720px;margin:1rem auto;padding:clamp(1rem,5vw,2rem);border-radius:28px;background:#fff;border:3px solid var(--domain);box-shadow:0 20px 60px #31566b1c}.sprout-lesson-detail ol{margin:1rem 0 1.4rem;padding-left:1.4rem}.sprout-lesson-detail li{margin:.65rem 0}.sprout-lesson-detail>div{padding:1rem;border-radius:18px;background:#eef8ff}.sprout-lesson-detail button,.sprout-reflection button,.sprout-practice-grid button{border:0;border-radius:999px;background:#17384b;color:#fff;padding:.75rem 1rem;font-weight:800;margin-top:1rem}.sprout-lesson-detail .sprout-back{margin-left:.5rem;background:#e4f1f8;color:#17384b}
.sprout-practice-grid,.sprout-reward-grid,.sprout-growth-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin-top:1.2rem}.sprout-practice-grid article,.sprout-reward-grid article,.sprout-growth-summary article{padding:1rem;border-radius:22px;background:#fff;border:1px solid #cfe2ed}.sprout-practice-grid h3{margin:.4rem 0}.sprout-practice-grid p{font-size:.9rem;color:#4c6878}.sprout-practice-grid span{font-size:.72rem;font-weight:800;color:#496677;text-transform:uppercase;letter-spacing:.08em}
.sprout-reflection{display:grid;gap:.8rem;margin-top:1.2rem}.sprout-reflection input,.sprout-reflection textarea{width:100%;border:2px solid #c8e0ed;border-radius:16px;background:#fff;color:#17384b;padding:.9rem 1rem;font:inherit}.sprout-reflection textarea{min-height:150px;resize:vertical}.sprout-reflection button{justify-self:start}
.sprout-tv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.2rem}.sprout-tv-grid a{overflow:hidden;border-radius:20px;background:#fff;border:1px solid #cfe2ed;color:#17384b;text-decoration:none;box-shadow:0 12px 28px rgba(47,84,112,.08)}.sprout-tv-grid a>div:first-child{aspect-ratio:16/9;background:radial-gradient(circle at 80% 20%,rgba(255,209,102,.75),transparent 28%),linear-gradient(145deg,#dff2fc,#e9e5ff);display:grid;place-items:center}.sprout-tv-grid a>div:first-child span{font-size:1.2rem;font-weight:950;letter-spacing:.08em}.sprout-tv-grid img{width:100%;height:100%;object-fit:cover}.sprout-tv-grid strong,.sprout-tv-grid small,.sprout-tv-grid p,.sprout-tv-grid em{display:block;padding:.55rem .8rem 0}.sprout-tv-grid p{margin:0;color:#4773a7;font-size:.78rem;font-weight:750}.sprout-tv-grid small{padding-top:.2rem;color:#5c7481}.sprout-tv-grid em{padding-top:.45rem;padding-bottom:.8rem;color:#60708a;font-size:.7rem;font-style:normal}.sprout-tv-badges{display:flex!important;gap:.35rem;aspect-ratio:auto!important;justify-content:flex-start!important;padding:.65rem .8rem 0;background:none!important}.sprout-tv-badges i{padding:.25rem .42rem;border-radius:999px;background:#eaf8ef;color:#2b8051;font-size:.62rem;font-style:normal;font-weight:900}.sprout-tv-badges i:last-child{background:#edf1ff;color:#5266b4}
.sprout-activity-list{display:grid;gap:.65rem;margin-top:1rem}.sprout-activity-list article{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:16px;background:#fff;border:1px solid #cfe2ed}.sprout-activity-list span{color:#587281;font-size:.8rem}.sprout-empty{margin-top:1rem;padding:1.2rem;border:2px dashed #bbd9e8;border-radius:18px;color:#4d6c7c}.sprout-reward-grid article{text-align:center;opacity:.55}.sprout-reward-grid article.earned{opacity:1;border-color:#f1bf4e;background:#fff9df}.sprout-reward-grid b,.sprout-growth-summary b{display:block;font-size:1.6rem}.sprout-reward-grid span,.sprout-growth-summary span{color:#587281;font-size:.78rem}
@media(max-width:620px){.sprout-worlds{justify-content:flex-start;overflow-x:auto}.sprout-worlds button{flex:0 0 auto}.sprout-activity-list article{align-items:flex-start;flex-direction:column}.sprout-lesson-detail .sprout-back{display:block;margin-left:0}}

/* Canonical tablet-world navigation: four dominant entrances at desktop/tablet width. */
.sprout-worlds{gap:.75rem;padding:1rem .15rem .65rem;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;cursor:grab;user-select:none}
.sprout-worlds.is-dragging{cursor:grabbing;scroll-snap-type:none}
.sprout-worlds.is-dragging button{pointer-events:none}
.sprout-worlds::-webkit-scrollbar{display:none}
.sprout-worlds button{display:grid;align-content:end;gap:.25rem;flex:0 0 calc((100% - 2.25rem)/4);min-width:190px;min-height:168px;border-radius:28px;padding:1rem;color:var(--ink);background:linear-gradient(145deg,#fff8d6,#ffd166);text-align:left;scroll-snap-align:start;box-shadow:0 14px 30px rgba(48,82,118,.11);transition:transform .18s ease,box-shadow .18s ease}
.sprout-worlds button:nth-child(2){background:linear-gradient(145deg,#e6fff0,#75dda0)}
.sprout-worlds button:nth-child(3){background:linear-gradient(145deg,#e7f8ff,#70d7ff)}
.sprout-worlds button:nth-child(4){background:linear-gradient(145deg,#ffeaf4,#ff8fbd)}
.sprout-worlds button:nth-child(n+5){background:linear-gradient(145deg,#f0edff,#afa2ff)}
.sprout-worlds button b{display:grid;place-items:center;align-self:start;width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.72);font-size:.72rem;letter-spacing:.05em}
.sprout-worlds button span{font-size:1.25rem}
.sprout-worlds button small{color:#405269;font-size:.72rem}
.sprout-worlds button:is(:hover,:focus-visible,.active){color:var(--ink);background-color:transparent;transform:translateY(-4px);box-shadow:0 20px 34px rgba(39,73,110,.18);outline:3px solid rgba(23,35,59,.2);outline-offset:2px}
.sprout-world-controls{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;margin-bottom:1rem;color:var(--muted);font-size:.72rem}
.sprout-world-controls button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-weight:900;cursor:pointer}
@media(max-width:720px){.sprout-worlds button{flex:0 0 82%;min-width:0;min-height:150px}.sprout-world-controls{justify-content:center}}
@media(prefers-reduced-motion:reduce){.sprout-worlds,.sprout-worlds button{scroll-behavior:auto;transition:none}.sprout-worlds button:is(:hover,:focus-visible,.active){transform:none}}

/* Built-in child-safe game world. Game evidence is practice, never mastery. */
.sprout-game-card{width:min(680px,100%);padding:clamp(1rem,5vw,2rem);border:3px solid #7a63e8;border-radius:30px;background:radial-gradient(circle at 90% 5%,rgba(255,209,102,.45),transparent 30%),#fff;box-shadow:0 24px 55px rgba(69,77,143,.16)}.sprout-game-card>strong{display:block;margin:1.1rem 0 .35rem;font-size:clamp(1.7rem,6vw,3.2rem);line-height:1.05}.sprout-game-card>p{margin:.3rem 0;color:#526d7d}.sprout-game-card>small{display:block;margin-top:1rem;color:#60708a}.sprout-game-progress{display:grid;gap:.35rem;color:#526d7d;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.sprout-game-progress i{display:block;overflow:hidden;height:10px;border-radius:999px;background:#e7ebf7}.sprout-game-progress i:after{content:"";display:block;width:var(--game-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,#477dff,#7a63e8,#ff7eb6);transition:width .2s ease}.sprout-game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:1.2rem}.sprout-game-choices button,.sprout-game-finish button{min-height:58px;border:0;border-radius:18px;padding:.7rem 1rem;background:#17384b;color:#fff;font-weight:900;cursor:pointer}.sprout-game-choices button:last-child{background:linear-gradient(135deg,#7a63e8,#ff7eb6)}.sprout-game-feedback{padding:.7rem .85rem;border-radius:14px;background:#eef8ff}.sprout-game-finish{display:grid;gap:1rem;width:min(620px,100%);padding:1.2rem;border-radius:26px;background:#fff;border:2px solid #80d7a2}.sprout-game-finish>div{display:grid}.sprout-game-finish strong{font-size:clamp(2.5rem,10vw,5rem);line-height:1;color:#477dff}.sprout-game-finish span,.sprout-game-finish small{color:#60708a}.sprout-game-finish .sprout-back{background:#e4f1f8;color:#17384b}
@media(max-width:520px){.sprout-game-choices{grid-template-columns:1fr}.sprout-game-card{border-radius:22px}}
@media(prefers-reduced-motion:reduce){.sprout-game-progress i:after{transition:none}}

/* My Sprout: evidence becomes a personal garden, never a leaderboard. */
.sprout-growth-garden{width:100%;margin-top:.4rem;padding:1rem;border-radius:28px;background:linear-gradient(#dff6ff 0 62%,#e5f2c9 62% 100%);box-shadow:inset 0 0 0 1px rgba(64,107,119,.12)}.sprout-growth-garden>header{display:grid;gap:.2rem;margin-bottom:1rem}.sprout-growth-garden>header strong{font-size:1.25rem}.sprout-growth-garden>header span{color:#4d6c7c;font-size:.8rem}.sprout-growth-garden>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.sprout-garden-plot{display:grid;justify-items:center;gap:.25rem;min-height:190px;padding:.8rem;border:1px solid rgba(60,105,112,.14);border-radius:22px;background:rgba(255,255,255,.76);text-align:center}.sprout-garden-plot>strong{margin-top:.3rem}.sprout-garden-plot>span{color:#367355;font-weight:850}.sprout-garden-plot>small{color:#587281}.sprout-plant{position:relative;width:84px;height:92px}.sprout-plant i{position:absolute;left:40px;bottom:8px;width:5px;height:var(--plant-height,18px);border-radius:999px;background:#3e9a61;transform-origin:bottom;transition:height .35s ease}.sprout-plant b{position:absolute;left:20px;bottom:34px;width:31px;height:18px;border-radius:100% 10% 100% 10%;background:var(--garden);opacity:0;transform:rotate(18deg) scale(.5);transition:opacity .35s ease,transform .35s ease}.sprout-plant b:nth-child(3){left:42px;bottom:50px;transform:rotate(160deg) scale(.5)}.sprout-plant em{position:absolute;left:28px;bottom:59px;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle,#ffd166 0 24%,var(--garden) 26% 100%);opacity:0;transform:scale(.4);transition:opacity .35s ease,transform .35s ease}.sprout-garden-plot.sprout .sprout-plant i{--plant-height:42px}.sprout-garden-plot.sprout .sprout-plant b:first-of-type,.sprout-garden-plot.grow .sprout-plant b,.sprout-garden-plot.bloom .sprout-plant b{opacity:1;transform:rotate(18deg) scale(1)}.sprout-garden-plot.grow .sprout-plant i,.sprout-garden-plot.bloom .sprout-plant i{--plant-height:72px}.sprout-garden-plot.grow .sprout-plant b:nth-child(3),.sprout-garden-plot.bloom .sprout-plant b:nth-child(3){transform:rotate(160deg) scale(1)}.sprout-garden-plot.bloom .sprout-plant em{opacity:1;transform:scale(1)}.sprout-growth-history{width:100%;margin-top:.75rem;padding:.8rem 1rem;border:1px solid #cfe2ed;border-radius:18px;background:#fff}.sprout-growth-history summary{cursor:pointer;font-weight:850}.sprout-growth-ownership{font-size:.78rem!important}.sprout-note>.sprout-growth-summary{width:100%}
@media(max-width:520px){.sprout-growth-garden>div{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.sprout-garden-plot{flex:0 0 78%;scroll-snap-align:center}}
@media(prefers-reduced-motion:reduce){.sprout-plant i,.sprout-plant b,.sprout-plant em{transition:none}}

/* Academy hierarchy and evidence-aware progression. */
.sprout-skill-list{display:grid;gap:.45rem;margin-top:.55rem}.sprout-skill-list details{overflow:hidden;border:1px solid color-mix(in srgb,var(--domain) 38%,#d9e4ec);border-radius:15px;background:rgba(255,255,255,.72)}.sprout-skill-list summary{display:grid;gap:.12rem;padding:.7rem .75rem;cursor:pointer;list-style:none}.sprout-skill-list summary::-webkit-details-marker{display:none}.sprout-skill-list summary span{font-weight:900}.sprout-skill-list summary small{color:#60708a;font-size:.68rem}.sprout-skill-list details[open] summary{background:color-mix(in srgb,var(--domain) 16%,white)}.sprout-skill-list .sprout-lesson{width:calc(100% - .8rem);margin:.4rem}.sprout-mastery-path{display:flex!important;gap:.35rem!important;overflow-x:auto;padding:.7rem!important;background:#f5f8ff!important}.sprout-mastery-path span{flex:0 0 auto;padding:.35rem .52rem;border:1px solid #d4deeb;border-radius:999px;color:#60708a;font-size:.64rem;font-weight:850;text-transform:capitalize}.sprout-mastery-path span.reached{border-color:#80d7a2;background:#eaf8ef;color:#2b8051}.sprout-mastery-path span.current{border-color:var(--domain);background:color-mix(in srgb,var(--domain) 24%,white);color:#17384b;box-shadow:0 0 0 2px color-mix(in srgb,var(--domain) 25%,transparent)}.sprout-lesson-facts{display:flex!important;gap:.4rem!important;flex-wrap:wrap;padding:.7rem!important;background:transparent!important}.sprout-lesson-facts span{padding:.3rem .48rem;border-radius:999px;background:#edf3f8;color:#496677;font-size:.68rem;font-weight:800}.sprout-lesson-detail>small{display:block;margin-top:.8rem;padding:.65rem;border-radius:12px;background:#fff4d6;color:#76561b}

/* Ascension Teen is the same protected child account with a more mature shell. */
body[data-experience="teen"]{--ink:#eef3ff;--muted:#aebbd2;--paper:#18233a;--line:rgba(186,204,234,.17);background:radial-gradient(circle at 8% 8%,rgba(74,118,255,.22),transparent 34%),radial-gradient(circle at 88% 12%,rgba(49,214,184,.14),transparent 30%),linear-gradient(150deg,#09101e,#111a2e 52%,#0e2530);color:var(--ink)}
body[data-experience="teen"] .sprout-brand span{background:linear-gradient(135deg,#d7e4ff,#8fe6d2);color:#101a2d}
body[data-experience="teen"] .sprout-home header button{color:var(--ink);background:#18233a;border-color:var(--line)}
body[data-experience="teen"] .sprout-hero{background:linear-gradient(145deg,rgba(25,37,61,.96),rgba(14,48,61,.9));box-shadow:0 24px 70px rgba(0,0,0,.28)}
body[data-experience="teen"] .sprout-level{background:linear-gradient(145deg,#527cff,#35bea4);box-shadow:0 16px 34px rgba(53,190,164,.2)}
body[data-experience="teen"] .eyebrow{color:#8fe6d2}
body[data-experience="teen"] .sprout-worlds button{border-color:rgba(216,228,255,.12);color:#eef3ff;background:linear-gradient(145deg,#23365e,#31599a);box-shadow:0 16px 36px rgba(0,0,0,.24)}
body[data-experience="teen"] .sprout-worlds button:nth-child(2){background:linear-gradient(145deg,#26345a,#6454a2)}
body[data-experience="teen"] .sprout-worlds button:nth-child(3){background:linear-gradient(145deg,#153d50,#167a87)}
body[data-experience="teen"] .sprout-worlds button:nth-child(4){background:linear-gradient(145deg,#3c294f,#8b457f)}
body[data-experience="teen"] .sprout-worlds button:nth-child(n+5){background:linear-gradient(145deg,#22324c,#355c69)}
body[data-experience="teen"] .sprout-worlds button b{background:rgba(255,255,255,.12)}
body[data-experience="teen"] .sprout-worlds button small{color:#c2cee0}
body[data-experience="teen"] .sprout-worlds button:is(:hover,:focus-visible,.active){color:#fff;outline-color:rgba(143,230,210,.48)}
body[data-experience="teen"] .sprout-world-controls button{background:#18233a;color:#eef3ff;border-color:var(--line)}
body[data-experience="teen"] .sprout-stage{background:rgba(17,26,46,.9);box-shadow:0 22px 60px rgba(0,0,0,.22)}
body[data-experience="teen"] .sprout-domain,body[data-experience="teen"] .sprout-note,body[data-experience="teen"] .sprout-practice-grid article,body[data-experience="teen"] .sprout-reward-grid article,body[data-experience="teen"] .sprout-growth-summary article{background:linear-gradient(155deg,color-mix(in srgb,var(--domain,#527cff) 15%,#18233a),#18233a);border-color:var(--line)}
body[data-experience="teen"] .sprout-domain p,body[data-experience="teen"] .sprout-stage-title p,body[data-experience="teen"] .sprout-note p{color:#aebbd2}
body[data-experience="teen"] .sprout-lesson{color:#eef3ff;background:rgba(230,239,255,.08)}
body[data-experience="teen"] .sprout-lesson small{color:#aebbd2}
body[data-experience="teen"] .sprout-skill-list details{background:rgba(9,16,30,.32);border-color:var(--line)}
body[data-experience="teen"] .sprout-skill-list summary small{color:#aebbd2}
body[data-experience="teen"] .sprout-skill-list details[open] summary{background:rgba(143,230,210,.08)}
body[data-experience="teen"] .sprout-empty{border-color:var(--line);color:#aebbd2}

/* Teen-only AP chat: child-scoped history and a mature, bounded conversation surface. */
.teen-chat{display:grid;grid-template-rows:auto minmax(320px,52vh) auto;gap:1rem}.teen-chat header h2{margin:.25rem 0;font-size:clamp(1.8rem,5vw,3rem)}.teen-chat header p{margin:.35rem 0;color:var(--muted)}.teen-chat-log{display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;padding:1rem;border:1px solid var(--line);border-radius:24px;background:rgba(0,0,0,.08)}.teen-chat-log article{max-width:min(78%,720px);padding:.8rem 1rem;border-radius:20px;background:#22324c}.teen-chat-log article.mine{align-self:flex-end;background:#31599a}.teen-chat-log article.ap{align-self:flex-start}.teen-chat-log article b{font-size:.7rem;color:#8fe6d2}.teen-chat-log article p{margin:.3rem 0 0;color:#eef3ff;white-space:pre-wrap;line-height:1.55}.teen-chat-log article.thinking{opacity:.72}.teen-chat form{display:grid;gap:.55rem}.teen-chat form label{font-size:.75rem;font-weight:850}.teen-chat textarea{width:100%;min-height:90px;resize:vertical;padding:1rem;border:1px solid var(--line);border-radius:18px;background:#101a2d;color:#eef3ff;font:inherit}.teen-chat form>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}.teen-chat form small{color:var(--muted)}.teen-chat form button{min-width:110px;min-height:48px;border:0;border-radius:16px;background:linear-gradient(135deg,#527cff,#35bea4);color:#fff;font-weight:900}@media(max-width:620px){.teen-chat{grid-template-rows:auto minmax(300px,52vh) auto}.teen-chat-log article{max-width:90%}.teen-chat form>div{align-items:stretch;flex-direction:column}.teen-chat form button{width:100%}}

/* One household doorway, separate child profiles. */
.sprout-profile-chooser{align-self:end;padding:1.1rem;border:1px solid var(--line);border-radius:24px;background:var(--paper)}
.sprout-profile-chooser h2{margin:.35rem 0;font-size:clamp(1.45rem,4vw,2.2rem)}
.sprout-profile-chooser>p{margin:.25rem 0 1rem;color:var(--muted);line-height:1.5}
.sprout-profile-chooser>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.65rem}
.sprout-profile-chooser>div button{display:grid;gap:.25rem;min-height:96px;padding:1rem;border:2px solid #d7e4f2;border-radius:18px;background:#f6fbff;color:var(--ink);text-align:left;cursor:pointer}
.sprout-profile-chooser>div button:hover,.sprout-profile-chooser>div button:focus-visible{border-color:#477dff;outline:3px solid rgba(71,125,255,.18);outline-offset:2px}
.sprout-profile-chooser small{color:var(--muted)}
.sprout-profile-chooser .sprout-chooser-back{margin-top:.8rem;border:0;background:transparent;color:#3567d5;font-weight:800;cursor:pointer}
@media(max-width:720px){.sprout-profile-chooser{align-self:auto}}
