/* Workshop Quest: touch-friendly narration and game progression. */
.read-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid #b9cbb9;border-radius:10px;background:#edf5e8;color:#294c32;font-size:.84rem;font-weight:700;line-height:1.3;flex-shrink:0}
.read-button:hover{background:#dcebd4;border-color:#6e9268}.read-button[aria-pressed=true]{background:#304e35;color:#fff;border-color:#304e35}.read-button .icon{width:20px;height:20px}.listen-label{display:inline}
.read-button.compact{padding:10px;width:44px;height:100%;min-height:46px;align-self:stretch}.read-button.compact span{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.reading-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0 15px}.reading-speed{display:flex;align-items:center;gap:7px;font-size:.72rem;color:var(--muted)}.reading-speed select{min-height:44px;background:var(--white);border:1px solid #cbd2c3;padding:6px 7px;border-radius:7px;color:var(--ink);max-width:100px}.option-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:stretch;border-radius:10px}.option-row .option{width:100%;font-size:.9rem}.option:disabled{opacity:.78}.option.correct:disabled{opacity:1}.option-row .read-button{background:#f0f3eb}.option-row .read-button[aria-pressed=true]{background:#304e35}.being-read{outline:3px solid #f0b55f;outline-offset:4px}.feedback p{color:inherit;font-size:inherit}.feedback .read-button{margin-top:12px}.feedback .button-row{margin-top:0}.feedback-spark{display:inline-block;color:#5e7c2b;animation:reward-pop .35s ease-out}.prompt-card>.read-button,.completion>.read-button{margin:12px 0 0}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.topbar .read-button{font-size:.78rem}.topbar .tool-button{min-width:44px;min-height:44px}
.speech-tray{position:fixed;bottom:18px;left:calc(var(--sidebar) + 22px);right:22px;max-width:1000px;margin:0 auto;z-index:45;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 18px;background:#293c2e;color:white;border:2px solid #b6cba4;border-radius:15px;box-shadow:0 10px 30px #17251b38}.speech-tray[hidden]{display:none}.speech-tray strong{display:block;font-size:.63rem;text-transform:uppercase;letter-spacing:1.3px;color:#c8dfa8;margin-bottom:4px}.speech-tray p{font-size:1rem;line-height:1.45;max-height:100px;overflow:auto}.speech-tray .button{flex-shrink:0}.speech-playing main{padding-bottom:200px}
.quest-hero h1{font-size:clamp(2.6rem,4vw,3.8rem)}.quest-hero .hero-copy{padding-bottom:32px}.quest-hero .hero-art{min-height:250px}.quest-board{margin-top:28px;border:1px solid #cdd6c1;background:#e8eddf;border-radius:22px;padding:25px;background-image:radial-gradient(#b3c2a755 .9px,transparent .9px);background-size:18px 18px}.quest-board-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.quest-board-head h2{font-size:1.35rem;margin-top:8px}.quest-board-head .eyebrow{color:#5b7150}.quest-key-count{display:flex;gap:7px;align-items:center;border:1px solid #c2d0b6;background:#f5f8ee;border-radius:99px;padding:7px 11px;font-size:.7rem;white-space:nowrap;font-weight:700}.quest-key-count .icon{width:16px;height:16px}.quest-stations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.quest-station{display:block;position:relative;border:2px solid #d3dbc9;border-radius:16px;background:#fffef8;padding:18px;text-decoration:none;box-shadow:0 5px 0 #ced7c2;transition:transform .2s,border-color .2s;overflow:hidden}.quest-station:hover{transform:translateY(-3px);border-color:#769565}.quest-station.up-next{border-color:#dd7e4c;box-shadow:0 5px 0 #e3b08d}.quest-station.cleared{border-color:#85a270;background:#f4faed;box-shadow:0 5px 0 #b9cda8}.station-number{position:absolute;top:14px;left:14px;height:29px;width:29px;display:grid;place-items:center;border:1px solid #cbd4bf;border-radius:50%;font-size:.7rem;font-weight:700;background:#f0f3e8}.cleared .station-number{background:#547746;color:white;border-color:#547746}.station-number .icon{width:17px;height:17px}.station-art{height:98px;display:flex;align-items:center;justify-content:center;margin:3px 0 12px}.station-art>svg{width:128px;height:100px}.quest-station small{display:block;font-size:.59rem;letter-spacing:.5px;text-transform:uppercase;line-height:1.6;color:#5c7050}.quest-station h3{font-size:1.05rem;margin-top:5px;min-height:2.6em}.station-meter{display:flex;gap:4px;margin:15px 0}.station-meter i{height:6px;background:#e2e6d9;border-radius:4px;flex:1}.station-meter .filled{background:#61834c}.station-cta{display:flex;align-items:center;justify-content:space-between;font-size:.74rem;font-weight:700}.station-cta .icon{width:17px;height:17px}.rescue-gate{display:flex;align-items:center;gap:17px;background:#e0e4d9;border:1px dashed #9baa8b;border-radius:15px;padding:22px;margin-top:24px}.rescue-gate.unlocked{background:#293c2e;border:1px solid #293c2e;color:#f3f6e9}.gate-icon{height:58px;width:58px;display:grid;place-items:center;flex-shrink:0;border-radius:16px;background:#f0f4e7;color:#51684a}.gate-icon .icon{width:30px;height:30px}.rescue-gate .eyebrow{font-size:.6rem;color:#5b7150}.rescue-gate.unlocked .eyebrow{color:#ccdbae}.rescue-gate h2{font-size:1.4rem;margin:6px 0}.rescue-gate p{font-size:.8rem;color:#5a6653;max-width:450px}.rescue-gate.unlocked p{color:#c5d1b9}.rescue-gate>.button{margin-left:auto;white-space:nowrap}.rescue-gate .button.secondary{color:var(--ink)}
.mission-hud{display:flex;align-items:center;gap:18px;background:#2d392c;color:#f1f5e9;border-radius:13px;padding:13px 18px;margin:0 0 24px;font-size:.77rem}.mission-hud>span:first-child{display:flex;align-items:center;gap:9px;white-space:nowrap}.mission-hud .icon{color:#edbb7e;width:19px;height:19px}.mission-hud>span:last-child{white-space:nowrap}.mission-track{display:flex;gap:5px;flex:1}.mission-track span{height:8px;border-radius:3px;background:#52604a;flex:1}.mission-track .filled{background:#edb074}.game-panel{grid-template-columns:.9fr 1.8fr}.badge-shelf{display:grid;grid-template-columns:repeat(4,1fr)}.practice-badge{font-size:.62rem}.game-level p{line-height:1.6}.game-rule{line-height:1.7}.rescue-intro{padding:35px;max-width:850px}.rescue-emblem{width:73px;height:73px;background:#e1ebd4;color:#567247;display:grid;place-items:center;border-radius:23px;margin-bottom:24px;transform:rotate(-5deg)}.rescue-emblem .icon{height:38px;width:38px}.rescue-intro h2{font-size:1.9rem}.rescue-intro p{max-width:650px}.unlock-checklist{display:grid;gap:9px;margin-top:24px;max-width:400px}.unlock-checklist a{display:flex;align-items:center;gap:12px;border:1px solid #d1dcc7;padding:13px 16px;border-radius:10px;font-size:.85rem;text-decoration:none;background:#f1f5e9;min-height:48px}.rescue-rules{display:flex;gap:18px;margin:26px 0;flex-wrap:wrap;font-size:.8rem}.rescue-rules span{display:flex;gap:8px;align-items:center}.rescue-rules b{background:#e8eedc;border:1px solid #c5d4b5;border-radius:50%;height:32px;width:32px;display:grid;place-items:center;font-size:.65rem}.star-explainer{font-size:.77rem!important}.repair-board{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:24px 0}.repair-station{position:relative;border:1px solid #d0d7c4;border-radius:15px;background:#e9ede1;display:flex;align-items:center;flex-direction:column;text-align:center;padding:14px 10px;color:#627055;transition:background .3s,border-color .3s}.repair-station>svg{width:100px;height:75px;opacity:.65}.repair-station strong{font-size:.85rem;margin-top:7px}.repair-station>span:not(.repair-light){font-size:.69rem;margin-top:3px}.repair-light{position:absolute;top:13px;right:13px;width:10px;height:10px;background:#a3ab99;border:2px solid #f6f8f0;border-radius:50%}.repair-station.restored{background:#e2efcf;border-color:#91b572;color:#31582f}.repair-station.restored>svg{opacity:1}.restored .repair-light{background:#54842e;box-shadow:0 0 0 5px #92b85d33}.repair-bolts{display:flex;gap:5px;margin-top:10px}.repair-bolts i{width:28px;height:6px;border-radius:4px;background:#cbd3bf}.repair-bolts .filled{background:#648641}.rescue-round{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:start}.rescue-round-meta{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.rescue-round-meta strong{font-size:.68rem;white-space:nowrap;color:#597249}.rescue-question{margin-top:15px!important}.rescue-hazard-art{border:1px solid #cfc8dd;background:#e6e0f1;border-radius:18px;padding:30px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px}.rescue-hazard-art>svg{width:180px;height:145px}.rescue-hazard-art strong{font-size:1.3rem}.rescue-hazard-art p{font-size:.87rem;line-height:1.7;color:#60566d}.rescue-win{background:#e7efdb;border:1px solid #c1d3ad;border-radius:22px;padding:33px}.rescue-win h2{font-size:2.3rem;margin:14px 0}.rescue-win>p{max-width:670px;font-size:.9rem;color:#536647}.stars{display:flex;gap:15px;margin:0 0 22px;font-size:3.8rem;line-height:1;color:#bac9ab}.stars .earned{color:#a76810;text-shadow:0 3px 0 #edca7b;animation:reward-pop .45s ease-out}.stars span:nth-child(2){animation-delay:.08s}.stars span:nth-child(3){animation-delay:.16s}@keyframes reward-pop{0%{transform:scale(.7) rotate(-10deg)}65%{transform:scale(1.13) rotate(3deg)}100%{transform:scale(1)}}
@media(max-width:1180px){.game-panel{grid-template-columns:1fr}.rescue-gate{flex-wrap:wrap}.rescue-gate>.button{margin-left:75px}.rescue-round{grid-template-columns:1fr}.rescue-visual{order:-1}.rescue-visual .diagram-frame{max-width:650px}.quest-station{padding:15px}.quest-station h3{font-size:.96rem}}
@media(max-width:900px){.quest-stations{grid-template-columns:repeat(2,minmax(0,1fr))}.quest-board-head{align-items:flex-start;flex-direction:column;gap:12px}.quest-key-count{align-self:flex-start}.speech-tray{left:100px}.rescue-visual .compact-note{display:none}}
@media(max-width:600px){.topbar{min-height:68px;height:auto;padding:10px 18px;gap:7px}.breadcrumbs{display:none}.top-actions{width:100%;gap:7px;justify-content:flex-end}.top-actions .xp-chip{display:inline-flex;margin-right:auto}.topbar .read-button{font-size:.85rem}.listen-label{display:inline}.hero-actions .read-button{font-size:.8rem}.quest-hero .hero-art{min-height:180px}.quest-hero h1{font-size:2.9rem}.quest-board{padding:17px 12px;border-radius:18px;margin-top:24px}.quest-board-head{padding:0 5px}.quest-board-head h2{font-size:1.22rem}.quest-stations{gap:13px 10px}.quest-station{padding:13px 11px}.station-number{top:10px;left:10px;width:25px;height:25px;font-size:.62rem}.station-art{height:76px;margin-top:13px}.station-art>svg{width:95px;height:78px}.quest-station small{font-size:.52rem}.quest-station h3{font-size:.93rem;line-height:1.3;min-height:2.6em}.station-meter{margin:13px 0}.station-cta{font-size:.68rem;gap:5px}.rescue-gate{padding:18px 15px;gap:13px;align-items:flex-start}.gate-icon{width:43px;height:43px;border-radius:12px}.gate-icon .icon{width:25px;height:25px}.rescue-gate>div:nth-child(2){flex:1}.rescue-gate h2{font-size:1.2rem}.rescue-gate p{font-size:.77rem}.rescue-gate>.button{margin-left:0;width:100%}.game-panel{padding:18px}.badge-shelf{grid-template-columns:repeat(2,1fr);gap:9px}.practice-badge{padding:12px 7px;font-size:.7rem}.practice-badge small{font-size:.61rem}.mission-hud{gap:10px;padding:12px;font-size:.69rem}.mission-hud>span:first-child{gap:6px}.mission-hud .icon{display:none}.mission-track{gap:3px}.mission-track span{height:7px}.reading-tools{gap:10px}.read-button{font-size:.83rem}.reading-speed{font-size:.69rem}.reading-speed select{font-size:.8rem}.option-row .option{font-size:.87rem;padding:12px 10px;gap:8px}.option-row .option-key{width:23px;height:25px;font-size:.65rem}.speech-tray{left:10px;right:10px;bottom:78px;padding:12px;gap:12px;align-items:flex-start}.speech-tray p{font-size:.88rem;max-height:120px}.speech-tray .button{font-size:.72rem;padding:9px 10px;min-height:44px}.speech-playing main{padding-bottom:290px}.rescue-intro{padding:24px}.rescue-intro h2{font-size:1.6rem}.rescue-rules{flex-direction:column;gap:12px;margin:20px 0}.repair-board{gap:7px;margin:20px 0}.repair-station{padding:13px 5px}.repair-station>svg{width:72px;height:64px}.repair-station strong{font-size:.7rem}.repair-station>span:not(.repair-light){font-size:.61rem}.repair-light{top:8px;right:8px;width:9px;height:9px}.rescue-round-meta{flex-direction:column;gap:0;margin-bottom:10px}.rescue-round-meta .question-label{margin-bottom:4px}.rescue-win{padding:24px}.rescue-win h2{font-size:1.8rem}.stars{font-size:3.2rem}.larger-text .option-row .option{font-size:1rem}}
@media(max-width:350px){.quest-stations{grid-template-columns:1fr}.quest-station h3{min-height:0}.reading-speed{width:100%}.mission-hud{flex-wrap:wrap}.mission-track{min-width:50%}.speech-tray{flex-direction:column}.speech-tray .button{align-self:flex-end}.rescue-gate{display:block}.gate-icon{margin-bottom:12px}.rescue-gate>.button{margin-top:14px}}
@media print{.read-button,.reading-tools,.speech-tray,.mission-hud,.quest-board,.repair-board{display:none!important}}

.picture-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px}.picture-options .option-row{display:flex;flex-direction:column;gap:6px}.picture-options .option{position:relative;flex:1;flex-direction:column;padding:14px 12px;gap:12px;align-items:stretch}.picture-options .option-key{position:absolute;top:10px;left:10px;z-index:1;border:2px solid white;background:#35473b;color:white;border-radius:50%;width:27px;height:27px}.choice-image{display:block}.choice-image svg{width:100%;height:auto;max-height:115px}.choice-image b{display:block;text-align:center;font-size:.83rem;margin:9px 0 0}.picture-options .choice-copy{font-size:.8rem;line-height:1.6}.picture-options .read-button.compact{width:100%;height:auto;min-height:44px;font-size:.72rem}.picture-options .read-button.compact span{position:static;clip-path:none;overflow:visible;height:auto;width:auto;white-space:normal}.picture-options .read-button .icon{width:17px;height:17px}.larger-text .picture-options .choice-copy{font-size:1rem}
@media(max-width:420px){.picture-options{grid-template-columns:1fr}.picture-options .option{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px}.choice-image b{font-size:.72rem}.picture-options .choice-copy{font-size:.84rem}.picture-options .option-key{width:23px;height:23px;top:7px;left:7px}}

.school-missions-card{margin:22px 0;padding:23px 25px;border:1px solid #cbd8bc;border-radius:18px;background:#f0f5e5}.school-missions-card>div:first-child{display:flex;align-items:center;gap:14px}.school-missions-card>div:first-child>.icon{width:32px;height:32px;color:#607c44;flex:none}.school-missions-card strong,.school-missions-card small{display:block}.school-missions-card strong{font-size:1.04rem;color:#354c2d}.school-missions-card small{font-size:.8rem;line-height:1.5;margin-top:5px;color:#617454}.school-missions-card .button-row{margin-top:18px;align-items:center;gap:22px}.school-missions-card>p{font-size:.72rem;line-height:1.5;color:#687a5c;margin-top:13px}@media(max-width:600px){.school-missions-card{padding:20px}.school-missions-card .button-row{gap:12px;flex-wrap:wrap}}
