/* Figma page 03: real course workspace and compact, reachable mobile lessons. */
.child-mode .child-brand .brand-mark{display:grid;place-items:center;background:transparent;border-radius:0;width:26px;height:30px}
.child-brand .brand-mark img,.child-nav-icon img,.learning-preferences img{display:block;flex:none}
.child-nav-icon{display:none}
.child-mode .child-header .child-profile{grid-column:3;justify-self:end;margin-left:0}
.child-mode.classroom-mode .child-header{grid-template-columns:1fr auto}
.child-mode.classroom-mode .child-header .child-profile{grid-column:2}
.child-mode .child-main{padding:32px;max-width:1440px}
.child-home-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.child-home-left{min-width:0;display:flex;flex-direction:column;gap:24px}
#learning-home-assistant{min-width:0}
#learning-home-assistant .assistant-poster{height:100%;min-height:0;object-fit:contain;border-radius:0}
#learning-home-assistant .assistant-tail{width:24px;height:14px;min-height:0;object-fit:contain;aspect-ratio:auto;border-radius:0}
#learning-home-assistant .assistant-message{font-size:20px;line-height:32px;font-weight:400;color:#23334d}
#learning-home-assistant .assistant-presence{font-size:14px;line-height:22px;color:#5c6d85;margin:16px 0 0}
.child-home-workspace .guided-home-heading{height:80px;margin:0;align-items:flex-start}
.child-home-workspace .guided-home-heading h1{font-size:24px;line-height:34px;letter-spacing:0;font-weight:700;margin:0 0 4px}
.child-home-workspace .guided-home-heading p{font-size:14px;line-height:22px;margin:0;color:var(--color-text-secondary)}
.home-learner{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--color-text-secondary);padding-top:4px}
.home-learner-avatar{display:grid;place-items:center;width:40px;height:40px;background:var(--color-warning-soft);color:var(--color-warning);border-radius:50%;flex:none}
.child-home-workspace .course-invitation{display:flex;align-items:center;justify-content:flex-start;gap:32px;min-height:348px;padding:32px;border:0;border-radius:32px;overflow:visible;background:linear-gradient(120deg,#e7f5f1 0%,#edf6ff 80%,#e5f0ff 100%);box-shadow:var(--shadow-card)}
.child-home-workspace .guided-home-art{flex:0 0 260px;width:260px;height:230px;display:flex;align-items:center;background:transparent}
.child-home-workspace .guided-home-art img{width:100%;height:auto;min-height:0;aspect-ratio:16/10;object-fit:cover;object-position:center;border-radius:24px}
.child-home-workspace .guided-home-copy{min-width:0;flex:1;padding:0;justify-content:flex-start}
.child-home-workspace .guided-kicker{font-size:13px;color:var(--color-success);line-height:20px}
.child-home-workspace .guided-home-copy h2{font-size:32px;line-height:48px;font-weight:600;color:var(--color-text);margin:10px 0;overflow-wrap:anywhere}
.child-home-workspace .guided-story-meta{display:flex;flex-direction:column;gap:4px;margin:0;font-size:15px;line-height:23px;color:var(--color-text-secondary)}
.child-home-workspace .guided-home-actions{margin-top:32px;gap:0}
.child-home-workspace .guided-home-actions .btn{height:56px;min-width:0;width:min(250px,100%);padding:12px 20px;justify-content:center;border-radius:16px;font-size:18px;line-height:28px;background:var(--color-success-action);border-color:var(--color-success-action);color:#fff;box-shadow:0 6px 16px #248e831b}
.child-home-workspace .guided-home-actions .btn:hover{background:#187c73;border-color:#187c73}
.home-course-outline{margin-top:14px;font-size:12px;color:var(--color-text-secondary)}
.home-course-outline summary{cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.home-course-outline summary:before{content:'+';font-size:15px;color:var(--muted)}
.home-course-outline[open] summary:before{content:'−'}
.child-home-workspace .course-outline{margin:12px 0 0;padding:12px 0;gap:8px 12px;border-bottom:0}
.child-home-workspace .course-outline li{font-size:13px;gap:8px}
.home-course-library{min-width:0}
.home-course-library>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.home-course-library>header h2{font-size:20px;line-height:30px;font-weight:500;margin:0}
.home-course-library>header .btn{min-height:32px;height:32px;min-width:150px;font-size:12px;padding:5px 16px;border-radius:10px}
.home-course-library .courses-grid{gap:16px}
.child-mode .home-course-library .course-card{border:0;border-radius:22px;padding:16px;min-height:210px;background:#fff;box-shadow:var(--shadow-card);transition:background var(--duration-fast),box-shadow var(--duration-fast),transform var(--duration-fast)}
.child-mode .home-course-library .course-card:hover{background:#fff;box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}
.child-mode .home-course-library .course-cover{height:106px;border-radius:14px;background:#f3f7fb;overflow:hidden}
.child-mode .home-course-library .course-cover img{min-height:0;height:100%;object-fit:contain;aspect-ratio:auto}
.child-mode .home-course-library .course-info{padding:12px 0 0;gap:6px}
.child-mode .home-course-library .course-info h3{font-size:18px;line-height:27px;margin:0;flex:none;font-weight:600;overflow-wrap:anywhere}
.child-mode .home-course-library .course-info .row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0}
.child-mode .home-course-library .course-info .row>span{font-size:11px;line-height:18px}
.child-mode .home-course-library .course-info .btn{min-width:0;min-height:32px;padding:3px 0;font-size:13px;color:var(--color-success);background:transparent;border:0;box-shadow:none;justify-content:flex-start}
.child-mode .home-course-library .course-info .btn:hover{text-decoration:underline}
#learning-home-assistant .learning-assistant{min-height:calc(100dvh - 120px);justify-content:center;background:linear-gradient(160deg,#f7fbff,#eaf4ff)}
.child-mode .child-download-entry{margin-top:24px;padding-top:12px;align-items:center;gap:16px;border:0}
.child-download-entry strong{font-size:12px}
.child-download-entry p{font-size:11px}
.classroom-toolbar-actions{display:flex;align-items:center;gap:12px;flex:none}
.mobile-assistant-replay{display:none!important}
.child-mode.classroom-mode .child-main{padding:32px 32px 16px;max-width:1440px}
.guided-classroom{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0 24px;align-items:start}
.guided-toolbar{grid-column:1;min-height:80px;margin:0;align-items:flex-start;padding-top:0;justify-content:flex-start}
.guided-toolbar h1{font-size:24px;line-height:34px;font-weight:700;text-align:left;flex:1;min-width:0;overflow-wrap:anywhere}
.guided-toolbar .btn{min-height:36px;padding:6px 14px;font-size:13px;border:1px solid transparent;border-radius:12px;background:#eaf1f9}
.guided-content{display:contents}
.learning-canvas{grid-column:1;grid-row:2;min-width:0}
#learning-assistant{grid-column:2;grid-row:1 / span 2;min-width:0}
#learning-assistant .learning-assistant{background:linear-gradient(160deg,#f7fbff,#eaf4ff);min-height:calc(100dvh - 120px);justify-content:center}
.learning-statusbar{grid-column:1 / -1;font-size:11px;padding:14px 0 0}
.guided-classroom .mvp-question{min-height:620px;padding:24px 32px;border:0;border-radius:28px;box-shadow:var(--shadow-card)}
.guided-classroom .mvp-question:has(.multi-options.picture-options){min-height:656px;gap:0}
.guided-classroom .mvp-question:has(.multi-options.picture-options) .guided-progress{display:none}
.guided-classroom .mvp-question h2{font-size:28px;line-height:42px;font-weight:500;margin:0 0 20px}
.multi-cue:before{content:' · '}
.multi-cue{font-size:13px;color:var(--color-success)}
.guided-classroom .picture-options.multi-options .answer-option{min-height:190px;padding:12px;gap:8px;border-radius:20px}
.guided-classroom .picture-options.multi-options .answer-option.selected{padding:12px}
.guided-classroom .picture-options.multi-options .answer-option img{height:138px}
.guided-classroom .answer-option.multi-option .option-check{border-radius:6px;border:1px solid #bfcce0;background:#f3f7fb;color:#fff}
.guided-classroom .picture-options .multi-option:not(.selected) .option-check{border:1px solid #bfcce0}
.guided-classroom .picture-options .multi-option:not(.selected) .option-check:after{display:none}
.guided-classroom .answer-option.multi-option.selected .option-check{background:var(--color-primary);border-color:var(--color-primary)}
.guided-classroom .answer-option.multi-option.result-correct .option-check{background:var(--color-success);border-color:var(--color-success)}
.guided-classroom .answer-option.multi-option.result-retry .option-check{background:var(--color-warning);border-color:var(--color-warning)}
.guided-classroom .courseware-nav .btn.primary{background:var(--color-success-action);border-color:var(--color-success-action);color:#fff}
.guided-classroom .courseware-nav .btn.primary:hover{background:#187c73;border-color:#187c73}
.guided-classroom .courseware-nav .btn{min-height:48px;border-radius:10px}
.guided-classroom .courseware-nav .btn.primary{min-width:180px}
.guided-classroom .courseware-nav.retry-actions .btn[data-live=try-again]{margin-left:auto;order:3}
.guided-classroom .courseware-nav.retry-actions .skip-action{margin-left:0;order:2;font-size:14px;color:var(--color-text-secondary)}
.courseware-response:empty{display:none}
/* One classroom viewport: give the reading area the remaining space instead of
   stacking independent viewport-sized cards. Long authored copy scrolls here. */
@media(min-width:761px){
 .child-mode.classroom-mode .child-main{height:calc(100dvh - 56px);min-height:0;padding:20px 32px 12px}
 .guided-classroom{height:100%;min-height:0;grid-template-rows:44px minmax(0,1fr) 22px;row-gap:12px}
 .guided-toolbar{grid-row:1;min-height:0;height:44px;margin:0;align-items:center}
 .guided-toolbar h1{font-size:22px;line-height:30px}
 .guided-toolbar h1 small{display:inline-block;line-height:16px;margin:0 0 0 8px}
 .learning-canvas{min-height:0;height:100%}
 #learning-assistant{min-height:0;height:100%}
 #learning-assistant .learning-assistant{height:100%;min-height:0;padding:16px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;justify-content:initial;row-gap:8px}
 #learning-assistant .assistant-bubble{min-height:0;max-height:none;overflow:visible;padding:20px}
 #learning-assistant .assistant-message{font-size:19px;line-height:30px;max-height:160px;overflow:auto;scrollbar-width:thin}
 #learning-assistant .assistant-robot{width:100%;max-width:276px;height:100%;max-height:359px;min-height:0;margin:8px 0;align-self:center;justify-self:center}
 #learning-assistant .assistant-presence{margin:0;font-size:13px;line-height:20px}
 #learning-assistant .assistant-controls{min-height:44px;margin:0}
 .learning-statusbar{grid-row:3;min-height:0;padding:0;align-items:center}
 .guided-classroom .mvp-question,.guided-classroom .mvp-question:has(.multi-options.picture-options),.guided-classroom .guided-story{height:100%;min-height:0;max-height:100%;padding:24px;overflow:hidden}
 .guided-classroom .guided-story{display:none;flex-direction:column}
 .guided-classroom.guided-watching .guided-story{display:flex}
 .guided-classroom .guided-step-head{flex:none;margin:0}
 .guided-classroom .guided-progress{flex:none;margin:12px 0 16px;height:4px}
 .guided-classroom .mvp-question h2,.guided-classroom .guided-story h2{flex:none;font-size:clamp(22px,2vw,28px);line-height:1.4;margin:0 0 16px}
 .guided-classroom .courseware-body{flex:1 1 0;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd8e6 transparent;padding:8px; margin:-8px;overscroll-behavior:contain}
 .guided-classroom .courseware-response{flex:none;min-height:0;max-height:25%;overflow:auto;margin:12px 0}
 .guided-classroom .courseware-response:empty{margin:0}
 .guided-classroom .courseware-response .mvp-feedback{padding:10px 14px}
 .guided-classroom .courseware-response .mvp-feedback p{font-size:16px;line-height:1.5}
 .guided-classroom .courseware-nav,.guided-classroom .guided-story-actions{flex:none;min-height:0;margin:16px 0 0;padding:12px 0 0;gap:12px}
 .guided-classroom .courseware-nav .btn{min-height:46px;padding:10px 18px}
 .guided-classroom .courseware-body:has(.picture-options)>.guided-step-body:not(:has(.question-context)){height:100%;display:flex;flex-direction:column}
 .guided-classroom .courseware-body:has(.picture-options) .guided-step-answer:not(:has(.question-context)){height:100%;min-height:0;display:flex;flex-direction:column}
 .guided-classroom .courseware-options.picture-options{flex:1 1 0;min-height:0;grid-auto-rows:minmax(112px,1fr);max-height:360px;align-content:start;gap:12px}
 .guided-classroom .courseware-options.picture-options.multi-options{max-height:none}
 .guided-classroom .picture-options .answer-option,.guided-classroom .picture-options.multi-options .answer-option{min-height:112px;padding:10px;gap:8px;border-radius:20px;overflow:visible}
 .guided-classroom .picture-options .answer-option.selected,.guided-classroom .picture-options.multi-options .answer-option.selected{padding:10px}
 .guided-classroom .picture-options .answer-option img,.guided-classroom .picture-options.multi-options .answer-option img{flex:1 1 0;height:0;min-height:0;max-height:280px}
 .guided-classroom .picture-options .answer-option span.option-label{flex:0 0 24px;min-height:24px}
 .guided-classroom .courseware-body:has(>video),.guided-classroom .mvp-video{display:flex;flex-direction:column;min-height:0;flex:1 1 0}
 .guided-classroom .courseware-body>video,.guided-classroom .mvp-video>video{flex:1 1 0;width:100%;height:0;min-height:0;max-height:100%;object-fit:contain;background:#23334d;border-radius:16px}
 .guided-classroom .video-playback-options{flex:none}
}
@media(min-width:761px) and (max-height:800px){
 .guided-classroom .breathing-guide{padding:4px}
 .guided-classroom .breathing-symbol{width:56px;height:56px;margin:6px auto}
 .guided-classroom .breathing-guide h3{font-size:24px;line-height:33px;margin:10px 0}
 .guided-classroom .breathing-rounds{margin:12px 0}
 .guided-classroom .breathing-rounds span{width:36px;height:36px}
 .guided-classroom .breathing-guide .courseware-copy{font-size:17px;line-height:1.6}
 .guided-classroom .breathing-guide .courseware-copy p{margin-bottom:8px}
 .guided-classroom .breathing-guide .courseware-copy p:last-child{margin-bottom:0}
}
/* Selection uses a geometric SVG check instead of a font-baseline dot. */
.guided-classroom .answer-option .option-check{line-height:0;position:relative}
.guided-classroom .answer-option .option-check svg{display:block;width:16px;height:16px;flex:none;stroke:currentColor}
.guided-classroom .picture-options .answer-option:not(.selected) .option-check{border:2px solid #c6d5e7;background:transparent}
.guided-classroom .picture-options .answer-option:not(.selected) .option-check:after{display:none}
.guided-classroom .answer-option.answer-hint,.guided-classroom .courseware-nav .btn.answer-hint{outline:var(--hint-width,3px) solid var(--hint-color);outline-offset:2px;box-shadow:0 0 var(--hint-glow,8px) var(--hint-soft);animation:learning-hint 2s ease-in-out infinite}
.reduced-motion .guided-classroom .answer-hint{animation:none}
@media(prefers-reduced-motion:reduce){.guided-classroom .answer-hint{animation:none!important}}
@media(min-width:761px){
 html.native-client .child-mode .child-header{padding:12px;gap:24px}
 html.native-client .child-header .brand-mark{width:48px;height:48px;background:var(--color-primary-soft);border-radius:16px}
 html.native-client .child-nav{gap:24px}
 html.native-client .child-nav a{width:48px;min-width:48px;height:48px;padding:0;display:grid;place-items:center;border-radius:16px}
 html.native-client .child-nav a>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html.native-client .child-nav-icon{display:grid;place-items:center;width:22px;height:22px}
 html.native-client .child-mode .child-header .child-profile{width:48px;align-items:center;justify-self:auto}
 html.native-client .learning-preferences{width:48px;height:48px}
 html.native-client .child-mode .child-main,html.native-client .child-mode.classroom-mode .child-main{padding:32px 32px 16px}
 html.native-client #learning-home-assistant .learning-assistant,html.native-client #learning-assistant .learning-assistant{min-height:calc(100dvh - 100px)}
 html.native-client .classroom-home{display:none}
}
@media(max-width:1160px) and (min-width:761px){
 .child-home-workspace .guided-home-art{flex-basis:180px;width:180px;height:200px}
 .child-home-workspace .course-invitation{gap:24px;padding:24px}
 .child-home-workspace .guided-home-copy h2{font-size:28px;line-height:42px}
 .home-course-library .courses-grid{gap:12px}
 .child-mode .home-course-library .course-card{padding:12px}
 .child-mode .home-course-library .course-info h3{font-size:16px}
 .guided-classroom .mvp-question{padding:24px}
}
@media(max-width:1000px) and (min-width:761px){
 .child-home-workspace,.guided-classroom{grid-template-columns:minmax(0,1fr) 260px;gap:0 20px}
 .child-home-workspace .course-invitation{flex-direction:column;align-items:flex-start;min-height:348px}
 .child-home-workspace .guided-home-art{width:100%;height:138px;flex-basis:138px}
 .child-home-workspace .guided-home-actions{margin-top:20px}
 .child-home-workspace .guided-home-actions .btn{height:52px;font-size:17px}
 .home-course-library .courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .child-mode .child-header{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-rows:40px 36px;gap:0 12px;height:96px;min-height:96px;padding:10px 20px}
 .child-mode .child-header .brand{font-size:16px;gap:10px}
 .child-mode .child-header .child-profile{grid-column:2;grid-row:1;gap:8px}
 .child-mode .child-nav{position:static;grid-row:2;grid-column:1 / -1;justify-self:start;width:auto;margin:0;padding:0;background:transparent;border:0;gap:12px}
 .child-mode .child-nav a{padding:4px 14px;min-height:32px;font-size:13px;flex:none}
 .child-mode.classroom-mode .child-header{height:72px;min-height:72px;grid-template-rows:1fr;padding:12px 20px;grid-template-columns:1fr auto}
 .child-mode.classroom-mode .child-nav{display:none}
 .child-mode .child-main,.child-mode.classroom-mode .child-main{padding:16px 20px;min-height:0}
 .child-home-workspace{display:flex;flex-direction:column;gap:16px}
 .child-home-left{width:100%;gap:20px;order:2}
 #learning-home-assistant{width:100%;order:1}
 .child-home-workspace .guided-home-heading{height:auto;min-height:44px;align-items:center}
 .child-home-workspace .guided-home-heading h1{font-size:22px;line-height:33px}
 .child-home-workspace .guided-home-heading p{font-size:12px;line-height:20px}
 .home-learner{display:none}
 .child-home-workspace .course-invitation{gap:16px;padding:20px;min-height:228px;flex-wrap:wrap;border-radius:24px}
 .child-home-workspace .guided-home-art{width:100px;height:110px;flex:0 0 100px}
 .child-home-workspace .guided-home-copy{min-width:160px}
 .child-home-workspace .guided-home-copy h2{font-size:25px;line-height:36px;margin:8px 0}
 .child-home-workspace .guided-story-meta{font-size:12px;line-height:20px}
 .child-home-workspace .guided-home-actions{margin-top:18px}
 .child-home-workspace .guided-home-actions .btn{height:auto;min-height:48px;font-size:16px;line-height:24px;padding:10px 12px;width:100%}
 .home-course-library>header h2{font-size:18px;line-height:27px}
 .home-course-library>header .btn{min-width:100px}
 .home-course-library .courses-grid{grid-template-columns:1fr;gap:12px}
 .child-mode .home-course-library .course-card{display:grid;grid-template-columns:100px minmax(0,1fr);min-height:128px;padding:12px;gap:12px}
 .child-mode .home-course-library .course-cover{min-height:100px;height:100%;width:100px}
 .child-mode .home-course-library .course-info{padding:0;display:flex;flex-direction:column;justify-content:center}
 .child-mode .home-course-library .course-info h3{font-size:17px;line-height:25px}
 .child-mode .home-course-library .course-info .btn{min-height:36px;font-size:13px}
 .guided-classroom{display:flex;flex-direction:column;gap:0}
 .guided-toolbar{width:100%;min-height:36px;height:auto;align-items:center;margin:0 0 12px;gap:12px}
 .guided-toolbar .classroom-home{display:none}
 .guided-toolbar h1{max-width:none;font-size:14px;line-height:21px;font-weight:500}
 .guided-toolbar .btn{min-height:36px;padding:6px 12px;font-size:13px}
 .classroom-toolbar-actions{gap:12px}
 .mobile-assistant-replay{display:inline-flex!important}
 .guided-content{display:flex;flex-direction:column;gap:12px;width:100%}
 #learning-assistant{width:100%;order:1}
 .learning-canvas{order:2;width:100%}
 #learning-assistant .learning-assistant,#learning-home-assistant .learning-assistant{width:100%;min-height:104px;padding:8px 12px 8px 16px;display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:center;column-gap:10px;row-gap:0;border:0;border-radius:18px;background:#f9fcff}
 #learning-assistant .assistant-bubble,#learning-home-assistant .assistant-bubble{grid-column:1;grid-row:1;min-height:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;width:100%}
 #learning-assistant .assistant-label,#learning-home-assistant .assistant-label{font-size:11px;line-height:17px;margin-bottom:4px}
 #learning-assistant .assistant-message,#learning-home-assistant .assistant-message{font-size:15px;line-height:23px;font-weight:500}
 #learning-assistant .assistant-status,#learning-home-assistant .assistant-status{max-width:none;min-height:16px;margin-top:4px;font-size:10px;line-height:16px}
 #learning-assistant .assistant-robot,#learning-home-assistant .assistant-robot{grid-column:2;grid-row:1;width:68px;height:88px;max-width:none;margin:0}
 #learning-assistant .assistant-tail,#learning-assistant .assistant-presence,#learning-home-assistant .assistant-tail,#learning-home-assistant .assistant-presence{display:none}
 #learning-assistant .assistant-controls{display:none}
 #learning-home-assistant .assistant-controls{grid-column:1 / -1;grid-row:2;min-height:0;margin:8px 0 0;justify-content:flex-start}
 #learning-home-assistant .assistant-replay{min-height:32px;min-width:100px;font-size:12px;padding:4px 10px;background:transparent}
 .guided-classroom .mvp-question,.guided-classroom .mvp-question:has(.multi-options.picture-options){min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;width:100%;gap:0}
 .guided-classroom .mvp-question h2{order:0;font-size:22px;line-height:33px;font-weight:500;margin:0 0 12px}
 .guided-classroom .mvp-question>.guided-step-head{order:1;min-height:22px;align-items:center;margin:0 0 12px}
 .guided-classroom .mvp-question .question-stage{display:none}
 .guided-classroom .mvp-question .multi-cue:before{content:''}
 .guided-classroom .mvp-question .courseware-page{font-size:12px;line-height:18px}
 .guided-classroom .mvp-question .guided-progress{display:none}
 .guided-classroom .mvp-question .courseware-body{order:2;flex:none}
 .guided-classroom .mvp-question .courseware-response{order:3;margin:12px 0 0}
 .guided-classroom .mvp-question .courseware-response:empty{display:none}
 .guided-classroom .picture-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .guided-classroom .picture-options .answer-option,.guided-classroom .picture-options.multi-options .answer-option{min-height:160px;padding:8px;gap:6px;border-radius:18px;background:#fff}
 .guided-classroom .picture-options .answer-option.selected,.guided-classroom .picture-options.multi-options .answer-option.selected{padding:8px;background:var(--color-primary-soft)}
 .guided-classroom .picture-options .answer-option img,.guided-classroom .picture-options.multi-options .answer-option img{height:112px;border-radius:14px}
 .guided-classroom .picture-options .option-check{width:24px;height:24px;flex-basis:24px}
 .guided-classroom .answer-option{background:#fff}
 .guided-classroom .courseware-nav{order:4;position:sticky;bottom:0;z-index:3;margin-top:12px;gap:12px;border:0;padding:8px 0 calc(8px + env(safe-area-inset-bottom));background:#f2f8fc;flex-wrap:wrap}
 .guided-classroom .courseware-nav .btn{min-height:52px;font-size:16px;padding:10px 14px}
 .guided-classroom .courseware-nav .btn[data-live=review-back]{min-width:104px}
 .guided-classroom .courseware-nav .btn.primary{min-width:0;flex:1}
 .guided-classroom .courseware-nav .btn:last-child{margin-left:0}
 .guided-classroom .courseware-nav.retry-actions .btn[data-live=try-again]{order:2;flex:1;margin-left:0}
 .guided-classroom .courseware-nav.retry-actions .skip-action{order:3;flex:0 0 100%;min-height:36px;justify-content:center;border:0;background:transparent}
 .guided-classroom .mvp-complete{padding:32px 20px;background:#fff;border-radius:24px;min-height:310px}
 .guided-classroom .mvp-complete h2{order:initial;margin-bottom:16px}
 .guided-classroom .mvp-complete+.courseware-nav .btn{min-width:0;flex:1;font-size:13px;padding:10px 8px}
 .learning-statusbar{padding:8px 0 0;width:100%;font-size:11px}
 .learning-statusbar>span:last-child{display:none}
 .guided-classroom .guided-story{padding:20px 16px;min-height:0;border-radius:24px}
 .guided-classroom .courseware-copy{font-size:17px;line-height:1.8}
 .child-download-entry strong{font-size:11px}
 .child-download-entry p{font-size:10px}
 .child-download-entry .btn{font-size:11px;padding:8px 10px;min-height:36px}
}
@media(max-width:360px){.child-home-workspace .guided-home-copy{min-width:0}.child-home-workspace .guided-home-art{width:80px;flex-basis:80px}.guided-toolbar .btn{padding-inline:10px}.classroom-toolbar-actions{gap:8px}.guided-classroom .courseware-nav .btn[data-live=review-back]{min-width:88px}}

/* Warm storybook surfaces. Keep the established viewport and answer geometry. */
body.child-mode{background:var(--color-background);color:var(--color-text)}
body.child-mode .child-header{background:#fffef9;border-bottom:1px solid #ebe9dc}
body.child-mode .child-header .brand{color:#2b5550;font-weight:700}
body.child-mode .child-nav{gap:8px;background:#f1f2e8}
body.child-mode .child-nav a{border-radius:99px;color:#597168;font-weight:600;transition:background .18s,color .18s}
body.child-mode .child-nav a:hover{background:#f0f3e7;color:#285e54}
body.child-mode .child-nav a.active{color:#276c60;background:#e7f1e4;box-shadow:inset 0 0 0 1px #d5e4cf}
body.child-mode .learning-preferences{background:#f4f2e7;border:1px solid #e9e6d8;border-radius:50%}
body.child-mode .child-profile .btn{border-radius:99px;background:transparent;border-color:#dce5d7;color:#496b5c}
body.child-mode .child-main{position:relative}
body.child-mode .child-home-workspace .guided-home-heading h1{color:#304b42;font-weight:700;letter-spacing:.02em}
body.child-mode .child-home-workspace .guided-home-heading p{color:#6a7d6c}
body.child-mode .home-learner-avatar{background:#f7e9ba;color:#836727;box-shadow:0 0 0 4px #fffef9}
body.child-mode .child-home-workspace .course-invitation{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#e9f1e1,#f7f3df 78%,#f9ead8);border:1px solid #e8ebd9;box-shadow:0 5px 0 #e4e8d736}
body.child-mode .child-home-workspace .course-invitation:before{content:'';position:absolute;right:-25px;top:-55px;width:180px;height:180px;border:25px solid #ffffff55;border-radius:50%;z-index:-1;pointer-events:none}
body.child-mode .child-home-workspace .course-invitation:after{content:'✦';position:absolute;right:26px;bottom:20px;font-size:42px;color:#d6ac52;opacity:.45;z-index:-1;pointer-events:none}
body.child-mode .child-home-workspace .guided-home-art{background:#fffdf4;border:7px solid #fffdf4;border-radius:26px;box-shadow:0 5px 0 #bdcbae33;transform:rotate(-2deg)}
body.child-mode .child-home-workspace .guided-home-art img{border-radius:19px}
body.child-mode .child-home-workspace .guided-kicker{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#486d43}
body.child-mode .child-home-workspace .guided-kicker:before{content:'';width:7px;height:7px;border-radius:50%;background:#8fa767}
body.child-mode .child-home-workspace .guided-home-copy h2{color:#2e4d40;font-weight:700}
body.child-mode .child-home-workspace .guided-home-actions .btn{border-radius:18px;background:#287567;border-color:#287567;box-shadow:0 4px 0 #1d5c5224;font-weight:600}
body.child-mode .child-home-workspace .guided-home-actions .btn:hover{background:#205f55;border-color:#205f55}
body.child-mode .home-course-library>header h2{color:#354e43;font-weight:700}
body.child-mode .home-course-library>header .btn{border-radius:99px;border-color:#e2e5d7;background:#fffdf5;color:#536d5c}
body.child-mode .home-course-library .course-card{border:1px solid #e9e8dc;border-radius:24px;background:#fffef9;box-shadow:0 4px 0 #e5e7db40}
body.child-mode .home-course-library .course-card:hover{background:#fffef9;box-shadow:0 7px 20px #65744712}
body.child-mode .home-course-library .course-cover{background:#f8f0df;border-radius:17px}
body.child-mode .home-course-library .course-card:nth-child(3n+2) .course-cover{background:#eaf1ed}
body.child-mode .home-course-library .course-card:nth-child(3n) .course-cover{background:#f9eae0}
body.child-mode .home-course-library .course-info h3{color:#354d43;font-weight:700}
body.child-mode .home-course-library .course-info .btn{min-height:40px;color:#2c7465;font-weight:600}
body.child-mode .courses-grid .course-card{border-radius:24px;border-color:#e6e6d8;background:#fffef9}
body.child-mode .btn{font-weight:600}
body.child-mode .btn.primary{box-shadow:0 3px 0 #1d5c521c}
body.child-mode .btn:focus-visible,body.child-mode .answer-option:focus-visible{outline:3px solid #588a73;outline-offset:4px}
body.child-mode .guided-toolbar h1{color:#354e43;font-weight:700}
body.child-mode .guided-toolbar .btn{background:#f0eee2;color:#526e5d;border-radius:99px}
body.child-mode .guided-classroom .mvp-question,body.child-mode .guided-classroom .guided-story{background:#fffef9;border:1px solid #eeebdd;border-radius:30px;box-shadow:0 4px 0 #e7e7d834}
body.child-mode .guided-classroom .mvp-question h2,body.child-mode .guided-classroom .guided-story h2{color:#2b4940;font-weight:600}
body.child-mode .guided-classroom .guided-step-head{color:#6c7e6b}
body.child-mode .guided-classroom .courseware-page{color:#647a62;font-variant-numeric:tabular-nums}
body.child-mode .guided-classroom .guided-progress{background:#eef0e2;border-radius:99px;overflow:hidden}
body.child-mode .guided-classroom .guided-progress>span{background:#8da76c;border-radius:99px}
body.child-mode .guided-classroom .answer-option:not(.selected):not(.result-correct):not(.result-retry){border-color:#e8e7d8;background:#faf5e9;box-shadow:0 3px 0 #e8e7d55c}
body.child-mode .guided-classroom .answer-option:nth-child(4n+2):not(.selected):not(.result-correct):not(.result-retry){background:#edf4f2;border-color:#dee8df}
body.child-mode .guided-classroom .answer-option:nth-child(4n+3):not(.selected):not(.result-correct):not(.result-retry){background:#fbefe5;border-color:#efdfd1}
body.child-mode .guided-classroom .answer-option:nth-child(4n):not(.selected):not(.result-correct):not(.result-retry){background:#f1f4e5;border-color:#e0e6cf}
body.child-mode .guided-classroom .picture-options .answer-option img{background:transparent;border-radius:15px}
body.child-mode .guided-classroom .answer-option:not(:disabled):not(.selected):not(.result-correct):not(.result-retry):hover{background:#f0f3df;border-color:#b8cdaa;box-shadow:0 4px 0 #dce5cf}
body.child-mode .guided-classroom .answer-option.selected{border-color:#387e65;background:#e7f1e1;box-shadow:0 3px 0 #cddfc3}
body.child-mode .guided-classroom .option-check{color:#718568;background:#fffdf4}
body.child-mode .guided-classroom .answer-option.result-correct{border-color:#42836a;background:#eaf4e6}
body.child-mode .guided-classroom .answer-option.result-retry{border-color:#b08d4e;background:#fff5dd}
body.child-mode .guided-classroom .courseware-nav .btn{border-radius:16px;background:#f6f3e8;border-color:#e5e6d6;color:#56705c;box-shadow:0 2px 0 #dedfcd40}
body.child-mode .guided-classroom .courseware-nav .btn.primary{background:#287567;border-color:#287567;color:white;box-shadow:0 3px 0 #1d5c5224}
body.child-mode .guided-classroom .courseware-nav .btn.primary:hover{background:#205f55;border-color:#205f55}
body.child-mode .guided-classroom .courseware-response .mvp-feedback{background:#edf5e8;border:1px solid #d8e7ce;border-radius:18px;color:#3f684d}
body.child-mode .guided-classroom .courseware-response .mvp-feedback.retry{background:#fff3dc;border-color:#eddbb2;color:#7c652f}
body.child-mode .guided-classroom .mvp-complete{background:#f6f8e9;border-radius:30px}
body.child-mode .learning-statusbar{color:#74816c}
body.child-mode #learning-assistant .learning-assistant,body.child-mode #learning-home-assistant .learning-assistant{background:linear-gradient(165deg,#edf5e9,#f8efdd);border:1px solid #e5e8d8;border-radius:30px}
body.child-mode #learning-home-assistant .assistant-message{color:#294746;font-weight:500}
body.child-mode #learning-assistant .assistant-presence,body.child-mode #learning-home-assistant .assistant-presence{color:#637c69;font-size:12px}
body.child-mode #learning-assistant .assistant-status,body.child-mode #learning-home-assistant .assistant-status{margin:0}
body.child-mode .child-download-entry{color:#6b7b69}
@media(max-width:760px){
body.child-mode .child-header{background:#fffef9}
body.child-mode .child-nav a{padding-inline:16px}
body.child-mode .child-home-workspace .guided-home-art{border-width:4px;border-radius:20px}
body.child-mode .child-home-workspace .guided-home-art img{border-radius:15px}
body.child-mode .child-home-workspace .course-invitation{border-radius:25px}
body.child-mode .home-course-library .course-card{border-radius:22px}
body.child-mode .guided-classroom .mvp-question,body.child-mode .guided-classroom .mvp-question:has(.multi-options.picture-options){border:0;border-radius:0;background:transparent;box-shadow:none}
body.child-mode .guided-classroom .mvp-question h2{font-weight:600}
body.child-mode .guided-classroom .courseware-nav{background:var(--color-background)}
body.child-mode #learning-assistant .learning-assistant,body.child-mode #learning-home-assistant .learning-assistant{background:#edf4e8;border:1px solid #e3e8d8;border-radius:22px}
body.child-mode #learning-assistant .assistant-label,body.child-mode #learning-home-assistant .assistant-label{padding:2px 7px;background:#fffdf4;font-size:11px}
body.child-mode #learning-assistant .assistant-message,body.child-mode #learning-home-assistant .assistant-message{color:#294746;line-height:25px}
body.child-mode #learning-assistant .assistant-bubble-footer,body.child-mode #learning-home-assistant .assistant-bubble-footer{margin-top:5px;gap:6px}
body.child-mode #learning-assistant .assistant-status,body.child-mode #learning-home-assistant .assistant-status{font-size:10px;line-height:16px}
body.child-mode #learning-assistant .assistant-robot,body.child-mode #learning-home-assistant .assistant-robot{width:76px;height:98px;justify-self:center}
body.child-mode #learning-assistant .assistant-bubble:after,body.child-mode #learning-home-assistant .assistant-bubble:after{display:none}
body.child-mode #learning-home-assistant .assistant-replay{border-color:#d2dfca;background:#fffdf5;box-shadow:none}

}
@media(prefers-reduced-motion:reduce){
body.child-mode *{transition:none!important}
body.child-mode .child-home-workspace .guided-home-art{transform:none}
body.child-mode .course-card:hover{transform:none}
}
body.child-mode.reduced-motion .guided-home-art,body.child-mode.reduced-motion .course-card:hover{transform:none}

