/* Classroom pilot: local vectors, generous targets, no timed feedback. */
.shell{max-width:1840px}.hero{grid-template-columns:minmax(220px,.22fr) minmax(0,.78fr)}
.robot-panel{padding:18px}.orbit{height:210px}.robot{transform:scale(.82);animation:none}.speech p{font-size:24px}.classroom-note{font-size:17px;color:#bbd1e3;line-height:1.7}
.main-panel{min-width:0}.bar h1:focus{outline:none}.counter{font-size:14px}.pilot-intro{display:flex;gap:22px;align-items:center;justify-content:space-between;margin:26px 0;padding:24px;border:1px solid #547394;border-radius:22px;background:#193550}
.pilot-intro h2{font-size:32px;margin:9px 0}.pilot-intro p{color:#c4d9e7;font-size:18px}.lesson-start{display:flex;flex-direction:column;gap:9px;min-width:265px}.lesson-start label,.lesson-start small{font-size:15px;color:#c5d8e8}
select{font:inherit}.lesson-start select{min-height:52px;border:1px solid #7194ad;border-radius:12px;padding:10px;background:#10263f;color:white;font-size:18px}
.pilot-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pilot-game-card{position:relative;text-align:left;display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:18px;row-gap:10px;min-height:215px;padding:26px 22px;border:1px solid #6284a1;border-radius:22px;background:linear-gradient(135deg,#224560,#19324c);color:#fff;font:inherit;cursor:pointer;touch-action:manipulation}
.pilot-card-art{width:96px;height:110px;grid-row:1/5;align-self:center}.pilot-game-card strong{font-size:28px;line-height:1.15}.pilot-game-card>span:not(.pilot-game-id){font-size:18px;line-height:1.4;color:#d2e1ee}.pilot-game-card small{font-size:15px;color:#b7d1e1}.pilot-game-id{font-size:13px;letter-spacing:.12em;color:#94ccc7}
.pilot-game-card:hover{background:#2a4f6c}.pilot-game-card:focus-visible,.memory-card:focus-visible,.weight-piece:focus-visible,.direction-key:focus-visible,.command-chip:focus-visible,.package-card:focus-visible,.answer:focus-visible{outline:4px solid #ffdb83;outline-offset:4px}
.btn{min-height:60px;font-size:19px}.pilot-playing .story{font-size:28px;margin-bottom:6px}.pilot-playing .feedback{font-size:25px;line-height:1.45;min-height:66px}.feedback.neutral{background:#1a3550;color:#edf7ff}
.legacy-library{margin-top:28px;padding:18px;border:1px solid #4f6d8d;border-radius:16px}.legacy-library summary{font-size:20px;cursor:pointer;min-height:40px}.legacy-library summary span{display:block;font-size:14px;color:#b9cfe0;margin-top:7px}.mission-grid{max-height:none}
.lesson-summary,.demo-banner{border:1px solid #e4c785;background:#453d2b;color:#fff2d6;border-radius:14px;padding:16px;font-size:20px;line-height:1.6}.demo-banner{margin-bottom:16px}.lesson-position{font-size:16px;color:#c4d8e6}.teacher-game-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #45627d;padding-top:14px}.teacher-game-actions>span{font-size:15px;color:#afc6d8}
.pilot-art{width:80px;height:80px}.pilot-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}.pilot-note{font-size:18px;color:#c5dae9;line-height:1.5}.memory-board{display:grid;grid-template-columns:repeat(var(--memory-cols),minmax(0,1fr));gap:14px;max-width:900px;margin:auto}
.memory-card{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:145px;border:2px solid #6591b5;border-radius:18px;background:repeating-linear-gradient(45deg,#254a69,#254a69 12px,#294f6d 12px,#294f6d 24px);color:white;cursor:pointer;font:inherit;touch-action:manipulation;padding:12px 6px}.memory-card.face-up{background:#e9f1ee;color:#203e52;border-color:#bed9d7}.memory-card.matched{border-style:double;border-width:4px}.card-position{position:absolute;top:8px;left:12px;font-size:17px;font-weight:800;opacity:.8}.card-back{font-size:58px;color:#b8dbec}.card-name{font-size:23px;font-weight:750}.pair-found{font-size:14px;color:#245665;margin-top:4px}.memory-card .pilot-art{height:76px}
.balance-scene{position:relative;height:220px;max-width:740px;margin:15px auto 0}.balance-post{position:absolute;left:calc(50% - 8px);top:25px;width:16px;height:180px;background:#7fadc1;border-radius:12px}.balance-post:after{content:'';position:absolute;bottom:0;left:-70px;width:156px;height:15px;background:#7fadc1;border-radius:14px}.balance-beam{position:absolute;left:12%;right:12%;height:10px;top:38px;background:#b3d8df;border-radius:10px;transform:rotate(var(--tilt));transition:transform .2s}.balance-pan{position:absolute;top:10px;width:40%;display:flex;flex-direction:column;align-items:center;background:#24475f;border:2px solid #789cb1;border-top:none;border-radius:0 0 34px 34px;padding:18px 8px;color:#e7f5f8;transform:rotate(calc(-1 * var(--tilt)));min-height:130px}.pan-left{left:-8%}.pan-right{right:-8%}.balance-pan strong{font-size:56px;line-height:1.1}.pan-title{font-size:13px;letter-spacing:.08em}.balance-equation{text-align:center;font-size:35px;margin:0 0 18px}.weight-tray{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.weight-piece{font:inherit;min-width:92px;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid #83a1b7;background:#203f5b;border-radius:18px;color:white;cursor:pointer;touch-action:manipulation}.weight-piece strong{font-size:34px}.weight-piece span{font-size:15px}.weight-piece.selected{border-color:#ffda83;background:#5d5033}.weight-sum{text-align:center;font-size:27px;min-height:32px}
.program-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:26px;align-items:start}.program-board{display:grid;grid-template-columns:repeat(var(--program-cols),minmax(0,1fr));gap:7px;max-width:550px;width:100%}.program-cell{aspect-ratio:1;border:1px solid #5f83a2;background:#264b66;display:grid;place-items:center;border-radius:13px;min-width:0}.program-cell .pilot-art{width:80%;height:80%}.program-cell.wall{background:repeating-linear-gradient(0deg,#12293f,#12293f 12px,#1b354d 12px,#1b354d 14px);color:#83a0b8}.program-cell.travelled{background:#386d73}.program-cell.robot-here{border:3px solid #ffda83}.goal-mark{font-size:48px;color:#ffda83}.wall-mark{font-size:32px}.start-mark,.trail-mark{font-size:26px;color:#b5d2df}.program-tools{display:flex;flex-direction:column;gap:12px}.program-tools .pilot-note{margin:0}.direction-pad{display:grid;grid-template-columns:repeat(3,70px);grid-template-rows:repeat(2,65px);gap:8px;justify-content:center}.direction-key{font:inherit;font-size:36px;font-weight:800;background:#2d536f;color:white;border:2px solid #7197b0;border-radius:14px;cursor:pointer;touch-action:manipulation}.direction-up{grid-column:2}.direction-left{grid-column:1;grid-row:2}.direction-down{grid-column:2;grid-row:2}.direction-right{grid-column:3;grid-row:2}.program-sequence{display:flex;gap:9px;flex-wrap:wrap;min-height:75px;padding:12px;border:1px dashed #7592ad;border-radius:15px}.command-chip{min-width:62px;min-height:70px;background:#254b68;border:2px solid #688ba4;border-radius:12px;color:white;display:flex;flex-direction:column;align-items:center;cursor:pointer;touch-action:manipulation}.command-chip small{font-size:13px}.command-chip strong{font-size:32px}.command-chip.executed{background:#3b6c70}.command-chip.blocked{border:4px dashed #f2cc81}.sequence-heading{font-size:21px;margin:18px 0 10px}
.deduction-clues{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.deduction-clue{flex:1 1 200px;display:flex;align-items:center;gap:12px;padding:15px;background:#254560;border-radius:15px}.deduction-clue>span{border:1px solid #80abb7;border-radius:50%;min-width:35px;min-height:35px;display:grid;place-items:center}.deduction-clue strong{font-size:24px;line-height:1.4}.package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:15px}.package-card{display:flex;flex-direction:column;align-items:center;gap:9px;border:2px solid #7798af;background:#1e3d57;border-radius:20px;padding:20px 12px;color:white;font:inherit;cursor:pointer;touch-action:manipulation}.package-card.selected{border:4px solid #ffda83;background:#3f4b4b;padding:18px 10px}.parcel{position:relative;width:115px;height:108px;background:var(--parcel-color);border:3px solid #112e49;border-radius:8px;color:#13354b;box-shadow:inset -15px -10px 0 #0001;display:grid;place-items:center}.parcel:before{content:'';position:absolute;left:46px;top:0;width:19px;height:100%;background:#fff4}.parcel-letter{position:absolute;top:5px;left:9px;font-weight:900;font-size:25px}.parcel-mark{position:relative;width:60px;height:60px;margin-top:16px}.package-card>strong{font-size:27px}.package-attribute{font-size:24px}.lesson-choices{display:flex;flex-wrap:wrap;gap:16px;border:1px solid #68879c;border-radius:15px;padding:18px;margin-bottom:22px}.lesson-choices legend{font-size:21px;padding:0 8px}.lesson-choices label{min-height:55px;display:flex;align-items:center;gap:10px;font-size:19px;color:#e2eef5}.lesson-choices input{width:26px;height:26px;accent-color:#8fd8cb}.teacher-note{font-size:16px}.teacher select{font-size:18px}.teacher details{margin-top:20px}.teacher details summary{font-size:18px;cursor:pointer}.teacher details>button{margin-top:14px}button:disabled{cursor:default;opacity:.6}
@media(min-width:1400px){.pilot-playing .main-panel{padding:24px 30px}.pilot-playing .bar h1{font-size:36px}.pilot-playing .play-area{padding:20px 0}.memory-board{max-width:1000px}.memory-card{min-height:150px}}
@media(max-width:1100px){.hero{grid-template-columns:1fr}.robot-panel{position:static;display:grid;grid-template-columns:120px 1fr;gap:14px;padding:12px}.orbit{height:145px}.robot{transform:scale(.56)}.speech{margin:0;min-height:0}.speech p{font-size:21px}.classroom-note{display:none}.pilot-intro{margin-top:18px}.pilot-game-card{padding:20px 16px;grid-template-columns:75px 1fr}.pilot-card-art{width:75px}.pilot-game-card strong{font-size:25px}.program-cell{border-radius:9px}}
@media(max-width:700px){.pilot-intro{flex-direction:column;align-items:stretch}.lesson-start{min-width:0}.pilot-game-grid{grid-template-columns:1fr}.pilot-game-card{min-height:180px}.program-layout{grid-template-columns:1fr}.program-board{margin:auto;max-width:390px}.program-tools{display:grid;grid-template-columns:1fr 1fr}.program-tools .pilot-note,.direction-pad{grid-column:1/-1}.program-tools .btn{font-size:16px}.package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deduction-clue strong{font-size:21px}.memory-card{min-height:120px}.memory-card .pilot-art{height:54px;width:54px}.card-name{font-size:17px}.pair-found{font-size:11px}.pilot-playing .story{font-size:23px}.pilot-playing .feedback{font-size:21px}.balance-pan strong{font-size:43px}.pan-title{font-size:10px}.teacher-game-actions .btn{font-size:17px}.classroom-note{display:none}}
@media(max-width:400px){.robot-panel{grid-template-columns:80px 1fr}.orbit{height:120px}.robot{transform:scale(.45)}.speech p{font-size:18px}.memory-board{gap:7px}.memory-card{min-height:105px}.card-name{font-size:14px}.card-position{font-size:13px;left:7px;top:5px}.pilot-card-art{width:60px}.pilot-game-card{grid-template-columns:60px 1fr}.package-card>strong,.package-attribute{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1400px){
 .pilot-playing .bar{align-items:center}.pilot-playing .bar .eyebrow{margin:0}.pilot-playing .bar h1{margin:5px 0;font-size:32px}.pilot-playing #stageDesc,.pilot-playing #missionCounter{display:none}
 .pilot-playing .game-head{margin:10px 0}.pilot-playing .story{margin:12px 0;font-size:28px;padding:12px 16px}.pilot-playing .play-area{padding:12px 0}.pilot-playing .feedback{min-height:62px;font-size:24px;padding:12px 16px}
 .pilot-playing .game-actions{padding:12px 0}.pilot-playing .teacher-game-actions{padding-top:12px}.pilot-playing .btn{font-size:18px}
 .memory-board{max-width:none}.memory-board.cards-12{--memory-cols:6!important}.memory-board.cards-16{--memory-cols:8!important}.memory-card{min-height:150px}.card-position{font-size:22px}
 .program-layout{grid-template-columns:minmax(300px,420px) 240px minmax(220px,1fr);gap:22px}.program-board{max-width:400px}.program-plan{min-width:0}.program-plan .sequence-heading{margin-top:0}.program-sequence{min-height:140px;align-content:start}.program-plan .pilot-note{font-size:19px}
 .balance-scene{height:200px;margin-top:0}.balance-post{height:165px}.balance-equation{margin-bottom:8px}.weight-sum{margin:12px 0}
 .balance-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.balance-choices .pilot-note{margin:0 0 16px}.weight-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.weight-piece{min-width:0}.balance-scene{margin-top:15px}
 .program-tools>.pilot-note{display:none}.demo-banner{font-size:18px;padding:10px 14px;line-height:1.4}
}
@media(min-width:701px) and (max-width:1399px){.program-plan{grid-column:1/-1}}
@media(max-width:400px){.robot-panel{grid-template-columns:1fr}.robot-panel .orbit{display:none}}
.voice-setup{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #7ca3b9;background:#183a54;border-radius:18px;padding:18px 22px;margin-bottom:18px}.voice-setup>div{flex:1}.voice-setup strong{font-size:21px}.voice-setup p{font-size:16px;line-height:1.5;color:#c9dfeb;margin:8px 0}.voice-setup progress{width:100%;height:20px;accent-color:#77d8c7}.voice-setup .btn{white-space:nowrap}@media(max-width:700px){.voice-setup{align-items:stretch;flex-direction:column}.top-actions .status{width:100%}}
.voice-panel{width:min(720px,calc(100% - 32px));max-height:90vh;overflow:auto;background:#142b43;color:#eaf4fb;border:1px solid #64829b;border-radius:24px;padding:28px;box-shadow:0 25px 100px #0009}.voice-panel::backdrop{background:#061225c9}.voice-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.voice-panel h2{font-size:28px;margin:0}.voice-panel-heading .btn{min-width:60px}.voice-panel-intro{font-size:18px;line-height:1.6;color:#c8dceb;margin:18px 0}.voice-options{border:0;padding:0;margin:20px 0}.voice-options legend{font-size:19px;font-weight:800;margin-bottom:10px}.voice-options label{display:flex;gap:14px;align-items:center;padding:16px;border:1px solid #6d8c9f;border-radius:14px;margin:10px 0;cursor:pointer;min-height:75px}.voice-options label:has(input:checked){background:#244d5b;border:2px solid #9bd9cd;padding:15px}.voice-options input{width:24px;height:24px;flex:0 0 24px;accent-color:#a3e1d3}.voice-options strong{display:block;font-size:19px}.voice-options small{display:block;margin-top:7px;color:#b9cfdf;font-size:15px}.voice-license-note,.voice-retention-note{font-size:15px;color:#adc7db;line-height:1.5}.voice-device-status{font-size:19px;line-height:1.5;margin:18px 0}.voice-panel-actions{display:flex;gap:12px}.voice-panel-actions .btn{min-width:115px}.voice-remove{color:#ffb9b3;border-color:#b57770;background:#392f34;font-size:17px}.voice-panel-message{font-size:17px;line-height:1.5;color:#dcecf5;min-height:0}.voice-panel-message:empty{display:none}.voice-license-link,.voice-license-page a{color:#b8e5e6;text-underline-offset:4px}.voice-license-page{max-width:900px;padding:35px;margin:30px auto;font-size:20px;line-height:1.6}.voice-license-page section{border-top:1px solid #53728b;padding-top:15px;margin:25px 0}.voice-panel .voice-setup{padding:14px;flex-direction:column;align-items:stretch}.voice-panel .voice-setup strong{font-size:18px}@media(max-width:520px){.voice-panel{padding:18px;max-height:94vh}.voice-panel h2{font-size:23px}.voice-panel-intro{font-size:17px}.voice-options strong{font-size:18px}.voice-panel-heading .btn{min-width:52px}.voice-remove{font-size:16px}.voice-license-page{padding:20px;font-size:18px}}
