*{box-sizing:border-box}body{margin:0;background:#edf3f7;color:#18364c;font-family:system-ui,-apple-system,Segoe UI,sans-serif}main{max-width:1360px;margin:auto;padding:30px}header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}h1{font-size:clamp(28px,4vw,42px);letter-spacing:-.035em;line-height:1.1;margin:5px 0 12px}h2{font-size:21px;margin:0 0 14px}p{line-height:1.6}.eyebrow{color:#23777d;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;margin:0 0 8px}header p:last-child{color:#597184;margin:0}button{font:inherit;font-weight:650;background:#176f78;color:white;border:1px solid #176f78;border-radius:10px;min-height:44px;padding:11px 17px;cursor:pointer}button.secondary{background:white;color:#244d69;border-color:#c4d7e4}button:disabled{opacity:.55;cursor:default}button:hover:not(:disabled){filter:brightness(.95)}:focus-visible{outline:3px solid #46a3af;outline-offset:3px}.devices{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.devices button{background:white;color:#35566c;border-color:#d2e1e9}.devices button[aria-pressed=true]{background:#183c55;color:white;border-color:#183c55}.layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:24px}.stage,.card,.teacher{background:white;border:1px solid #d6e3ec;border-radius:20px;padding:24px;box-shadow:0 8px 28px #18364c04}.stage-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.stage-heading h2{margin:0}.scene{background:linear-gradient(150deg,#fbfdff,#eaf2f7);border:1px solid #e2ebf1;border-radius:16px;margin:22px 0 14px;overflow:hidden}.scene svg{display:block;width:100%;max-height:560px}.card{margin-bottom:20px}.scene-controls{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.scene-controls label{display:flex;align-items:center;gap:10px;font-size:13px}.scene-controls input{max-width:140px}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin:14px 0}input,select{font:inherit;font-size:16px;max-width:100%;min-width:0;background:#fbfdff;color:#17374e;border:1px solid #c4d6e3;border-radius:9px;padding:11px 12px}input[type=range]{padding:0;accent-color:#237f8a}label.check{display:flex;flex-direction:row;align-items:center;gap:7px;white-space:nowrap;font-size:13px}input[type=checkbox]{width:18px;height:18px;accent-color:#176f78}.experiment{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding:16px;background:#f2f7fa;border-radius:12px}.experiment label{flex:1;min-width:160px;margin:0}.experiment p{font-size:13px;width:100%;margin:4px 0 0;color:#557083}.method{border-left:3px solid #36939a;padding-left:15px;color:#365a70;font-size:14px}form{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}form label{margin:8px 0}form button{grid-column:1/-1}.feedback{margin:16px 0;font-weight:600}.feedback.good{color:#16724b}.feedback.retry{color:#a15825}.correction{border-left:3px solid #20885e;padding:12px;background:#edf7f1;font-weight:650}.card>button{margin:4px 8px 5px 0}.small,footer{font-size:12px;color:#637c8e}.card ol{padding-left:23px;line-height:1.8;font-size:14px}.resolution{padding:12px;background:#edf5f9;border-radius:9px;font-size:13px}.teacher{margin-top:24px}.teacher summary{font-weight:700;cursor:pointer}.parameters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.actions{display:flex;gap:10px;flex-wrap:wrap}footer{text-align:center;margin-top:22px}[hidden]{display:none!important}.scene text{font-family:system-ui,sans-serif}.scene .lcd{font-family:ui-monospace,Consolas,monospace}@media(max-width:850px){main{padding:18px}.layout{grid-template-columns:1fr}.parameters{grid-template-columns:repeat(2,minmax(0,1fr))}.stage,.card,.teacher{padding:18px}.scene svg{max-height:480px}}@media(max-width:500px){header{flex-direction:column}.parameters{grid-template-columns:1fr}.stage-heading{align-items:flex-start;flex-direction:column}.scene-controls{align-items:stretch}.devices button{flex:1;font-size:13px}.scene-controls input{max-width:120px}}@media print{.devices,.scene-controls,.experiment,.teacher,form,button,.pc-gate{display:none!important}.layout{display:block}.stage,.card{break-inside:avoid;box-shadow:none}.scene svg{max-height:450px}}

body:not([data-pc-settings-unlocked="true"]) .teacher .parameters{display:none}
