:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#2f2643;background:#f7f5fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}a{color:#614bb1}
button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #9277ed;outline-offset:3px}
.site-header{background:#fff;border-bottom:1px solid #e7e1f0;padding:13px max(18px,calc((100vw - 1050px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#2f2548;font-weight:850}.brand small{display:block;color:#766b87;font-size:11px;font-weight:600}.logo{border-radius:12px;background:#6b53e4;color:#fff;width:42px;height:42px;display:grid;place-items:center;font-size:25px}.back-map{font-size:13px;font-weight:800;text-decoration:none}
main{max-width:1050px;margin:auto;padding:26px 20px 50px}.intro{margin:0 0 25px}.kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#6952c6}.intro h1{font-size:clamp(28px,5vw,43px);line-height:1.12;margin:10px 0}.intro h1 em{font-style:normal;color:#6851df}.intro p:not(.kicker){color:#716880;line-height:1.5}
.lesson{border:1px solid #e1d8ef;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 15px 45px rgba(53,31,99,.06)}
.lesson-bar{display:flex;justify-content:space-between;padding:15px 23px;background:#eee9ff;color:#493493;font-size:13px;font-weight:850}
.lesson-body{min-height:385px;padding:26px}.lesson-body h2{font-size:25px;margin:0 0 8px}.lesson-body p{line-height:1.5;color:#665d73}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.primary,.secondary,.light{border-radius:11px;padding:12px 17px;font-weight:800;border:1px solid #bdb1e0}.primary{background:#6851db;color:#fff;border-color:#6851db}.secondary{background:#f1edff;color:#493a85}.light{background:#fff;color:#574a79}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:19px}
.module-button{min-height:174px;text-align:left;border-radius:17px;border:1px solid #ded4ef;background:#faf8ff;padding:22px;display:flex;flex-direction:column;gap:9px}
.module-button:hover,.choice:hover{border-color:#8b6deb;background:#f1ecff}.module-icon{font-size:39px}.module-button strong{font-size:20px}.module-button small{color:#695f7a;font-size:13px;line-height:1.4}
.progress-track{height:8px;background:#ece8f1;border-radius:10px;overflow:hidden;margin:18px 0 25px}.progress-track>span{display:block;height:100%;background:#6f56d9;transition:width .2s}
.learn-card{display:grid;grid-template-columns:minmax(120px,220px) 1fr;gap:25px;align-items:center;background:#faf8ff;border:1px solid #eee7fb;border-radius:17px;padding:22px}
.visual-scene{width:100%;aspect-ratio:4/3;background:#f2effc;display:grid;place-items:center;border-radius:16px;font-size:clamp(56px,11vw,100px);line-height:1;color:#453578}
.color-disc{width:min(72%,144px);aspect-ratio:1;border:5px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(22,16,38,.16)}
.learn-card strong{font-size:clamp(25px,5vw,43px);letter-spacing:.035em;color:#3f336d}
.learn-card .helper{min-height:35px;color:#6755a0;margin:10px 0 5px;font-size:18px}
.prompt{background:#f6f2fd;border-radius:13px;padding:16px;margin:14px 0;color:#4f3f7d}
.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:22px 0}
.choice{min-height:123px;display:grid;place-items:center;background:#faf8fe;border:2px solid #e4dcec;border-radius:15px;padding:10px;position:relative}
.choice-visual{font-size:60px;line-height:1.1}.choice .color-disc{width:83px}
.choice[disabled]{cursor:default}.choice.is-right{border-color:#217549;background:#edfaf2}.choice.is-wrong{border-color:#b7742e;background:#fff5e8}
.feedback{min-height:46px;padding:12px 15px;border-radius:10px;background:#f5f1fd;color:#493e60;margin:12px 0;font-weight:750}
.feedback.is-correct{background:#eaf7ed;color:#1c683d}.feedback.is-retry{background:#fff3e5;color:#865117}
.dialogue-list{display:grid;gap:10px;margin:20px 0}.dialogue-line{display:flex;gap:11px;align-items:center;background:#f5f2fe;border:1px solid #e5dbf7;border-radius:12px;padding:11px 15px}.dialogue-line.role-1{background:#eef2fb;border-color:#d9e2f3;margin-left:25px}
.speaker{font-size:12px;font-weight:900;min-width:64px;color:#55459b}.dialogue-line p{margin:0;flex:1;color:#302946;font-weight:750}.dialogue-line small{display:block;font-weight:500;margin-top:4px;color:#6a5b80}.sound-button{min-height:38px;border-radius:9px;background:#fff;color:#51428a;border:1px solid #b7a9dc;padding:7px 11px;font-weight:800}
.support{margin:22px 0 0;padding:17px 20px;background:#fff;border:1px solid #e5deed;border-radius:16px;color:#645b71}.support-row{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap}.support label{font-size:13px;font-weight:850}.support select{border:1px solid #c9bde3;background:#fff;padding:9px;border-radius:8px}.support p{font-size:12px;line-height:1.5}.support .small{font-size:11px;color:#786f83}
.result-number{font-size:64px;font-weight:900;color:#624dc7;line-height:1.2}.result-note{font-size:13px;line-height:1.5}.hint{font-size:12px;color:#675d77}footer{max-width:1050px;margin:auto;padding:10px 20px 30px;color:#82758c;font-size:11px}
@media(max-width:640px){main{padding:19px 12px}.lesson-body{padding:17px;min-height:370px}.module-grid{grid-template-columns:1fr}.module-button{min-height:135px;padding:17px}.learn-card{grid-template-columns:1fr;gap:12px}.visual-scene{max-width:260px;margin:auto;aspect-ratio:2/1}.choice-grid{gap:6px}.choice{min-height:110px}.choice-visual{font-size:48px}.choice .color-disc{width:65px}.site-header{padding:12px}.dialogue-line{flex-wrap:wrap}.dialogue-line.role-1{margin-left:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Pilot V1.1 — quieter presentation and a navigation rail visible throughout the mission. */
:root{--night:#302445;--indigo:#6550c8;--paper:#ffffff;--border:#e4ddec}
body{background:radial-gradient(ellipse 70% 460px at 50% 0%,#ece8ff 0%,#f8f6fd 70%,#faf9fc 100%)}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);box-shadow:0 2px 12px rgba(48,33,86,.06);backdrop-filter:blur(12px)}
.journey-nav{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.journey-nav a,.journey-nav button{color:#54428e;text-decoration:none;font-size:12px;font-weight:850;border:1px solid transparent;border-radius:9px;background:transparent;padding:9px 12px;white-space:nowrap}
.journey-nav a:hover,.journey-nav button:hover{background:#f1ecff;border-color:#d8cafa}
.journey-nav a:nth-child(2){background:#f1edfc;border-color:#e7dcfa}
main{max-width:1100px;padding-top:20px}
.intro{margin-bottom:20px}.intro h1{font-size:clamp(28px,4vw,39px);letter-spacing:-.035em;margin:5px 0 10px}.intro p:not(.kicker){margin:0;line-height:1.5;font-size:14px}
.lesson{border-color:#e3dbef;border-radius:24px;box-shadow:0 18px 55px rgba(48,31,88,.07)}
.lesson-bar{background:linear-gradient(105deg,#f2ecff,#e8e0ff);padding:14px 24px}
.lesson-body{padding:24px 28px 28px;min-height:340px}
.lesson-body h2{font-size:25px;letter-spacing:-.03em}
.module-button{border-radius:18px;min-height:153px;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.module-button:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(74,48,138,.09)}
.progress-track{height:7px;margin:8px 0 26px}
.learn-card{border-color:#ebe5f4;background:#fcfaff}
.visual-scene{background:linear-gradient(155deg,#f2ecfc,#e9e7f8);border:1px solid #e6dcf1}
.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.choice-grid:has(.choice:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
.choice{min-height:148px;background:#fcfaff;transition:border-color .15s,transform .15s}
.choice:hover:not(:disabled){transform:translateY(-1px)}
.choice:active:not(:disabled){transform:translateY(1px)}
.feedback{margin:18px 0 2px}
.prompt{border:1px solid #eee5fa;background:linear-gradient(115deg,#f9f5ff,#f2edff);padding:15px 18px}
.secondary,.light{border-color:#c9baec}.primary{background:#654bd9;border-color:#654bd9}.primary:hover{background:#5037bd}
.audio-missing{font-size:13px;color:#994c21;background:#fff2e6;border:1px solid #f2d7b8;padding:11px;border-radius:9px;margin:10px 0}
.support{background:#fcfbff;border-color:#e5e0ed;margin-top:14px}
.finish-top{display:flex;align-items:center;gap:18px;margin:4px 0 20px}
.finish-top .kicker{margin:0 0 6px}.finish-top h2{margin:0;font-size:clamp(24px,4vw,32px)}
.finish-star{width:64px;height:64px;display:grid;place-items:center;flex-shrink:0;background:#e6dcff;border-radius:20px;color:#6a4bd4;font-size:36px}
.finish-summary{font-size:15px;line-height:1.65;max-width:680px;color:#554b64}
.finish-summary strong{color:#493191}.finish-hint{font-size:12px;font-weight:850;letter-spacing:.025em;margin:25px 0 11px;color:#695a84}
.finish-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.finish-link{border:1px solid #ded5ed;border-radius:15px;background:#fff;padding:15px 16px;text-align:left;min-height:80px;text-decoration:none;display:flex;flex-direction:column;justify-content:center;gap:7px;color:#48386d;cursor:pointer}
.finish-link:hover,.finish-link:focus-visible{background:#f2edff;border-color:#9678e7}
.finish-link strong{font-size:14px;line-height:1.2;color:#52399b}.finish-link small{font-size:12px;color:#736780;line-height:1.3}
.finish-next{background:#ece6ff;border-color:#ae99f1}
@media(max-width:700px){.site-header{padding:10px 12px;gap:8px}.brand{font-size:13px}.brand .logo{width:35px;height:35px}.journey-nav{gap:0;justify-content:flex-end}.journey-nav a,.journey-nav button{font-size:11px;padding:7px}.lesson-body{padding:16px 15px 20px}.choice-grid:has(.choice:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.choice{min-height:112px}.intro{margin:0 0 18px}.finish-top{gap:11px}.finish-star{width:48px;height:48px;font-size:27px}.finish-navigation{grid-template-columns:1fr}.finish-link{min-height:67px;padding:11px 14px}.module-button:hover,.choice:hover:not(:disabled){transform:none}}
@media(prefers-reduced-motion:reduce){.module-button,.choice{transition:none}}

/* Mission V1.2: invitation to resume and an adult two-person dialogue scene. */
.resume-banner{width:100%;display:flex;align-items:center;gap:13px;text-align:left;background:#eae3fc;border:1px solid #b9a2ee;border-radius:14px;padding:14px 17px;margin:18px 0 10px;color:#5239a4}
.resume-banner>span:first-child{font-size:27px;line-height:1}.resume-banner strong,.resume-banner small{display:block}.resume-banner small{font-size:12px;margin-top:3px;color:#6a5e80}
.resume-banner:hover,.resume-banner:focus-visible{background:#ded4fa;border-color:#7457c5}
.dialogue-scene{background:linear-gradient(135deg,#f8f3ff,#f1f3ff);border:1px solid #e8def6;border-radius:18px;padding:15px 16px;margin:17px 0 10px}
.scene-place{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#7b708c;font-size:12px}
.scene-sign{font-weight:900;font-size:11px;letter-spacing:.09em;color:#513990;background:#fff;border:1px solid #e3d9f1;padding:6px 12px;border-radius:8px}
.scene-people{display:grid;grid-template-columns:1fr 28px 1fr;gap:9px;align-items:end;padding:14px 7px 2px}
.scene-person{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 7px 10px;border:2px solid transparent;border-radius:16px;transition:background .2s,border-color .2s}
.scene-avatar{font-size:clamp(44px,7vw,69px);line-height:1.35;filter:drop-shadow(0 4px 4px rgba(54,30,88,.1))}
.scene-person strong{font-size:12px;color:#615373}.scene-spark{font-size:24px;text-align:center;align-self:center;color:#a8a0c0}
.scene-person.is-speaking{background:#e7dcff;border-color:#876bd5}.scene-person.is-speaking strong{color:#4d318d}
.dialogue-instruction{font-size:12px;margin:7px 0;color:#615472}
.dialogue-line{transition:background .18s,border-color .18s}
.dialogue-line.is-speaking,.dialogue-line.role-1.is-speaking{background:#e9e0ff;border:2px solid #795bd3;padding:10px 14px;box-shadow:0 4px 16px rgba(87,53,158,.07)}
.dialogue-line.is-speaking .speaker{color:#4a318e}
@media(max-width:600px){.dialogue-scene{padding:11px}.scene-people{gap:4px;padding:6px 0 0}.scene-avatar{font-size:42px}.scene-person strong{font-size:10px}.scene-spark{font-size:15px}}
@media(prefers-reduced-motion:reduce){.scene-person,.dialogue-line{transition:none}}

/* Student-first V1.3: every visible word should help the learner act. */
.intro{margin:3px 0 19px}
.intro h1{font-size:clamp(28px,4vw,38px);letter-spacing:-.035em;margin:0;font-weight:850;color:#312448}
.lesson-body{min-height:270px;padding:26px 30px 31px}
.lesson-body h2{font-size:clamp(23px,3vw,29px);margin:0 0 19px}
.lesson-bar{font-size:12px;padding:12px 24px}
.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:10px}
.module-button{min-height:185px;padding:20px 15px;display:flex;align-items:center;justify-content:center;text-align:center;gap:12px;background:linear-gradient(145deg,#fcfaff,#f5f0ff);border:1px solid #ded2fa}
.module-icon{font-size:clamp(42px,5vw,58px);line-height:1.2;display:block}
.module-button strong{font-size:clamp(19px,2vw,25px);letter-spacing:-.025em;color:#44306d}
.module-button:focus-visible{outline:3px solid #8a65ed}
.dialogue-entry{background:linear-gradient(145deg,#efe8ff,#e9dfff);border-color:#c2acee}
.dialogue-play-icon{font-size:13px;color:#5c3dbc;background:#fff;padding:6px 11px;border-radius:16px}
.learn-card{margin-top:13px}
.lesson-body .progress-track{margin-bottom:20px}
.feedback[hidden],.audio-missing[hidden]{display:none}
.feedback{min-height:0;padding:12px 16px;margin:14px 0 0}
.support{padding:12px 17px;background:#fff;margin-top:12px}
.teacher-notes{border-top:1px solid #eee7f6;margin-top:10px;padding-top:9px}
.teacher-notes summary{display:inline-block;cursor:pointer;font-size:11px;font-weight:750;color:#796c91;list-style:none}
.teacher-notes summary::-webkit-details-marker{display:none}
.teacher-notes summary:before{content:'ⓘ ';color:#8064ce}
.teacher-notes p{max-width:950px}
.support-row{justify-content:flex-start;gap:14px}
.support-row select{font-size:13px;padding:7px 10px}
.finish-navigation{margin-top:23px}
.finish-link{min-height:76px}
.finish-top h2{margin:0}
.finish-summary{font-size:15px;margin:3px 0 15px}
@media(max-width:700px){
 .lesson-body{padding:19px 15px;min-height:260px}
 .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .module-button{min-height:136px;padding:14px 9px;gap:6px}
 .module-icon{font-size:40px}
 .module-button strong{font-size:19px}
 .dialogue-entry{grid-column:1/-1;min-height:106px;display:grid;grid-template-columns:56px 1fr 40px;text-align:left;gap:8px;padding:10px 23px;justify-items:start}
 .dialogue-entry .dialogue-play-icon{justify-self:end}
 .intro{margin:5px 0 15px}
}

/* V1.4: language support belongs in the persistent header; activity map remains spare. */
.top-language{display:flex;align-items:center;gap:5px;flex-shrink:0;border-left:1px solid #e6dff0;padding-left:12px}
.top-language label{color:#6144aa;font-size:16px;cursor:pointer}
.top-language select{max-width:119px;border:1px solid #dcd1f3;background:#f9f6ff;color:#503785;border-radius:10px;padding:7px 9px;font-weight:750;font-size:12px}
.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}
.module-button:disabled{cursor:not-allowed;opacity:1}
.dialogue-entry.is-locked{background:#f7f5fa;border:2px dashed #d7cce3;color:#837891;box-shadow:none}
.dialogue-entry.is-locked .module-icon{filter:grayscale(1);opacity:.8}
.dialogue-entry.is-locked strong{color:#7d718c}
.dialogue-entry.is-locked .dialogue-play-icon{background:transparent;color:#887e9d}
.unlock-hint{margin:13px 0 0;font-size:12px;color:#6b6280;font-weight:800;text-align:center}
.unlock-hint span{font-size:11px;color:#8c8399;font-weight:600}
.unlocked-hint{color:#246b43;font-size:13px;font-weight:850}
.access-alert{color:#9b5626;font-size:12px;margin-top:10px}
@media(max-width:760px){.site-header{gap:4px}.brand small{font-size:9px}.top-language{padding-left:5px}.top-language select{max-width:88px;min-width:0;padding:6px 2px;font-size:10px}.top-language label{font-size:13px}.journey-nav a,.journey-nav button{padding:7px 4px;font-size:10px}}
@media(max-width:410px){.site-header{flex-wrap:wrap}.top-language{margin-left:auto;border-left:0}.journey-nav{order:3;width:100%;justify-content:center}}

/* ADA first case: a quiet 2+1 choice layout, with context-only language assistance. */
[hidden]{display:none!important}
.lesson-body:has(.boss-row){padding:30px 28px 35px;min-height:0}
.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:0}
.module-grid .module-button{min-height:190px}
.boss-row{display:flex;justify-content:center;margin:20px 0 0}
.boss-row .dialogue-entry{width:min(100%,350px);min-height:143px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:18px}
.boss-row .dialogue-entry.is-locked{background:#f8f7fa;border:2px dashed #dfd9e8;cursor:not-allowed;box-shadow:none;transform:none}
.boss-row .dialogue-entry[aria-disabled="true"]:focus-visible{outline:3px solid #8066d0;outline-offset:3px}
.boss-row .dialogue-entry .module-icon{font-size:47px}
.boss-row .dialogue-entry .dialogue-play-icon{font-size:12px}
.top-language[hidden],.lesson-bar[hidden]{display:none!important}
@media(max-width:700px){
 .lesson-body:has(.boss-row){padding:16px 14px 23px}
 .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .module-grid .module-button{min-height:140px}
 .boss-row{margin-top:14px}
 .boss-row .dialogue-entry{width:min(100%,280px);min-height:115px}
}

/* C11 pilot: contextual color transfer (separate optional practice, not an unlock). */
.context-scene{margin:10px auto 8px;max-width:370px;display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid #e4d9f2;border-radius:18px;padding:17px;background:linear-gradient(160deg,#fff,#f8f5ff)}
.context-scene svg{display:block;width:min(100%,245px);height:auto;max-height:175px}
.context-scene figcaption{font-weight:850;color:#574478;font-size:18px}
.context-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.spoken-option{min-width:0;display:flex;flex-direction:column;gap:7px}
.spoken-option .word-listen{width:100%;min-height:44px;border:1px solid #c7b8eb;border-radius:10px;background:#f4eeff;color:#53418d;font-size:19px}
.spoken-option .word-listen:hover{background:#eae0ff}
.spoken-option .word-listen:disabled{opacity:.45;cursor:not-allowed}
.spoken-option .word-choice{min-height:92px;font-size:clamp(15px,2vw,21px);font-weight:850;letter-spacing:.02em;color:#41316d}
.context-invitation{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:92px;margin:16px 0 3px;background:#f3edff;border:1px solid #c8b6ef;border-radius:14px;color:#583d9a;cursor:pointer}
.context-invitation span{font-size:36px}.context-invitation strong{font-size:22px}
.context-invitation:hover{background:#e9ddff}
@media(max-width:700px){.context-scene{max-width:100%;padding:9px}.context-scene svg{max-height:144px}.context-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.spoken-option .word-choice{min-height:72px;padding:5px;font-size:14px}.context-invitation{min-height:78px}}

/* C11 hierarchy: journey -> case choices -> focused activity. */
.journey-nav a:nth-child(2){background:transparent;border-color:transparent}
.journey-nav a[aria-current="location"]{background:#ece6ff;border-color:#d6c5f7;color:#483094}
.journey-nav a[aria-disabled="true"]{opacity:.42;cursor:default;text-decoration:none;pointer-events:none}
.case-overview{margin:15px 0 0;background:rgba(255,255,255,.94);border:1px solid #e2d7f0;border-radius:17px;box-shadow:0 8px 30px rgba(69,45,115,.035);overflow:hidden;color:#382e50}
.case-overview summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:17px 21px;font-size:13px;font-weight:850;color:#54417d}
.case-overview summary::-webkit-details-marker{display:none}
.case-overview summary:hover{background:#f9f6ff}
.case-overview summary:focus-visible{outline:3px solid #9277ed;outline-offset:-4px}
.overview-mark{width:30px;height:30px;display:grid;place-items:center;background:#ede5ff;color:#6148b2;border-radius:10px;font-size:20px}
.overview-chevron{margin-left:auto;font-size:22px;color:#796b96;transition:transform .15s}
.case-overview[open] .overview-chevron{transform:rotate(180deg)}
.overview-body{border-top:1px solid #efe9f7;padding:22px 24px 25px}
.overview-intro strong{font-size:19px;color:#382858}.overview-intro p{font-size:13px;line-height:1.5;color:#726583;margin:6px 0 19px}
.overview-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.overview-columns section{background:linear-gradient(155deg,#f9f6ff,#fdfcff);border:1px solid #eae1f6;border-radius:13px;padding:16px}
.overview-columns h2{font-size:14px;margin:0 0 7px;color:#5941a1}
.overview-columns p,.overview-scope{font-size:12px;line-height:1.6;color:#62576f;margin:0}
.overview-scope{margin-top:17px}
@media(max-width:720px){.overview-body{padding:17px}.overview-columns{grid-template-columns:1fr;gap:8px}.overview-columns section{padding:12px}.case-overview summary{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.overview-chevron{transition:none}}

/* Case status is communicated by shape+symbol, never color alone. */
.module-button{position:relative}
.module-button.is-complete{border:2px solid #49916f;background:linear-gradient(145deg,#f6fffa,#e7f6ed);box-shadow:0 6px 18px rgba(34,119,77,.075)}
.module-button.is-complete strong{color:#235d42}
.completion-mark{position:absolute;top:11px;right:12px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#23794e;color:#fff;font-size:17px;font-weight:900;box-shadow:0 3px 10px rgba(23,98,59,.18)}
.dialogue-entry.is-locked{filter:saturate(.6);opacity:.82}
.side-quest{display:flex;justify-content:center;margin:16px 0 -3px}
.side-quest-button{width:min(100%,310px);min-height:65px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:15px;background:#fff;border:1px solid #dacdec;color:#513b80;cursor:pointer;font-size:16px}
.side-quest-button span:first-child{font-size:28px}
.side-quest-button:hover,.side-quest-button:focus-visible{background:#f1ebff;border-color:#a794d9}
.celebration-stage .finish-star{animation:ada-sparkle .85s ease-in-out both}
.celebration-stage .finish-top h2{animation:ada-grow .55s ease-out both}
.success-return{font-size:12px;color:#655881;text-align:center;font-weight:700;margin:15px 0}
.just-completed{animation:ada-achievement 1.15s ease-out both}
.just-unlocked{animation:ada-unlock 1.25s ease-out both}
@keyframes ada-sparkle{0%{transform:scale(.45) rotate(-25deg);opacity:.1}60%{transform:scale(1.16) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0deg)}}
@keyframes ada-grow{0%{transform:translateY(9px);opacity:0}100%{transform:translateY(0);opacity:1}}
@keyframes ada-achievement{0%{box-shadow:0 0 0 0 rgba(35,121,78,.55)}60%{box-shadow:0 0 0 13px rgba(35,121,78,0)}100%{box-shadow:0 6px 18px rgba(34,119,77,.075)}}
@keyframes ada-unlock{0%{box-shadow:0 0 0 0 rgba(116,75,215,.5)}65%{box-shadow:0 0 0 15px rgba(116,75,215,0)}100%{box-shadow:none}}
@media(max-width:700px){.side-quest{margin:12px 0 -4px}.side-quest-button{min-height:59px}.completion-mark{width:25px;height:25px;font-size:15px;top:7px;right:8px}}
@media(prefers-reduced-motion:reduce){.celebration-stage .finish-star,.celebration-stage .finish-top h2,.just-completed,.just-unlocked{animation:none}}
/* Variable-length activity levels; no invented expert tier. */
.level-caption{display:block;color:#76678b;font-size:11px;font-weight:700;margin-top:-5px}
.module-button.is-complete .level-caption{color:#22664a}
.side-quest-button.is-complete{background:#f1fcf6;border:2px solid #49916f;color:#286547}
.side-quest-button.is-complete>span:last-child{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#23794e;color:#fff}
.next-path-cta{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px auto 0;padding:15px 22px;width:min(100%,360px);border:1px solid #b6a0e7;border-radius:14px;background:linear-gradient(110deg,#f4efff,#ebe5ff);color:#523695;text-decoration:none;font-size:15px}
.next-path-cta span:first-child{font-size:28px}
.next-path-cta:hover,.next-path-cta:focus-visible{background:#e7dcff}
/* An earned magic vocabulary book: decoration is never the only status signal. */
.journey-nav [hidden]{display:none!important}
.magic-notebook{display:flex;align-items:center;gap:17px;width:min(100%,450px);margin:23px auto 3px;padding:15px 21px;border:1px solid #bba2e9;border-radius:17px;text-decoration:none;color:#4f398b;background:linear-gradient(125deg,#fbf8ff,#efe7ff);box-shadow:0 8px 25px rgba(81,48,145,.08)}
.magic-notebook:hover,.magic-notebook:focus-visible{background:linear-gradient(125deg,#f6f0ff,#e9deff);border-color:#9374d9}
.magic-notebook-cover{flex:none;width:67px;height:73px;border-radius:11px;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,#50359d,#8e70e4);font-size:42px;box-shadow:inset -5px -5px 0 rgba(49,27,104,.16),0 9px 18px rgba(86,49,152,.18);transform:rotate(-5deg)}
.magic-notebook-cover i{position:absolute;right:-9px;top:-7px;font-style:normal;font-size:22px;color:#b78224;text-shadow:0 0 9px #f8dc91}
.magic-notebook>span:nth-child(2){display:grid;gap:4px}.magic-notebook strong{font-size:21px}.magic-notebook small{font-size:12px;color:#816f99}
.magic-notebook-arrow{margin-left:auto;font-size:23px}
.magic-notebook.notebook-appeared{animation:ada-book-reveal 1.45s ease both}
@keyframes ada-book-reveal{0%{transform:translateY(14px) scale(.92);opacity:0;box-shadow:0 0 0 0 rgba(116,73,208,.4)}55%{transform:translateY(-3px) scale(1.02);opacity:1;box-shadow:0 0 0 12px rgba(116,73,208,0)}100%{transform:none;opacity:1}}
@media(max-width:700px){.magic-notebook{gap:12px;padding:13px 15px}.magic-notebook-cover{width:55px;height:60px;font-size:34px}.magic-notebook strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.magic-notebook.notebook-appeared{animation:none}}

/* Earned companion sits in the margin, outside the activity grid. */
main{position:relative}
.book-launcher{position:absolute;left:-126px;top:78px;display:flex;flex-direction:column;align-items:center;gap:6px;width:108px;padding:10px 7px;border:0;border-radius:17px;background:transparent;color:#57409b;font-size:11px;font-weight:850;cursor:pointer}
.book-launcher[hidden],.journey-nav [hidden]{display:none!important}
.book-launcher:hover,.book-launcher:focus-visible{background:#efe9ff}
.book-graphic{position:relative;display:grid;place-items:center;width:78px;height:91px;border-radius:12px;background:linear-gradient(140deg,#503397,#8867dc);font-size:46px;box-shadow:inset -6px -6px 0 rgba(44,27,88,.16),0 12px 22px rgba(56,34,103,.16);transform:rotate(-7deg);transition:transform .2s}
.book-graphic i{position:absolute;top:1px;right:-8px;font-style:normal;font-size:25px;color:#f7d46d;text-shadow:0 0 10px #fff2ae}
.book-launcher:hover .book-graphic{transform:rotate(-3deg) translateY(-2px)}
.book-launcher.book-awakened .book-graphic{animation:ada-book-arrives .95s ease-out}
@keyframes ada-book-arrives{0%{transform:translateY(23px) scale(.7) rotate(-28deg);opacity:0}60%{transform:translateY(-6px) scale(1.09) rotate(3deg);opacity:1}100%{transform:rotate(-7deg)}}
@media(max-width:1370px){.book-launcher{left:-91px;width:80px}.book-graphic{width:60px;height:72px;font-size:37px}}
@media(max-width:1190px){.book-launcher{position:static;flex-direction:row;width:auto;margin:0 0 6px;padding:5px 12px 5px 5px;gap:11px;font-size:12px}.book-graphic{width:38px;height:44px;font-size:26px}.book-graphic i{font-size:13px;right:-4px}.intro{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.book-launcher.book-awakened .book-graphic{animation:none}.book-graphic{transition:none}}

/* C11 V1.5: an illustrated welcome and a predictable level path (no new unlock). */
.module-grid .module-button{
 border-radius:25px;isolation:isolate;overflow:hidden;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 30px rgba(66,43,111,.07);
 background:radial-gradient(circle at 83% 12%,rgba(206,188,244,.46),transparent 44%),linear-gradient(145deg,#fff,#f5efff);
}
.module-grid .module-button:not(.is-complete)[data-module="echanges"]{
 background:radial-gradient(circle at 84% 10%,rgba(242,208,232,.65),transparent 48%),linear-gradient(145deg,#fff,#f8f0ff);
}
.module-grid .module-button.is-complete{
 background:linear-gradient(145deg,#f6fffa,#e7f6ed);
}
.module-grid .module-icon{
 display:grid;place-items:center;flex:none;width:88px;height:88px;border-radius:28px;
 border:1px solid #dfd2f4;
 background:radial-gradient(circle at 28% 22%,#fff 3%,#f0e8ff 62%,#e2d6f6);
 box-shadow:0 8px 17px rgba(68,44,117,.1),inset 0 1px 0 #fff;
 transform:rotate(-4deg);font-size:47px;
}
.module-grid .module-button[data-module="echanges"] .module-icon{
 background:radial-gradient(circle at 28% 22%,#fff 3%,#fbe8f3 64%,#f0dbec);
}
.level-preview{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:3px;max-width:100%}
.level-step{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:#eee7fa;border:1px solid #e0d5f2;color:#534274;font-size:11px;font-weight:800;line-height:1.25}
.level-step.is-locked{background:#f4f2f6;border-color:#e5e1e9;color:#6e667c}
.level-step.is-done{background:#edf8f1;border-color:#b2ddc3;color:#216b43}
.level-cue{font-weight:900}
@media(max-width:700px){
 .module-grid .module-button{min-height:170px;padding:14px 7px;gap:8px}
 .module-grid .module-icon{width:64px;height:64px;border-radius:19px;font-size:36px}
 .level-preview{gap:4px}
 .level-step{font-size:10px;padding:4px 7px}
}
@media(prefers-reduced-motion:reduce){.module-grid .module-icon{transform:none}}

/* A calm adult street scene and two discovery moments; no new scoring state. */
.intro{
 display:flex;align-items:center;justify-content:space-between;gap:0;
 min-height:165px;padding:0 0 0 28px;overflow:hidden;
 border:1px solid #e9dff6;border-radius:25px;
 background:linear-gradient(110deg,#f6efff 0%,#f7f0fc 50%,#fff5f5 100%);
 box-shadow:0 12px 28px rgba(63,40,113,.045);
}
.intro h1{position:relative;z-index:1;flex:none;max-width:50%;font-size:clamp(29px,4vw,42px);line-height:1.08}
.intro-scene{width:69%;max-width:740px;height:auto;min-height:140px;align-self:end;object-fit:cover;object-position:right bottom}
.discovery-moment{display:inline-flex;align-items:center;gap:11px;max-width:100%;padding:8px 14px 8px 8px;margin:2px 0 17px;background:#f7f2ff;border:1px solid #e2d5f6;border-radius:15px}
.discovery-moment .moment-icon{width:41px;height:41px;display:grid;place-items:center;background:#ebe1fc;border-radius:12px;font-size:24px;flex:none}
.discovery-moment strong{display:block;color:#4e3884;font-size:13px}
.discovery-moment small{display:block;color:#71648b;font-size:11px;font-weight:800;margin-top:3px;letter-spacing:.045em}
@media(max-width:700px){
 .intro{min-height:119px;padding-left:13px;border-radius:19px}
 .intro h1{font-size:clamp(25px,6vw,34px);max-width:52%}
 .intro-scene{width:64%;min-height:95px}
 .discovery-moment{margin-bottom:13px}
}
@media(max-width:370px){.intro h1{font-size:24px}.intro-scene{width:60%}}


/* Oral-first C11 V2: large, adult-friendly picture and sound choices. */
.oral-question{max-width:800px;margin:auto;display:grid;gap:16px}
.oral-kicker{margin:0;text-transform:uppercase;letter-spacing:.08em;color:#6b58a0;font-size:12px;font-weight:800}
.oral-question h2{margin:0;color:#3e3261;font-size:clamp(22px,3.5vw,32px);line-height:1.25}
.oral-replay{border:1px solid #bba9e6;background:#efe9ff;color:#4d378c;font:inherit;font-size:16px;font-weight:800;border-radius:15px;min-height:59px;cursor:pointer}
.oral-replay:hover{background:#e5d9fc}
.oral-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.oral-choice{display:flex;flex-direction:column;gap:8px;min-width:0}
.oral-choice-sound{cursor:pointer;border:1px solid #ddd5ee;border-radius:12px;background:#fff;color:#5740a3;min-height:44px;font:inherit}
.oral-choice-answer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:14px 6px;min-height:137px;width:100%;border:2px solid #ded6ef;border-radius:16px;background:#fbfaff;color:#3c3064;cursor:pointer;font:inherit}
.oral-choice-answer .choice-visual{font-size:clamp(37px,5vw,61px)}
.oral-choice-answer strong{font-size:clamp(13px,2vw,19px);letter-spacing:.025em}
.oral-choice-answer:focus-visible,.oral-choice-sound:focus-visible,.oral-replay:focus-visible{outline:3px solid #795acf;outline-offset:3px}
.oral-choice-answer:hover:not(:disabled){border-color:#8066cf;background:#f2ecff}
.oral-choice-answer.is-right{border-color:#49916f;background:#effaf3}
.oral-choice-answer.is-wrong{border-color:#b98236;background:#fff5e6}
.oral-feedback{min-height:25px;margin:0;color:#5e4b80;font-weight:750}
.oral-actions{display:flex;gap:12px;flex-wrap:wrap}
.oral-actions button{min-height:48px}
@media(max-width:520px){.oral-choices{gap:7px}.oral-choice-answer{min-height:105px;padding:8px 3px}.oral-choice-answer .choice-visual{font-size:35px}.oral-choice-answer strong{font-size:12px}.oral-replay{min-height:54px}.oral-question{gap:12px}}
@media(prefers-reduced-motion:reduce){.oral-choice-answer,.oral-replay{transition:none}}


/* Paris, for adults: calm urban visual and legible typographic activity numbers. */
.intro {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: 200px;
  min-height: 200px;
  padding: 23px 30px;
  background: #ece8f2;
  overflow: hidden;
}
.intro-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 48%;
  opacity: .88;
}
.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(250,248,252,.99) 0%,
    rgba(250,248,252,.98) 29%,
    rgba(250,248,252,.79) 48%,
    rgba(250,248,252,.18) 82%);
}
.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 56%;
}
.intro-copy .intro-place {
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 850;
  color: #615082;
  margin: 0 0 9px;
}
.intro-copy h1 {
  max-width: none;
  color: #35284e;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 8px;
}
.intro-copy .intro-subtitle {
  color: #675f74;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.module-grid .module-icon,
.boss-row .dialogue-entry .module-icon {
  width: 67px;
  height: 67px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.07em;
  color: #5c4b7c;
  background: #f5f1fa;
  border: 1px solid #dcd3e8;
  border-radius: 18px;
  box-shadow: none;
  transform: none;
}
.module-grid .module-button:not(.is-complete) {
  background: linear-gradient(155deg,#fffdfa,#f7f3fa);
  border-color: #e0d8e9;
}
.boss-row .dialogue-entry:not(.is-complete) {
  background: linear-gradient(155deg,#f9f6fc,#efebf6);
  border-color: #d9ceea;
}
.module-grid .module-button:not(.is-complete)[data-module="bonjour-trio-v2"] .module-icon {
  background: #f5f1fa;
}
.module-grid .module-button:hover:not(:disabled) {
  border-color: #846bac;
  background: #f5f1fb;
}
@media(max-width:700px) {
  .intro { height: 155px; min-height: 155px; padding: 18px 18px; }
  .intro-copy { max-width: 65%; }
  .intro::before { background: linear-gradient(90deg, rgba(250,248,252,.98) 0%, rgba(250,248,252,.91) 46%, rgba(250,248,252,.18) 95%); }
  .intro-copy h1 { font-size: clamp(25px,6vw,32px); }
  .intro-copy .intro-subtitle { font-size: 11px; }
  .module-grid .module-icon { width: 57px; height: 57px; font-size: 23px; }
  .boss-row .dialogue-entry .module-icon { width: 53px; height: 53px; font-size: 23px; }
}
@media(max-width:380px) {
  .intro-copy { max-width: 75%; }
  .intro-copy .intro-subtitle { max-width: 195px; }
}

/* ADA: two adult speakers; dialogue as a familiar mobile chat. */
.dialogue-scene{max-width:790px;margin:14px auto 0;padding:8px 16px;background:#fff9f5;border-color:#ead9d6}
.dialogue-scene .scene-people{padding:3px 8px 0}.dialogue-scene .scene-person{padding:5px 7px}
.dialogue-scene .scene-avatar{font-size:clamp(33px,5vw,46px)}
.dialogue-list{display:flex;flex-direction:column;align-items:stretch;gap:13px;max-width:790px;margin:12px auto 19px;padding:22px;border:1px solid #e5dce5;border-radius:22px;background:linear-gradient(145deg,#f9f8fb,#fffaf6);box-shadow:0 9px 25px rgba(49,40,72,.05)}
.dialogue-list .dialogue-line{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 46px;column-gap:12px;row-gap:5px;align-items:center;width:fit-content;min-width:200px;max-width:78%;margin:0;padding:14px 16px;border:1px solid #e9d6db;border-radius:19px 19px 19px 5px;background:#fff0f1;box-shadow:0 3px 9px rgba(49,40,72,.045)}
.dialogue-list .dialogue-line.role-0{align-self:flex-start;margin-left:0;margin-right:auto}
.dialogue-list .dialogue-line.role-1{align-self:flex-end;margin-left:auto;margin-right:0;border-color:#c9d9ec;border-radius:19px 19px 5px 19px;background:#e5f0fd}
.dialogue-list .dialogue-line .speaker{grid-column:1/-1;min-width:0;font-size:11px;font-weight:850;color:#795064}
.dialogue-list .dialogue-line.role-1 .speaker{color:#38547d}
.dialogue-list .dialogue-line p{grid-column:1;min-width:0;margin:0;font-size:clamp(19px,2.1vw,23px);line-height:1.4;color:#352d3f;font-weight:750}
.dialogue-list .dialogue-line p small{font-size:13px;font-weight:550}
.dialogue-list .dialogue-line .sound-button{grid-column:2;grid-row:2;justify-self:end;display:grid;place-items:center;width:46px;height:46px;padding:4px;background:#fffefa;border-radius:13px;border:1px solid #cbbfda;color:#493774;cursor:pointer}
.dialogue-list .dialogue-line.is-speaking,.dialogue-list .dialogue-line.role-1.is-speaking{padding:13px 15px;border:2px solid #7150bc;box-shadow:0 0 0 3px rgba(112,77,188,.15)}
.dialogue-list .dialogue-line:focus-within{outline:2px solid #7857b2;outline-offset:2px}
@media(max-width:640px){.dialogue-scene{padding:7px 10px}.dialogue-list{padding:13px 9px;gap:10px;border-radius:15px}.dialogue-list .dialogue-line{max-width:89%;min-width:0;padding:12px 11px;grid-template-columns:minmax(0,1fr) 40px;column-gap:8px}.dialogue-list .dialogue-line .sound-button{width:40px;height:40px}.dialogue-list .dialogue-line.is-speaking,.dialogue-list .dialogue-line.role-1.is-speaking{padding:11px 10px}.dialogue-list .dialogue-line p{font-size:19px}}

/* Small, repeatable three-word levels inside the existing Bonjour activity. */
.word-quests{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 4px}
.word-quests .word-quest-button{display:flex;align-items:center;gap:10px;width:auto;min-height:58px;padding:9px 16px;border-radius:15px;background:#fffaf6;border:1px solid #ddd1ea;color:#44345f}
.word-quests .word-quest-button:hover,.word-quests .word-quest-button:focus-visible{border-color:#795bb2;background:#f8f1ff}
.word-quests .word-quest-button .word-quest-number{display:grid;place-items:center;min-width:37px;min-height:37px;border-radius:10px;background:#eee4fb;font-weight:850;color:#5b408c}
.word-quests .word-quest-button.is-complete{border-color:#76a28b}
@media(max-width:560px){.word-quests{margin-top:8px}.word-quests .word-quest-button{width:100%;justify-content:flex-start;min-height:56px}}

/* Clear training -> optional challenge hand-off; learner navigation remains in the top bar. */
.practice-stage-label{margin:5px 0 11px;color:#5b4785;font-size:13px;font-weight:850;letter-spacing:.035em}
.practice-finished{min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;padding:20px 8px}
.practice-finished-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:19px;background:#eef8f1;color:#336447;font-size:33px;font-weight:850}
.practice-finished h2{font-size:clamp(24px,4vw,34px);margin:3px 0 0}
.practice-finished p{margin:0;color:#5c5368;font-weight:600}
.practice-finished .actions{justify-content:center;margin-top:17px}
@media(max-width:560px){.practice-finished{min-height:225px}.practice-finished .actions{width:100%}.practice-finished .actions button{flex:1 1 150px;min-height:48px}}


/* C11: levels stay inside the two parent activities, with one touch target per level. */
.module-grid .module-cell{min-width:0;display:flex;flex-direction:column;gap:9px}
.module-grid .module-cell>.module-button{width:100%;min-height:166px;position:relative}
.module-grid .module-cell>.module-button.is-started:not(.is-complete){border-color:#b9a5da}
.module-progress{color:#5b4b74;font-size:12px;font-weight:750}
.module-new{position:absolute;top:9px;right:9px;padding:4px 8px;border-radius:999px;background:#e9e0fa;color:#54358e;font-size:11px;font-weight:850}
.level-picker-wrap{min-width:0}
.level-picker{display:grid;gap:7px;padding:10px;border:1px solid #ded3ed;border-radius:18px;background:#faf8fd}
.level-choice{width:100%;min-height:49px;padding:8px 11px;display:flex;align-items:center;gap:10px;border:1px solid #d6c9e9;background:#fff;color:#493775;border-radius:11px;font:inherit;text-align:left;cursor:pointer}
.level-choice:not(:disabled):hover,.level-choice:not(:disabled):focus-visible{border-color:#8064be;background:#f1ebff}
.level-choice:disabled{cursor:default;background:#f5f3f7;color:#746b80;border-color:#e1dce7}
.level-choice.is-complete{background:#eff9f2;border-color:#a9d7bb;color:#245f40}
.level-number{flex:none;display:grid;place-items:center;width:27px;height:27px;background:#eee8f8;border-radius:8px;font-size:13px;font-weight:850}
.level-choice.is-complete .level-number{background:#d9f0e1}
.level-choice .level-name{font-weight:800;font-size:13px;flex:1;min-width:0}
.level-status{font-weight:850;font-size:16px}
.quiz-cue-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.written-color-target{font-size:clamp(22px,4.5vw,32px);letter-spacing:.045em;color:#403164}
.visual-fallback{font-size:22px;color:#403164}
@media(max-width:700px){.module-grid .module-cell>.module-button{min-height:138px}.level-picker{padding:7px}.level-choice{padding:7px;gap:6px}.level-choice .level-name{font-size:12px}.module-new{font-size:10px}}
@media(max-width:370px){.module-grid{gap:7px}.module-grid .module-cell>.module-button{padding:12px 5px}.level-number{width:23px;height:23px}.level-choice .level-name{font-size:11px}}

/* C11: choose a symbol using the printed word or optional recording. */
.oral-cue-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:2px 0}
.oral-cue-row .oral-replay{min-width:147px;padding:11px 16px}
.oral-cue-row .oral-replay:disabled{opacity:.5;cursor:default}
.oral-target-word{font-size:clamp(27px,5vw,39px);font-weight:900;letter-spacing:.045em;color:#41316d;overflow-wrap:anywhere}
.oral-choice-answer{min-height:140px}
.oral-choice-answer .choice-visual{font-size:clamp(51px,6vw,76px)}
@media(max-width:520px){
  /* Full-width family cards and level rows avoid half-screen taps and cramped labels. */
  .module-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .module-grid .module-cell>.module-button{
    min-height:105px;display:grid;grid-template-columns:54px minmax(0,1fr);
    grid-template-rows:auto auto;align-content:center;align-items:center;
    justify-content:start;justify-items:start;gap:2px 12px;padding:14px 16px;
    text-align:left
  }
  .module-grid .module-cell>.module-button .module-icon{
    grid-column:1;grid-row:1 / span 2;width:53px;height:53px;font-size:24px
  }
  .module-grid .module-cell>.module-button strong{grid-column:2;grid-row:1;font-size:21px}
  .module-grid .module-cell>.module-button .module-progress{grid-column:2;grid-row:2;font-size:12px}
  .level-picker{padding:8px}
  .level-choice{min-height:52px;padding:9px 13px}
  .level-choice .level-name{font-size:15px}
  .boss-row .dialogue-entry{
    width:100%;min-height:105px;display:grid;grid-template-columns:54px minmax(0,1fr) 28px;
    align-items:center;justify-items:start;gap:12px;padding:14px 16px;text-align:left
  }
  .boss-row .dialogue-entry .module-icon{width:53px;height:53px}
  .boss-row .dialogue-entry strong{font-size:21px}
  .boss-row .dialogue-entry .dialogue-play-icon{justify-self:end}
  .oral-choice-answer{min-height:115px;padding:10px 4px}
  .oral-choice-answer .choice-visual{font-size:clamp(40px,11vw,56px)}
  .oral-cue-row{gap:10px}
  .oral-cue-row .oral-replay{min-height:51px;min-width:124px}
}
@media(max-width:350px){
  .module-grid .module-cell>.module-button strong{font-size:19px}
  .oral-target-word{font-size:25px}
}

/* C11 food trio: photographed clarity with compact, original local SVG assets.
   Neutral framing keeps the same readable object in discovery, quiz and notebook. */
.word-illustration{
 width:min(100%,215px);
 height:clamp(98px,15vw,182px);
 object-fit:contain;
 display:block;
 margin:auto;
 filter:drop-shadow(0 5px 8px rgba(66,48,35,.045));
}
.visual-scene:has(.word-illustration){background:#fffdfb;border:1px solid #eadfda;padding:7px;overflow:hidden}
.choice:has(.word-illustration){background:#fffdfb}
.choice .word-illustration{width:100%;height:clamp(96px,13vw,160px);object-fit:contain}
.choice:focus-visible{outline:3px solid #7251d5;outline-offset:3px}
@media(max-width:520px){
 .choice .word-illustration{height:clamp(95px,29vw,138px)}
 .visual-scene .word-illustration{height:min(32vw,136px)}
 .choice:has(.word-illustration){min-height:122px;padding:4px}
}
