@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{font-family:'Noto Sans KR',Arial,sans-serif;font-size:16px;line-height:1.6;color:#23364a;background:#f4f7fb;font-synthesis:none;--line:#dfe6ee;--teal:#197f79;--navy:#23364a;--shadow:0 12px 36px #293f5910}
*{box-sizing:border-box}body{margin:0}button,textarea,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;padding:12px 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .15s,border-color .15s,transform .15s}button:hover{border-color:#90aaa9;background:#f3faf9}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4979d0;outline-offset:4px}svg{width:23px;height:23px;flex-shrink:0}h1,h2,h3,p{margin:0}h1:focus{outline:none}h1{font-size:clamp(26px,2.5vw,34px);letter-spacing:-1px;line-height:1.35}h2{font-size:25px;line-height:1.45;letter-spacing:-.6px}h3{font-size:19px}p{line-height:1.8}a{color:inherit}small{font-size:.7em}img{display:block;max-width:100%}button.primary{background:var(--teal);color:white;border-color:var(--teal);padding:14px 23px;box-shadow:0 5px 12px #197f791a}button.primary:hover{background:#126c67;transform:translateY(-1px)}button.quiet{border-color:transparent;background:transparent;font-size:14px;color:#53677a;box-shadow:none;padding:8px 12px}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:1.5px;margin-bottom:8px;color:var(--teal)}.masthead{height:86px;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;gap:24px}.brand{border:0;padding:0;gap:11px;text-align:left;background:transparent;font-size:19px;letter-spacing:1px;line-height:1.2}.brand:hover{background:transparent}.brand small{display:block;font-size:9px;letter-spacing:1.8px;margin-top:6px;color:#687b8d}.brand-mark{display:grid;place-items:center;background:#197f79;color:#fff;width:43px;height:43px;border-radius:14px;font-size:32px;font-weight:900;letter-spacing:-4px;padding-right:4px}.book-heading{margin-left:42px;border-left:1px solid var(--line);padding-left:25px;display:flex;flex-direction:column;min-width:0}.book-heading span{font-size:10px;letter-spacing:1px;color:#758597;font-weight:800}.book-heading i{padding:0 8px;font-style:normal}.book-heading strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.masthead>.quiet{margin-left:auto;white-space:nowrap}.workspace{display:grid;grid-template-columns:208px minmax(0,1fr);max-width:1800px;margin:auto;min-height:calc(100vh - 86px)}.skill-nav{padding:28px 18px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:9px;position:sticky;top:0;align-self:start;min-height:calc(100vh - 86px)}.skill-nav>button{border:1px solid transparent;justify-content:flex-start;padding:13px 14px;gap:13px;min-height:62px;text-align:left;background:transparent}.skill-nav>button:hover{background:#f2f7f8}.skill-nav>button.active{background:#eaf4f3;border-color:#cde4e0;color:#156f69}.skill-nav .nav-home{font-size:14px;min-height:47px;margin-bottom:16px}.nav-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:color-mix(in srgb,var(--area) 9%,white);color:var(--area)}.skill-nav small{display:block;color:#7c8d9d;font-size:9px;line-height:1.2;letter-spacing:1.1px}.skill-nav button>span:nth-child(2){font-size:16px}.nav-status{margin-left:auto;color:#197f79;font-size:15px}.nav-bottom{margin-top:48px;border-top:1px solid var(--line);padding:22px 14px;color:#7a8b99;font-size:11px}.nav-bottom>strong{display:block;color:#29495c;font-size:22px}.nav-bottom>span{display:block}.nav-bottom progress{width:100%;height:6px;accent-color:#197f79;margin:10px 0}.nav-bottom .quiet{font-size:11px;padding:8px 0}.main{padding:30px clamp(24px,3.3vw,60px) 45px;min-width:0;max-width:1500px;width:100%;margin:auto;align-self:start}.lesson-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.lesson-heading p{font-size:14px;color:#6c7b8b;margin-top:8px}.lesson-count{font-size:28px;font-weight:800;white-space:nowrap}.lesson-count small{color:#8695a4;font-weight:500}.journey-hero{background:#e8f3f1;border:1px solid #d7eae6;border-radius:24px;min-height:265px;display:grid;grid-template-columns:1.5fr 1fr .7fr;overflow:hidden;margin-bottom:29px}.hero-copy{padding:29px 0 26px 33px}.pill{font-size:10px;font-weight:800;color:#197f79;background:#fff;border:1px solid #c8e3dd;border-radius:20px;padding:4px 10px;display:inline-block}.hero-copy h2{font-size:clamp(25px,2.2vw,35px);line-height:1.25;max-width:390px;margin:13px 0 11px;color:#204b49;font-family:Arial,sans-serif;letter-spacing:-1px}.hero-copy p{font-size:14px;color:#507570}.hero-copy .big{font-size:15px;margin-top:18px;min-width:235px;justify-content:space-between}.hero-note{font-size:10px;display:block;color:#607f7b;margin-top:9px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;padding:20px}.hero-art .cover{height:231px;width:154px;object-fit:fill;transform:rotate(-5deg);box-shadow:9px 13px 20px #244b4d25}.hero-stamp{position:absolute;right:0;bottom:22px;transform:rotate(9deg);font-family:Arial,sans-serif;font-weight:900;font-size:14px;line-height:1.3;background:#e9e4f5;color:#76569c;border:4px solid #fff;padding:13px 18px;border-radius:17px;box-shadow:0 3px 8px #344e6811}.hero-progress{align-self:center;text-align:center;border-left:1px solid #c8dfda;margin:30px 0;padding:15px 20px}.hero-progress>span{font-size:11px;font-weight:700;color:#537d76}.hero-progress>strong{display:block;font-size:52px;line-height:1.4;color:#2e5d55}.hero-progress small{font-size:19px;color:#77958f;font-weight:500}.hero-progress p{font-size:11px;color:#66817e;line-height:1.8;margin-top:14px}.five-dots{display:flex;gap:6px;justify-content:center}.five-dots i{width:12px;height:12px;background:#fff;border:1px solid #c2dad5;border-radius:50%}.five-dots .filled{background:#197f79;border-color:#197f79}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{font-size:20px}.section-heading>span{font-size:11px;color:#778698}.area-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.area-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;border-radius:17px;background:#fff;padding:17px 17px 13px;min-width:0;box-shadow:0 4px 18px #334e6710;font-weight:400}.area-card:hover{border-color:var(--area);transform:translateY(-4px);background:white}.area-card.recommended{border-color:#8cbbb5}.card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8794a2}.card-top>span{font-weight:800;letter-spacing:1px}.card-top b{font-size:8px;color:var(--area);background:color-mix(in srgb,var(--area) 8%,white);padding:2px 6px;border-radius:7px}.area-illustration{height:88px;margin:14px 0;position:relative;display:flex;align-items:center;justify-content:center;border-radius:12px;color:var(--area);background:color-mix(in srgb,var(--area) 7%,white)}.area-illustration svg{width:41px;height:41px;transform:rotate(-7deg)}.area-illustration>span{position:absolute;right:7px;bottom:7px;background:white;padding:2px 7px;border-radius:5px;font-weight:700;font-size:9px;transform:rotate(5deg);box-shadow:0 2px 4px #20304b10}.area-card h3{font-size:20px;color:#263e54;letter-spacing:-.5px}.area-card h3 small{font-size:10px;display:block;letter-spacing:.3px;color:var(--area);font-weight:600;margin-top:0}.area-card>p{font-size:11px;color:#6b7c8e;line-height:1.8;margin:10px 0 12px;min-height:40px}.card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef1f5;padding-top:10px;margin-top:auto;font-size:10px;color:#697d8c}.card-foot strong{font-size:20px;color:var(--area)}.storage-note{font-size:10px;color:#80909d;margin-top:20px;text-align:center}.question-progress{display:flex;gap:6px;margin:-8px 0 25px}.question-progress span{height:5px;background:#e0e7ef;flex:1;border-radius:3px}.question-progress .current{background:#689991}.question-progress .passed{background:#197f79}.word-stage,.sentence-stage,.reading-stage,.speaking-stage,.writing-stage{border:1px solid var(--line);background:white;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);display:grid;min-width:0}.word-stage{grid-template-columns:46% 54%;min-height:455px}.word-visual{background:#eef6f4;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;position:relative}.visual-label{font-size:10px;letter-spacing:2px;font-weight:800;color:#678c84;align-self:flex-start}.word-image{width:100%;height:320px;object-fit:contain;mix-blend-mode:multiply}.visual-caption{font-size:11px;color:#739189}.word-task{padding:35px clamp(25px,3vw,48px);align-self:center}.word-task h2{font-size:35px;margin:6px 0 17px;letter-spacing:-1px}.sound{background:#f0f6f8;border-color:#e0ebef;color:#3c6879;padding:9px 15px;font-size:13px}.sound svg{width:19px;height:19px}.word-choices{display:grid;gap:10px;margin-top:25px}.word-choices button{justify-content:flex-start;padding:14px 18px;min-height:62px}.word-choices button>span{border-radius:8px;background:#f0f4f8;width:30px;height:30px;display:grid;place-items:center;font-size:12px;color:#75869a}.word-choices strong{font-family:Arial,sans-serif;font-size:23px}.correct,.word-choices button.correct,.reading-choices button.correct{background:#eaf6f0!important;border:2px solid #268965!important;opacity:1}.incorrect{border-color:#cb7992!important;background:#fff5f8!important}.feedback{background:#eef8f3;border:1px solid #cce4d6;border-radius:13px;padding:17px;margin-top:20px;font-size:14px}.feedback strong{display:block;margin-bottom:7px}.feedback p{margin-bottom:12px}.feedback .primary{font-size:13px;margin-top:5px}.feedback .sound{margin-right:10px}.feedback.retry{background:#fcf2f6;border-color:#ecd1dc}.feedback:empty{display:none}.sentence-stage{grid-template-columns:30% 70%}.sentence-context{background:#f0f4fb;border-right:1px solid var(--line);padding:24px;display:flex;flex-direction:column;align-items:center;gap:20px}.scene-art{aspect-ratio:2/3;width:100%;height:auto;object-fit:fill}.sentence-context>.scene-art{max-width:210px}.sentence-context>div{width:100%}.sentence-context p{font-size:15px;margin-bottom:15px}.sentence-work{padding:32px;align-self:center}.step-caption{display:flex;align-items:center;gap:9px;font-size:12px;color:#71839a}.step-caption b{background:#e7eefb;border-radius:50%;width:23px;height:23px;text-align:center;color:#4269ad}.step-caption>span{padding:0 8px}.sentence-built{min-height:140px;padding:22px;border:2px dashed #b8cbe4;background:#f7faff;border-radius:16px;display:flex;gap:8px;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;margin:25px 0}.sentence-built .placeholder{font-size:14px;color:#8495ad;margin:auto}.sentence-built button{background:#e9f0ff;border-color:#bdcfee;color:#2e5aa3}.token-bank{display:flex;flex-wrap:wrap;gap:9px;min-height:90px;margin-bottom:24px;align-content:flex-start}.token-bank button,.sentence-built button{font-family:Arial,sans-serif;font-size:20px;padding:10px 14px;border-radius:9px}.token-bank button:disabled{opacity:.23}.task-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.hint{font-size:13px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.hint p{font-size:17px;margin-top:13px}summary{cursor:pointer;color:#637a92;font-weight:600}details{margin-top:14px}.reading-stage{grid-template-columns:49% 51%;overflow:visible}.reading-source{padding:25px;background:#f6f5fb;border-radius:22px 0 0 22px;max-height:650px;overflow:auto}.panel-heading{display:flex;align-items:center;gap:9px;color:#76559d;border-bottom:1px solid #e0dbea;padding-bottom:16px;margin-bottom:20px}.panel-heading h2{font-size:17px}.panel-heading>span{font-size:10px;color:#8a8199;margin-left:auto}.source-scene+.source-scene{margin-top:24px;border-top:1px solid #e0dbea;padding-top:20px}.source-label{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#9787aa;margin-bottom:12px}.source-layout{display:grid;grid-template-columns:105px 1fr;gap:18px;align-items:start}.reading-art{aspect-ratio:2/3;width:100%;object-fit:fill}.source-layout p[lang]{font-family:Georgia,serif;font-size:21px;line-height:1.7;color:#31455c;margin-bottom:15px}.source-layout .sound{font-size:11px;padding:6px 10px}.source-layout summary{font-size:11px}.translation{font-size:13px!important;color:#7c8797;line-height:1.8!important}.reading-task{padding:30px}.skill-chip{display:inline-block;border-radius:8px;padding:5px 11px;background:#f0eafa;color:#7854a4;font-size:11px;font-weight:700;margin-bottom:19px}.reading-task h2{font-family:Arial,'Noto Sans KR',sans-serif;font-size:27px;line-height:1.45;letter-spacing:-.4px;margin-bottom:9px}.reading-choices{display:grid;gap:11px;margin:24px 0}.reading-choices button{padding:15px;text-align:left;justify-content:flex-start;font-family:Arial,sans-serif;font-size:17px;font-weight:500;line-height:1.5}.reading-choices b{width:29px;height:29px;background:#f3f3f9;border-radius:50%;display:grid;place-items:center;font-size:11px;flex-shrink:0}.reading-choices .selected{border:2px solid #8b6eb5;background:#f7f3fc;padding:14px}.reading-task>.primary{width:100%;background:#7951ac;border-color:#7951ac}.reading-task label{display:block;font-size:13px;font-weight:700;margin:18px 0 9px}textarea{width:100%;border:1px solid #d4dfea;background:white;color:#23364a;border-radius:10px;padding:16px;resize:vertical;min-height:140px;font-size:17px;line-height:1.8;margin-bottom:15px}.speaking-stage{grid-template-columns:34% 66%}.speaking-scene{background:#f6edf3;padding:25px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px}.speaking-scene .scene-art{max-width:280px}.speaking-scene>span{font-size:10px;letter-spacing:2px;font-weight:800;color:#98708a}.speaking-task{padding:28px 35px}.pink{color:#b54578;background:#f9eaf2}.speaking-task h2{font-family:Arial,sans-serif;font-size:27px;margin-bottom:8px}.speaking-task>p{font-size:13px;color:#778193}.model-line{background:#f7f8fc;border-radius:13px;padding:17px 20px;margin-top:20px}.model-line>span,.say-own>span{font-size:11px;font-weight:800;color:#87758c}.model-line p{font-family:Arial,sans-serif;font-size:21px;margin:9px 0 13px}.say-own{padding:15px 20px;border-left:3px solid #cf9fba;margin:18px 0}.say-own p{font-family:Arial,sans-serif;font-size:19px;color:#9a7893;margin-top:5px}.recorder{border:1px solid #ecdbe5;border-radius:14px;padding:15px 18px}.record-button{background:#b54578;color:#fff;border-color:#b54578;font-size:14px;padding:11px 17px}.record-button:hover{background:#983860;border-color:#983860}.recorder>[data-record-time]{margin-left:13px;font-family:Arial,sans-serif;color:#8c7a87;font-size:12px}.recorder>p{font-size:10px;color:#8a7e89;margin-top:9px}.record-dot{width:11px;height:11px;border-radius:3px;background:#fff}.recording{animation:pulse 1.5s infinite}.recorder audio{width:100%;height:36px;margin-top:15px}.download{font-size:11px;color:#a14672}.checkline{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:500;margin:17px 0;color:#596d80;cursor:pointer}.checkline input{width:17px;height:17px;margin:2px 0 0;accent-color:#197f79;flex-shrink:0}.fine{font-size:11px!important;color:#788896;margin-top:13px}.writing-stage{grid-template-columns:34% 66%}.writing-guide{padding:28px;background:#eff4fa;border-right:1px solid var(--line)}.writing-guide h2{font-size:21px;margin-bottom:13px}.writing-guide>p{font-size:14px;color:#657891}.writing-art{width:100px;aspect-ratio:2/3;margin:20px 0;object-fit:fill;float:right;margin-left:15px}.writing-guide .hint{min-height:120px}.writing-guide h3{font-size:13px;margin:23px 0 10px;clear:both}.starter-list{display:grid;gap:8px}.starter-list>div{font-family:Arial,sans-serif;background:#fff;border:1px solid #dce5ef;border-radius:8px;padding:8px 12px;font-size:16px;color:#597797}.word-bank{display:flex;gap:6px;flex-wrap:wrap}.word-bank button{padding:6px 11px;font-size:13px;border-radius:7px;font-family:Arial,sans-serif;color:#42659b}.writing-desk{padding:26px 30px}.notebook-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:2px solid #dbe4ef;font-size:10px;letter-spacing:1px;font-weight:800;color:#526f92}.notebook-head span:last-child{font-size:9px;letter-spacing:0;font-weight:400;color:#8b98a9}.notebook{min-height:240px;border:0;border-radius:0;margin:15px 0 0;padding:3px 10px;font-family:Arial,sans-serif;font-size:22px;line-height:36px;background:repeating-linear-gradient(white 0px,white 35px,#e7edf5 35px,#e7edf5 36px)}.notebook::placeholder{font-family:'Noto Sans KR',sans-serif;font-size:15px;color:#9aa8ba}.writing-meta{display:flex;align-items:center;justify-content:space-between;padding-top:8px;font-size:11px;color:#91a0b2}.writing-meta .quiet{font-size:11px}.writing-checks{border-top:1px solid var(--line);margin-top:15px;padding-top:18px}.writing-checks h3{font-size:13px}.writing-checks .checkline{margin:10px 0}.ai-help{border-top:1px solid var(--line);padding-top:16px;font-size:11px}.ai-help p{margin:10px 0}.ai-help button{font-size:11px;padding:8px 10px;margin-right:7px}.completion{max-width:750px;margin:50px auto;text-align:center;background:white;border:1px solid var(--line);border-radius:24px;padding:45px;box-shadow:var(--shadow)}.completion-icon{background:#e5f4ee;color:#208366;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;font-size:36px;margin:0 auto 22px}.completion h1{margin-bottom:16px}.completion p{font-size:15px;color:#728193}.result-stat{margin:25px 0}.result-stat strong{display:block;font-size:40px;color:#197f79}.result-stat strong small{font-size:21px;color:#91a299}.result-stat>span{font-size:12px;color:#85978e}.completion-route{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:30px 0;font-size:13px;color:#a3adb8}.completion-route .done{color:#197f79}.completion .task-actions{justify-content:center}.completion>.quiet{margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.image-missing{font-size:12px;padding:24px;color:#7c8b98}.load-error{max-width:700px;margin:100px auto;padding:30px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#263c50;color:#fff;box-shadow:0 8px 25px #263c5033;border-radius:12px;padding:13px 22px;font-size:13px;z-index:100;max-width:90%}#notice:empty{display:none}body[data-age=kinder] .word-task h2{font-size:40px}body[data-age=kinder] .word-choices strong{font-size:28px}body[data-age=kinder] .word-choices button{min-height:80px}body[data-age=teen] .hero-stamp,body[data-age=general] .hero-stamp{display:none}body[data-age=teen] .reading-stage,body[data-age=junior] .reading-stage{grid-template-columns:56% 44%}body[data-age=teen] .source-layout,body[data-age=junior] .source-layout{grid-template-columns:1fr}body[data-age=teen] .reading-art,body[data-age=junior] .reading-art{width:130px}body[data-age=general] .area-illustration>span{transform:none}body[data-age=general] .hero-art .cover{transform:none}
@keyframes pulse{50%{box-shadow:0 0 0 6px #b5457822}}
@media(min-width:1600px){.main{padding-top:35px}.journey-hero{min-height:300px}.area-illustration{height:115px}.area-card>p{font-size:13px}.area-card h3{font-size:24px}.card-foot{font-size:12px}.area-card{padding:22px}.word-stage{min-height:520px}.word-image{height:390px}.word-task h2{font-size:42px}}
@media(max-width:1150px){.workspace{grid-template-columns:170px 1fr}.skill-nav{padding:25px 10px}.main{padding:25px}.masthead{padding:0 22px}.book-heading{margin-left:5px}.hero-progress{display:none}.journey-hero{grid-template-columns:1.4fr 1fr}.area-grid{gap:9px}.area-card{padding:13px 11px}.card-top b{font-size:7px;padding:2px 3px}.area-card h3{font-size:18px}.area-card>p{font-size:10px}.source-layout{grid-template-columns:1fr}.reading-art{width:115px}.reading-task{padding:23px}.source-layout p[lang]{font-size:20px}.speaking-task{padding:25px}.writing-desk{padding:25px}.section-heading>span{display:none}.hero-stamp{right:5px}}
@media(max-width:820px){.masthead{height:72px;padding:0 18px;gap:12px}.brand{font-size:16px}.brand-mark{width:35px;height:35px;font-size:27px;border-radius:11px}.brand small{font-size:7px}.book-heading{padding-left:15px}.book-heading strong{font-size:12px;max-width:230px}.workspace{display:block}.skill-nav{min-height:0;position:static;display:grid;grid-template-columns:repeat(6,1fr);padding:10px 16px;border-bottom:1px solid var(--line);border-right:0;gap:4px}.skill-nav>button,.skill-nav .nav-home{min-height:53px;margin:0;padding:6px 2px;justify-content:center;flex-direction:column;gap:3px;border-radius:10px}.nav-icon{width:23px;height:23px;background:transparent}.nav-icon svg,.nav-home svg{width:20px;height:20px}.skill-nav small,.nav-status,.nav-bottom{display:none}.skill-nav button>span:nth-child(2),.skill-nav .nav-home{font-size:11px}.main{padding:24px}.lesson-heading{margin-bottom:22px}.lesson-heading p{font-size:12px}.area-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.area-card{padding:17px}.area-card>p{font-size:12px}.area-card h3{font-size:21px}.area-card h3 small{font-size:11px}.card-top b{font-size:9px}.area-illustration{height:80px}.area-card:nth-child(4),.area-card:nth-child(5){grid-column:auto}.reading-source{max-height:none}.reading-task h2{font-size:24px}.sentence-work{padding:25px}.sentence-context{padding:20px}.step-caption{font-size:10px;gap:5px}.sentence-built{min-height:150px}.speaking-stage{grid-template-columns:30% 70%}.speaking-scene{padding:15px}.writing-stage{grid-template-columns:38% 62%}.writing-guide{padding:20px}.writing-desk{padding:20px}.notebook{font-size:20px}}
@media(max-width:580px){.masthead{height:65px;padding:0 13px}.brand>span:last-child{display:none}.book-heading{margin:0;border-left:0;padding-left:0;flex:1}.book-heading strong{max-width:210px}.masthead>.quiet{font-size:11px;padding:7px}.skill-nav{padding:8px 10px}.main{padding:21px 16px 35px}.lesson-heading{gap:10px}.lesson-heading h1{font-size:25px;letter-spacing:-.9px}.lesson-heading p{font-size:11px;line-height:1.7}.eyebrow{font-size:9px;margin-bottom:7px}.journey-hero{grid-template-columns:1.25fr .75fr;border-radius:18px;min-height:246px;margin-bottom:25px}.hero-copy{padding:22px 0 22px 20px;min-width:0}.hero-copy h2{font-size:25px;margin:12px 0}.hero-copy p{font-size:12px}.hero-copy .big{min-width:0;white-space:nowrap;font-size:11px;padding:11px 13px;gap:17px;margin-top:15px}.hero-note{font-size:8px;max-width:160px;line-height:1.7}.hero-art{padding:15px 14px 15px 8px}.hero-art .cover{width:100%;height:auto;aspect-ratio:2/3;max-width:113px;transform:rotate(-4deg)}.hero-stamp{font-size:8px;padding:7px 9px;border-width:2px;bottom:30px;right:8px;border-radius:9px}.pill{font-size:9px;padding:3px 8px}.section-heading h2{font-size:18px}.area-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.area-card{padding:15px 14px}.area-illustration{height:71px;margin:10px 0}.area-illustration svg{width:34px;height:34px}.area-card h3{font-size:20px}.area-card>p{font-size:11px;min-height:40px}.area-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:85px 1fr;column-gap:18px;position:relative}.area-card:last-child .card-top{grid-column:1/-1}.area-card:last-child .area-illustration{grid-column:1;grid-row:2/5;height:100px;margin:12px 0 0}.area-card:last-child h3{margin-top:12px}.area-card:last-child>p{margin:6px 0;min-height:0}.area-card:last-child .card-foot{grid-column:2}.storage-note{font-size:9px;text-align:left}.word-stage,.sentence-stage,.reading-stage,.speaking-stage,.writing-stage,body[data-age=teen] .reading-stage,body[data-age=junior] .reading-stage{grid-template-columns:1fr;border-radius:17px}.word-visual{padding:14px 20px}.word-image{height:195px}.visual-label{font-size:8px}.visual-caption{display:none}.word-task{padding:23px}.word-task h2{font-size:30px;margin:5px 0 12px}.word-choices{margin-top:18px;gap:9px}.word-choices button{min-height:59px;padding:11px 15px}.word-choices strong{font-size:23px}.lesson-count{font-size:23px}.question-progress{margin-top:-9px;margin-bottom:19px;gap:4px}.sentence-context{display:grid;grid-template-columns:95px 1fr;gap:17px;border-right:0;border-bottom:1px solid var(--line);padding:19px}.sentence-context p{font-size:12px;margin-bottom:9px}.sentence-context .sound{font-size:11px;padding:7px 10px}.sentence-context>.scene-art{width:95px}.sentence-work{padding:21px}.sentence-built{min-height:118px;padding:15px;margin:19px 0}.sentence-built .placeholder{font-size:12px}.token-bank button,.sentence-built button{font-size:19px;padding:9px 12px}.token-bank{min-height:70px}.step-caption{font-size:10px;gap:5px}.step-caption>span{padding:0 3px}.task-actions button{font-size:12px;padding:11px 15px}.task-actions .quiet{padding:8px 4px}.reading-source{padding:20px;border-radius:17px 17px 0 0;border-bottom:1px solid var(--line)}.panel-heading{padding-bottom:12px;margin-bottom:15px}.panel-heading h2{font-size:15px}.source-layout{grid-template-columns:85px 1fr;gap:15px}.reading-art{width:85px}.source-layout p[lang]{font-size:19px;line-height:1.6;margin-bottom:10px}.source-layout .sound{font-size:10px;padding:5px 8px}.source-layout .sound svg{width:15px;height:15px}.source-scene+.source-scene{margin-top:18px;padding-top:14px}.reading-task{padding:23px}.reading-task h2{font-size:24px}.skill-chip{margin-bottom:15px;font-size:10px}.reading-choices button{font-size:17px;padding:13px;gap:9px}.reading-choices{margin-top:20px}.speaking-scene{display:block;padding:0;position:relative;background:#f6edf3}.speaking-scene .scene-art{width:142px;margin:auto;max-width:none}.speaking-scene>span{position:absolute;bottom:12px;right:15px;font-size:9px}.speaking-task{padding:23px}.speaking-task h2{font-size:24px}.model-line p{font-size:20px}.recorder{padding:14px}.recorder>[data-record-time]{font-size:10px;margin-left:7px}.record-button{font-size:12px;padding:10px 13px}.speaking-task>p{font-size:12px}.checkline{font-size:11px}.writing-guide{padding:23px;border-right:0;border-bottom:1px solid var(--line)}.writing-art{width:76px;margin:15px 0 15px 15px}.writing-guide .hint{min-height:90px;font-size:11px}.writing-guide h3{font-size:12px;margin-top:18px}.starter-list{grid-template-columns:1fr;gap:6px}.starter-list>div{font-size:15px;padding:6px 10px}.writing-desk{padding:23px}.notebook{min-height:250px;font-size:20px}.writing-guide h2{font-size:20px}.completion{margin:10px auto;padding:35px 20px}.completion h1{font-size:26px}.completion-route{gap:10px;font-size:11px}.completion .task-actions{gap:10px}.completion .task-actions button{font-size:12px}.feedback{font-size:12px;padding:14px}.feedback .primary{font-size:12px}.fine{font-size:10px!important}body[data-age=kinder] .word-task h2{font-size:32px}body[data-age=kinder] .word-choices button{min-height:66px}}
.main{margin:0 auto}
.mobile-writing-prompt{display:none}
@media(max-width:580px){.mobile-writing-prompt{display:block;margin:-5px 0 18px;font-size:13px;color:#5d748b}.writing-stage .writing-desk{order:1}.writing-stage .writing-guide{order:2;border-top:1px solid var(--line);border-bottom:0}.reading-stage .reading-source{max-height:330px;overflow:auto}.speaking-stage .speaking-scene .scene-art{width:112px}}
.speaking-task .skill-chip{margin-bottom:12px}.speaking-task .model-line{margin-top:14px;padding:12px 17px}.speaking-task .model-line p{line-height:1.5;margin:6px 0 9px}.speaking-task .say-own{padding:10px 17px;margin:12px 0}.speaking-task .recorder{padding:12px 15px}.speaking-task .checkline{margin:12px 0}.speaking-task .fine{margin-top:9px}.speaking-task{padding-top:23px;padding-bottom:23px}
.area-card{gap:0}
body[data-activity=home] .lesson-heading .eyebrow{display:none}
@media(min-width:821px){body[data-activity=home] .hero-copy>p{display:none}body[data-activity=home] .journey-hero{min-height:204px}body[data-activity=home] .hero-art .cover{width:112px;height:168px}body[data-activity=home] .hero-copy .big{margin-top:9px}body[data-activity=home] .hero-copy h2{margin:12px 0}body[data-activity=home] .hero-progress{padding:0;margin:16px 0}body[data-activity=home] .hero-progress p{margin-top:8px}}
@media(min-width:821px){.masthead{height:74px}.workspace{min-height:calc(100vh - 74px)}.skill-nav{min-height:calc(100vh - 74px)}.main{padding-top:25px}.lesson-heading{margin-bottom:20px}.lesson-heading h1{font-size:29px}.journey-hero{min-height:230px;margin-bottom:23px}.hero-copy{padding:21px 0 21px 29px}.hero-copy h2{font-size:30px;margin:10px 0}.hero-copy p{font-size:12px}.hero-copy .big{margin-top:12px;padding:12px 18px}.hero-art .cover{width:126px;height:189px}.hero-art{padding:16px}.hero-progress{margin:22px 0}.area-card{padding:16px}.area-illustration{height:77px;margin:12px 0}.area-card h3{font-size:22px}.area-card>p{font-size:12px;min-height:43px;margin:8px 0 12px}.card-foot{font-size:11px}.section-heading{margin-bottom:13px}.source-layout{grid-template-columns:minmax(135px,34%) 1fr}.reading-art{width:100%}.source-layout p[lang]{font-size:23px}.reading-source{padding:27px}.word-stage{min-height:460px}.word-image{height:330px}.hero-stamp{font-size:11px;right:7px;bottom:20px}.storage-note{margin-top:16px}}
@media(min-width:821px) and (max-width:1150px){.source-layout{grid-template-columns:1fr}.reading-art{width:135px}.area-card{padding:12px}.area-card>p{font-size:10px}.hero-copy h2{font-size:27px}.area-illustration{height:64px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.proofread-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:19px 0 9px}.proofread-actions>.primary{background:#7951ac;border-color:#7951ac}.proofread-actions>.quiet{font-size:12px}.proofread-message:empty{display:none}.proofread-message{font-size:12px;color:#a74362;background:#fff1f5;border-radius:10px;padding:13px}.proofread-result{scroll-margin-top:22px;margin-top:30px;background:#fff;border:1px solid #dcdfee;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.proofread-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#f2effa;padding:27px 32px}.proofread-heading .eyebrow{color:#7951ac}.proofread-heading h2{font-size:25px}.proofread-heading p{font-size:12px;color:#7b7290;margin-top:8px}.proofread-badge{font-size:11px;font-weight:700;color:#7951ac;border:1px solid #d8ccea;background:white;border-radius:20px;padding:8px 14px;white-space:nowrap}.proofread-legend{display:flex;gap:18px;padding:16px 32px;border-bottom:1px solid #edf0f5;font-size:11px}.proofread-result del{color:#b84664;text-decoration-thickness:1.5px;background:#fff0f3;border-radius:4px;padding:0 3px}.proofread-result ins{color:#15765c;text-decoration:none;background:#e2f4eb;border-bottom:2px solid #6dad96;border-radius:3px;padding:0 3px;font-weight:700}.proofread-row{display:grid;grid-template-columns:37px 1fr;gap:20px;padding:25px 32px;border-bottom:1px solid #edf0f5}.proofread-number{background:#ede7f6;color:#77529f;width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-size:18px;font-weight:800}.proofread-pair{display:grid;grid-template-columns:1fr 1fr;column-gap:25px;row-gap:13px}.proofread-label{font-size:10px;color:#8b859a;font-weight:700}.proofread-pair p[lang]{font-family:Arial,sans-serif;font-size:23px;line-height:1.6;margin-top:7px}.proofread-corrected{padding-left:25px;border-left:1px solid #e7e9ef}.proofread-reason{grid-column:1/-1;font-size:12px;line-height:1.8;background:#f6f8fb;color:#677a90;padding:11px 15px;border-radius:9px}.proofread-reason>b{color:#53677d;margin-right:9px}.proofread-finished{margin:27px 32px;padding:24px;background:#eff7f3;border:1px solid #d8e9df;border-radius:14px}.proofread-finished .eyebrow{color:#5b8a76}.proofread-finished h3{font-size:16px;color:#356752}.proofread-finished p{font-family:Arial,sans-serif;font-size:22px;line-height:1.8;margin-top:14px}.proofread-footer{padding:0 32px 27px;display:flex;justify-content:space-between;align-items:center;gap:16px}.proofread-footer>span{font-size:11px;color:#849193}.proofread-footer>div{display:flex;gap:10px}.proofread-footer button{font-size:12px}.proofread-result .eyebrow{letter-spacing:1.2px}
@media(max-width:820px){.proofread-heading,.proofread-row{padding:22px}.proofread-pair p[lang]{font-size:20px}.proofread-finished{margin:22px}.proofread-footer{padding:0 22px 22px;flex-wrap:wrap}}
@media(max-width:580px){.proofread-result{border-radius:17px}.proofread-heading{display:block;padding:22px}.proofread-badge{display:inline-block;margin-top:13px}.proofread-heading h2{font-size:23px}.proofread-heading p{font-size:11px}.proofread-legend{padding:14px 22px}.proofread-row{grid-template-columns:29px 1fr;gap:12px;padding:20px 17px}.proofread-number{width:29px;height:29px;font-size:16px;border-radius:9px}.proofread-pair{grid-template-columns:1fr;gap:12px}.proofread-corrected{padding-left:0;border-left:0}.proofread-pair p[lang]{font-size:21px;margin-top:4px}.proofread-reason{font-size:11px;padding:10px}.proofread-reason>b{display:block}.proofread-finished{margin:20px 17px;padding:18px}.proofread-finished p{font-size:21px}.proofread-footer{padding:0 17px 22px}.proofread-actions{gap:10px}.proofread-actions>.primary{font-size:13px}.proofread-actions>.quiet{font-size:11px;padding:8px 0}}

/* Book-linked games */
.area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-banner{padding:32px;border-radius:24px;background:#ece9fa;color:#40316b;margin-bottom:24px}.game-banner h2{font-size:32px;margin:12px 0}.game-banner>span,.game-menu small{font-size:12px;letter-spacing:2px}.game-menu{display:grid;grid-template-columns:1fr 1fr;gap:24px}.game-menu>button{text-align:left;padding:32px;border:1px solid #ddd8ee;border-radius:24px;background:white;color:#25384a}.game-menu>button:hover{border-color:#7965b7;transform:translateY(-2px)}.game-symbol{display:flex;align-items:center;justify-content:center;min-height:130px;background:#f0edf9;border-radius:16px;color:#6855bf;font-size:38px;font-weight:800;margin-bottom:24px}.game-menu h2{font-size:26px}.game-menu p{line-height:1.7;color:#687789}.game-menu b{display:block;margin-top:25px;color:#6855bf}.game-score{display:flex;align-items:center;gap:18px;margin:20px 0}.game-score>b{font-size:26px;color:#6855bf}.game-score>button{margin-left:auto}.game-board{padding:30px;background:white;border:1px solid #e3dfed;border-radius:24px}.match-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.match-columns>div{display:grid;gap:12px}.match-columns button{min-height:65px;font-size:23px;border:2px solid #ded9ef;border-radius:15px;background:#faf9fe}.match-columns button.selected{border-color:#7656bc;background:#eee7fa}.match-columns button.matched{background:#e5f4ee;border-color:#71b7a2;color:#277b68;opacity:1}.puzzle-clue{display:flex;gap:24px;align-items:center}.puzzle-image{width:90px}.puzzle-clue p{font-size:20px}.game-board .feedback:empty{display:none}
@media(max-width:700px){.game-menu{grid-template-columns:1fr;gap:16px}.game-menu>button,.game-board{padding:20px}.game-banner{padding:24px}.game-banner h2{font-size:24px}.game-symbol{min-height:85px}.match-columns{gap:12px}.match-columns button{font-size:18px;padding:10px;overflow-wrap:anywhere}.game-score{gap:10px;font-size:11px}.game-score>b{font-size:22px}.area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.area-card:last-child{grid-column:auto;display:block}.area-card:last-child .area-illustration{height:71px;margin:10px 0}.area-card:last-child>p{min-height:40px}.puzzle-clue{gap:12px}.puzzle-clue p{font-size:16px}}
.lab-teaser{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;background:#eeeafa;border:1px solid #ddd5ed;border-radius:22px;margin-top:30px}.lab-teaser h2{margin:10px 0}.lab-teaser p{color:#667185}.lab-hero{display:grid;grid-template-columns:1fr 220px;gap:40px;align-items:center;background:#eeeafb;padding:38px;border-radius:26px;margin-bottom:28px}.lab-hero h2{font-size:38px;line-height:1.35;margin:18px 0}.lab-hero p{line-height:1.9;color:#5e647c}.lab-cover{width:100%;aspect-ratio:2/3;object-fit:contain}.lab-tag{display:inline-block;background:white;color:#65518c;padding:9px 14px;border-radius:20px;font-size:12px;margin-top:15px}.lab-options{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lab-options>button{padding:30px;text-align:left;background:white;border:1px solid #d9e2eb;border-radius:24px}.lab-options>button:hover{border-color:#7f68b5;box-shadow:0 8px 24px #66539712}.lab-icon{display:flex;background:#e6f4f1;color:#197f79;border-radius:18px;width:60px;height:60px;align-items:center;justify-content:center;font-size:38px;margin-bottom:24px}.lab-options>button:nth-child(2) .lab-icon{background:#f2eaf6;color:#8b4e95}.lab-options small{letter-spacing:1px;color:#6c7b8b}.lab-options h2{font-size:25px}.lab-options p{line-height:1.9;color:#68758a}.lab-options b{display:block;margin-top:22px;color:#197f79}.lab-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;color:#7b658e;font-size:12px}.detective-stage{display:grid;grid-template-columns:.85fr 1.3fr;gap:26px}.suspect-note{background:#f5ecf4;border:1px solid #ebdce8;padding:30px;border-radius:24px}.suspect-note h2{font-size:29px;line-height:1.5}.case-stamp{display:inline-block;border:2px solid #b16088;color:#a64c78;padding:7px 12px;transform:rotate(-4deg);margin:14px 0}.detective-art{display:block;width:145px;margin:20px auto 0}.evidence-desk{padding:30px;background:white;border-radius:24px;border:1px solid #dfe5ed}.evidence-desk h2{font-size:24px}.evidence-cards{display:grid;gap:14px;margin-top:24px}.evidence-cards button{text-align:left;padding:18px;border:2px solid #e1e6ee;border-radius:15px;background:#fafcfe}.evidence-cards button:hover,.evidence-cards button[aria-pressed=true]{border-color:#489f8d;background:#edf9f5}.evidence-cards span{display:block;font-size:10px;letter-spacing:1.5px;color:#527d84}.evidence-cards strong{display:block;font-size:21px;line-height:1.6;margin:8px 0}.evidence-cards small{font-size:12px;color:#6d7a8e}.case-notebook{background:white;padding:35px;border:1px solid #dce8e3;border-radius:25px;max-width:900px}.case-notebook article{display:flex;gap:24px;align-items:center;border-bottom:1px solid #e4ebe8;padding:22px 0}.case-notebook article>b{font-size:28px;color:#58a18c}.case-notebook article p{font-size:24px;margin:0 0 7px}.case-notebook article>span{margin-left:auto;color:#198470}.ending-workshop{display:grid;grid-template-columns:.75fr 1.4fr;background:white;border-radius:24px;border:1px solid #e0e5ef;overflow:hidden}.ending-workshop aside{background:#eef5f5;padding:28px}.ending-art{display:block;width:150px;margin:20px auto}.ending-workshop aside>p{font-size:21px;line-height:1.7}.ending-editor{padding:32px}.ending-editor h2{font-size:25px}.mood-buttons{display:flex;gap:12px;margin:22px 0 30px}.mood-buttons button{flex:1;padding:14px 8px;font-size:21px;border:2px solid #e1dfef;background:#faf9fd;border-radius:15px}.mood-buttons small{display:block;font-size:11px;margin-top:5px}.mood-buttons .selected{border-color:#8065b6;background:#eee7fa}.ending-editor label{font-weight:700;display:block}.ending-editor>p{font-size:13px;color:#748196}.ending-editor textarea{width:100%;min-height:155px;border:1px solid #ced9e5;border-radius:15px;padding:18px;font-size:24px;line-height:1.7;resize:vertical}.ending-editor>.primary{margin-top:22px}.my-story-card{display:grid;grid-template-columns:240px 1fr;background:white;border:1px solid #dadfeb;border-radius:25px;overflow:hidden;max-width:960px;box-shadow:0 15px 40px #54476b12}.story-card-art{background:#eaf2f5}.story-card-art img{width:100%;display:block}.story-card-art span{display:block;font-size:11px;color:#62788a;padding:12px}.story-card-copy{padding:38px}.story-card-copy h2{font-size:39px;color:#71569c}.story-card-copy p{font-size:26px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.story-signature{border-top:1px solid #e5e2ed;padding-top:22px;margin-top:30px;color:#847195}.game-link{display:inline-flex;text-decoration:none;margin-top:15px}
@media(max-width:700px){.lab-teaser{display:block;padding:23px}.lab-teaser .primary{margin-top:12px}.lab-hero{grid-template-columns:1fr 95px;gap:16px;padding:24px}.lab-hero h2{font-size:25px}.lab-hero p{font-size:12px}.lab-tag{font-size:10px}.lab-options,.detective-stage,.ending-workshop{grid-template-columns:1fr}.lab-options>button,.evidence-desk,.suspect-note,.ending-editor{padding:23px}.suspect-note{position:relative;padding-right:125px;min-height:245px}.suspect-note h2{font-size:22px}.detective-art{position:absolute;right:15px;bottom:24px;width:95px}.suspect-note .eyebrow{font-size:9px}.case-notebook{padding:23px}.case-notebook article p{font-size:20px}.ending-workshop aside{display:none}.my-story-card{grid-template-columns:1fr}.story-card-art{display:none}.story-card-copy{padding:25px}.story-card-copy p{font-size:24px}.mood-buttons{gap:7px}.mood-buttons button{font-size:18px}.game-link{font-size:12px}}
.lab-options>button{display:block}.lab-options small{display:block}.lab-options .lab-icon{display:flex}.lab-hero{padding:30px}.lab-hero .lab-cover{max-height:300px}.lab-options h2{margin:15px 0}.lab-options p{font-weight:400}
.sentence-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}.sentence-tabs button{background:white;border:1px solid #dce4ec;color:#68788b;border-radius:12px;padding:12px 17px;font-size:13px}.sentence-tabs button.selected{background:#ecf5f3;border-color:#69a99b;color:#176c5a}.sentence-tabs span{font-size:9px;margin-left:10px;color:#61789d}.reading-paths{display:grid;grid-template-columns:1fr 1fr;gap:28px}.reading-paths>button{display:block;padding:0;text-align:left;overflow:hidden;border:1px solid #dfe4ed;background:white;border-radius:25px;transition:transform .2s}.reading-paths>button:hover{transform:translateY(-4px);border-color:#8c7bc1}.reading-path-art{background:#e9f1f6;position:relative;padding:25px 40px 50px;height:290px;display:flex;justify-content:center}.reading-path-art>img{height:100%;width:auto;aspect-ratio:2/3;object-fit:contain}.reading-path-art>span{position:absolute;bottom:19px;left:30px;font-size:11px;letter-spacing:2px;color:#4c7285}.comic-path-art{background:#efebf8}.comic-path-art>div{display:flex;gap:12px;align-items:center}.comic-path-art img{width:30%;max-width:120px;aspect-ratio:2/3;object-fit:contain;box-shadow:0 8px 18px #59457918}.comic-path-art img:nth-child(1){transform:rotate(-5deg)}.comic-path-art img:nth-child(3){transform:rotate(5deg)}.reading-path-copy{padding:30px}.reading-path-copy>small{font-size:11px;letter-spacing:1px;color:#748397}.reading-path-copy h2{font-size:29px;margin:15px 0}.reading-path-copy p{font-size:15px;font-weight:400;line-height:1.9;color:#697b8d}.reading-path-copy>strong{display:flex;justify-content:space-between;gap:14px;margin-top:27px;padding-top:20px;border-top:1px solid #e6eaf0;font-size:12px;color:#647991}.reading-path-copy>strong>span{color:#5262a1}.comic-studio{background:white;border:1px solid #dfe5ed;border-radius:24px;padding:26px}.comic-stage-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.comic-stage-heading h2{font-size:24px;margin:7px 0}.comic-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.comic-frame{border:2px solid #e0e5ed;border-radius:17px;overflow:hidden;background:white;min-width:0}.comic-frame.active{border-color:#8a6bb7;box-shadow:0 0 0 3px #eee8f8}.comic-image-button{display:block;position:relative;padding:0;width:100%;border:0;border-radius:0;background:#f0f4f7;height:220px}.comic-image{height:100%;width:100%;object-fit:contain}.comic-frame-number{position:absolute;top:12px;left:12px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:white;color:#674d98;font-size:14px}.comic-frame>p{min-height:94px;margin:0;padding:19px;font-size:19px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;font-weight:500}.comic-frame-tools{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f5;padding:8px 12px}.comic-frame-tools button{padding:5px 12px;border:0;background:#f0eef8;color:#705797}.comic-frame-tools span{font-size:10px;color:#84768e}.comic-editor{display:grid;grid-template-columns:1fr 1fr;gap:27px;background:#f7f9fc;padding:23px;margin-top:25px;border-radius:16px}.comic-scene-tray{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.comic-scene-tray button{display:block;position:relative;padding:3px;border:2px solid transparent;border-radius:9px;background:white}.comic-scene-tray button.selected{border-color:#9073bb}.comic-scene-tray img{width:100%;height:74px;object-fit:contain;display:block}.comic-scene-tray span{position:absolute;bottom:5px;left:5px;background:white;font-size:10px;padding:2px 5px;border-radius:5px}.comic-scenes>p{font-size:11px;color:#7d8899;line-height:1.7}.comic-script label{font-weight:700;font-size:13px;display:block;margin-bottom:16px}.comic-script textarea{display:block;width:100%;min-height:158px;resize:vertical;border:1px solid #cdd8e5;border-radius:13px;padding:15px;font-size:20px;line-height:1.7}.comic-writing-help{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#778998}.comic-writing-help button{font-size:11px}.comic-tip{margin-top:20px;padding:14px 18px;border-left:3px solid #9b83ba;background:#f4f0f9;color:#746382;font-size:12px;line-height:1.8}.comic-player{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e0e5ef;border-radius:24px;overflow:hidden;min-height:470px}.comic-player-picture{position:relative;background:#eff4f7;text-align:center;padding:25px}.comic-player-picture img{height:420px;max-width:100%;object-fit:contain}.comic-player-picture>span{position:absolute;top:18px;left:18px;padding:8px 14px;background:white;border-radius:25px;color:#725e8c}.comic-player-script{padding:40px;align-self:center}.comic-player-script>p{font-size:32px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.comic-play-progress{display:flex;gap:10px;margin:28px 0}.comic-play-progress i{height:5px;flex:1;background:#e3dfed;border-radius:3px}.comic-play-progress i.active{background:#8a6db5}.comic-player-script>small{font-size:11px;color:#7d8999}
@media(max-width:700px){.reading-paths{grid-template-columns:1fr;gap:18px}.reading-path-art{height:190px;padding:18px 25px 42px}.reading-path-copy{padding:22px}.reading-path-copy h2{font-size:25px}.reading-path-copy p{font-size:13px}.sentence-tabs button{font-size:11px;padding:10px}.sentence-tabs span{display:none}.comic-studio{padding:15px}.comic-stage-heading{display:block}.comic-stage-heading>.primary{margin-top:10px}.comic-stage-heading h2{font-size:21px}.comic-strip{gap:9px}.comic-image-button{height:130px}.comic-frame>p{font-size:12px;padding:10px;min-height:100px}.comic-frame-number{width:21px;height:21px;font-size:11px;top:6px;left:6px}.comic-frame-tools{padding:6px;gap:3px}.comic-frame-tools span{display:none}.comic-frame-tools button{padding:5px 8px}.comic-editor{grid-template-columns:1fr;padding:15px;gap:18px}.comic-player{grid-template-columns:1fr;min-height:0}.comic-player-picture{padding:16px}.comic-player-picture img{height:250px}.comic-player-script{padding:22px}.comic-player-script>p{font-size:24px}.comic-tip{font-size:11px}.comic-script textarea{font-size:18px}}
/* Fit the complete desktop activity, including feedback, into the available viewport. */
@media(min-width:821px){
 .workspace{height:calc(100dvh - 64px);min-height:0}.masthead{height:64px}.skill-nav{min-height:0;height:100%;padding:16px 12px;gap:4px;position:static}.skill-nav>button{min-height:48px;padding:9px 11px}.skill-nav .nav-home{margin-bottom:8px;min-height:42px}.nav-bottom{margin-top:auto;padding:15px 12px 0}.nav-bottom>strong{font-size:20px}.main{padding:18px 26px 16px;align-self:start;transform-origin:top center}.lesson-heading{margin-bottom:14px}.lesson-heading h1{font-size:27px}.lesson-heading p{margin-top:5px;font-size:13px}.eyebrow{margin-bottom:5px}.question-progress{margin:0 0 15px}.word-stage{min-height:0}.word-visual{padding:20px}.word-image{height:clamp(180px,31vh,300px)}.word-task{padding:20px 28px}.word-task h2{font-size:32px;margin:4px 0 12px}.word-choices{margin-top:15px;gap:8px}.word-choices button{min-height:49px;padding:9px 14px}.word-choices strong{font-size:22px}.feedback{padding:12px 15px;margin-top:12px;font-size:13px}.feedback p{margin-bottom:7px}.feedback strong{margin-bottom:4px}.feedback .primary{margin-top:0;padding:10px 17px}.sound{padding:8px 12px}.sentence-context{padding:18px;gap:12px}.sentence-context>.scene-art{max-width:145px}.sentence-work{padding:22px}.sentence-built{min-height:100px;margin:15px 0;padding:16px}.token-bank{min-height:50px}.reading-source{padding:20px;max-height:none;overflow:visible}.reading-task{padding:22px}.reading-task h2{font-size:24px}.source-layout p[lang]{font-size:21px}.reading-choices{gap:9px;margin:15px 0}.reading-choices button{padding:10px 14px;font-size:18px}.reading-art{max-height:240px;width:auto;object-fit:contain}.speaking-scene{padding:20px}.speaking-scene .scene-art{max-height:370px;width:auto;object-fit:contain}.speaking-task{padding:20px 25px}.speaking-task h2{font-size:26px}.writing-guide,.writing-desk{padding:22px}.writing-art{max-height:140px;width:auto}.notebook{min-height:180px;font-size:21px}.writing-checks{margin-top:14px}.writing-guide h3{margin-top:14px}.reading-path-art{height:220px;padding:18px 30px 40px}.reading-path-copy{padding:23px}.reading-path-copy h2{font-size:26px;margin:10px 0}.reading-path-copy>strong{margin-top:18px;padding-top:15px}.comic-studio{padding:20px}.comic-image-button{height:175px}.comic-frame>p{min-height:75px;font-size:17px;padding:13px}.comic-editor{margin-top:17px;padding:17px;gap:22px}.comic-script textarea{min-height:118px;font-size:18px}.comic-scene-tray img{height:58px}.comic-tip{margin-top:13px;padding:10px 14px}.comic-stage-heading{margin-bottom:17px}.sentence-tabs{margin-bottom:16px}.comic-player{min-height:0}.comic-player-picture img{height:340px}.comic-player-script{padding:28px}.comic-player-script>p{font-size:29px}.journey-hero{margin-bottom:17px}.area-illustration{height:53px;margin:8px 0}.area-card{padding:12px 15px}.area-card>p{min-height:0;margin:6px 0 8px}.area-card h3{font-size:20px}.area-grid{gap:12px}.storage-note{margin-top:10px}.completion{margin:0 auto;padding:25px}.proofread-row{padding-top:16px;padding-bottom:16px}.proofread-heading{padding:20px 25px}.proofread-finished{margin:16px 25px;padding:18px}.proofread-footer{padding:16px 25px}
}
@media(max-width:820px){.skill-nav{grid-template-columns:repeat(7,minmax(0,1fr))}}
.word-visual{background:#fff}

.brand .brand-name{display:block!important}.difficulty-control{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:18px}.difficulty-control p{margin:4px 0 0;font-size:12px;color:#60758a}.difficulty-options{display:flex;gap:6px}.difficulty-options button{padding:9px 14px;font-size:13px}.difficulty-options button[aria-pressed=true]{background:#197f79;color:#fff;border-color:#197f79}.difficulty-description{flex-basis:100%}

.word-listen-card{text-align:center;padding:36px 12px;color:#197f79}.word-listen-card svg{width:72px;height:72px;display:block;margin:0 auto 22px}.word-listen-card strong{font-size:26px}.word-listen-card p{font-size:17px;line-height:1.7;color:#647c90}

/* A quiet home: navigation remains in the sidebar. */
.home-book{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(300px,1.2fr);align-items:center;gap:clamp(32px,5vw,76px);max-width:980px;margin:clamp(18px,5vh,52px) auto 30px;padding:clamp(24px,3vw,46px);background:#fff;border:1px solid var(--line);border-radius:24px}.home-book-cover{display:flex;justify-content:center}.home-cover{display:block;width:auto;max-width:100%;height:clamp(220px,42vh,390px);object-fit:contain;box-shadow:0 18px 34px #20394d18}.home-book-copy h1{font-size:clamp(30px,3vw,48px);line-height:1.2;letter-spacing:-1px;margin:12px 0 22px;overflow-wrap:anywhere}.home-invitation{font-size:16px;color:#60758a;line-height:1.8;margin:0 0 27px}.home-book-copy .big{font-size:17px;padding:16px 25px;gap:35px}.home-next{font-size:13px;color:#60758a;margin:15px 0 0}.home-settings{max-width:980px;margin:0 auto;border-top:1px solid var(--line);padding:14px 3px}.home-settings>summary{cursor:pointer;color:#546b81;font-size:13px}.home-settings .difficulty-control{margin:14px 0 0}.home-settings~.storage-note{max-width:980px;margin:10px auto;text-align:right}
@media(max-width:820px){.home-book{margin:10px auto 20px;gap:25px;grid-template-columns:1fr 1.3fr}.home-cover{height:230px}.home-book-copy h1{font-size:30px}.home-invitation{font-size:14px}.home-book-copy .big{font-size:14px;padding:13px 17px}}
@media(max-width:580px){.home-book{grid-template-columns:1fr;text-align:center;padding:25px 20px;gap:24px}.home-cover{height:215px}.home-book-copy h1{font-size:28px;margin-bottom:15px}.home-invitation{margin-bottom:19px}.home-book-copy .big{margin:auto}.home-settings~.storage-note{text-align:center}}

/* Age learning activities keep text readable; long passages scroll instead of shrinking. */
body[data-activity="reading"] .main,body[data-activity="game"] .main,body[data-activity="writing"] .main{zoom:1!important}
.age-focus{color:#197f79;font-weight:700;line-height:1.6}
.age-passage{font-size:clamp(18px,1.45vw,23px);line-height:1.85;overflow-wrap:anywhere}
.age-passage>p{white-space:normal}.age-passage u{text-underline-offset:6px;text-decoration-thickness:2px}
.age-passage .translation{font-size:17px;line-height:1.8}.choice-picture{width:100%;height:110px;object-fit:contain;display:block;margin:0 auto 12px}
.age-guided,.age-game-home,.age-game-play{max-width:980px;margin:0 auto;padding:24px;background:#fff;border:1px solid #dce8eb;border-radius:20px}
.age-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.age-choice-grid button{min-height:68px;padding:18px;text-align:left;white-space:normal;line-height:1.6;overflow-wrap:anywhere;font-size:19px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.age-choice-grid button b{color:#197f79}.age-choice-grid .choice-picture{height:130px}
.age-game-home h2{line-height:1.5}.age-game-home p{line-height:1.8}.age-timer-option{margin-top:20px}.age-game-home hr{margin:28px 0;border:0;border-top:1px solid #dce8eb}
.age-game-clock{font-weight:700;color:#197f79}.age-game-play .feedback{margin-top:20px}
body[data-age="teen"] .age-choice-grid{grid-template-columns:1fr}
body[data-age="kinder"] .age-choice-grid button{font-size:26px;justify-content:center;text-align:center;min-height:110px}
@media(max-width:650px){.age-guided,.age-game-home,.age-game-play{padding:16px}.age-choice-grid{grid-template-columns:1fr}.age-choice-grid button{font-size:18px}.age-passage{font-size:19px}.age-passage .translation{font-size:16px}body[data-age="kinder"] .age-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(min-width:821px){body[data-age="teen"][data-activity="reading"] .reading-source,body[data-age="junior"][data-activity="reading"] .reading-source{max-height:calc(100vh - 235px);min-height:340px;overflow-y:auto;scrollbar-gutter:stable}.reading-task{align-self:start}}

/* Natural illustration layout: preserve source proportions in every learning activity. */
#app img{object-fit:contain;aspect-ratio:auto}
#app .sentence-context>.scene-art{width:100%;max-width:440px;height:clamp(210px,29vw,300px);max-height:none;object-fit:contain;flex-shrink:0}
#app .speaking-scene{background:#f5f7fa;padding:28px;gap:18px}
#app .speaking-scene .scene-art{width:100%;max-width:560px;height:clamp(260px,32vw,390px);max-height:none;object-fit:contain}
#app .writing-art{float:none;display:block;width:100%;max-width:460px;height:230px;max-height:none;margin:18px auto 22px;object-fit:contain}
#app .reading-art{height:auto;max-height:320px;object-fit:contain}
#app .word-image{object-fit:contain;mix-blend-mode:normal}
#app .sentence-context{background:#f5f7fa}
#app .word-visual{background:#fff}
#app .writing-guide{min-width:0}
@media(max-width:700px){
 #app .sentence-context{display:flex;padding:18px;gap:14px}
 #app .sentence-context>.scene-art{width:100%;max-width:440px;height:210px}
 #app .speaking-scene{display:flex;padding:18px;gap:10px}
 #app .speaking-scene .scene-art{width:100%;max-width:440px;height:230px}
 #app .speaking-scene>span{position:static}
 #app .writing-art{width:100%;height:210px;margin:16px auto}
}

@media(max-width:580px){
 #app .mobile-writing-prompt{display:none}
 #app .writing-stage .writing-guide{order:0;border-top:0;border-bottom:1px solid var(--line)}
 #app .writing-stage .writing-desk{order:1}
 #app .writing-guide .hint{min-height:0}
}
/* Taller learning canvas: keep the activity layout, not fixed book pages. */
#app .main{max-width:1400px;zoom:1!important}
#app .workspace{height:auto;min-height:calc(100dvh - 64px)}
#app .word-stage,#app .sentence-stage,#app .reading-stage,#app .speaking-stage,#app .writing-stage{min-height:clamp(560px,65vh,700px);height:auto;align-items:stretch}
#app .word-stage>*,#app .sentence-stage>*,#app .reading-stage>*,#app .speaking-stage>*,#app .writing-stage>*{min-width:0;aspect-ratio:auto;max-height:none;overflow:visible}
#app .word-visual,#app .sentence-context,#app .speaking-scene{padding:28px;justify-content:center}
#app .word-image{width:100%;height:clamp(350px,48vh,500px);object-fit:contain}
#app .sentence-context>.scene-art{width:100%;max-width:100%;height:clamp(320px,43vh,460px);max-height:none;object-fit:contain}
#app .speaking-scene .scene-art{width:100%;max-width:100%;height:clamp(360px,50vh,520px);max-height:none;object-fit:contain}
#app .reading-source{max-height:none;overflow:visible}
#app .reading-art{width:100%;height:auto;max-height:380px;object-fit:contain}
#app .writing-art{height:300px;max-height:none;object-fit:contain}
#app .notebook{min-height:320px}
#app .home-book{min-height:560px}
#app .home-cover{height:460px;max-width:100%;object-fit:contain}
@media(max-width:760px){
 #app .word-stage,#app .sentence-stage,#app .reading-stage,#app .speaking-stage,#app .writing-stage{grid-template-columns:minmax(0,1fr);min-height:0}
 #app .word-image{height:300px}
 #app .sentence-context>.scene-art,#app .speaking-scene .scene-art{height:300px;max-width:100%}
 #app .sentence-context{display:flex;flex-direction:column;border-right:0;border-bottom:1px solid var(--line)}
 #app .speaking-scene{display:flex;flex-direction:column}
 #app .speaking-scene>span{position:static}
 #app .writing-art{height:260px}
 #app .home-book{min-height:0}
 #app .home-cover{height:320px}
 #app .writing-guide{border-right:0;border-bottom:1px solid var(--line)}
}

#app .word-task h2{font-size:clamp(26px,2.2vw,34px);word-break:keep-all;overflow-wrap:break-word}

#app .word-stage--text{grid-template-columns:1fr;min-height:400px}#app .word-stage--text .word-task{width:100%;max-width:800px;margin:auto} .learning-word-directory{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:24px}.learning-word-directory h3{font-size:17px;margin:24px 0 12px}.learning-word-list{display:flex;flex-wrap:wrap;gap:10px}.learning-word-list button{font-size:16px;flex-wrap:wrap}.learning-word-list small{font-size:12px;color:#60758a}

/* Shared learning actions: strong contrast, wrapping on narrower screens. */
.lesson-heading .coach-preclass{background:#5941a4!important;border-color:#5941a4!important;color:#fff!important;text-decoration:none;min-height:48px;box-sizing:border-box}
.lesson-heading .coach-preclass .coach-preclass__name,.lesson-heading .coach-preclass .coach-preclass__copy,.lesson-heading .coach-preclass .coach-preclass__arrow{color:#fff!important}
.lesson-heading .coach-preclass:hover{background:#422d83!important;border-color:#422d83!important}
.lesson-heading .coach-preclass:focus-visible{outline:3px solid #197f79;outline-offset:3px}
.lesson-heading:has(.coach-preclass){flex-wrap:wrap;gap:12px}
.lesson-heading .coach-preclass+.coach-preclass{margin-left:0}
@media(max-width:1200px){.lesson-heading:has(.coach-preclass)>div:first-child{flex-basis:100%}.lesson-heading .coach-preclass{margin-left:0;flex:1 1 190px;justify-content:center}}
@media(max-width:600px){.lesson-heading .coach-preclass{flex:1 1 100%;width:100%;justify-content:flex-start}.lesson-heading .coach-preclass__arrow{margin-left:auto}}
