:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;background:#f6f8f6;color:#17242b}*{box-sizing:border-box}body{margin:0;background:#f6f8f6;overflow:hidden}.activity{height:100svh;overflow:hidden;background:linear-gradient(135deg,#f5f8f5,#edf2ee)}button{font:inherit}.intro-screen{display:grid;height:100%;place-content:center;justify-items:start;padding:34px;background:radial-gradient(circle at 90% 12%,#b9ef3c40,transparent 33%),#18272c;color:#fff}.intro-screen p,.activity-header p,.quiz-screen>p{margin:0;color:#b8f73e;font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em}.intro-screen h1{max-width:390px;margin:14px 0 13px;font-size:clamp(31px,7vw,48px);line-height:.98;letter-spacing:-.065em}.intro-screen>span{max-width:370px;color:#d2ddda;font-size:15px;line-height:1.55}.intro-screen button{min-height:46px;margin-top:27px;padding:0 18px;border:0;background:#b8f73e;color:#18272c;font-size:14px;font-weight:900;cursor:pointer}.intro-screen button span{margin-left:16px;font-size:20px}.lesson-screen{height:100%;display:flex;flex-direction:column;overflow:hidden}.activity-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 19px;background:#15242a;color:#fff}.activity-header>div{display:flex;align-items:center;gap:12px}.activity-header strong{color:#dce8e3;font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}.activity-header button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #5f7778;border-radius:50%;background:transparent;color:#fff;font-size:15px;cursor:pointer}.activity-header button[aria-pressed="false"]{color:#8e9d9d;border-color:#4a5c5d}.stage{display:grid;flex:1;min-height:180px;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 30%,#314754,#101b21 70%);padding:8px}.scene-frame{position:relative;display:block;height:clamp(168px,34vw,215px);max-width:100%;aspect-ratio:16/9}.scene-frame>img{display:block;width:100%;height:100%;object-fit:contain}.hotspot,.control-hotspots button{position:absolute;border:0;cursor:pointer}.join-hotspot{left:82.4%;top:39.5%;width:13.1%;height:12.3%;border-radius:5px;background:#6057d7aa;box-shadow:0 0 0 4px #dcff44aa,0 0 24px 8px #d7ff3e88;animation:beam 1.15s infinite}.control-hotspots{position:absolute;inset:0}.control-hotspots button{top:89%;height:9.8%;border-radius:3px;background:transparent}.control-hotspots button.is-active{border:2px solid #dfff45;background:#dfff4524;box-shadow:0 0 0 3px #dfff45a8,0 0 20px 8px #dfff4570;animation:beam 1.15s infinite}.control-hotspots button.is-done{border:2px solid #71d59b;background:#71d59b22;box-shadow:0 0 0 2px #71d59b88}.control-hotspots button[data-control="volume"]{left:62%;width:13.4%}.control-hotspots button[data-control="camera"]{left:76.3%;width:6.1%}.control-hotspots button[data-control="microphone"]{left:82.3%;width:6.1%}.control-hotspots button[data-control="present"]{left:88.4%;width:6.1%}.control-hotspots button[data-control="end-call"]{left:94.6%;width:5.2%}@keyframes beam{0%,100%{box-shadow:0 0 0 3px #dfff45a8,0 0 17px 5px #dfff4550}50%{box-shadow:0 0 0 6px #dfff45d0,0 0 30px 14px #dfff45a0}}.instruction{padding:16px 20px 10px;background:#fff}.instruction>p:first-child{margin:0;color:#17242b;font:700 10px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em}.instruction h2{margin:6px 0 0;font-size:21px;line-height:1.08;letter-spacing:-.045em}.instruction #step-body{margin:8px 0 0;color:#526266;font-size:14px;line-height:1.46}.step-note{margin:9px 0 0;padding:8px 10px;border-left:3px solid #577ac6;background:#f0f4fc;color:#435873;font-size:12px;line-height:1.4}.control-list{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:12px 0 0;padding:0;list-style:none}.control-list li{padding:7px 4px;border:1px solid #d9dfdc;color:#667679;font-size:10px;font-weight:800;text-align:center}.control-list li.active{border-color:#bbdc43;background:#f3f9d8;color:#1c4632}.control-list li.done{border-color:#7fbd95;background:#eaf7ee;color:#256346}.control-list li.done:after{content:" ✓"}.interaction-status{min-height:16px;margin:10px 0 0;color:#2f674b;font-size:12px;font-weight:800}.step-navigation{display:flex;justify-content:space-between;gap:10px;padding:9px 20px 15px;background:#fff}.step-navigation button,.quiz-navigation button{display:grid;place-items:center;width:43px;height:38px;border:1px solid #9eabaa;background:#fff;color:#1c3034;font-size:22px;cursor:pointer}.step-navigation button:last-child,.quiz-navigation button{margin-left:auto;border-color:#1b2a31;background:#1b2a31;color:#fff}.step-navigation button:disabled{visibility:hidden}.quiz-screen{display:flex;flex:1;flex-direction:column;padding:21px 20px 23px;background:#fff}.quiz-screen h2{margin:9px 0 16px;font-size:21px;line-height:1.16;letter-spacing:-.04em}.quiz-screen #quiz-options{display:grid;gap:8px}.quiz-screen #quiz-options button{min-height:42px;padding:10px 12px;border:1px solid #c4cdca;background:#fff;color:#26383b;font-size:13px;font-weight:800;text-align:left;cursor:pointer}.quiz-screen #quiz-options button:hover{border-color:#2b6c4b;background:#f1f8f0}.quiz-screen #quiz-feedback{min-height:18px;margin:12px 0 0;color:#2c6748;font-size:12px;font-weight:800}.quiz-screen #quiz-feedback.incorrect{padding:9px 11px;border-left:3px solid #c96542;background:#fff1ec;color:#91452e}.quiz-navigation{display:flex;justify-content:flex-end;margin-top:auto;padding-top:14px}.quiz-navigation button:disabled{border-color:#c6cecc;background:#edf0ee;color:#97a4a1;cursor:not-allowed}.completion{display:grid;flex:1;grid-template-columns:auto 1fr auto;align-content:center;gap:11px;padding:20px;background:#e9f6e9;color:#204c36}.completion>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#2d744e;color:#fff;font-size:15px;font-weight:900}.completion b{font-size:15px}.completion p{margin:3px 0 0;color:#466754;font-size:12px;line-height:1.35}.completion>div:last-child{display:flex;gap:7px}.completion button{min-height:38px;padding:0 11px;border:1px solid #407355;background:#fff;color:#255d40;font-size:12px;font-weight:800;cursor:pointer}.intro-screen[hidden],.lesson-screen[hidden],.quiz-screen[hidden],.completion[hidden],.stage[hidden],.control-list[hidden]{display:none!important}@media(max-width:430px){.intro-screen{padding:26px}.stage{min-height:175px}.scene-frame{height:175px}.instruction{padding:15px}.instruction h2{font-size:19px}.control-list{grid-template-columns:repeat(3,1fr)}.completion{grid-template-columns:auto 1fr}.completion>div:last-child{grid-column:1/-1}}

