
/* /library/teacher-guides/teen/guided-speaking-5w1h-20261110/teen-guided-style-v2.css */
html body #stage .tf-screen{width:min(1320px,100%);margin:auto;color:#173e4c;box-sizing:border-box;padding:18px 24px 36px}html body #stage .tf-screen h1{font-size:30px;line-height:1.25;margin:4px 0 20px}html body #stage .tf-screen h2{font-size:24px;line-height:1.4;margin:0 0 16px}.tf-kicker{text-transform:uppercase;font-size:12px!important;letter-spacing:.06em;color:#137a80}.tf-layout{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.7fr);gap:30px;align-items:start}.tf-picture{position:relative;margin:0;background:#f1f6f7;padding:14px;border:1px solid #dae6e9;border-radius:16px}.tf-picture>img{display:block;width:100%!important;height:min(47vh,430px)!important;object-fit:contain!important}.tf-picture figcaption{font-size:13px;text-align:center;margin-top:12px;color:#56717c}.tf-copy{min-width:0}.tf-tabs{display:flex;gap:8px;margin:12px 0 20px}.tf-tabs button{flex:1;text-align:left;padding:12px 14px;border:1px solid #bed4db;border-radius:9px;background:white;color:#195466}.tf-tabs button[aria-pressed=true]{background:#e2f0f2}.tf-passage{padding:16px;background:#f5f9fa;border:1px solid #cbdfe5;border-radius:10px;margin-bottom:16px}.tf-passage h3,.tf-help h3{text-transform:uppercase;font-size:12px;font-weight:600;color:#527381;margin:0 0 8px}.tf-passage .teen-sentence{font-size:18px!important;line-height:1.65!important;margin:6px 0!important}.tf-help{padding:16px;border:1px solid #d1e1e6;border-radius:12px}.tf-ladder{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 14px;gap:6px}.tf-ladder li{font-size:12px;padding:5px 8px;border-radius:6px;background:#eff4f6;color:#637e89}.tf-ladder li[aria-current]{background:#16757c;color:white}.tf-hint-content p{font-size:17px;line-height:1.5;margin:8px 0 16px}.tf-help-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.tf-help-actions button{padding:10px 14px;border:1px solid #9fc5d0;background:#eff8fa;border-radius:8px;color:#185267;font-size:14px}.tf-transfer{padding:14px 16px;background:#f4f5fc;border-left:3px solid #b9c7f5;margin-top:16px;line-height:1.5}.tf-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.tf-gallery article{min-width:0}.tf-gallery-image{position:relative;background:#f0f6f7}.tf-gallery img{width:100%;height:280px;object-fit:contain}.tf-gallery h2{font-size:21px!important}.tf-gallery article>p:not(.tf-kicker){font-size:15px;line-height:1.5}.tf-gallery article>button{width:100%;margin-top:10px;padding:12px;border:0;border-radius:8px;background:#147e84;color:white}.tf-opening{line-height:1.6;color:#546f7a}.tf-screen button:focus-visible{outline:3px solid #e5b94e;outline-offset:2px}@media(max-width:800px){.tf-layout{grid-template-columns:1fr}.tf-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}html body #stage .tf-screen{padding:12px}.tf-picture>img{height:240px!important}.tf-tabs{flex-wrap:wrap}.tf-tabs button{flex:1 1 40%}}
html:root body .bk-common-stage-next{display:none!important}

html:root body #stage .tf-screen h1{font-size:26px!important}html:root body #stage .tf-screen h2{font-size:20px!important;line-height:1.4!important}html:root body #stage .tf-passage .teen-sentence{font-size:16px!important;line-height:1.55!important}html:root body #stage .tf-hint-content p{font-size:16px!important;line-height:1.5!important}html:root body #stage .tf-gallery h2{font-size:18px!important}.tf-picture figcaption{font-size:12px!important}

