
/* /library/teacher-guides/kinder/current-format-20261103-v1/conversation.css */
*{box-sizing:border-box} :root{font-family:Arial,"Noto Sans KR",sans-serif;color:#19343c;background:#eef5f6}body{margin:0}button,input,select{font:inherit}button{border:1px solid #cbdadb;border-radius:12px;padding:11px 16px;background:white;color:#284850;cursor:pointer;font-weight:650;min-height:44px}button:hover{background:#e1efef;border-color:#44888b}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #795dcc;outline-offset:3px}button:disabled{opacity:.35;cursor:default}.primary{background:#187579;border-color:#187579;color:white}.primary:hover{background:#105f62;color:#fff}.accent{background:#eae5f9;color:#63478c;border-color:#ddd3ed}header{height:66px;padding:12px 28px;display:flex;align-items:center;gap:20px;background:#fff;border-bottom:1px solid #dae5e6}.brand{font-size:23px;font-weight:850;color:#14545b;text-decoration:none;white-space:nowrap}.brand small{font-size:10px;letter-spacing:1.4px;margin-left:12px;color:#718c92}#top{margin-left:auto;display:flex;gap:8px;align-items:center}#top button{font-size:12px;padding:8px 12px}#top .tag{font-size:12px;color:#6c8186;margin-right:7px}main{max-width:1440px;margin:auto;padding:20px 32px 115px}.setup{display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:65px;min-height:calc(100vh - 170px);max-width:1180px;margin:auto}.setup h1{font-size:clamp(40px,4.6vw,64px);letter-spacing:-2.2px;line-height:1.12;margin:18px 0}.eyebrow{font-size:11px;letter-spacing:2.2px;color:#488184;text-transform:uppercase;font-weight:800}.muted{font-size:13px;line-height:1.7;color:#6e858d}.setup .hero{height:calc(100vh - 210px);max-height:680px;min-height:420px;aspect-ratio:2/3;object-fit:fill;display:block;margin:auto}.options{display:flex;gap:10px;margin:10px 0 18px}.option{position:relative;flex:1;border:2px solid #d4e1e3;background:#fff;border-radius:14px;padding:13px;cursor:pointer}.option:has(input:checked){border-color:#237d80;background:#e7f3f2}.option input{position:absolute;opacity:0}.option:focus-within{outline:3px solid #795dcc}.option b,.option small{display:block}.option small{font-size:11px;color:#6b8188;margin-top:6px;line-height:1.5}.label{font-size:13px;font-weight:700;margin-top:18px}.plan{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.plan span{background:#e1ecee;border-radius:7px;padding:6px 10px;font-size:11px;color:#527179}.setup-actions{display:flex;gap:10px}.setup-actions .primary{flex:1}.route{display:flex;gap:7px;justify-content:center;margin:0 0 14px;overflow:auto;white-space:nowrap}.route span{font-size:12px;color:#83959a;padding:7px 13px}.route .active{background:#d7e9e9;color:#256569;border-radius:18px;font-weight:750}.stage-head{text-align:center;margin:10px auto 20px}.stage-head h1{font-size:clamp(28px,3.2vw,43px);letter-spacing:-1px;margin:9px 0}.stage-head p{font-size:13px;color:#6e8489;margin:0}.pill{display:inline-block;font-size:11px;font-weight:750;letter-spacing:1px;background:#e5def3;color:#735895;padding:7px 12px;border-radius:20px}.scene{display:flex;align-items:center;justify-content:center;gap:58px}.scene>img{height:calc(100vh - 255px);min-height:340px;max-height:790px;aspect-ratio:2/3;object-fit:fill;cursor:zoom-in}.scene-copy{max-width:330px}.scene-copy h1{font-size:clamp(32px,3.6vw,48px);line-height:1.18;letter-spacing:-1.3px;margin:19px 0}.scene-copy p{font-size:15px;color:#789095;line-height:1.6}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1000px;margin:25px auto}.choices.two{grid-template-columns:repeat(2,1fr);max-width:760px}.picture{position:relative;background:#fff;border:3px solid transparent;border-radius:27px;padding:20px;box-shadow:0 12px 35px #25475008;min-width:0}.picture[aria-pressed=true]{border-color:#21848a;background:#f4ffff}.picture img{display:block;width:100%;height:min(32vh,300px);object-fit:contain}.number{position:absolute;left:14px;top:14px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#e4eff0;color:#396c73;font-size:17px}.center{text-align:center}.focus-toy{display:block;width:min(49vh,490px);height:min(49vh,490px);object-fit:contain;background:white;border-radius:26px;margin:20px auto;padding:25px}.ownership{display:flex;justify-content:center;align-items:center;gap:18px;margin:15px}.ownership span{padding:10px 18px;border-radius:20px;background:#dce9ed;font-size:13px}.ownership .you{background:#e9dff5;color:#6c468c}.ownership b{color:#819d9e}.support{display:flex;align-items:center;justify-content:center;gap:14px;margin:15px auto;max-width:700px;padding:12px 20px;border-radius:14px;background:#e2eaf6;color:#496486;font-size:23px}.support img{width:80px;height:80px;object-fit:contain}.reply{font-size:22px;color:#437b7e;text-align:center;margin:16px;min-height:28px}.selected-note{font-size:13px;color:#66858a;text-align:center}.board{height:330px;max-width:1100px;margin:22px auto;position:relative;border-radius:30px;background:#dfebed;overflow:hidden;border:1px solid #d1e2e5}.board.floor{background:#e8e7f1}.board .lane{position:absolute;left:4%;right:4%;height:130px;top:86px;border:7px solid white;border-radius:70px;background:#8aabaf}.board .lane:after{content:'';position:absolute;left:7%;right:7%;top:48%;border-top:3px dashed white}.moving-toy{position:absolute;top:87px;left:calc(5% + var(--p)*.69%);width:150px;height:130px;object-fit:contain;background:white;border-radius:22px;box-shadow:0 8px 16px #31596318}.board-label{position:absolute;bottom:23px;font-size:13px;letter-spacing:1px;color:#436b74;font-weight:800}.board-label.left{left:7%}.board-label.right{right:7%}.target{position:absolute;right:7%;top:20px;background:#fff;border-radius:14px;padding:10px 16px;font-size:13px;color:#715393}.move-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:16px}.dots{display:flex;justify-content:center;gap:8px}.dots i{width:9px;height:9px;border-radius:50%;background:#d3e2e4}.dots i.done{background:#257e82}footer{position:fixed;bottom:0;left:0;right:0;padding:12px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffffff5;border-top:1px solid #dbe5e7;z-index:5}footer .muted{margin:0;font-size:11px}footer .actions{display:flex;gap:8px}.coach-main{max-width:1040px;margin:auto}.coach-main h1{font-size:28px;margin:10px 0}.coach-banner{background:#173d48;color:#fff;border-radius:18px;padding:20px;margin-bottom:16px}.coach-banner .muted{color:#bcd1d7}.coach-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.coach-card{background:white;border:1px solid #dbe6e9;border-radius:17px;padding:20px;margin-bottom:15px}.coach-card h2{font-size:16px;margin:0 0 12px}.cue{font-size:25px;line-height:1.4;color:#245d66;margin:10px 0}.reaction{padding:12px;background:#eef4f7;border-radius:10px;line-height:1.6;font-size:14px}.response-buttons,.branch-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.response-buttons button,.branch-buttons button{font-size:12px;padding:10px 12px}.coach-card ol{font-size:13px;line-height:1.85;padding-left:20px}.coach-card .choices{gap:8px;margin:8px 0}.coach-card .picture{padding:10px;border-radius:14px}.coach-card .picture img{height:100px}.coach-card .number{width:24px;height:24px;left:5px;top:5px;font-size:12px}.coach-card .board{height:230px}.coach-card .board .lane{top:65px;height:110px}.coach-card .moving-toy{top:70px;width:90px;height:85px}.coach-card .board-label{bottom:12px}.coach-card .target{top:8px}.coach-card .focus-toy{width:170px;height:170px}.coach-card .mini-scene{display:block;height:220px;margin:auto;aspect-ratio:2/3}.teacher-note{font-size:12px;color:#6e8088;line-height:1.7}.coach-footer{position:sticky;bottom:10px;background:#fff;border:1px solid #dae6e8;border-radius:16px;padding:14px;display:flex;justify-content:space-between;gap:8px}.coach-footer .actions{display:flex;gap:6px}.coach-footer button{font-size:12px}dialog{width:min(750px,94vw);max-height:90vh;border:1px solid #cbdcde;border-radius:22px;padding:25px;color:#26464f;box-shadow:0 25px 90px #17343e33}dialog::backdrop{background:#15354088;backdrop-filter:blur(4px)}dialog .close{float:right;margin:0 0 10px 20px}dialog h2{font-size:22px}dialog p,dialog li{font-size:14px;line-height:1.7}dialog.zoom{width:auto;max-width:95vw;padding:10px}dialog.zoom img{height:80vh;aspect-ratio:2/3;display:block}.summary{max-width:830px;margin:35px auto}.summary h1{font-size:45px;line-height:1.15}.summary .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.summary .cards section{padding:20px;background:white;border-radius:16px}.summary h3{font-size:14px}.summary b{font-size:22px}.word-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.word-grid img{width:100%;height:90px;object-fit:contain}.word-grid button{font-size:12px;padding:7px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:900px){.setup{grid-template-columns:1fr;gap:20px}.setup .hero{display:none}.setup{max-width:650px}.brand small{display:none}header{padding:10px 16px}main{padding:14px 18px 115px}.scene{gap:30px}.scene>img{height:auto;width:46%;min-height:0}.scene-copy{max-width:43%}.scene-copy h1{font-size:32px}.coach-grid{grid-template-columns:1fr}.choices{gap:12px}.picture{padding:12px}.picture img{height:26vh}.moving-toy{width:125px;height:110px;top:96px}}@media(max-width:560px){header{height:60px;padding:9px 12px}.brand{font-size:18px}#top .tag{display:none}#top button{font-size:11px;padding:7px 8px}main{padding:13px 14px 120px}.setup h1{font-size:40px}.option{padding:12px 9px}.option b{font-size:14px}.option small{font-size:10px}.setup-actions{flex-wrap:wrap}.setup-actions button{font-size:13px}.stage-head h1{font-size:27px}.route{justify-content:flex-start}.route span{padding:7px 9px;font-size:11px}.scene{gap:17px}.scene-copy h1{font-size:25px}.scene-copy p{font-size:12px}.scene .pill{font-size:9px}.picture img{height:160px}.picture{border-radius:19px;padding:6px}.choices{gap:7px}.number{width:27px;height:27px;left:8px;top:8px;font-size:13px}.focus-toy{width:76vw;height:76vw}.support{font-size:19px}.board{height:285px}.moving-toy{width:22vw;height:90px;top:106px}.board-label{font-size:11px}footer{padding:10px;gap:6px}footer button{padding:9px 11px;font-size:12px}footer .muted{display:none}.coach-footer{flex-wrap:wrap}.coach-footer .actions{flex-wrap:wrap}.summary .cards{grid-template-columns:1fr}.summary h1{font-size:33px}.word-grid{grid-template-columns:repeat(3,1fr)}.setup{min-height:0}}

.story-bridge{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 12px;color:#66848a;font-size:10px;letter-spacing:1px}.story-bridge>img{height:66px;width:44px;object-fit:fill}.story-bridge>img.bridge-toy{height:58px;width:68px;object-fit:contain;background:#fff;border-radius:9px;padding:4px}.story-bridge b{font-size:23px;color:#438288}.place-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22}.board .lane{background:#a3bbbdcc}.moving-toy.bounce{animation:toy-bounce .85s ease-in-out infinite}.moving-toy.dance{animation:toy-dance .7s ease-in-out infinite}@keyframes toy-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-50px)}}@keyframes toy-dance{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg) translateY(-10px)}}.choices{margin-top:15px;margin-bottom:18px}.stage-head{margin-bottom:12px}.coach-card .story-bridge{display:none}.teacher-link{display:inline-block;padding:13px 18px;background:#187579;color:#fff;border-radius:12px;text-decoration:none}@media(prefers-reduced-motion:reduce){.moving-toy.bounce,.moving-toy.dance{animation-duration:2s}}@media(max-width:560px){.story-bridge{gap:8px;font-size:9px}.story-bridge>img{height:51px;width:34px}.story-bridge>img.bridge-toy{height:44px;width:50px}}

.social-choices{display:flex;justify-content:center;gap:16px;margin:14px auto}.social-choices button{padding:16px 24px;border:2px solid #d4e2e6;background:white;min-width:210px}.social-choices button[aria-pressed=true]{border-color:#237d80;background:#e4f1ef}.people{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:12px}.people i{font-style:normal;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:12px;color:#4b6889;background:#e4eaf6}.people i:last-child{color:#70518c;background:#ebe2f4}.social-choices strong{font-size:14px}.coach-card .social-choices{gap:6px}.coach-card .social-choices button{min-width:0;padding:8px}.coach-card .people i{width:38px;height:38px}.coach-card .people{gap:5px}.coach-card .social-choices strong{font-size:12px}@media(max-width:560px){.social-choices{gap:8px}.social-choices button{min-width:0;padding:14px}.social-choices .people{gap:8px}}

.invitation-visual{display:flex;align-items:center;justify-content:center;gap:30px;max-width:960px;margin:auto}.invitation-visual>.focus-toy{width:min(36vh,350px);height:min(36vh,350px);margin:10px}.invitation-visual .social-choices{flex-direction:column;margin:0}.coach-card .invitation-visual{display:block}.coach-card .invitation-visual>.focus-toy{width:150px;height:150px;margin:10px auto}.coach-card .invitation-visual .social-choices{flex-direction:row}@media(max-width:560px){.invitation-visual{gap:10px;flex-direction:column}.invitation-visual>.focus-toy{width:46vw;height:46vw}.invitation-visual .social-choices{flex-direction:row}.invitation-visual .social-choices button{padding:10px}.invitation-visual .people i{width:36px;height:36px}}

/* Connected story: the illustration stays in place while the story is revealed. */
.story-progress{display:flex;justify-content:center;gap:10px;margin:4px auto 16px}.story-progress span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:12px;color:#809499;background:#dfeaec}.story-progress .current{background:#1c797d;color:white}.story-progress .past{color:#257579;background:#d2e8e6}.connected-scene{gap:46px;max-width:1050px;margin:auto}.connected-scene>img{height:calc(100vh - 280px);min-height:330px;max-height:720px;width:auto;object-fit:fill}.connected-scene .scene-copy{max-width:470px;flex:1}.scene-copy .scene-lead{font-size:15px;color:#617f86;margin:17px 0 0}.scene-copy .scene-question{font-size:23px;line-height:1.5;color:#366870}.scene-copy h1.revealed-title{font-size:22px;letter-spacing:-.3px;margin:15px 0}.story-answer{background:white;border-left:4px solid #2b8d90;padding:15px 23px;border-radius:0 16px 16px 0}.scene-copy .story-answer p{font-size:clamp(21px,2vw,29px);line-height:1.5;color:#183e48;margin:0 0 8px}.scene-copy .story-answer p:last-child{margin:0}.scene-copy .next-thread{font-size:16px;line-height:1.5;color:#4f6d77;margin:20px 0 10px}.quiet{font-size:11px;background:transparent;border:0;padding:6px 0;color:#738990;min-height:32px}.dots{margin-top:18px}.story-original{font-size:19px;line-height:1.65;color:#244f59}.custom-object{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;text-align:center;overflow-wrap:anywhere}.custom-object>span{font-size:11px;letter-spacing:2px;color:#62858a}.custom-object strong{font-size:36px;color:#285a64}.custom-object small{font-size:14px;color:#6f858b}.camera-play{text-align:center}.camera-play p{font-size:18px;color:#537a81}#custom-toy{display:block;width:100%;margin-top:12px;border:1px solid #a8c1c5;border-radius:12px;padding:14px}.story-bridge>.custom-object{width:100px;font-size:12px;gap:0}.story-bridge>.custom-object strong{font-size:13px}.story-bridge>.custom-object span,.story-bridge>.custom-object small{display:none}
@media(max-width:900px){.connected-scene{gap:24px}.connected-scene>img{width:43%;height:auto;min-height:0}.connected-scene .scene-copy{max-width:54%}.scene-copy .story-answer p{font-size:20px}.scene-copy .scene-question{font-size:20px}}
@media(max-width:560px){.story-progress{gap:8px;margin-bottom:14px}.story-progress span{width:23px;height:23px}.connected-scene{flex-direction:column;gap:18px}.connected-scene>img{width:56%;max-height:none;aspect-ratio:2/3}.connected-scene .scene-copy{max-width:100%;width:100%}.connected-scene .scene-copy h1{font-size:27px;margin:10px 0}.scene-copy .scene-lead{font-size:12px;margin-top:10px}.scene-copy .scene-question{font-size:17px;margin:7px 0}.scene-copy .story-answer p{font-size:19px}.scene-copy .next-thread{font-size:14px}.story-answer{padding:12px 16px}.connected-scene .pill{font-size:10px}.custom-object strong{font-size:28px}}

.story-tools{display:flex;align-items:center;gap:15px;margin-top:12px}.story-tools>button:first-child{font-size:12px;padding:8px 12px}.connected-scene>img{cursor:pointer}dialog.book-reader{width:96vw;max-width:1800px;height:94vh;max-height:94vh;padding:0;border-radius:18px;overflow:hidden;background:#f4f7fa}dialog.book-reader>.close{position:absolute;right:12px;top:9px;margin:0;z-index:2;min-height:38px;padding:8px 12px}.reader-toolbar{height:58px;padding:12px 110px 12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border-bottom:1px solid #dbe5e7}.reader-toolbar b{font-size:14px}.reader-toolbar a{font-size:12px;color:#22797d}.book-reader iframe{display:block;border:0;width:100%;height:calc(100% - 58px);background:white}@media(max-width:560px){.reader-toolbar b{font-size:11px}.reader-toolbar a{display:none}dialog.book-reader{width:98vw;height:96vh;max-height:96vh}}

/* Optional personal choice within each story page; no correct-answer state. */
.story-choice{margin:20px 0 8px;border-top:0;padding-top:16px}.choice-label{font-size:9px;font-weight:700;letter-spacing:1.15px;color:#67858b}.story-choice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.story-choice-cards button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;border:2px solid transparent;min-width:0;border-radius:15px;background:white;font-size:13px}.story-choice-cards button[aria-pressed=true]{border-color:#26878a;background:#f6ffff;box-shadow:0 0 0 2px #d6eaea}.story-choice-cards img{display:block;width:100%;height:88px;object-fit:contain}.scene-copy .choice-question,.choice-question{font-size:17px;line-height:1.45;margin:11px 0 0;color:#27636a}.scene-copy:has(.story-choice) h1{font-size:clamp(28px,3.1vw,40px);margin:12px 0}.scene-copy:has(.story-choice) .scene-question{font-size:19px;margin:8px 0}.scene-copy:has(.story-choice) .scene-lead{margin-top:12px}.coach-card .story-choice{border:0;margin:0;padding:0}.coach-card .story-choice-cards img{height:65px}@media(max-width:900px){.story-choice-cards img{height:70px}.story-choice{margin-top:14px;padding-top:12px}}@media(max-width:560px){.story-choice-cards img{height:82px}.scene-copy .choice-question{font-size:16px}.story-choice-cards button{font-size:12px}.story-choice{margin-top:18px}}
.story-choice-cards .cropped-toy{display:block;width:100%;height:88px}.picture .cropped-toy{display:block;width:100%;height:min(32vh,300px)}.moving-asset{display:block;width:100%;height:100%;object-fit:contain}.moving-toy{padding:4px}.story-bridge>.cropped-toy{width:68px;height:58px;background:white;border-radius:9px}.coach-card .picture .cropped-toy{height:100px}.coach-card .story-choice-cards .cropped-toy{height:65px}@media(max-width:900px){.story-choice-cards .cropped-toy{height:70px}}@media(max-width:560px){.story-choice-cards .cropped-toy{height:82px}.picture .cropped-toy{height:160px}}
.story-choice-cards .card-hidden{background:#e7e2f4;border:2px solid #d9cfee;color:#705492}.story-choice-cards .card-hidden:hover{background:#ddd5ef;border-color:#9b85c1}.card-question{height:88px;display:grid;place-items:center;font-size:62px;font-weight:800;line-height:1}.card-number{font-size:11px;color:#826a9b}.coach-card .card-question{height:65px;font-size:45px}@media(max-width:900px){.card-question{height:70px;font-size:52px}}@media(max-width:560px){.card-question{height:82px;font-size:58px}}

.story-below{margin-top:18px;scroll-margin-bottom:100px}.story-below .story-answer{margin-top:8px;padding:12px 17px}.scene-copy .story-below .story-answer p{font-size:21px;line-height:1.4;margin-bottom:5px}.scene-copy .story-below .next-thread{font-size:13px;margin-top:10px}.connected-scene:has(.story-below){align-items:flex-start}.connected-scene:has(.story-below)>.scene-art{position:sticky;top:18px}@media(max-width:560px){.connected-scene:has(.story-below)>.scene-art{position:static}.scene-copy .story-below .story-answer p{font-size:19px}}

.scene-copy .story-below .reader-paragraph{font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.75;margin:0 0 12px}.reader-word{display:inline;min-height:0;border:0;padding:0 1px;background:transparent;font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;border-radius:3px;cursor:pointer;vertical-align:baseline}.reader-word:hover,.reader-word:focus-visible{background:#e4f3ef;color:#08766d}.scene-copy .story-below .reader-tip{font:11px/1.5 Arial,sans-serif;color:#718991;margin:0 0 10px}.story-answer.reader-text{background:#fff}.book-inline-meaning button{min-height:30px}.bykids-word-lookup .bykids-word-lookup__close{min-height:40px}@media(max-width:560px){.scene-copy .story-below .reader-paragraph{font-size:21px}}

/* Scoped to the teaching book story, independent of the original reader. */
#app .scene-copy .story-below .reader-paragraph.is-story-answer{color:#08766d;font-weight:600}

#app .story-extension,.coach-main .story-extension{margin:16px 0;padding:15px 18px;background:#f1edfb;border-radius:14px;border:1px solid #d9cfee}#app .story-extension .extension-stem{font-size:25px;line-height:1.7;color:#624785;margin:6px 0 0;font-weight:600}#app .sentence-blank{display:inline-block;min-width:28px;letter-spacing:1px}

#app .story-extension .extension-toggle{margin-top:10px;min-height:38px;padding:8px 14px;border:1px solid #b5a4cf;border-radius:10px;background:#fff;color:#624785;font-size:13px;font-weight:600}

/* Personal conversation is confined to this teaching book. */
#app .personal-scene{display:grid;grid-template-columns:minmax(260px,430px) minmax(300px,480px);gap:60px;align-items:center;max-width:1010px;margin:35px auto 15px}
#app .personal-picture{display:flex;flex-direction:column;align-items:center;gap:18px}
#app .personal-picture>.focus-toy{display:block;object-fit:contain;width:100%;height:350px;padding:24px;background:white;border-radius:28px;margin:0}
#app .personal-copy h1{font-size:clamp(30px,3.4vw,44px);line-height:1.22;margin:18px 0 24px;letter-spacing:-.6px}
#app .personal-stem{padding:18px;background:#eee8f8;border-radius:16px;color:#674d89;font-size:25px;line-height:1.5}
.personal-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}.personal-controls>span{font-size:12px;color:#68818a}.personal-controls button:disabled{opacity:.35;cursor:default}
#app .personal-hint{font-size:13px;background:transparent}.personal-goodbye{color:#597985;font-size:21px}
@media(max-width:750px){#app .personal-scene{grid-template-columns:1fr;gap:20px;margin-top:20px}#app .personal-picture>.focus-toy{height:230px;max-width:350px}#app .personal-copy{max-width:480px;margin:auto;width:100%}#app .personal-copy h1{font-size:30px}}

/* Hidden personal choices: reveal only the object the child chooses. */
.personal-mystery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1000px;margin:25px auto}
.personal-mystery>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;height:300px;background:#e7e2f4;border:2px solid #d9cfee;border-radius:28px;color:#705492}
.personal-mystery>button:hover{background:#ddd5ef;border-color:#9b85c1}
.personal-mystery .mystery-mark{font-size:112px;line-height:1;font-weight:800}.personal-mystery .mystery-number{font-size:15px;color:#826a9b}
.coach-main .personal-mystery{gap:8px}.coach-main .personal-mystery>button{height:110px;border-radius:14px}.coach-main .personal-mystery .mystery-mark{font-size:45px}
@media(max-width:650px){.personal-mystery{gap:12px}.personal-mystery>button{height:190px;border-radius:20px}.personal-mystery .mystery-mark{font-size:76px}}
#app .personal-help{display:flex;gap:10px;flex-wrap:wrap}#app .personal-example{margin:16px 0;padding:16px 20px;border-radius:16px;background:#fff;border-left:4px solid #25858a}#app .personal-example>span{font-size:10px;letter-spacing:1.2px;color:#64828a}#app .personal-example>p{font-size:25px;line-height:1.4;color:#176a70;margin:8px 0 0}

#app .personal-preview{max-width:490px;margin:35px auto 20px}#app .personal-preview .personal-picture>.focus-toy{height:min(52vh,440px);min-height:240px}

#app .personal-word-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
#app .personal-word-choices>button{min-height:60px;border:2px solid #d8cde9;border-radius:14px;background:#f7f3fc;color:#654a88;font-size:18px;line-height:1.3;padding:12px 8px;overflow-wrap:anywhere}
#app .personal-word-choices>button[aria-pressed=true]{border-color:#278287;background:#e6f4f2;color:#17676b}
.personal-help button:disabled{opacity:.4;cursor:default}
@media(max-width:560px){#app .personal-word-choices{gap:7px}#app .personal-word-choices>button{font-size:16px}}

/* Word examples are readable as soon as the teacher opens this help step. */
:is(#app,.coach-main) .personal-word-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
:is(#app,.coach-main) .personal-word-choices>.word-example{min-height:112px;padding:12px 8px;border:2px solid #63aaa7;border-radius:16px;background:#f7ffff;color:#176b70;font-size:18px;line-height:1.35;font-weight:700;box-shadow:0 4px 0 #cee6e4;overflow-wrap:anywhere}
:is(#app,.coach-main) .personal-word-choices>.word-example[aria-pressed=true]{background:#e6f4f2;border-color:#278287}

/* Picture cards have two persistent faces, including during wrong-answer closing. */
.personal-mystery>.picture-flip,.story-choice-cards>.picture-flip{display:block;position:relative;padding:0;border:0;background:transparent;perspective:1000px;overflow:visible;box-shadow:none}
.personal-mystery>.picture-flip:hover,.story-choice-cards>.picture-flip:hover{background:transparent}
.personal-mystery>.picture-flip:disabled{opacity:1}
.picture-flip-inner{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.25,.6,.3,1)}
.picture-open>.picture-flip-inner{transform:rotateY(180deg)}
.picture-flip-front,.picture-flip-back{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:12px;border:2px solid #d9cfee;border-radius:inherit;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.picture-flip-front{background:#e7e2f4;color:#735895}.picture-flip-front strong{font-size:112px;line-height:1}.picture-flip-front small{font-size:14px}
.picture-flip-back{background:white;border-color:#248589;transform:rotateY(180deg);color:#204b56}
.picture-flip-inner{border-radius:inherit}.picture-flip-back>img,.picture-flip-back>svg{display:block;width:100%;height:100%;min-height:0;object-fit:contain;margin:0;padding:0}
.story-choice-cards>.picture-flip{height:126px;min-height:126px;border-radius:15px}
.story-choice-cards .picture-flip-front strong{font-size:56px}.story-choice-cards .picture-flip-front small{font-size:11px}
.story-choice-cards .picture-flip-back{padding:8px;gap:3px}.story-choice-cards .picture-flip-back>img,.story-choice-cards .picture-flip-back>svg{height:88px;flex:1;min-height:0}
.story-choice-cards>.picture-flip[aria-pressed=true]{background:transparent;border:0;box-shadow:none}
.picture-opening>.picture-flip-inner{animation:picture-turn-open .65s cubic-bezier(.25,.6,.3,1) both}
.picture-closing>.picture-flip-inner{animation:picture-turn-close .65s cubic-bezier(.25,.6,.3,1) both}
@keyframes picture-turn-open{from{transform:rotateY(0)}to{transform:rotateY(180deg)}}
@keyframes picture-turn-close{from{transform:rotateY(180deg)}to{transform:rotateY(0)}}
.coach-main .picture-flip-front strong{font-size:45px}
@media(max-width:650px){.personal-mystery .picture-flip-front strong{font-size:76px}}
@media(prefers-reduced-motion:reduce){.picture-flip-inner{transition-duration:.01ms}.picture-opening>.picture-flip-inner,.picture-closing>.picture-flip-inner{animation-duration:.01ms}}

/* Wrap up is centered in the teaching area between navigation and the footer. */
#app:has(.wrapup-scene){padding-bottom:92px}
#app .personal-scene.wrapup-scene{width:100%;max-width:970px;grid-template-columns:minmax(0,430px) minmax(0,480px);justify-content:center;gap:60px;min-height:calc(100dvh - 220px);margin:0 auto;align-content:center}
#app .wrapup-scene .personal-picture>.focus-toy{height:350px}
.wrapup-cues{list-style:none;counter-reset:wrap;display:grid;gap:10px;margin:0 0 20px;padding:0}
.wrapup-cues li{counter-increment:wrap;position:relative;padding-left:39px;min-height:28px;font-size:18px;line-height:1.45;color:#38666f}
.wrapup-cues li:before{content:counter(wrap);position:absolute;left:0;top:0;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#d9eaea;color:#23777b;font-size:13px;font-weight:700}
.wrapup-cues p{margin:6px 0 2px;font-size:20px;color:#725599}
.wrapup-example{margin-top:14px;padding:14px 18px;border-radius:14px;background:#fff;border-left:4px solid #278287}
.wrapup-example p{margin:3px 0;color:#236a70;font-size:18px;line-height:1.45}
@media(max-width:750px){#app .personal-scene.wrapup-scene{grid-template-columns:1fr;gap:20px;min-height:calc(100dvh - 215px);padding:15px 0}#app .wrapup-scene .personal-picture>.focus-toy{height:230px}#app .wrapup-scene .personal-copy{max-width:480px}}

/* Wrap up uses only the recall prompts, centered without a toy illustration. */
#app .personal-scene.wrapup-scene{grid-template-columns:minmax(0,600px);max-width:600px;gap:0}
#app .wrapup-scene .personal-copy{width:100%;max-width:600px;margin:auto}

/* Keep the opening statement and its question on separate readable lines. */
#app .connected-scene .scene-copy h1.sentence-heading{font-size:clamp(24px,2.6vw,36px);line-height:1.3;letter-spacing:-.6px}
.sentence-heading>span{display:block}
.sentence-heading>span+span{margin-top:6px}
@media(max-width:560px){#app .connected-scene .scene-copy h1.sentence-heading{font-size:clamp(20px,6vw,28px)}}

/* Sentence-based title layout across story, personal conversation and wrap up. */
#app .scene-copy h1.reading-heading,#app .personal-copy h1.reading-heading,#app .stage-head h1.reading-heading{font-size:36px;line-height:1.3;letter-spacing:-.5px;text-wrap:balance;overflow-wrap:normal;word-break:normal}
.reading-heading>.reading-sentence{display:block;text-wrap:balance}
.reading-heading>.reading-sentence+.reading-sentence{margin-top:6px}
#app .reader-paragraph,#app .personal-stem,#app .personal-example p,#app .wrapup-example p,#app .extension-stem{text-wrap:pretty;word-break:normal;overflow-wrap:normal}
@media(max-width:560px){#app .scene-copy h1.reading-heading,#app .personal-copy h1.reading-heading,#app .stage-head h1.reading-heading{font-size:28px}}

/* One shared stage centers each lesson's complete content between navigation and footer. */
#app.lesson-layout{--lesson-header:66px;--lesson-footer:74px;display:flex;flex-direction:column;min-height:calc(100dvh - var(--lesson-header) - var(--lesson-footer));padding:20px 32px 20px;margin:0 auto var(--lesson-footer);width:100%}
#app.lesson-layout>.route,#app.lesson-layout>.story-progress{flex-shrink:0}
#app.lesson-layout>.route{margin:0 0 14px}
#app.lesson-layout>.story-progress{margin:0 auto 16px}
.lesson-stage{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
.lesson-stage-content{width:100%;min-width:0}
#app.lesson-layout .personal-preview{margin:0 auto;max-width:490px;width:100%}
#app.lesson-layout .personal-scene{width:100%;max-width:970px;margin:0 auto;grid-template-columns:minmax(0,430px) minmax(0,480px)}
#app.lesson-layout .personal-scene.wrapup-scene{min-height:0;max-width:600px;grid-template-columns:minmax(0,600px);padding:0}
#app.lesson-layout .stage-head{margin:0 auto 24px}
#app.lesson-layout .personal-mystery{margin:0 auto 24px}
#app.lesson-layout .connected-scene{width:100%;margin:0 auto}
#app.lesson-layout .dots{margin:18px 0 0}
@media(max-width:750px){#app.lesson-layout{padding:16px 18px}#app.lesson-layout .personal-scene{grid-template-columns:minmax(0,1fr);gap:20px;max-width:480px}}

/* Korean support stays local to this teaching book and follows the visible English. */
.lesson-korean{display:block;color:#557985;font-size:16px;line-height:1.55;margin:5px 0 12px;font-weight:400;letter-spacing:0;text-wrap:pretty}
.reading-heading+.lesson-korean{font-size:18px;margin-top:-8px;margin-bottom:18px}
.reader-paragraph+.lesson-korean{font-size:15px;margin:3px 0 9px}
.language-toggle.active{background:#dff0ee;border-color:#38898c;color:#176a70}
#app .wrapup-cues li>.lesson-korean{font-size:14px;margin:3px 0 5px}
@media(max-width:650px){#dock .muted{display:none}#dock{padding:10px 12px}#dock button{padding:10px 11px;font-size:12px}#dock .actions{gap:6px}.lesson-korean{font-size:15px}}

.conversation-depth{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 4px}
.conversation-depth button{font-size:12px;background:#f8f5fc;border-color:#d8cfea;color:#6b5289}

/* Keep the teacher controls visible when all speaking supports are open. */
@media(min-width:751px) and (max-height:850px){
 #app .personal-copy h1.reading-heading{margin:10px 0 14px}
 #app .personal-stem{margin:12px 0;padding:12px 16px;font-size:23px;line-height:1.35}
 #app .personal-word-choices{margin:12px 0}
 #app .personal-word-choices>.word-example{min-height:66px;padding:10px 8px}
 #app .personal-example{margin:12px 0;padding:10px 16px}
 #app .personal-example>p{font-size:22px;line-height:1.35;margin:4px 0 0}
 #app .conversation-depth{margin:10px 0 0}
 #app .personal-controls{margin-top:12px}
 #app .personal-scene:not(.wrapup-scene) .focus-toy{height:300px;min-height:0}
}

.bk-wheel-block{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0}
.bk-wheel-wrap{position:relative!important;width:min(100%,400px,47dvh)!important;aspect-ratio:1!important;margin:12px auto!important;height:auto!important;max-width:100%}
.bk-wheel-disc{position:absolute;inset:0;will-change:transform;border:5px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #dbe6ec,0 8px 22px #193d5012}
.bk-wheel-disc svg{width:100%;height:100%;display:block}
.bk-wheel-label{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;width:27%;gap:4px;line-height:1.15;font-size:clamp(12px,1.3vw,17px);font-weight:700;text-align:center;color:#193d50;pointer-events:none;white-space:normal}
.bk-wheel-label img{display:block;width:clamp(36px,5vw,66px);height:clamp(36px,5vw,66px);object-fit:contain;background:transparent}
.bk-wheel-pointer{position:absolute;top:-9px;left:50%;transform:translateX(-50%);border-left:12px solid transparent;border-right:12px solid transparent;border-top:25px solid #7352a3;z-index:3}
.bk-wheel-spin{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:80px!important;height:80px!important;border-radius:50%!important;border:6px solid white!important;background:#087f85!important;color:white!important;font-size:20px!important;font-weight:700!important;padding:5px!important;box-shadow:0 2px 9px #193d5026;z-index:4}
.bk-wheel-instruction{text-align:center;font-size:14px;line-height:1.5;color:#526f7b;margin:12px 0 4px}
.bk-wheel-result{text-align:center;font-size:15px;font-weight:600;color:#7352a3;line-height:1.5;min-height:1.5em;margin:5px 0}
.lesson-journey{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;padding:0 0 14px}
.lesson-journey>button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:100px;border:0;border-radius:14px;background:transparent;padding:10px 15px;color:#62808b;font-size:12px}
.lesson-journey>button.active{background:#dceff0;color:#126b75;font-weight:700}
.lesson-journey>button>small{background:#fff;border:1px solid #d2e4e8;border-radius:6px;padding:3px 10px;color:#357681;font-size:11px;font-weight:400}
.opening-greeting-visual{padding:28px;background:#fff;border-radius:28px;text-align:center}
.opening-greeting-visual img{width:100%;height:280px;object-fit:contain}.opening-greeting-visual p{font-size:25px;color:#18797f;margin:18px 0 0;font-weight:700}
.opening-scene .word-example{display:grid;place-items:center;min-height:66px;border:2px solid #63aaa7;border-radius:16px;background:#f7ffff;color:#176b70;padding:12px 8px;text-align:center;font-size:18px}
.opening-instruction{font-size:23px;line-height:1.5;color:#567985}
@media(max-width:750px){.lesson-journey{gap:2px}.lesson-journey>button{min-width:90px;padding:8px;font-size:11px}.opening-greeting-visual img{height:190px}}

.fw-annotation-canvas {
  position: absolute;
  z-index: 1000;
  left: 0;
  top: 0;
  display: block;
  pointer-events: none;
  touch-action: none;
  max-width: 100%;
}

.fw-annotation-canvas.is-active {
  pointer-events: auto;
  cursor: crosshair;
}

.fw-annotation-canvas.is-active[data-tool="eraser"] {
  cursor: cell;
}

.fw-annotation-canvas.is-active[data-tool="text"] {
  cursor: text;
}

.fw-annotation-panel-toggle {
  --annotation-accent: #3156d8;
  --annotation-accent-rgb: 49, 86, 216;
  position: fixed;
  z-index: 1020;
  right: 0;
  top: 50%;
  width: 42px;
  height: 112px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 5px;
  padding: 10px 0 8px;
  border: 1px solid color-mix(in srgb, var(--annotation-accent) 35%, #d9e1ee);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: var(--annotation-accent);
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 26px rgba(var(--annotation-accent-rgb), .24);
  transition: right .2s ease, background .16s ease;
}

.fw-annotation-panel-toggle__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
}

.fw-annotation-panel-toggle__arrow {
  font-size: 20px;
  line-height: 1;
}

.fw-annotation-panel-toggle:hover {
  filter: brightness(.9);
}

.fw-annotation-panel-toggle:focus-visible {
  outline: 3px solid rgba(var(--annotation-accent-rgb), .32);
  outline-offset: 3px;
}

.fw-annotation-panel-toggle.is-open {
  right: 134px;
  background: #fff;
  color: var(--annotation-accent);
}

.fw-annotation-toolbar {
  --annotation-accent: #3156d8;
  --annotation-accent-rgb: 49, 86, 216;
  position: fixed;
  z-index: 1010;
  right: 14px;
  top: 50%;
  width: 112px;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateY(-50%);
  border: 1px solid rgba(196, 207, 223, .95);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(21, 42, 75, .18);
  backdrop-filter: blur(12px);
}

.fw-annotation-toolbar[hidden] {
  display: none;
}

.fw-annotation-toolbar__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0 4px;
  color: #263a5e;
  font-size: 13px;
  font-weight: 900;
}

.fw-annotation-toolbar__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aab4c3;
  box-shadow: 0 0 0 3px #eef1f5;
}

.fw-annotation-toolbar.is-drawing .fw-annotation-toolbar__status {
  background: var(--annotation-accent);
  box-shadow: 0 0 0 3px rgba(var(--annotation-accent-rgb), .15);
}

.fw-annotation-close {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #d7dfeb;
  border-radius: 10px;
  background: #f5f7fb;
  color: #42516a;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.fw-annotation-close:hover,
.fw-annotation-close:focus-visible {
  border-color: #e18b91;
  background: #fff1f2;
  color: #c93643;
}

.fw-annotation-toggle,
.fw-annotation-tool,
.fw-annotation-action,
.fw-annotation-size {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3ee;
  background: #fff;
  color: #42516a;
  font-family: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: .16s ease;
}

.fw-annotation-toggle:hover,
.fw-annotation-tool:hover,
.fw-annotation-action:hover,
.fw-annotation-size:hover {
  border-color: #9eb1d4;
  background: #f5f8ff;
}

.fw-annotation-toggle {
  min-height: 51px;
  flex-direction: column;
  gap: 2px;
  border-color: color-mix(in srgb, var(--annotation-accent) 34%, #d9e1ee);
  border-radius: 14px;
  color: var(--annotation-accent);
}

.fw-annotation-toggle__icon {
  font-size: 20px;
  line-height: 1;
}

.fw-annotation-toggle__label {
  font-size: 10px;
}

.fw-annotation-toolbar.is-drawing .fw-annotation-toggle {
  border-color: var(--annotation-accent);
  background: var(--annotation-accent);
  color: #fff;
}

.fw-annotation-tool {
  min-height: 40px;
  gap: 4px;
  border-radius: 12px;
  font-size: 11px;
}

.fw-annotation-tool__icon {
  font-size: 15px;
}

.fw-annotation-tool.is-active {
  border-color: var(--annotation-accent);
  background: rgba(var(--annotation-accent-rgb), .09);
  color: var(--annotation-accent);
  box-shadow: inset 0 0 0 1px rgba(var(--annotation-accent-rgb), .12);
}

.fw-annotation-divider {
  height: 1px;
  margin: 1px 5px;
  background: #e5eaf1;
}

.fw-annotation-label {
  margin: 0;
  color: #8995a7;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.fw-annotation-colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0 3px;
}

.fw-annotation-color {
  width: 17px;
  height: 17px;
  margin: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #cad3df;
  cursor: pointer;
}

.fw-annotation-color.is-active {
  box-shadow: 0 0 0 2px var(--annotation-accent);
}

.fw-annotation-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.fw-annotation-size {
  height: 27px;
  border-radius: 9px;
}

.fw-annotation-size::before {
  content: "";
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #42516a;
}

.fw-annotation-size.is-active {
  border-color: var(--annotation-accent);
  background: rgba(var(--annotation-accent-rgb), .09);
}

.fw-annotation-text-input {
  position: absolute;
  z-index: 1030;
  width: min(260px, calc(100vw - 32px));
  min-width: 180px;
  min-height: 54px;
  padding: 10px 12px;
  border: 2px solid #3156d8;
  border-radius: 11px;
  color: #172133;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 30px rgba(49, 86, 216, .24);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-weight: 800;
  line-height: 1.35;
  resize: both;
  outline: none;
}

.fw-annotation-text-input:focus {
  box-shadow: 0 0 0 4px rgba(49, 86, 216, .16), 0 12px 30px rgba(49, 86, 216, .24);
}

.fw-annotation-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.fw-annotation-action {
  width: 100%;
  min-height: 30px;
  border-radius: 10px;
  font-size: 9px;
}

.fw-annotation-action--clear {
  color: #d74343;
}

.fw-annotation-help {
  margin: 0;
  color: #8894a7;
  font-size: 9px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 820px) {
  .fw-annotation-toolbar {
    right: 8px;
    top: auto;
    bottom: 10px;
    max-height: calc(100vh - 20px);
    transform: none;
  }

  .fw-annotation-panel-toggle {
    top: auto;
    bottom: 34px;
    transform: none;
    width: 38px;
    height: 98px;
  }

  .fw-annotation-panel-toggle.is-open {
    right: 128px;
  }
}

/* Match the reader's vertical annotation tools without changing the reader. */
body:has(#dock:not([hidden])) #app:not(.lesson-layout){padding-bottom:100px}
.fw-annotation-toolbar button{font-family:inherit}
.fw-annotation-toolbar[hidden]{display:none!important}
@media(max-width:650px){header{flex-wrap:wrap;gap:8px}#top{flex-wrap:wrap}#dock{gap:8px}#dock>.muted{display:none}#dock .actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}#dock button{padding:10px}}

.fw-annotation-toolbar button{padding:0;flex-shrink:0;line-height:1.2;white-space:nowrap}
.fw-annotation-toolbar .fw-annotation-color{min-height:17px;width:17px;height:17px}
.fw-annotation-toolbar .fw-annotation-size{min-height:27px;height:27px}
.fw-annotation-panel-toggle{padding:10px 8px}

/* A compact end-of-lesson review, independent of the original book reader. */
.wrap-review{width:100%;max-width:980px;margin:auto}
.wrap-review-head{text-align:center;margin-bottom:22px}.wrap-review h1{font-size:36px;line-height:1.25;margin:12px 0 0;letter-spacing:-.5px}
.wrap-review h2{font-size:15px;margin:0 0 12px;color:#46717c}
.wrap-review-words{margin-bottom:24px}.review-word-list{display:flex;flex-wrap:wrap;gap:9px}.review-word-list button{font-size:21px;padding:10px 20px;border:1px solid #c9dedf;border-radius:13px;background:#fff;color:#176e76}
.wrap-patterns-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.wrap-patterns-heading h2{margin:0}.wrap-patterns-heading button{font-size:12px}
.wrap-pattern-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.wrap-pattern{background:#fff;border:1px solid #dde7e8;border-radius:18px;padding:20px;min-width:0}.wrap-pattern-label{color:#866ca2;font-size:10px;letter-spacing:1.5px;font-weight:700}
.review-pattern{font-size:25px;line-height:1.5;color:#72569a;margin:13px 0 0;text-wrap:pretty}.review-example{font-size:19px;line-height:1.5;color:#20767b;margin:15px 0 0}.review-meaning{font-size:13px;line-height:1.5;color:#64838b;margin:5px 0 0}
.wrap-final-turn{text-align:center;font-size:21px;font-weight:600;color:#2b626b;margin:24px 0 0}.wrap-goodbye{text-align:center;font-size:15px;color:#6d858e;margin:10px 0 0}.wrap-review>.lesson-korean{display:block;text-align:center}.wrap-review h1+.lesson-korean{text-align:center}
@media(max-width:650px){.wrap-review h1{font-size:29px}.wrap-pattern-grid{grid-template-columns:1fr}.wrap-pattern{padding:15px}.review-pattern{font-size:23px}.review-word-list button{font-size:18px;padding:8px 14px}.wrap-final-turn{font-size:18px}}

/* Current Korean time is independent of the lesson countdown. */
.server-clock{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;color:#276771;padding:8px 10px;background:#eef6f6;border-radius:9px;min-width:112px;text-align:center}
.server-clock[data-status="offline"]{color:#77888d}
@media(max-width:750px){body>header{height:auto;min-height:66px;flex-wrap:wrap;gap:8px}#top{flex-wrap:wrap;justify-content:flex-end}.server-clock{font-size:12px;padding:7px}}

/* Kinder content, using the Kids conversation-room visual language. */
body{background:#eef5f6}header{position:relative;z-index:3}#app.kc-app{max-width:1400px;padding:18px 36px 26px}.kc-app .lesson-journey{flex-shrink:0;gap:2px}.kc-app .lesson-journey>button{min-width:92px;padding:9px 11px}.kc-body{flex:1;display:flex;align-items:center;justify-content:center;width:100%;padding:22px 0}.kc-body>section{width:100%}
.kc-scene{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:center;gap:56px;max-width:1080px;margin:auto}.kc-copy{min-width:0}.kc-copy h1,.kc-centered h1{font-size:clamp(29px,3.2vw,44px);line-height:1.25;letter-spacing:-1px;margin:18px 0 24px;text-wrap:balance}.kc-copy .pill{font-size:10px}.kc-visual{text-align:center;min-width:0}.kc-object{display:block;width:100%;height:min(38vh,360px);object-fit:contain}.kc-visual>.kc-object{background:#fff;border-radius:28px;padding:25px;margin-bottom:18px}.kc-letter{font-size:80px;font-weight:800;line-height:1.15;color:#1c777d;margin:20px 0}.kc-letter span{margin-left:20px;color:#8b72ac}.kc-word{font-size:36px;margin:15px 0;color:#28626e}.kc-ko{font-size:15px;line-height:1.5;color:#62828d;margin:8px 0 16px}.kc-prompt{font-size:22px;line-height:1.5;color:#547882}.kc-help{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.kc-help button{font-size:12px;padding:10px 13px}.kc-controls{display:flex;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap}.kc-controls small{color:#6b8590}.kc-controls button{font-size:13px}.kc-stem{background:#ece5f7;border-radius:18px;padding:17px 20px;color:#735498;font-size:27px;line-height:1.35;margin:20px 0}.kc-word-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.kc-word-examples button{border:2px solid #5faeb0;border-radius:15px;background:#f8ffff;color:#1c7179;min-height:65px;padding:10px 8px;font-size:16px}.kc-word-examples button[aria-pressed=true]{background:#dceff0}.kc-example{border-left:3px solid #329298;padding:13px 18px;background:white;margin-top:18px;border-radius:0 16px 16px 0}.kc-example small{font-size:10px;letter-spacing:1.5px;color:#789098}.kc-example p{font-size:23px;line-height:1.5;margin:7px 0;color:#256c76}.kc-hello{background:#fff;border-radius:30px;padding:65px 30px;text-align:center}.kc-hello>span{font-size:72px;font-weight:800;color:#1a777d}.kc-letters{font-size:40px;letter-spacing:6px;color:#8666aa;margin:35px 0}.kc-hello>p{font-size:22px;color:#688691}.kc-centered{max-width:1080px;margin:auto;text-align:center;padding:24px 0}.kc-centered .kc-help,.kc-centered .kc-controls{justify-content:center}.kc-centered h1{margin-top:18px}.kc-pictures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px auto;max-width:1000px}.kc-picture{border:2px solid transparent;background:#fff;border-radius:26px;padding:22px;min-width:0}.kc-picture.selected{border-color:#18797e}.kc-picture img{height:min(29vh,255px)}.kc-feedback{min-height:28px;font-size:21px;color:#397c80}.kc-chosen{width:min(50vh,490px);max-width:100%;background:#fff;padding:28px;border-radius:28px;margin:0 auto 20px}.kc-chosen img{height:min(43vh,410px)}
.kc-flip{perspective:1100px;border:0;background:transparent!important;padding:0;min-width:0;height:260px;border-radius:22px}.kc-flip-inner{display:block;position:relative;height:100%;width:100%;transform-style:preserve-3d;transition:transform .42s ease}.kc-flip.is-open .kc-flip-inner{transform:rotateY(180deg)}.kc-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:22px;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:2px solid #dbceee}.kc-front{background:#e8e0f4;color:#79579a;font-size:80px;font-weight:800}.kc-rear{transform:rotateY(180deg);background:#fff;flex-direction:column;padding:15px;border-color:#75b5b8;gap:8px}.kc-rear .kc-object{height:calc(100% - 32px);min-height:0}.kc-rear b{font-size:20px;color:#246c74}.kc-flip.correct .kc-rear{background:#f4ffff;border-color:#20838a}.kc-story-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:22px 0}.kc-story-choices .kc-flip{height:125px;border-radius:16px}.kc-story-choices .kc-face{border-radius:16px}.kc-story-choices .kc-front{font-size:56px}.kc-story-choices .kc-rear{padding:8px;gap:3px}.kc-story-choices .kc-rear b{font-size:15px}.kc-story-art{display:block;height:min(68vh,660px);width:auto;max-width:100%;object-fit:contain;justify-self:center}.kc-reading{background:#fff;border-radius:0 20px 20px 0;border-left:3px solid #318e93;padding:16px 20px;margin:22px 0 0}.kc-reading>small{font-size:10px;letter-spacing:1.6px;color:#60838c}.kc-reading>p{font-size:23px;line-height:1.55;margin:10px 0 12px}.kc-reading-line{display:block}.answer-line{color:#16818a;font-weight:600}.kc-reading button{font-size:11px;padding:8px 12px;margin:4px 7px 0 0}.kc-bridge{font-size:15px;line-height:1.5;color:#4d7e86}.kc-sound-tags{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 23px}.kc-sound-tags span{padding:9px 20px;border-radius:12px;background:#e7e0f3;font-size:27px;color:#775795;font-weight:700}.wrap-review .review-word-list{margin-bottom:24px}.kc-teacher{width:100%;max-width:1000px;background:#fff;border:1px solid #d4e5e7;border-radius:22px;padding:24px;margin:20px auto;color:#335963}.kc-teacher p{font-size:15px;line-height:1.7}.kc-teacher h2{font-size:24px}.option[aria-pressed=true]{border-color:#187a80;background:#e5f2f1}.option{text-align:left}.option small{display:block;font-weight:400}.setup .hero{object-fit:contain;height:min(68vh,680px);min-height:0;aspect-ratio:auto;max-width:100%}.setup{gap:60px}.setup h1{font-size:clamp(36px,4vw,56px);line-height:1.25}.setup-actions{flex-wrap:wrap}footer .actions{display:flex;align-items:center;gap:8px}#dialog label{display:block;margin:18px 0}#dialog select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #cadae0;border-radius:10px;background:white;color:#234b58}#dialog .kc-teacher{border:0;padding:0;margin:0}#status:not(:empty){position:fixed;left:50%;bottom:95px;transform:translateX(-50%);padding:13px 20px;border-radius:12px;background:#234d58;color:white;z-index:10;max-width:90vw}#status{pointer-events:none}
@media(max-width:900px){.kc-scene{gap:28px}.kc-app .lesson-journey>button{min-width:80px;font-size:11px;padding:8px}.kc-object{height:30vh}.kc-story-art{height:auto;max-height:65vh;width:100%}.kc-word-examples{gap:6px}.kc-word-examples button{font-size:14px}#app.kc-app{padding-left:22px;padding-right:22px}.kc-flip{height:220px}.kc-reading>p{font-size:21px}}
@media(max-width:650px){.kc-scene{grid-template-columns:1fr;gap:22px;max-width:470px}.kc-copy h1{font-size:30px}.kc-object{height:220px}.kc-story-art{height:330px;width:auto}.kc-body{padding:16px 0}.kc-hello{padding:25px}.kc-hello>span{font-size:48px}.kc-letters{font-size:30px;margin:15px 0}.kc-pictures{gap:10px}.kc-flip{height:175px}.kc-front{font-size:60px}.kc-picture{padding:8px}.kc-picture img{height:145px}.kc-app .lesson-journey{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.kc-app .lesson-journey>button{flex-shrink:0;min-width:82px}.kc-letter{font-size:60px}.kc-help{gap:7px}.kc-story-choices .kc-flip{height:115px}.kc-chosen{width:320px}.kc-chosen img{height:270px}.setup{padding-bottom:20px}.kc-copy{width:100%}.kc-story .kc-copy{max-width:470px}footer .muted{display:none}footer .actions{flex-wrap:wrap;justify-content:flex-end}footer button{font-size:11px;padding:8px}.brand small{display:none}.kc-centered h1{font-size:30px}}
.kc-story-art{height:auto;width:100%;max-height:calc(100dvh - 300px);object-fit:contain}
@media(prefers-reduced-motion:reduce){.kc-flip-inner{transition-duration:.01s}}

.kc-reading button.kc-inline-word{display:inline;min-height:0;border:0;border-radius:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;text-align:inherit}.kc-inline-word:hover{background:#e3f1f2!important}.kc-inline-word:focus-visible{outline:2px solid #755b9b}

/* Pictures emerge from the drum when recorded speech starts. */
.kc-sound-drum{padding:0}.kc-sound-drum h1{font-size:35px;margin:12px 0 5px}.kc-drum-stage{display:flex;align-items:center;justify-content:center;gap:55px;max-width:850px;margin:0 auto;min-height:390px}.kc-drum-letter{display:flex;align-items:baseline;gap:12px;justify-content:center;border:0;background:transparent;color:#1b7c83;padding:20px;min-width:180px;transition:transform .12s,color .12s}.kc-drum-letter>span{font-size:150px;line-height:1;font-weight:800}.kc-drum-letter>small{font-size:95px;color:#80639f}.kc-drum-letter:hover{background:#e3eff0}.kc-drum-letter.is-sounding{transform:scale(1.08);color:#70519b}.kc-drum-arena{position:relative;width:350px;height:400px}.kc-drum{position:absolute;bottom:0;left:40px;width:270px;height:205px;padding:0;border:0;background:transparent!important;isolation:isolate}.kc-drum>.kc-drum-body{width:100%;height:100%;object-fit:contain}.kc-drum-stick{position:absolute;left:64%;top:-22%;width:42%;height:90%;object-fit:contain;transform:rotate(28deg);transform-origin:50% 85%;pointer-events:none;z-index:3}.kc-drum.is-struck{animation:drum-hit .32s ease-out}.kc-drum.is-struck .kc-drum-stick{animation:drum-stick .32s ease-out}.kc-drum-reveal{position:absolute;left:65px;top:2px;width:220px;height:215px;z-index:2;pointer-events:none}.kc-drum-reveal .kc-object{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 8px 8px #25475012)}.kc-drum-reveal.is-emerging{animation:drum-picture .62s cubic-bezier(.2,.8,.35,1.12) both}.kc-sound-drum>.kc-controls{margin:8px 0 0;justify-content:center}.kc-letter-audio{border:0;background:transparent;padding:6px 12px}.kc-letter-audio:hover{background:#e0eeef}@keyframes drum-picture{0%{opacity:0;transform:translateY(200px) scale(.12)}35%{opacity:1}75%{transform:translateY(-18px) scale(1.08)}100%{opacity:1;transform:translateY(0) scale(1)}}@keyframes drum-hit{0%,100%{transform:scale(1)}35%{transform:translateY(7px) scale(1.06,.93)}}@keyframes drum-stick{0%,100%{transform:rotate(28deg)}35%{transform:rotate(-58deg)}}
@media(max-width:650px){.kc-drum-stage{gap:4px;min-height:320px}.kc-drum-letter{min-width:90px;padding:8px;gap:5px}.kc-drum-letter>span{font-size:75px}.kc-drum-letter>small{font-size:46px}.kc-drum-arena{width:230px;height:320px}.kc-drum{left:15px;width:210px;height:160px}.kc-drum-reveal{left:35px;width:170px;height:160px}.kc-sound-drum h1{font-size:29px}.kc-drum-stage .kc-object{height:100%}}
@media(prefers-reduced-motion:reduce){.kc-drum-reveal.is-emerging{animation:none}.kc-drum.is-struck,.kc-drum.is-struck .kc-drum-stick{animation:none}.kc-drum-letter{transition:none}}

@media(min-width:651px){.kc-drum-stage{min-height:330px}.kc-drum-arena{height:330px}.kc-drum{left:55px;width:240px;height:175px}.kc-drum-reveal{left:80px;width:190px;height:175px}.kc-drum-letter>span{font-size:140px}.kc-drum-letter>small{font-size:90px}}

/* Kinder-only visual refinements; original players and shared teaching shells are unchanged. */
.kc-story{max-width:1280px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:38px}
.kc-story-art{width:100%;height:auto;max-height:calc(100dvh - 235px)}
.kc-pattern-answer{display:inline-block;min-width:4ch;border-bottom:2px solid #16818a;padding:0 .15em .06em;color:#16818a;font-weight:700;line-height:1.25}
.kc-pattern-answer.is-hidden>span{visibility:hidden}
.kc-greeting-art img{display:block;width:100%;height:min(58vh,540px);object-fit:contain}
.kc-app .bk-wheel-label>span{display:none}
.kc-app .bk-wheel-label img{display:block;width:82px;height:82px;object-fit:contain}
.kc-letter{font-size:clamp(108px,10vw,148px);margin:10px 0;line-height:1.05}
.kc-letter span{margin-left:18px}
@media(min-width:651px){.kc-drum-letter>span{font-size:170px}.kc-drum-letter>small{font-size:115px}.kc-drum-stage{gap:36px}}
@media(max-width:900px){.kc-story{gap:25px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:650px){.kc-story{grid-template-columns:1fr;gap:20px}.kc-story-art{max-height:48vh}.kc-greeting-art img{height:300px}.kc-letter{font-size:104px}.kc-app .bk-wheel-label img{width:64px;height:64px}.kc-drum-letter>span{font-size:92px}.kc-drum-letter>small{font-size:64px}}

/* Common classroom layout, without changing course content. */
body.age-ui .age-reading-keyword{color:#673397;font-weight:800}
body.age-ui .age-reading-sentence{color:#673397;font-weight:800}
body.age-ui .age-pattern-navigation{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin-top:24px;padding-bottom:8px}
body.age-ui .age-pattern-navigation button{min-height:44px;white-space:nowrap;font-size:16px;padding:10px 15px}
body.age-ui .age-pattern-navigation button[aria-pressed=true]{background:#dcefed;border-color:#24868b;color:#1e6e76}
body.age-ui #app .jc-body,body.age-ui #app .kc-body{background:var(--lesson-age-background)}
body.age-ui #dock{padding-left:210px;gap:14px}
body.age-ui .age-question-controls{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin-top:auto;padding-top:24px;max-width:100%;overflow-x:auto}
body.age-ui .age-question-controls .kc-help,body.age-ui .age-question-controls .jc-help,body.age-ui .age-question-controls .kc-controls,body.age-ui .age-question-controls .jc-question-nav{display:flex;gap:6px;flex-wrap:nowrap;margin:0;flex-shrink:0}
body.age-ui .age-question-controls button{font-size:14px;min-height:44px;padding:9px 10px;white-space:nowrap}
body.age-ui .jc-copy,body.age-ui .kc-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
body.age-ui .jc-scene:not(.weekly-inline)>.jc-copy,body.age-ui .kc-scene:not(.weekly-inline)>.kc-copy{align-self:stretch;min-height:clamp(360px,calc(100dvh - 260px),580px);padding-bottom:8px}
body.age-ui .age-question-controls{margin-top:auto!important;padding-top:28px!important;width:100%;align-self:stretch}
body.age-ui .jc-copy:has(.age-question-controls),body.age-ui .kc-copy:has(.age-question-controls){align-self:stretch!important;min-height:clamp(360px,calc(100dvh - 240px),580px)!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
body.age-ui .jc-look-detail{align-items:stretch!important}
body.age-ui .jc-copy>.weekday-greeting{align-self:center}
body.age-ui .age-goodbye{min-height:65dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:30px}
body.age-ui .age-goodbye h1{font-size:clamp(64px,9vw,120px);margin:0;color:#193d50;line-height:1.15}
body.age-ui .age-goodbye p{font-size:clamp(30px,4vw,54px);margin:0;color:#247f85}
body.age-ui .age-goodbye p:last-of-type{color:#735895}
body.age-ui .age-story-nav{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:12px}
body.age-ui .age-retell-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0}
body.age-ui .gc-retell-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.age-ui .gc-retell-grid>article[hidden]{display:none!important}
body.age-ui .kc-story-picture img{max-width:100%;max-height:480px;object-fit:contain}
body.age-ui .kc-retell-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.age-ui .kc-retell-grid article{background:white;border-radius:18px;padding:12px;text-align:center}
body.age-ui .kc-retell-grid img{width:100%;height:280px;object-fit:contain}
body.age-ui .kc-retell-grid p{font-size:18px;color:#247582}
body.age-ui .jc-visual>.weekday-greeting{width:100%}
body.age-ui .jc-reading-lesson{display:flex;flex-direction:column;min-height:0;width:100%}
body.age-ui .age-reading-title{font-size:clamp(26px,2.2vw,34px);line-height:1.25;margin:0 0 24px;color:#123f50;text-align:left}
body.age-ui .jc-keyword-task{display:flex;flex-direction:column;align-items:flex-start}
body.age-ui .jc-keyword-task h2{margin:14px 0 20px;font-size:clamp(25px,2.3vw,34px)}
body.age-ui .jc-keyword-task .jc-keyword-chips{margin:0 0 18px}
body.age-ui .jc-read-question-toggle{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;width:100%;margin-top:auto!important;padding:20px 0 8px}
body.age-ui .jc-read-question-toggle .jc-help{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0;margin:0 0 0 auto}
body.age-ui .jc-read-question-toggle .jc-question-nav{display:flex;align-items:center;gap:8px;margin:0;flex-shrink:0}
body.age-ui .jc-keyword-chips[hidden]{display:none!important}
body.age-ui .age-read-picture{min-width:0;align-self:center;text-align:center}
body.age-ui .age-read-picture>img{width:100%;height:340px;object-fit:contain;border-radius:18px}
body.age-ui .age-read-picture-nav{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:12px}
body.age-ui .age-read-picture-nav button{min-width:44px;min-height:40px;font-size:20px;padding:5px 12px}
body.age-ui .age-read-picture-nav span{font-size:14px;color:#507a69}
@media(min-width:901px){
 body.age-ui #app.lesson-layout:has(.jc-reading-lesson){height:calc(100dvh - var(--lesson-header) - var(--lesson-footer));min-height:0;padding:10px 28px;box-sizing:border-box}
 body.age-ui #app:has(.jc-reading-lesson) .jc-body{flex:1;min-height:0;padding:0;display:flex;align-items:stretch}
 body.age-ui .jc-reading-lesson{height:100%;overflow:hidden}
 body.age-ui .jc-reading-lesson>.jc-story-sequence,body.age-ui .jc-reading-top,body.age-ui .jc-read-question-toggle{flex-shrink:0}
 body.age-ui .jc-reading-top{margin-bottom:14px}
 body.age-ui .jc-reading-spread{flex:1;min-height:0;overflow:auto;padding:16px;gap:28px;grid-template-columns:.85fr 1.15fr}
 body.age-ui .jc-reading-spread>img{height:min(340px,calc(100dvh - 400px));min-height:160px}
 body.age-ui .age-read-picture{height:100%;min-height:0;display:flex;flex-direction:column;align-self:stretch;justify-content:center}
 body.age-ui .age-read-picture>img{height:0;min-height:0;max-height:560px;flex:1;object-fit:contain}
 body.age-ui .age-read-picture-nav{flex-shrink:0}
 body.age-ui .jc-read-question-toggle{padding:14px 0 4px!important;margin-top:0!important;flex-wrap:nowrap}
}
body.age-ui .jc-read-question-toggle button{font-size:14px;min-height:44px;padding:9px 12px;white-space:nowrap}
body.age-ui .jc-scene:has(.weekday-greeting),body.age-ui .kc-scene:has(.weekday-greeting){grid-template-columns:minmax(250px,36%) minmax(0,1fr)!important;gap:34px!important}
body.age-ui .fw-annotation-panel-toggle__label{writing-mode:vertical-rl;text-orientation:mixed;white-space:nowrap;letter-spacing:.4px}
body.age-ui .fw-annotation-panel-toggle{width:40px!important;min-height:112px;display:flex;align-items:center;justify-content:center}
@media(max-width:900px){body.age-ui #dock{padding-left:12px;padding-bottom:66px}body.age-ui .kc-retell-grid,body.age-ui .gc-retell-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.age-ui .age-question-controls{width:100%}}
@media(max-width:700px){body.age-ui .jc-scene:has(.weekday-greeting),body.age-ui .kc-scene:has(.weekday-greeting){grid-template-columns:1fr!important}body.age-ui .jc-scene:not(.weekly-inline)>.jc-copy,body.age-ui .kc-scene:not(.weekly-inline)>.kc-copy{min-height:320px}}
@media(max-width:700px){body.age-ui .jc-copy:has(.age-question-controls),body.age-ui .kc-copy:has(.age-question-controls){min-height:320px!important}}

html:has(body.age-ui[data-bk-age="kinder"]){background:var(--lesson-age-background,#fff6f3)}
/* Keep each Kinder support group visible when the question column is narrow. */
body.age-ui[data-bk-age="kinder"] #app .age-question-controls{
 flex-wrap:wrap;overflow:visible;gap:10px 14px;min-width:0;
}
body.age-ui[data-bk-age="kinder"] #app .age-question-controls .kc-help{
 flex:0 1 auto;flex-wrap:wrap;min-width:0;max-width:100%;gap:6px;
}
body.age-ui[data-bk-age="kinder"] #app .age-question-controls .kc-controls{
 flex:0 0 auto;max-width:100%;margin-left:auto;
}
/* Absolutely positioned card faces need an explicit grid width inside a flex column. */
body.age-ui[data-bk-age="kinder"] #app .kc-copy>.kc-story-choices{
 width:100%;min-width:0;align-self:stretch;flex-shrink:0;
}
body.age-ui[data-bk-age="kinder"] #app .kc-story-choices>.kc-flip{
 display:block;width:100%;min-width:0;
}
body.age-ui[data-bk-age="kinder"] #app .kc-copy>.kc-word-examples,
body.age-ui[data-bk-age="kinder"] #app .kc-copy>.kc-stem,
body.age-ui[data-bk-age="kinder"] #app .kc-copy>.kc-example{
 width:100%;align-self:stretch;min-width:0;
}

/* Center the lesson content and keep its controls at the bottom of the stage. */
body.age-ui[data-bk-age="kinder"] #app .kc-body:has(>.kc-sound-page,>.kc-sound-drum,>.kc-retell-page,>.kc-listen-page){align-items:stretch;padding:8px 0 0}
body.age-ui[data-bk-age="kinder"] #app :is(.kc-sound-page,.kc-sound-drum,.kc-retell-page,.kc-listen-page){display:flex;flex-direction:column;min-height:calc(100dvh - var(--lesson-header) - var(--lesson-footer) - 125px);margin:0 auto;width:100%;max-width:1200px}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-content{flex:1;width:100%;margin:0 auto;align-items:center;padding:16px 0}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-content>.kc-copy{align-self:stretch;min-height:0;align-items:center;justify-content:center;text-align:center;padding:0}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-content .kc-visual{display:flex;align-items:center;justify-content:center}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-content .kc-object{margin:0}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-content .kc-letter{margin:22px 0}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;max-width:1080px;margin:0 auto;padding:24px 0 0}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-controls :is(.kc-help,.kc-controls){margin:0;gap:10px}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-drum>.pill{align-self:center}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-drum>.kc-drum-stage{flex:1;max-width:100%;width:100%;margin:0 auto;align-items:center;justify-content:center}
body.age-ui[data-bk-age="kinder"] #app .kc-sound-drum>.kc-controls{margin:0;padding-top:24px}
body.age-ui[data-bk-age="kinder"] #app .kc-drum-arena{height:260px}
body.age-ui[data-bk-age="kinder"] #app .kc-drum{bottom:20px}
body.age-ui[data-bk-age="kinder"] #app .kc-drum-reveal{top:0;height:130px;width:150px;left:100px}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-page>.kc-retell-grid{grid-template-columns:repeat(var(--retell-columns),minmax(0,1fr))!important;width:100%;max-width:calc(var(--retell-columns)*390px);margin:auto;gap:22px}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid article{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:16px}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid img{height:clamp(220px,38dvh,380px);display:block}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid p{margin:16px 0 8px;text-align:center}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-page>.age-retell-controls{margin:0;padding-top:24px;justify-content:center}
body.age-ui[data-bk-age="kinder"] #app:has(.kc-sound-page,.kc-sound-drum,.kc-retell-page,.kc-listen-page){height:calc(100dvh - var(--lesson-header) - var(--lesson-footer));min-height:0}
body.age-ui[data-bk-age="kinder"] #app .kc-body:has(>.kc-sound-page,>.kc-sound-drum,>.kc-retell-page,>.kc-listen-page),body.age-ui[data-bk-age="kinder"] #app :is(.kc-sound-page,.kc-sound-drum,.kc-retell-page,.kc-listen-page){min-height:0}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-page>.kc-retell-grid{flex:1;min-height:0;max-height:430px}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid article{min-height:0}
body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid img{height:0;flex:1;min-height:0}
@media(max-width:650px){
 body.age-ui[data-bk-age="kinder"] #app:has(.kc-sound-page,.kc-sound-drum,.kc-retell-page,.kc-listen-page){height:auto;min-height:calc(100dvh - var(--lesson-header) - var(--lesson-footer))}
 body.age-ui[data-bk-age="kinder"] #app .kc-sound-controls{justify-content:center}
 body.age-ui[data-bk-age="kinder"] #app .kc-retell-page>.kc-retell-grid{gap:8px}
 body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid article{padding:8px}
 body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid img{height:180px}
 body.age-ui[data-bk-age="kinder"] #app .kc-retell-grid p{font-size:14px}
}

/* Phonics keeps its listening choices, with the same centered stage and bottom navigation. */
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page{padding:0}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>.pill{align-self:center}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page h1{margin:12px 0}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>.kc-help{margin:4px 0 12px;justify-content:center}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>.kc-pictures{flex:1;min-height:0;width:100%;max-width:1000px;margin:0 auto;align-items:center}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page .kc-picture{min-width:0;display:flex;align-items:center;justify-content:center;width:100%;padding:14px}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page .kc-picture img{height:clamp(110px,calc(100dvh - var(--lesson-header) - var(--lesson-footer) - 395px),280px);width:100%;object-fit:contain}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>.kc-feedback{margin:10px 0;min-height:28px}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>.kc-controls{margin:0;padding-top:8px;justify-content:center}
body.age-ui[data-bk-age="kinder"] #app .kc-listen-page>:is(.pill,h1,.kc-feedback,.kc-controls){flex-shrink:0}
@media(max-width:650px){body.age-ui[data-bk-age="kinder"] #app .kc-listen-page .kc-picture{padding:6px}}


/* /library/teacher-guides/kinder/current-format-20261103-v1/shell.css */
/* F1–F4 use the R1 classroom frame while retaining their phonics activities. */
html body.kinder-r1-shell{margin:0;background:#fff;color:#153f51}
html body.kinder-r1-shell>header .brand{display:none!important}
.kinder-r1-shell .bk-return-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.kinder-r1-shell .bk-return-nav a,.kinder-r1-shell .bk-return-nav button{display:inline-flex;align-items:center;font:600 11px/1.3 Arial,sans-serif;border:1px solid #d4e2e8;border-radius:8px;padding:8px 10px;min-height:34px;text-decoration:none;color:#22566b;background:white;box-sizing:border-box}
html body.kinder-r1-shell>header{display:flex;justify-content:space-between;gap:12px;padding:6px 14px;min-height:50px;box-sizing:border-box}
html body.kinder-r1-shell #app.lesson-layout{display:flex;flex-direction:column;max-width:none;width:100%;height:calc(100dvh - var(--lesson-header,112px) - var(--lesson-footer,74px));min-height:480px;margin:0;padding:10px 56px 10px 28px;box-sizing:border-box;overflow:auto;gap:0}
html body.kinder-r1-shell #app .lesson-journey{display:flex;justify-content:center;align-items:stretch;gap:6px;flex:0 0 auto;max-width:none;margin:0 auto 10px;padding:0;background:none;border:0}
html body.kinder-r1-shell #app .lesson-journey button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:140px;min-height:78px;padding:12px 8px;border:0;border-radius:18px;background:transparent;color:#64808d;font-size:13px;box-shadow:none}
.kinder-r1-shell .lesson-journey button em{font-style:normal;font-size:11px}
html body.kinder-r1-shell #app .lesson-journey button.active{background:#dceff0;color:#184f60;font-weight:700}
html body.kinder-r1-shell #app .lesson-journey small{font:11px/1 Arial,sans-serif;border:1px solid #d5e6ec;border-radius:5px;background:white;padding:4px 10px}
html body.kinder-r1-shell #app .kc-body{flex:1;min-height:0;width:100%;max-width:1300px;margin:auto;display:flex;align-items:center;justify-content:center;padding:10px 0;box-sizing:border-box}
html body.kinder-r1-shell #app .kc-scene:not(.weekly-inline){width:100%;max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;align-items:center;min-height:0;padding:0}
html body.kinder-r1-shell #app .kc-scene>.kc-copy{min-height:0;height:auto;padding:0;align-self:center;justify-content:center}
html body.kinder-r1-shell #app .kc-copy h1{font-size:clamp(28px,3vw,40px);line-height:1.35}
html body.kinder-r1-shell #app .kc-greeting-art{width:100%;height:auto;min-height:0}
html body.kinder-r1-shell #app .weekday-greeting{max-width:490px}
html body.kinder-r1-shell #app .weekly-inline{min-height:440px;height:100%;max-height:100%;width:100%}
html body.kinder-r1-shell #app .weekly-inline iframe{min-height:440px}
html body.kinder-r1-shell #dock{display:flex;position:fixed;bottom:0;left:0;right:0;width:100%;min-height:64px;padding:10px 20px!important;box-sizing:border-box;background:#fff;z-index:20;border-top:1px solid #d6e3eb}
html body.kinder-r1-shell #dock .teacher-controls{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;width:100%}
.kinder-r1-shell #dock .control-group{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.kinder-r1-shell #dock .control-group:empty{display:none}
.kinder-r1-shell #dock button{min-height:42px;border-radius:11px;font:600 13px/1.3 Arial,sans-serif;padding:10px 12px}
.kinder-r1-shell #dock .control-group>span{font-size:12px;color:#658392}
html body.kinder-r1-shell #dock :is(.kc-sound-controls,.kc-help,.kc-controls,.age-retell-controls){display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:0;padding:0;margin:0}
.kinder-r1-shell .r1-book-parts{display:flex;justify-content:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.kinder-r1-shell .r1-book-parts button{font-size:12px;min-height:34px;padding:7px 14px;border-radius:9px;border:1px solid #d4e5e9;background:white;color:#416678}
.kinder-r1-shell .r1-book-parts button.active{background:#16767c;color:white;border-color:#16767c}
html body.kinder-r1-shell #app .kc-story-art{max-height:calc(100dvh - 360px);min-height:180px;width:100%;object-fit:contain}
.kinder-r1-shell #app .age-story-nav{display:none!important}
html body.kinder-r1-shell #app .kc-story-picture{min-width:0;min-height:0}
html body.kinder-r1-shell .kc-sound-content{margin:auto}
html body.kinder-r1-shell .kc-sound-page{width:100%;height:auto;min-height:0}
html body.kinder-r1-shell #app .kc-retell-page{width:100%;padding:0;min-height:0}
.kinder-r1-shell #app .kc-retell-grid img{max-height:calc(100dvh - 350px);object-fit:contain}
html body.kinder-r1-shell #app:not(.lesson-layout){padding-bottom:100px}
@media(max-width:1000px){html body.kinder-r1-shell>header{height:auto!important;flex-wrap:wrap!important}html body.kinder-r1-shell #app.lesson-layout{height:auto!important;min-height:calc(100dvh - 230px);padding:10px 22px calc(var(--lesson-footer,100px) + 20px)!important;overflow:visible}html body.kinder-r1-shell #app .lesson-journey{flex-wrap:wrap;width:100%}html body.kinder-r1-shell #app .lesson-journey button{width:calc(33.33% - 8px);min-height:64px}html body.kinder-r1-shell #app .kc-scene:not(.weekly-inline){gap:24px}html body.kinder-r1-shell #app .kc-body{min-height:400px}html body.kinder-r1-shell #dock{padding:8px 12px!important}html body.kinder-r1-shell #app .weekly-inline{height:650px!important;max-height:none}}
@media(max-width:700px){html body.kinder-r1-shell #app .kc-scene:not(.weekly-inline){grid-template-columns:minmax(0,1fr);gap:24px}html body.kinder-r1-shell #app .kc-scene>.kc-copy{min-height:0!important}html body.kinder-r1-shell #top{flex-wrap:wrap}.kinder-r1-shell #dock button{font-size:11px;min-height:36px;padding:8px}.kinder-r1-shell #dock .teacher-controls{gap:6px}html body.kinder-r1-shell #app .kc-story-art{max-height:420px}.kinder-r1-shell .lesson-journey button em{display:block}.kinder-r1-shell #app .kc-retell-grid img{max-height:270px}}

@media(min-width:1001px){html body.kinder-r1-shell #app .lesson-journey{width:min(1100px,100%);gap:20px}html body.kinder-r1-shell #app .lesson-journey button{flex:1;width:auto;min-height:78px}.kinder-r1-shell .bk-return-nav a,.kinder-r1-shell .bk-return-nav button{font-size:12px}html body.kinder-r1-shell #app .kc-scene:not(.weekly-inline){max-width:1130px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}
.kinder-r1-shell #dock .r1-stage-controls{border-left:1px solid #ccdee5;border-right:1px solid #ccdee5;padding:0 10px}
.kinder-r1-shell #dock button{font-size:14px}
@media(max-width:700px){.kinder-r1-shell #dock button{font-size:11px}.kinder-r1-shell #dock .r1-stage-controls{padding:0 6px}}

/* Each phonics activity is a first-level stage, using the shared classroom frame. */
html body.kinder-r1-shell #app .lesson-journey{width:min(1300px,100%);gap:8px}
html body.kinder-r1-shell #app .lesson-journey button{min-width:0;flex:1;white-space:normal;padding:12px 6px}
.kinder-r1-shell .kc-silent-focus small{display:block;font-size:16px;line-height:1.4}
.kinder-r1-shell .lesson-journey button em{display:block;word-break:keep-all}
html body.kinder-r1-shell #app div.kc-letter{font-size:clamp(32px,6vw,90px);max-width:100%;overflow-wrap:anywhere;line-height:1.2}
@media(max-width:1000px){html body.kinder-r1-shell #app .lesson-journey button{flex:0 0 calc(25% - 8px);width:calc(25% - 8px)}}
@media(max-width:700px){html body.kinder-r1-shell #app .lesson-journey button{font-size:11px;padding:8px 3px}.kinder-r1-shell .lesson-journey button em{font-size:10px}html body.kinder-r1-shell #app div.kc-letter{font-size:clamp(28px,8vw,44px)}}

/* Consistent bilingual text rhythm and larger teaching pictures. */
html body.kinder-r1-shell #app .kc-copy:has(.age-question-controls){min-height:0!important;align-self:center!important;justify-content:center!important;gap:0!important}
html body.kinder-r1-shell #app .age-question-controls{margin:24px 0 0!important;padding:0!important;position:static!important}
html body.kinder-r1-shell #app .kc-copy h1{margin:16px 0 8px!important;line-height:1.28!important;letter-spacing:-.4px}
html body.kinder-r1-shell #app .kc-ko{font-size:18px;line-height:1.55;margin:6px 0 16px;color:#587787;word-break:keep-all}
html body.kinder-r1-shell #app .kc-copy .kc-stem{margin:18px 0 4px}
html body.kinder-r1-shell #app .kc-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
html body.kinder-r1-shell #app .kc-visual>.kc-object{width:100%;height:clamp(260px,43dvh,460px);max-width:520px;max-height:none;object-fit:contain}
html body.kinder-r1-shell #app .kc-sound-drum{justify-content:center;gap:0;min-height:0;padding:14px 0}
html body.kinder-r1-shell #app .kc-drum-instruction{display:block;text-align:center;margin:12px 0 18px}
html body.kinder-r1-shell #app .kc-drum-instruction h1{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:0 0 8px;letter-spacing:-.4px}
html body.kinder-r1-shell #app .kc-drum-instruction .kc-ko{margin:0}
html body.kinder-r1-shell #app .kc-sound-drum>.kc-drum-stage{flex:0 0 auto!important;min-height:320px!important;height:340px;gap:55px}
html body.kinder-r1-shell #app .kc-drum-arena{width:380px;height:320px!important}
html body.kinder-r1-shell #app .kc-drum{left:30px;width:310px;height:235px}
html body.kinder-r1-shell #app .kc-drum-reveal{left:70px;width:240px;height:160px!important;top:-8px!important}
html body.kinder-r1-shell #app .kc-retell-page{justify-content:center;gap:16px}
html body.kinder-r1-shell #app .kc-retell-page .stage-head{margin:8px 0 0}
html body.kinder-r1-shell #app .kc-retell-page .stage-head h1{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:12px 0 6px}
html body.kinder-r1-shell #app .kc-retell-page>.kc-retell-grid{width:100%;max-width:1250px;flex:0 0 auto;max-height:none;margin:0 auto;gap:20px}
html body.kinder-r1-shell #app .kc-retell-grid article{padding:0;justify-content:flex-start}
html body.kinder-r1-shell #app .kc-retell-grid img{flex:0 0 auto;height:clamp(250px,39dvh,430px);max-height:none;min-height:0;width:100%;object-fit:contain}
html body.kinder-r1-shell #app .kc-retell-grid p{margin:8px 0 0}
html body.kinder-r1-shell #app .kc-retell-grid p.kc-ko{margin:3px 0 0;font-size:16px}
.kc-control-ko{display:block;font-size:10px;font-weight:400;line-height:1.3;margin-top:3px}
html body.kinder-r1-shell #app .kc-story-art{max-height:calc(100dvh - 330px)}
@media(max-width:1000px){html body.kinder-r1-shell #app .kc-sound-drum>.kc-drum-stage{gap:10px}html body.kinder-r1-shell #app .kc-retell-grid img{height:300px}}
@media(max-width:700px){html body.kinder-r1-shell #app .kc-drum-arena{width:230px;height:280px!important}html body.kinder-r1-shell #app .kc-drum{width:205px;height:160px;left:10px}html body.kinder-r1-shell #app .kc-drum-reveal{left:30px;width:170px;height:145px!important;top:5px!important}html body.kinder-r1-shell #app .kc-sound-drum>.kc-drum-stage{height:300px;min-height:300px!important;gap:0}html body.kinder-r1-shell #app .kc-retell-page>.kc-retell-grid{grid-template-columns:1fr!important;gap:24px}html body.kinder-r1-shell #app .kc-retell-grid img{height:280px}html body.kinder-r1-shell #app .kc-visual>.kc-object{height:290px}html body.kinder-r1-shell #app .kc-ko{font-size:16px}}

html body.kinder-r1-shell #app .kc-retell-page>.kc-retell-grid{max-width:1250px!important;flex:0 0 auto!important;max-height:none!important;gap:24px!important}
html body.kinder-r1-shell #app .kc-retell-grid article{padding:0!important}
html body.kinder-r1-shell #app .kc-retell-grid img{height:clamp(250px,39dvh,430px)!important;flex:0 0 auto!important;max-height:none!important}

/* Invite a drum tap with a slow blink; the existing strike animation takes over on click. */
@keyframes kinder-drumstick-blink{0%,100%{opacity:1}50%{opacity:.3}}
html body.kinder-r1-shell #app .kc-drum:not(.is-struck) .kc-drum-stick{animation:kinder-drumstick-blink 1.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){html body.kinder-r1-shell #app .kc-drum:not(.is-struck) .kc-drum-stick{animation:none;opacity:1}}
html body.kinder-r1-shell #app .kc-story-choices .kc-rear b{font-size:clamp(22px,2.2vw,30px);line-height:1.3}