/* Completion and feedback refinements. */
.scene-frame.console-scene{overflow:visible}
.scene-frame.console-scene>img{transform:none}
.quiz-screen #quiz-feedback.incorrect{animation:feedback-beam .72s ease both}
.quiz-screen #quiz-feedback.is-correct{padding:9px 11px;border-left:3px solid #2d744e;background:#e9f6e9;color:#205d3c;animation:feedback-beam .72s ease both}
@keyframes feedback-beam{0%{transform:scale(.98);box-shadow:0 0 0 0 #b8f73e00}42%{transform:scale(1.01);box-shadow:0 0 0 6px #b8f73e94}100%{transform:scale(1);box-shadow:0 0 0 0 #b8f73e00}}
.completion{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 20px;text-align:center}
.completion>span{width:30px;height:30px}
.completion>div{max-width:390px}
.completion b{font-size:17px}
.completion p{margin:5px 0 0;font-size:13px}
.completion .completion-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.completion .completion-actions button:last-child{border-color:#245f42;background:#245f42;color:#fff}
.completion #completion-message.needs-video{color:#9d452d;animation:feedback-beam .72s ease both}
.stage.controls-stage{min-height:238px;padding:10px 8px 14px}
.stage.controls-stage .scene-frame{height:clamp(205px,38vw,248px)}
.stage.controls-stage + .instruction{padding-top:11px}
.stage.controls-stage + .instruction #step-body{margin-top:6px;line-height:1.35}
.stage.controls-stage + .instruction .control-list{margin-top:8px}
.activity-header button[hidden]{display:none!important}