html:root body #stage .tf-short-version .tf-summary-line{display:block!important;font-size:16px!important;line-height:1.65!important;margin:7px 0!important}.tf-full-button{margin-top:14px;padding:9px 16px;border:1px solid #9abfcb;border-radius:8px;background:white;color:#17586c;font:600 14px/1.3 system-ui}.tf-full-dialog{box-sizing:border-box;width:min(1000px,94vw);max-width:94vw;max-height:90dvh;padding:22px;border:1px solid #c9dce4;border-radius:14px;background:#fff;color:#173e4c}.tf-full-dialog::backdrop{background:#132f42a8}.tf-full-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.tf-full-head h2{font:700 20px/1.3 system-ui;margin:0}.tf-full-head button{padding:9px 16px;border:1px solid #acc8d2;border-radius:8px;background:white;color:#174d60;font:600 14px/1.3 system-ui;cursor:pointer}.tf-full-content .teen-sentence{display:block!important;font-size:16px!important;line-height:1.65!important;margin:10px 0!important}.tf-full-content>div+div{margin-top:22px}.tf-full-content [lang=ko]{font-size:15px;line-height:1.6;color:#58717d}.tf-full-dialog button:focus-visible,.tf-full-button:focus-visible{outline:3px solid #eab54c;outline-offset:3px}@media(max-width:600px){.tf-full-dialog{padding:16px;max-height:92dvh}}

html:root body #stage .tf-starter-section{margin:14px 0!important}html:root body #stage .tf-starter-section h3{font-weight:700!important;margin-bottom:8px!important}html:root body #stage .tf-hint-content .tf-starter-line{display:block!important;font-size:18px!important;font-weight:700!important;line-height:1.5!important;color:#174651!important;background:#fff6df!important;border:0!important;border-radius:8px!important;padding:12px 16px!important;margin:0 0 14px!important}

html:root body[data-teen-pilot-stage="3"] #stage .tf-screen .tf-copy h2{font-size:28px!important;font-weight:700!important;line-height:1.35!important}html:root body[data-teen-pilot-stage="4"] #stage .tf-screen .tf-tabs button{font-size:18px!important;font-weight:700!important;line-height:1.35!important;padding:12px 16px!important;min-height:48px!important;white-space:normal!important}

html:root body>header #book-title,html:root body>header #bk-teacher-translate{display:none!important}html:root body.bykids-daily-greeting-active #stage .bykids-daily-card{transform:translateY(clamp(35px,8vh,80px))!important}@media(max-width:700px),(max-height:700px){html:root body.bykids-daily-greeting-active #stage .bykids-daily-card{transform:translateY(24px)!important}}

