/* The playful experience keeps the original visual language. Other experiences
   change presentation only: answer controls and readable learning models remain. */
:root[data-experience="explorer"]{--paper:#f6f5ed;--ink:#203e43;--muted:#5c7070;--line:#d5dfda;--green:#245e61;--sage:#e5eee6;--gold:#d6ab58;--white:#fffef8;--shadow:0 3px 12px #203e4308}
:root[data-experience="studio"]{--paper:#f5f6f8;--ink:#25384a;--muted:#617180;--line:#dce2e7;--green:#235d69;--sage:#e7eef1;--gold:#ba8643;--peach:#f1e8df;--blue:#e8eef5;--yellow:#f2eddc;--white:#fff;--shadow:0 2px 6px #23384a06;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[data-experience] body{background:var(--paper);color:var(--ink)}
:root:not([data-experience="playful"]) h1{letter-spacing:-.045em;font-weight:680}
:root:not([data-experience="playful"]) :is(h2,h3){letter-spacing:-.025em}
:root:not([data-experience="playful"]) .eyebrow{color:var(--muted);letter-spacing:.13em;font-size:.65rem}
:root:not([data-experience="playful"]) .btn.primary{box-shadow:none;background:var(--green);color:#fff}
:root:not([data-experience="playful"]) .btn.primary:hover:not(:disabled){background:#194c55;transform:translateY(-1px)}
:root:not([data-experience="playful"]) .btn.secondary{background:var(--white);border-color:var(--line)}
:root:not([data-experience="playful"]) :is(.nav-link,.age-link,.small-action,.footer){color:var(--muted)}
:root:not([data-experience="playful"]) :is(.nav-link.active,.nav-link:hover,.age-link){background:var(--sage);color:var(--ink)}
:root:not([data-experience="playful"]) :is(a,button,input,select):focus-visible{outline:3px solid #aa702b;outline-offset:4px}
:root[data-experience="studio"] .topbar{height:88px;border-bottom:1px solid var(--line);max-width:1264px}
:root[data-experience="studio"] .brand{font-size:1.35rem;letter-spacing:-.05em;font-weight:700}
:root[data-experience="studio"] .brand-mark{border-radius:9px;width:34px;height:36px;background:#253b4e;color:#edf3f0}
:root[data-experience="studio"] .brand-mark svg{width:23px;height:23px}
:root[data-experience="studio"] .nav-link{border-radius:6px;font-size:.82rem;padding:10px 13px;font-weight:550}
:root[data-experience="studio"] :is(.sound-toggle,.age-link){border-radius:7px;border-color:var(--line);font-size:.75rem}
:root[data-experience="studio"] .avatar{display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;width:41px;height:41px;color:var(--green)}
:root[data-experience="studio"] .avatar svg{width:19px;height:19px;transform:none}
:root[data-experience="studio"] .btn{border-radius:7px;font-size:.86rem;font-weight:600}
:root[data-experience="studio"] .identity-bar{border-radius:6px;background:#edf0f3;border-color:var(--line);font-size:.7rem;color:var(--muted)}
:root[data-experience="studio"] .footer{border-top-color:var(--line);font-size:.7rem}

/* Explorer notebook and study dashboard share the same real learning record. */
.learning-home{padding-top:42px;padding-bottom:24px}
.study-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin:0 0 34px}
.study-heading .eyebrow{margin:0 0 17px}
.study-heading h1{font-size:clamp(2.6rem,4.2vw,3.8rem);line-height:1.07;max-width:700px}
.study-lead{font-size:.96rem;color:var(--muted);margin-top:19px;max-width:530px}
.experience-badge{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:.71rem;color:var(--muted);margin-top:4px;white-space:nowrap}
.experience-badge span{border-left:1px solid var(--line);padding-left:9px;margin-left:2px}
.study-overview{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(245px,1fr);gap:24px;margin-bottom:45px}
.study-resume{position:relative;isolation:isolate;overflow:hidden;display:flex;background:#203b4e;color:#f5f8fa;border:1px solid #203b4e;border-radius:12px;min-height:266px;padding:31px 33px}
.resume-content{position:relative;z-index:1;max-width:75%}
.study-resume .eyebrow{color:#b6ccd2!important;font-size:.59rem!important;margin-bottom:24px}
.study-focus{display:flex;align-items:center;gap:7px;color:#c1d6db;font-size:.76rem;margin-bottom:13px}
.study-resume h2{font-size:1.85rem;line-height:1.2;max-width:430px}
.study-resume p:not(.eyebrow){color:#c3d4dc;font-size:.84rem;max-width:380px;margin:11px 0 0;line-height:1.65}
.study-resume-actions{display:flex;align-items:center;gap:20px;margin-top:24px;flex-wrap:wrap}
.study-resume .btn.primary{background:#e8c49b!important;color:#20384b!important;min-height:46px;padding:12px 18px;font-size:.82rem}
.study-resume .btn.primary:hover:not(:disabled){background:#f2d4af!important}
.study-listen{display:flex;align-items:center;gap:7px;min-height:44px;padding:7px 0;background:transparent;font-size:.76rem;color:inherit}
.study-listen:disabled{opacity:.5}
.study-resume-art{position:absolute;inset:0 0 0 auto;width:31%;overflow:hidden;z-index:0;pointer-events:none}
.study-orbit{position:absolute;border:1px solid #acc4cd36;border-radius:50%;width:235px;height:235px;right:-48px;top:35px;transform:rotate(-25deg)}
.orbit-two{width:145px;right:-6px;top:48px;height:215px;transform:rotate(30deg)}
.orbit-three{width:135px;height:135px;right:2px;top:85px}
.study-orbit-center{position:absolute;right:48px;top:131px;color:#c8d8d955;transform:rotate(-12deg)}
.study-orbit-dot{position:absolute;width:8px;height:8px;background:#e7c59a;border-radius:50%;right:14px;top:64px}
.dot-two{width:5px;height:5px;background:#b4d0ce;right:125px;top:226px}
.study-aside{display:grid;grid-template-rows:1fr 1fr;gap:15px}
.study-progress{display:flex;align-items:flex-start;gap:16px;padding:23px;background:var(--white);border:1px solid var(--line);border-radius:11px}
.study-progress-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--sage);color:var(--green);border-radius:50%;flex-shrink:0;margin-top:4px}
.study-progress strong{display:block;font-size:2.1rem;letter-spacing:-.04em;line-height:1.1;font-weight:650;font-variant-numeric:tabular-nums}
.study-progress h2{font-size:.81rem;font-weight:600;margin-top:3px;line-height:1.5}
.study-progress p{font-size:.73rem;color:var(--muted);margin-top:10px;line-height:1.55}
.study-note{padding:20px 23px;border:1px solid var(--line);border-radius:11px;background:#edf0f3}
.study-note .eyebrow{margin-bottom:12px;font-size:.56rem!important}
.study-note p{font-size:.78rem;line-height:1.85;color:#516678}
.study-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:19px}
.study-section-heading .eyebrow{font-size:.58rem!important;margin:0 0 9px}
.study-section-heading h2{font-size:1.55rem;line-height:1.25;font-weight:650}
.study-section-heading>a{display:flex;align-items:center;gap:8px;font-size:.76rem;min-height:44px;color:var(--green)}
.study-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.study-subject-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:11px;padding:21px 20px 14px;min-height:225px;transition:border-color .15s,transform .15s,box-shadow .15s}
.study-subject-card:hover{border-color:#8bafb5;transform:translateY(-2px);box-shadow:0 4px 14px #233c4b08}
.study-subject-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:21px}
.study-subject-top .category-symbol{display:grid;place-items:center;padding:9px;border-radius:8px}
.study-subject-top .category-symbol svg{width:22px;height:22px}
.study-step{font-size:.65rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.study-subject-card h3{font-size:1.1rem;line-height:1.3;margin-bottom:9px;font-weight:650}
.study-subject-card>p{font-size:.76rem;color:var(--muted);line-height:1.65;margin:0 0 20px}
.study-subject-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:auto;padding:13px 0 0;border-top:1px solid var(--line);font-size:.66rem;color:var(--muted)}
.study-card-arrow{display:grid;place-items:center;width:26px;height:26px;color:var(--green)}
.study-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:24px;color:var(--muted);font-size:.72rem}
.study-bottom>span{display:flex;align-items:center;gap:7px}.study-bottom>a{min-height:44px;display:flex;align-items:center}
.explorer-home .study-heading h1{font-size:3.4rem;max-width:580px}
.explorer-home .experience-badge{border-radius:22px;background:#edeedc;color:#365e5b;border-color:#d8dfcc}
.explorer-home .study-resume{background:#e9eedf;color:#234c4e;border-color:#cbd9c9;border-radius:23px;min-height:285px}
.explorer-home .study-resume .eyebrow{color:#587365!important}
.explorer-home .study-focus{color:#3e6964}
.explorer-home .study-resume p:not(.eyebrow){color:#5a7165}
.explorer-home .study-resume .btn.primary{background:#285d5e!important;color:#fff!important;border-radius:12px}
.explorer-home .study-resume .btn.primary:hover{background:#194c4e!important}
.explorer-home .study-resume-art{width:33%;background:repeating-linear-gradient(0deg,transparent 0 26px,#68897815 27px 28px);opacity:.9;top:20px;bottom:20px;border-left:1px solid #a7bb9c55}
.notebook-ring{position:absolute;display:block;border:2px solid #9ab0a0;border-radius:50%;width:145px;height:145px;top:68px;left:35px}
.notebook-arrow{position:absolute;display:grid;place-items:center;border:2px solid #e9eedf;border-radius:22px;background:#c9964e;color:#fff9e8;width:77px;height:77px;left:68px;top:103px;transform:rotate(-40deg)}
.notebook-star{position:absolute;font-size:25px;color:#6d8c76;font-weight:400}.star-one{top:46px;left:29px}.star-two{top:201px;left:159px;font-size:18px}
.notebook-trail{position:absolute;width:180px;height:90px;border-top:2px dashed #91a48d;border-radius:50%;top:231px;left:7px;transform:rotate(-20deg)}
.explorer-home :is(.study-progress,.study-subject-card){border-radius:19px}
.explorer-companion{display:flex;align-items:center;gap:12px;border:1px solid #dedccb;background:#f2eddb;border-radius:18px;padding:12px 18px}
.explorer-companion>span{width:71px;flex-shrink:0}.explorer-companion svg{width:100%;height:80px}
.explorer-companion strong{font-size:.79rem;line-height:1.5;display:block}
.explorer-companion p{font-size:.68rem;color:var(--muted);display:flex;align-items:center;gap:8px;margin-top:8px}
.explorer-companion p svg{width:15px;height:15px}
.explorer-home .study-subject-top .category-symbol{border-radius:13px;padding:11px}

/* The same lesson engines gain a quieter, readable frame for older learners. */
:root:not([data-experience="playful"]) :is(.lesson-menu-tally,.lesson-stage-picker,.lesson-menu-steps,.lesson-page-heading,.adaptive-status,.teaching-card,.coach-card,.play-surface,.math-workbench,.study-explanation,.lesson-choice-card,.clue-passage,.discovery-visual,.lesson-result-list li,.parent-panel,.age-card,.admin-card){border-color:var(--line);box-shadow:none}
:root[data-experience="studio"] :is(.lesson-choice-card,.lesson-stage-picker,.lesson-menu-steps,.lesson-menu-tally,.lesson-page-heading,.teaching-card,.coach-card,.play-surface,.math-workbench,.clue-passage,.discovery-visual,.parent-panel,.admin-card,.age-card){border-radius:10px}
:root[data-experience="studio"] :is(.lesson-choice-card,.lesson-page-heading,.play-surface,.clue-passage,.parent-panel,.admin-card,.age-card){background:var(--white)}
:root[data-experience="studio"] :is(.lesson-stage-picker,.lesson-menu-tally,.lesson-menu-steps,.adaptive-status,.teaching-card,.coach-card,.discovery-visual,.math-workbench){background:#edf1f4}
:root[data-experience="studio"] :is(.answer-choice,.word-tile,.settings-select,.number-answer input,.level-card){border-radius:7px;border-color:#cad6df;color:var(--ink);background:#fff;box-shadow:none}
:root[data-experience="studio"] .answer-choice{font-size:.95rem;min-height:58px}
:root[data-experience="studio"] .answer-choice[aria-pressed="true"]{background:#e9f1f4;border-color:#658e9e}
:root[data-experience="studio"] .answer-marker{border-color:#b5c5d0}
:root[data-experience="studio"] .answer-choice[aria-pressed="true"] .answer-marker{background:var(--green);border-color:var(--green);color:#fff}
:root[data-experience="studio"] .activity-intro h1{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.25;max-width:950px;margin-left:auto;margin-right:auto}
:root[data-experience="studio"] .activity-intro>p{color:var(--muted);font-size:.9rem}
:root[data-experience="studio"] .instruction-actions .small-action{color:#43677b;font-size:.78rem}
:root[data-experience="studio"] .teaching-card{max-width:790px;padding:30px;background:#fff}
.study-explanation{padding:25px;border:1px solid var(--line);border-left:3px solid #7aa0a9;border-radius:7px;background:#f5f8fa;text-align:left;margin:21px 0}
.study-explanation>strong{font-size:.63rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;display:block;margin-bottom:13px}
.study-explanation p{font-size:1.14rem;line-height:1.85;max-width:65ch;color:var(--ink)}
:root[data-experience="studio"] .teaching-steps .filled{background:#588594}
:root[data-experience="studio"] .coach-card .study-explanation{padding:17px;margin:15px 0}
:root[data-experience="studio"] .coach-card .study-explanation p{font-size:.96rem}
:root[data-experience="studio"] .discovery-surface.no-visual{display:block;max-width:850px;margin-left:auto;margin-right:auto}
:root[data-experience="studio"] .discovery-surface.no-visual .discovery-answer{max-width:740px;margin:auto}
:root[data-experience="studio"] .discovery-surface.passage-surface{align-items:start}
:root[data-experience="studio"] .clue-passage{padding:23px}
:root[data-experience="studio"] .clue-passage p{font-size:1rem;line-height:1.85;color:var(--ink);max-width:66ch}
:root[data-experience="studio"] .clue-passage h2{font-size:1.25rem}
:root[data-experience="studio"] .feedback{font-size:.87rem;line-height:1.65}
:root[data-experience="studio"] .feedback.success{background:#e7f0eb;color:#2b5744;border-color:#cadbd1}
:root[data-experience="studio"] .lesson-menu-intro h1{font-size:2.3rem}
:root[data-experience="studio"] .lesson-choice-card h3{font-size:1.1rem}
:root[data-experience="studio"] .celebration{background:#fff;border-color:var(--line);border-radius:12px}
:root[data-experience="studio"] .lesson-finish-star{border-radius:50%;background:#e4eeec;color:#396d62;width:64px;height:64px}
:root[data-experience="studio"] .lesson-finish-star svg{width:30px;height:30px}
:root[data-experience="studio"] .lesson-result-list li{border-radius:7px;background:#f3f6f8}
:root[data-experience="studio"] .age-main .age-companion{display:block;text-align:center;border:1px solid var(--line);padding:20px;background:#fff;border-radius:9px}
:root[data-experience="studio"] .age-companion p{font-size:.88rem}
:root[data-experience="studio"] .age-card.chosen{border-color:var(--green);background:#e8f0f3}
:root[data-experience="studio"] .age-card>small{border-radius:6px;background:#eef2f4}
:root[data-experience="studio"] .age-card.chosen>small{background:var(--green);color:#fff}
:root[data-experience="explorer"] .teaching-card .participant-art{width:108px}
:root[data-experience="explorer"] .participant.compact .participant-art{width:64px}
:root[data-experience="explorer"] .actor-speech{background:#eef0e4;border-color:#d9dfcc}
:root[data-experience="explorer"] .teaching-card{background:#edf1e6}
.number-marker{position:absolute;left:var(--position);bottom:3px;display:block;width:22px;height:22px;margin:0 auto;background:#3d7180;border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #7c9ba8;transform:translateX(-50%)}
.study-achievements .page-intro{max-width:750px;text-align:left;margin:25px 0 30px}
.study-achievements .page-intro h1{font-size:2.5rem}
.achievement-summary{display:flex;align-items:center;gap:14px;margin-bottom:30px;color:var(--muted);font-size:.85rem}
.achievement-summary strong{font-size:2rem;color:var(--ink)}
.achievement-subject{margin:26px 0}.achievement-subject h2{font-size:1.2rem;margin-bottom:14px}
.achievement-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.achievement-row{display:flex;align-items:center;gap:16px;padding:19px;border:1px solid var(--line);border-radius:9px;background:var(--white)}
.achievement-row>svg{flex-shrink:0;color:#497464}.achievement-row div{flex:1;min-width:0}.achievement-row h3{font-size:.95rem;font-weight:600}.achievement-row p{font-size:.72rem;color:var(--muted);margin-top:6px}.achievement-row .small-action{font-size:.72rem;min-height:44px;flex-shrink:0}
.achievement-empty{padding:30px;background:var(--white);border:1px solid var(--line);border-radius:11px;max-width:740px}.achievement-empty h2{font-size:1.3rem;margin-bottom:12px}.achievement-empty p{font-size:.9rem;color:var(--muted);margin-bottom:20px}
.achievement-guided{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}.achievement-guided summary{cursor:pointer;padding:12px 0;font-size:.87rem}.achievement-guided ul{padding-left:22px;color:var(--muted);font-size:.86rem;line-height:2}
@media(max-width:1050px){.study-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-overview{grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr)}.study-resume-art{width:25%;opacity:.6}.study-resume{padding:27px}.resume-content{max-width:88%}}
@media(max-width:760px){
  .learning-home{padding-top:26px}.study-heading{gap:15px;flex-direction:column;margin-bottom:24px}.study-heading h1,.explorer-home .study-heading h1{font-size:2.55rem}.study-lead{font-size:.88rem;line-height:1.65;margin-top:15px}.experience-badge{margin-top:3px;font-size:.67rem;padding:7px 10px}
  .study-overview{grid-template-columns:1fr;gap:13px;margin-bottom:31px}.study-resume,.explorer-home .study-resume{padding:25px;min-height:255px}.study-resume h2{font-size:1.6rem}.study-resume .eyebrow{margin-bottom:21px}.resume-content{max-width:88%}.study-resume-art{width:27%;opacity:.45}.study-resume p:not(.eyebrow){font-size:.82rem;max-width:280px}.study-resume-actions{gap:18px;margin-top:20px}
  .study-aside{grid-template-rows:none;grid-template-columns:1fr}.study-progress{padding:17px 20px;gap:13px;align-items:center}.study-progress strong{font-size:1.65rem}.study-progress h2{display:inline-block;font-size:.79rem;margin:0 0 0 7px}.study-progress strong{display:inline-block}.study-progress p{margin-top:5px;font-size:.71rem}.study-note{padding:17px 20px}.study-note .eyebrow{margin-bottom:8px}.study-note p br{display:none}.study-note p{font-size:.75rem;line-height:1.7}.study-note p br:after{content:' '}
  .study-subject-grid{gap:11px}.study-subject-card{padding:16px 14px 12px;min-height:224px}.study-subject-top{margin-bottom:18px;gap:6px}.study-subject-top .category-symbol,.explorer-home .study-subject-top .category-symbol{padding:8px;border-radius:9px}.study-subject-top .category-symbol svg{width:19px;height:19px}.study-step{font-size:.6rem}.study-subject-card h3{font-size:1rem}.study-subject-card>p{font-size:.72rem;margin-bottom:17px}.study-subject-bottom{font-size:.61rem;line-height:1.5}.study-card-arrow{width:20px}.study-subject-bottom .study-card-arrow svg{width:17px;height:17px}.study-section-heading{align-items:flex-start;flex-direction:column;gap:5px}.study-section-heading h2{font-size:1.45rem}.study-section-heading>a{font-size:.73rem}.study-bottom{font-size:.66rem;padding-top:13px;gap:9px}
  :root[data-experience="studio"] .topbar{height:auto;padding:18px 22px 12px;gap:16px}:root[data-experience="studio"] .brand{font-size:1.2rem}:root[data-experience="studio"] .brand-mark{width:31px;height:33px}:root[data-experience="studio"] .top-actions{gap:9px}:root[data-experience="studio"] .nav-link{font-size:.73rem;padding:10px 5px;gap:5px}:root[data-experience="studio"] .nav-link svg{width:16px;height:16px}
  :root[data-experience="studio"] .activity-intro h1{font-size:1.8rem}:root[data-experience="studio"] .teaching-card{padding:21px 17px}.study-explanation{padding:20px 18px}.study-explanation p{font-size:1.04rem;line-height:1.85}:root[data-experience="studio"] .clue-passage{padding:17px}:root[data-experience="studio"] .clue-passage p{font-size:.97rem}
  .achievement-list{grid-template-columns:1fr}.achievement-row{padding:16px;gap:11px}.achievement-row h3{font-size:.88rem}.study-achievements .page-intro h1{font-size:2.1rem}
}
@media(max-width:370px){.study-subject-grid{grid-template-columns:1fr}.study-subject-card{min-height:190px}.study-subject-card h3{font-size:1.15rem}.study-subject-card>p{font-size:.8rem}.study-subject-bottom{font-size:.72rem}.study-step{font-size:.7rem}.study-heading h1,.explorer-home .study-heading h1{font-size:2.25rem}.study-resume{padding:21px}.study-resume-art{opacity:.3}.study-bottom{flex-direction:column;align-items:flex-start;gap:3px}.study-bottom>a{min-height:36px}.achievement-row{flex-wrap:wrap}.achievement-row .small-action{margin-left:30px}}
@media(prefers-reduced-motion:reduce){.study-subject-card,.btn{transition:none!important}.study-subject-card:hover{transform:none}}

:root[data-experience="studio"] .jump-character{height:35px;margin-top:16px}

:root[data-experience="studio"] .lesson-page-heading{padding:13px 18px;gap:4px 18px;margin-bottom:13px}
:root[data-experience="studio"] .lesson-page-heading h2{font-size:.97rem;line-height:1.45}
:root[data-experience="studio"] .lesson-page-heading .eyebrow{font-size:.55rem;margin-bottom:4px}
:root[data-experience="studio"] .lesson-page-heading>p{font-size:.69rem}
:root[data-experience="studio"] .lesson-question-steps li>span:first-child{width:30px;height:30px;font-size:.78rem}
:root[data-experience="studio"] .lesson-adaptive-status:not(.is-admin){background:transparent;border-radius:0;padding:0 5px;margin-bottom:22px}
:root[data-experience="studio"] .lesson-adaptive-status .adaptive-status-line{font-size:.72rem;margin-bottom:3px}
:root[data-experience="studio"] .lesson-adaptive-status .adaptive-next{font-size:.7rem;margin:3px 0 5px}
:root[data-experience="studio"] .lesson-adaptive-status .adaptive-milestone{font-size:.66rem;border:0;padding:0}
:root[data-experience="studio"] .lesson-adaptive-status .adaptive-milestone svg{width:13px;height:13px}

@media(max-width:760px){.learning-home .experience-badge{display:none}.learning-home .resume-content{max-width:100%}}