html:has(body[data-teen-center-active="1"]){overflow:hidden!important}html:root body[data-teen-center-active="1"]{overflow:hidden!important}
html:root body[data-teen-center-active="1"] #stage#stage{position:fixed!important;top:var(--teen-main-top)!important;bottom:var(--teen-main-bottom)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1240px,calc(100vw - 72px))!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;overflow:auto!important;padding:14px 20px!important;margin:0!important;scrollbar-gutter:stable}
html:root body[data-teen-center-active="1"] #stage#stage>.tf-screen{flex:0 0 auto!important;margin:auto!important;width:100%!important;max-width:1180px!important;padding:10px 12px!important;box-sizing:border-box!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-layout{align-items:center!important;gap:28px!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-picture>img{height:clamp(170px,calc(var(--teen-main-height) - 250px),400px)!important;max-height:none!important;object-fit:contain!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-screen:has(>.tf-gallery){max-width:1120px!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%!important;margin:0 auto!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-gallery article{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-gallery img{height:clamp(170px,calc(var(--teen-main-height) - 280px),360px)!important;object-fit:contain!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-gallery article>button{margin-top:auto!important}
html:root body[data-teen-center-active="1"] #stage#stage>.tf-free-talk-host{flex:1 1 auto!important;width:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;overflow:hidden!important}
html:root body[data-teen-center-active="1"] #stage#stage .tf-free-talk-host>iframe{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="0"] #stage#stage>.weekday-scene{flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:0!important;margin:auto!important;padding:0!important;gap:12px!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="0"] #stage#stage .bykids-daily-card{transform:none!important;margin:0 auto!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="0"] #stage#stage .bykids-daily-card :is(img,video){max-height:min(460px,calc(var(--teen-main-height) - 80px))!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="5"] #stage#stage>.adult-goodbye{position:relative!important;inset:auto!important;flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:auto!important;padding:0!important;gap:12px!important;transform:none!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="5"] #stage#stage .adult-goodbye :is(img,video){height:auto!important;width:auto!important;max-width:100%!important;max-height:min(440px,calc(var(--teen-main-height) - 180px))!important;object-fit:contain!important}
html:root body[data-teen-center-active="1"]:has(#fw-annotation-toolbar:not([hidden])) #stage#stage{width:min(1200px,calc(100vw - 250px))!important;left:calc(50% - 94px)!important}

html:root body[data-teen-center-active="1"][data-teen-pilot-stage="5"] #stage#stage .adult-goodbye{max-height:100%!important;padding:0!important;transform:none!important}
html:root body[data-teen-center-active="1"][data-teen-pilot-stage="5"] #stage#stage .adult-goodbye :is(.goodbye-controls,.audio-controls){position:static!important;transform:none!important;margin:8px auto!important}

@media(min-width:900px) and (max-height:850px){html:root body[data-teen-center-active="1"] #stage#stage>.tf-screen{padding-top:0;padding-bottom:0}html:root body[data-teen-center-active="1"] #stage#stage .tf-short-version{padding:10px 16px!important}html:root body[data-teen-center-active="1"] #stage#stage .tf-summary-line{margin:5px 0!important;line-height:1.4!important}html:root body[data-teen-center-active="1"] #stage#stage .tf-help{padding:10px 16px!important}html:root body[data-teen-center-active="1"] #stage#stage .tf-copy>h2{margin-top:0;margin-bottom:12px}}

html:root body #stage .tf-short-version{background:#edf6fb!important;border-color:#c5dce9!important}html:root body #stage .tf-short-version>h3{color:#225b76!important;font-size:14px!important;font-weight:700!important}

html:root body #stage .tf-screen .tf-copy>h2{font-size:28px!important;font-weight:700!important;line-height:1.4!important}

html:root body #stage .tf-gallery{grid-template-columns:repeat(var(--teen-page-count,3),minmax(0,1fr))!important}html:root body #stage .tf-screen .tf-copy>h2{font-size:28px!important;font-weight:700!important;line-height:1.4!important}@media(min-width:900px) and (max-height:850px){html:root body #stage .tf-screen .tf-layout{gap:24px}html:root body #stage .tf-screen h1{margin-bottom:12px!important;font-size:24px!important}html:root body #stage .tf-tabs{margin-bottom:14px!important}html:root body #stage .tf-short-version .tf-summary-line{font-size:15px!important;line-height:1.4!important;margin:5px 0!important}html:root body #stage .tf-ladder{margin-bottom:8px!important}html:root body #stage .tf-hint-content>p{margin:6px 0 8px!important}html:root body #stage .tf-help-actions{margin-top:10px!important}}

@media(min-width:900px) and (max-height:850px){html:root body #stage .tf-help:has(.tf-ladder li:first-child[aria-current]) .tf-hint-content{display:none!important}}

html:root body[data-teen-center-active="1"] #stage#stage .tf-gallery{grid-template-columns:repeat(var(--teen-page-count,3),minmax(0,1fr))!important}html:root body #stage .tf-gallery h2{font-size:17px!important;line-height:1.3!important;margin:7px 0!important}html:root body #stage .tf-gallery article>p:not(.tf-kicker){margin:8px 0!important}@media(max-width:899px){html:root body #stage .tf-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* /library/teacher-runtime/classroom-layout.css */
/* Named ownership layer: shared important layout rules outrank unlayered legacy themes, regardless of selector specificity or load order. Native activity styles outside these selectors remain native. */

@layer bykids-classroom-layout {

/* One layout owner. Native lesson engines retain all media and controls. */

html[data-bk-layout="unified-v1"] body .bk-simple-classroom{width:min(1120px,100%)!important;margin-inline:auto!important;padding:20px 28px!important;box-sizing:border-box!important}

html[data-bk-layout="unified-v1"] body .bk-simple-grid{grid-template-columns:minmax(0,46fr) minmax(0,54fr)!important;gap:36px!important;align-items:center!important;min-height:450px!important}

html[data-bk-layout="unified-v1"] body .bk-simple-art{width:100%!important;height:450px!important;min-width:0!important}

html[data-bk-layout="unified-v1"] body .bk-simple-image{max-width:100%!important;width:auto!important;max-height:450px!important;height:auto!important;object-fit:contain!important}

html[data-bk-layout="unified-v1"] body .bk-simple-copy{padding-top:0!important;min-width:0!important}

html[data-bk-layout="unified-v1"] body .bk-simple-tools{margin-top:64px!important;gap:10px!important;flex-wrap:wrap!important}

html[data-bk-layout="unified-v1"] body .bk-simple-copy:has(.bk-simple-hint:not([hidden])) .bk-simple-tools{margin-top:20px!important}

html[data-bk-layout="unified-v1"] body :is(.bk-simple-art>button,.bkw-enlarge,.mw-enlarge,.mw-zoom){top:12px!important;right:12px!important;bottom:auto!important;left:auto!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:10px!important;font-size:22px!important}

html[data-bk-layout="unified-v1"] body #music-words-lab{max-width:760px!important;width:100%!important;margin-inline:auto!important;padding:20px 24px!important;box-sizing:border-box!important}

html[data-bk-layout="unified-v1"] body #music-words-lab .mw-stage{max-width:680px!important;margin-inline:auto!important;gap:30px!important}

html[data-bk-layout="unified-v1"] body #music-words-lab .mw-controls{max-width:680px!important;margin-inline:auto!important;border-top:0!important;justify-content:center!important;flex-wrap:wrap!important}

html[data-bk-layout="unified-v1"] body #music-words-lab :is(.mw-word,.mw-word-text){font-size:clamp(36px,5vw,64px)!important}

html[data-bk-layout="unified-v1"] body #music-words-lab h2{text-align:center!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab{width:min(760px,100%)!important;max-width:760px!important;margin-inline:auto!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab .mw-content{width:100%!important;max-width:680px!important;margin-inline:auto!important;gap:30px!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab :is(h1,.mw-head){text-align:center!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab .mw-intro{display:none!important}

html[data-bk-layout="unified-v1"] body :is(.bk-ready-media,#bk-interlude-page>.jr-penguin-art,.bk-penguin-center>.bykids-goodbye-visual){max-width:min(560px,90vw)!important;object-fit:contain!important;margin-inline:auto!important}

@media(max-width:700px){

html[data-bk-layout="unified-v1"] body .bk-simple-classroom{padding:16px!important}

html[data-bk-layout="unified-v1"] body .bk-simple-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}

html[data-bk-layout="unified-v1"] body .bk-simple-art{height:320px!important}

html[data-bk-layout="unified-v1"] body .bk-simple-image{max-height:320px!important}

html[data-bk-layout="unified-v1"] body .bk-simple-tools{margin-top:28px!important}

}



/* Anchor zoom to the image rather than the full grid column. */

html[data-bk-layout="unified-v1"] body .bk-simple-art:has(>.bk-simple-image){width:fit-content!important;height:auto!important;max-width:100%!important;justify-self:center!important;align-self:center!important;padding:0!important;margin:0!important;position:relative!important}

html[data-bk-layout="unified-v1"] body .bk-simple-art>.bk-simple-image{display:block!important;margin:0!important}



@media(min-width:900px){html[data-bk-layout="unified-v1"] body.is-fw-annotation-panel-open :is(#stage,#app){padding-right:180px!important;box-sizing:border-box!important}}



@media(min-width:701px){html[data-bk-layout="unified-v1"] body .bk-simple-grid{min-height:min(450px,max(300px,calc(100dvh - 400px)))!important}}



/* White mascot stages, including the faint off-white edge of existing media. */

html:root[data-bk-layout="unified-v1"] body :is(.bykids-daily-greeting,.bykids-daily-card,.bk-greeting-image-frame,.bk-ready-page,#bk-common-ready,.bk-penguin-center,#bk-interlude-page,.r-wrap-goodbye){background:#fff!important;border:0!important;box-shadow:none!important}

html:root[data-bk-layout="unified-v1"] body :is(.bykids-daily-card img,.bykids-daily-card video,.bykids-goodbye-visual,#bk-interlude-page img,#bk-interlude-page video,.bk-ready-media img,.bk-ready-media video){background:#fff!important;filter:contrast(1.06)!important}



html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom.bk-speaking-standard .bk-simple-art>.bk-simple-image{height:420px!important;max-height:420px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;aspect-ratio:auto!important}

@media(max-width:700px){html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom.bk-speaking-standard .bk-simple-art>.bk-simple-image{height:270px!important;max-height:270px!important}}



html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom>.bk-simple-title{display:none!important}



html:root[data-bk-layout="unified-v1"] body .cm-stage{background:#fff!important;border:0!important;box-shadow:none!important}

html:root[data-bk-layout="unified-v1"] body .cm-stage>.cm-penguin{background:#fff!important;filter:contrast(1.10)!important}



/* Shared numbered scene tabs: one compact size across book engines. */

html:root[data-bk-layout="unified-v1"] body .bk-simple-tabs:not(.bk-reference-sequence){display:flex!important;flex-wrap:wrap!important;gap:6px!important;justify-content:flex-start!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-tabs:not(.bk-reference-sequence)>button{flex:0 1 122px!important;width:122px!important;min-width:0!important;max-width:122px!important;box-sizing:border-box!important;min-height:38px!important;height:38px!important;padding:8px 12px!important;text-align:center!important;font-size:13px!important;line-height:20px!important;font-weight:600!important;text-transform:none!important}



/* Keep a vocabulary word intact; fit its font to the available copy column. */

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab .mw-head{display:block!important;text-align:center!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab .mw-copy{min-width:0!important;width:100%!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab#music-words-lab .mw-word{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:var(--bk-word-size,48px)!important;max-width:100%!important;line-height:1.2!important}

html:root[data-bk-layout="unified-v1"] body #music-words-lab .bk-picture-zoom-button{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;width:44px!important;height:44px!important;font-size:22px!important}



/* Centre lesson content in its existing viewport, not against the page top. */

html:root[data-bk-layout="unified-v1"] body :is(#stage,#app,.lesson-stage,.lesson-stage-content,.kc-body):has(>.bk-simple-classroom){justify-content:safe center!important;overflow-anchor:none!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom{margin-block:auto!important;flex-shrink:0!important;overflow-anchor:none!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-grid{transition:none!important}



/* Scene navigation and lesson content form one centred group in every engine. */

html:root[data-bk-layout="unified-v1"] body :is(#stage,#app,.lesson-stage,.lesson-stage-content,.kc-body):has(>.bk-simple-classroom>.bk-simple-tabs:not(.bk-reference-sequence)){display:flex!important;flex-direction:column!important;justify-content:safe center!important;padding-top:12px!important;padding-bottom:12px!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom:has(>.bk-simple-tabs:not(.bk-reference-sequence)){display:flex!important;flex-direction:column!important;flex:0 0 auto!important;align-self:center!important;margin-block:auto!important;height:auto!important;max-height:none!important;padding-top:0!important;gap:16px!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom>.bk-simple-tabs:not(.bk-reference-sequence){flex:0 0 auto!important;margin:0!important;position:static!important;justify-content:center!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom:has(>.bk-simple-tabs:not(.bk-reference-sequence))>.bk-simple-grid{flex:0 0 auto!important;align-content:center!important;width:100%!important}



/* Transitions occupy the existing lesson viewport, never a second fixed viewport. */

html:root[data-bk-layout="unified-v1"] body :is(#stage,#app,.lesson-stage,.lesson-stage-content,.kc-body):has(>#bk-interlude-page){display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:0!important;overflow:auto!important}

html:root[data-bk-layout="unified-v1"] body #bk-interlude-page{position:relative!important;inset:auto!important;transform:none!important;flex:1 1 0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;gap:12px!important}

html:root[data-bk-layout="unified-v1"] body #bk-interlude-page>:is(img,video){display:block;width:min(560px,90vw)!important;max-width:100%!important;height:min(480px,calc(100dvh - 260px))!important;max-height:100%!important;min-height:0!important;flex:0 1 auto!important;object-fit:contain!important;margin:0 auto!important}



/* Kids answer-choice plugin no longer owns viewport fitting. */

html:root[data-bk-layout="unified-v1"] body .lesson-stage:has(>.lesson-stage-content>.bk-simple-classroom){display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:8px 0 0!important;min-height:0!important;overflow:auto!important}

html:root[data-bk-layout="unified-v1"] body .lesson-stage-content:has(>.bk-simple-classroom){display:flex!important;flex-direction:column!important;flex:1 0 auto!important;width:100%!important;max-width:1120px!important;margin-inline:auto!important;padding:0!important;zoom:1!important}

html:root[data-bk-layout="unified-v1"] body .bk-simple-classroom .bk-kids-story-choices{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important}


/* Kinder lesson stages share one bounded, vertically centred content area. */
html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .kc-body {width:100%!important;max-width:1120px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:safe center!important;min-height:0!important;padding:12px 24px!important;box-sizing:border-box!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell .kc-body>.bk-simple-classroom {height:auto!important;max-height:none!important;min-height:0!important;width:100%!important;margin-block:auto!important;overflow:visible!important;flex:0 0 auto!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell .bk-simple-classroom>.bk-simple-grid {min-height:0!important;align-items:center!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .single-music {width:min(820px,100%)!important;max-width:820px!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:8px 16px!important;margin:auto!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .music-heading {text-align:center!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .single-music .music-focus {height:clamp(220px,32dvh,320px)!important;gap:28px!important;padding:12px 0!important}
html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .song-controls {flex-wrap:wrap!important;justify-content:center!important}
@media(max-width:700px){
 html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .kc-body {padding:12px!important;justify-content:flex-start!important;overflow:auto!important}
 html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .single-music .music-focus {height:240px!important;gap:14px!important}
 html[data-bk-layout="unified-v1"] body.kinder-r1-shell #app .song-controls input[type=range] {flex:1 1 50%!important}
}


/* One horizontal contract for native stages and the embedded Free Talk renderer. */
html[data-bk-layout="unified-v1"]{--bk-lesson-width:1120px;--bk-lesson-inset:28px;--bk-lesson-gap:36px;--bk-lesson-columns:minmax(0,46fr) minmax(0,54fr)}
html[data-bk-layout="unified-v1"] body #app{box-sizing:border-box!important;width:calc(100% - 80px)!important;max-width:1440px!important;margin-inline:auto!important;padding-inline:0!important}
html[data-bk-layout="unified-v1"] body :is(.lesson-stage,.lesson-stage-content,.weekly-inline){box-sizing:border-box!important;width:100%!important;max-width:var(--bk-lesson-width)!important;margin-inline:auto!important;padding-inline:0!important}
html[data-bk-layout="unified-v1"] body :is(.bk-simple-classroom,#bk-book-wheel){box-sizing:border-box!important;width:min(var(--bk-lesson-width),100%)!important;max-width:var(--bk-lesson-width)!important;margin-inline:auto!important;padding-inline:var(--bk-lesson-inset)!important}
html[data-bk-layout="unified-v1"] body :is(.bk-simple-grid,.bkw-selected .bkw-result){box-sizing:border-box!important;width:100%!important;grid-template-columns:var(--bk-lesson-columns)!important;column-gap:var(--bk-lesson-gap)!important;padding-inline:0!important;margin-inline:0!important}
html[data-bk-layout="unified-v1"] body .bkw-selected .bkw-picture{min-width:0!important;max-width:100%!important}
html[data-bk-layout="unified-v1"] body .bkw-selected .bkw-poster{max-width:100%!important}
@media(max-width:700px){
 html[data-bk-layout="unified-v1"]{--bk-lesson-inset:16px;--bk-lesson-gap:24px;--bk-lesson-columns:minmax(0,1fr)}
 html[data-bk-layout="unified-v1"] body #app{width:calc(100% - 28px)!important}
}
}

@layer bykids-classroom-layout {
html[data-bk-layout="unified-v1"] body .bkw-picture>.bkw-enlarge{top:auto!important;bottom:12px!important;right:12px!important;left:auto!important}
}

