:root{color-scheme:light;--ink:#203c3a;--teal:#176e60;--muted:#708078;--line:#dce5dd}*{box-sizing:border-box}body{margin:0;background:#f5f6ee;color:var(--ink);font:15px/1.6 system-ui,-apple-system,sans-serif}header,main{max-width:960px;margin:auto;padding:20px 28px}header{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px}a{color:var(--teal);text-decoration:none}.brand{font-weight:800}.brand span{color:#bf8542}.intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}h1{font-size:32px;letter-spacing:-1px;margin:0}h2{font-size:16px;margin:0}h3{font-size:14px;margin:0}p{margin:6px 0}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--teal)}.intro p:not(.eyebrow){font-size:13px;color:var(--muted)}button{font:inherit;font-size:13px;background:#fff;border:1px solid var(--line);padding:9px 14px;border-radius:8px;color:var(--ink);cursor:pointer}button:hover{background:#e8f0e5}button.active,#next{background:var(--teal);border-color:var(--teal);color:#fff}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid #d5a24f;outline-offset:3px}.mode{display:flex;gap:5px}.mode span{font-size:10px}.scope-switch{display:flex;gap:6px;margin-bottom:18px}.scope-switch button{flex:1}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.quiet{border:0;background:none;font-size:12px;padding:6px}.hands-eyes{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:16px;align-items:start;margin-top:20px}.hands-on,.eye-side{min-width:0}.view-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;height:24px}.view-title>span{font-size:10px;color:var(--muted)}.eye-heading{height:24px;margin:0 0 10px;font-size:14px;font-weight:700}.eye-side .view-title{display:none}#slide-pad{height:260px;border:6px solid #789084;border-radius:16px;background:linear-gradient(145deg,#456057,#203c36);position:relative;overflow:hidden;isolation:isolate}.pad-top,.pad-bottom{position:absolute;left:0;right:0;text-align:center;font-size:10px;color:#d8e9d9;pointer-events:none}.pad-top{top:8px}.pad-bottom{bottom:8px}.stage-aperture{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:65px;height:65px;border-radius:50%;background:#dce8c8;border:3px solid #152e28;box-shadow:0 0 0 8px #1c342d}.stage-clip{position:absolute;top:25%;width:11px;height:45%;border:2px solid #adbab0;background:linear-gradient(90deg,#60776d,#c1cfc4,#60776d);border-radius:6px;pointer-events:none}.clip-left{left:13%}.clip-right{right:13%}#physical-slide{position:absolute;left:50%;top:calc(50% - 36px);width:62%;max-width:175px;height:72px;border:2px solid #c6f7eb;background:linear-gradient(135deg,#dcfff047,#edfff085 45%,#aee8d638);border-radius:4px;box-shadow:0 6px 12px #061f294d;cursor:grab;touch-action:none;user-select:none}#physical-slide:active{cursor:grabbing}.glass-label{position:absolute;left:0;top:0;bottom:0;width:23%;background:#e7f0ddee;writing-mode:vertical-rl;display:grid;place-items:center;font-size:10px;letter-spacing:3px;color:#395948}.coverslip{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border:1px solid #e7fff5a0;background:#e2f8dc35}.specimen-letter{position:absolute;left:3px;top:16px;font:bold 28px/1 Georgia;color:#244332}.specimen-dot{position:absolute;left:calc(50% - 3px);top:calc(50% - 3px);width:6px;height:6px;background:#c34f3d;border-radius:50%}.moving #physical-slide{border-color:#f5cb79;box-shadow:0 0 0 3px #efb86155}.motion-readout{font-size:12px;text-align:center;color:var(--teal);min-height:24px;margin:10px 0}.optical-link{padding-top:120px;text-align:center;color:#809480;font-size:24px}.optical-link small{display:none}.eyepiece{position:relative;aspect-ratio:1;width:100%;max-width:260px;margin:auto;border-radius:50%;border:9px solid #263e3a;box-shadow:0 0 0 3px #c4cfc2;background:#eaf0dd;overflow:hidden;cursor:ns-resize}.eyepiece canvas{display:block;width:100%;height:100%}.crosshair{position:absolute;left:50%;top:50%;width:22px;height:22px;border:1px dashed #38544a88;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.image-position{font-size:11px;text-align:center;color:var(--muted);margin-top:12px}.focus-control{border-top:1px solid var(--line);margin-top:12px;padding-top:14px}.dial-row{display:flex;gap:16px;align-items:center;justify-content:center}.focus-wheel{width:72px;height:72px;flex:0 0 72px;cursor:grab;touch-action:none;user-select:none;border-radius:50%}.focus-wheel:active{cursor:grabbing}.focus-wheel[aria-disabled=true]{opacity:.45}.focus-dial{display:block;position:relative;width:100%;height:100%;border:5px solid #4c675b;border-radius:50%;background:repeating-conic-gradient(#304b40 0deg 8deg,#6d8475 8deg 16deg);box-shadow:0 3px 0 #b3c1ae;transform:rotate(var(--dial-angle,0deg));pointer-events:none}.focus-dial:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#344f43}.focus-dial i{position:absolute;left:calc(50% - 2px);top:8px;width:4px;height:17px;border-radius:2px;background:#f4cb78}output{font-size:11px;color:var(--teal)}.microcopy{font-size:10px;color:var(--muted);text-align:center;margin-top:10px}.feedback{padding:12px 16px;margin-top:18px;background:#eef4e9;border-radius:9px;font-size:13px}.feedback.success{background:#def0da}.hint-row{margin-top:7px}.text-button{font-size:12px;border:0;padding:5px 0;color:var(--teal);background:none}#hint-text{font-size:12px;color:var(--muted)}.mission{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#203f37;color:#fff;border-radius:12px;padding:15px 18px;margin-bottom:16px}.mission .eyebrow{color:#bbd7b6}.mission p:not(.eyebrow){font-size:12px}.mission h2{font-size:15px}.teacher,.model-details{border-bottom:1px solid var(--line);padding:15px 2px;font-size:12px;color:var(--muted)}summary{font-size:12px;cursor:pointer;color:var(--ink)}.teacher p{margin-top:12px}#scene{height:240px;position:relative;max-width:400px;margin:12px auto;background:#e7efe2;border-radius:12px;overflow:hidden}#scene canvas{display:block}.scene-label,#scene-status{position:absolute;font-size:11px;left:12px;top:12px}.scene-label{top:auto;bottom:10px}footer{display:flex;justify-content:space-between;padding:22px 0;font-size:10px;color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){header{padding:13px 16px}main{padding:14px 12px}.intro{align-items:flex-start;margin-bottom:12px;gap:8px}.intro .eyebrow{display:none}h1{font-size:24px}.intro p:not(.eyebrow){font-size:11px;margin-top:3px}.mode{gap:3px}.mode button{font-size:11px;padding:8px}.mode span{display:none}.scope-switch{margin-bottom:12px}.scope-switch button{padding:8px;font-size:12px}.panel{padding:13px;border-radius:13px}.section-head h2{font-size:13px}.hands-eyes{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:7px;margin-top:14px}.view-title h3,.eye-heading{font-size:12px}.view-title>span{display:none}#slide-pad{height:180px;border-width:4px;border-radius:12px}.eyepiece{border-width:6px}.optical-link{padding-top:103px;font-size:17px}.stage-aperture{width:48px;height:48px}#physical-slide{height:56px;top:calc(50% - 28px);width:65%}.coverslip{width:34px;height:34px}.specimen-letter{font-size:22px;left:2px;top:11px}.glass-label{font-size:9px;letter-spacing:1px}.motion-readout{font-size:10px;min-height:30px;margin:7px 0}.focus-control{padding-top:10px;margin-top:5px}.dial-row{gap:9px}.focus-wheel{width:62px;height:62px;flex-basis:62px}.dial-row h3{font-size:11px}output{font-size:10px}.microcopy{font-size:9px}.feedback{font-size:11px;padding:10px 12px;margin-top:12px}.image-position{font-size:10px}.mission{padding:12px;margin-bottom:12px}.mission h2{font-size:13px}.mission p:not(.eyebrow){font-size:11px}footer{padding:15px 0}footer>span{display:none}}
@media(max-width:360px){.intro{display:block}.mode{margin-top:9px}.hands-eyes{gap:5px;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr)}.dial-row{gap:6px}.focus-wheel{width:56px;height:56px;flex-basis:56px}.panel{padding:10px}#slide-pad{height:165px}.microcopy{font-size:8px}}

.scope-map{display:flex;align-items:center;justify-content:center;gap:18px;margin:12px 0 0;background:#f3f6ef;border-radius:10px}.scope-map svg{width:min(100%,360px);height:120px;display:block}.scope-map p{font-size:12px}.scope-map small{display:block;font-size:10px;color:var(--muted)}.dual-dials{display:flex;justify-content:center;align-items:start;gap:26px;margin-top:14px}.dial-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.dial-item>span{font-size:12px;margin-top:9px}.dial-item>small{font-size:10px;color:var(--muted)}.fine-wheel{width:56px;height:56px;flex-basis:56px;margin-top:16px}.fine-wheel .focus-dial{border-color:#9b8156}.focus-control .section-head{flex-wrap:wrap;gap:4px}
@media(max-width:600px){.scope-map{gap:0;margin-top:8px}.scope-map svg{height:94px;width:100%;max-width:320px}.scope-map p{display:none}.dual-dials{gap:12px;margin-top:10px}.dial-item>span{font-size:10px}.dial-item>small{font-size:9px}.dual-dials .focus-wheel{width:56px;height:56px;flex-basis:56px}.dual-dials .fine-wheel{width:46px;height:46px;flex-basis:46px;margin-top:10px}.focus-control h3{font-size:11px}.scope-map svg text{font-size:13px}}
@media(max-width:360px){.dual-dials{gap:8px}.dual-dials .focus-wheel{width:50px;height:50px;flex-basis:50px}.dual-dials .fine-wheel{width:44px;height:44px;flex-basis:44px;margin-top:6px}}

.scope-map{overflow:hidden;min-width:0}.scope-map svg{flex:0 1 360px;min-width:0;width:360px;max-width:100%;height:auto;aspect-ratio:18/7}.scope-map svg path,.scope-map svg rect,.scope-map svg circle{vector-effect:non-scaling-stroke}.scope-map p{flex-shrink:0;padding-right:16px}#scene canvas{width:100%!important;height:100%!important;max-width:100%}
@media(max-width:600px){.scope-map svg{flex:0 1 320px;width:100%;max-width:320px;height:auto}.scope-map svg path,.scope-map svg rect,.scope-map svg circle{vector-effect:none}}

.lighting{border-top:1px solid var(--line);padding-top:14px;margin-top:12px}.lighting h3{font-size:14px}.light-setting{margin-top:13px}.light-setting label{display:flex;align-items:center;gap:7px;font-size:12px}.light-setting output{margin-left:auto}.light-setting input{width:100%;accent-color:var(--teal);margin:10px 0 0;min-height:24px}.lighting p{font-size:11px;color:var(--muted);line-height:1.6;min-height:36px}.iris-icon{width:17px;height:17px;border-radius:50%;background:radial-gradient(circle,#e3efce 0 calc(var(--opening,65%)*.45),#385b48 calc(var(--opening,65%)*.45) 100%);display:inline-block}.lamp-icon{color:#ae823a;font-size:18px}.lighting .text-button{font-size:11px}
@media(max-width:600px){.lighting{padding-top:10px;margin-top:5px}.lighting h3{font-size:11px}.light-setting{margin-top:8px}.light-setting label{font-size:10px}.lighting p{font-size:10px}.lighting .text-button{font-size:10px}}

#physical-slide{will-change:transform}.eyepiece{contain:paint}

/* Andy branding is local to this standalone site. */
:root{--ink:#233653;--teal:#1e3a7b;--muted:#626f80;--line:#dfe5ee}
body{background:#f5f7fb}
header{align-items:center;gap:16px;min-height:82px}
.brand img{display:block;width:200px;height:auto;max-width:100%}
.site-label{color:var(--muted);font-size:12px;text-align:right}
.intro{margin-top:12px}.intro h1{line-height:1.3}
.learning-guide{margin:0 0 20px;color:var(--muted);font-size:13px}
.learning-guide span{display:inline-block;margin-left:6px}
.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:10}
.skip-link:focus{top:12px}
@media(max-width:600px){header{padding:14px 16px}.brand img{width:160px}.site-label{font-size:11px;max-width:80px}.learning-guide span{display:block;margin-left:0}}

.specimen-editor{margin:0 0 20px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:white}
.specimen-editor label{display:block;font-weight:700;margin-bottom:8px}
.specimen-input-row{display:flex;gap:8px;align-items:center}
.specimen-input-row input{min-width:0;flex:1;max-width:320px;padding:10px 12px;border:1px solid #a8b4c8;border-radius:8px;font:inherit;font-size:16px;color:var(--ink);background:white}
.specimen-editor p{font-size:12px;color:var(--muted);margin-top:8px}
.specimen-input-row button{white-space:nowrap}
.specimen-letter{left:2px;right:2px;top:16px;text-align:center;line-height:1;white-space:nowrap}

/* A working lab: warm paper, navy instruments, amber interaction cues. */
:root{--ink:#20314e;--teal:#244b83;--muted:#63728a;--line:#dbe3ed}
body{background:#f3f5f8;background-image:radial-gradient(#d5dee8 1px,transparent 1px);background-size:22px 22px}
header,main{max-width:1120px}header{border-bottom:1px solid #ccd7e4}
.site-label{padding:7px 12px;border:1px solid #ced9e7;border-radius:30px;background:#fff;font-weight:600}
.intro{margin:20px 0 28px;align-items:flex-end}.intro h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.5px;line-height:1.22}
.intro .eyebrow{letter-spacing:2.5px;font-weight:700;margin-bottom:12px}.intro p:not(.eyebrow){font-size:15px;margin-top:12px}
.mode{background:#e5ebf3;padding:5px;border-radius:13px}.mode button{border:0;background:transparent;padding:11px 16px;font-weight:600}.mode button.active{background:#213e6c;box-shadow:0 3px 7px #1b375322}
.scope-switch{gap:14px}.scope-switch button{position:relative;text-align:left;padding:17px 22px;border-radius:14px;border:1px solid #cdd8e6;box-shadow:0 3px 9px #18324b05}
.scope-switch button span{display:block;font-size:17px;font-weight:700}.scope-switch button small{display:block;margin-top:3px;font-size:12px;opacity:.75}.scope-switch button.active{background:#233f69;border-color:#233f69;box-shadow:inset 4px 0 #edba68}
.learning-guide{padding-left:2px}
.specimen-editor{display:grid;grid-template-columns:minmax(0,1fr) 250px;padding:0;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 8px 24px #1d365009;margin-bottom:26px}
.specimen-editor-copy{padding:25px 30px}.specimen-editor .eyebrow{font-size:11px;letter-spacing:1.5px;color:#9d6922;font-weight:700;margin:0 0 8px}
.specimen-editor label{font-size:21px;margin-bottom:7px}.specimen-editor #specimen-help{margin-bottom:18px;font-size:13px}
.specimen-input-row{gap:10px}.specimen-input-row input{max-width:none;font-size:19px;background:#f7f9fc;border-color:#c5d2e3;padding:12px 14px;border-radius:10px;min-height:51px}
#specimen-apply{background:#244b83;color:white;border:1px solid #244b83;font-weight:700;padding:13px 19px;border-radius:10px}#specimen-apply:hover{background:#17365f}
#specimen-apply span{margin-left:8px}.has-draft #specimen-apply{box-shadow:0 0 0 3px #edba6838}
.specimen-presets{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.specimen-presets>span{color:var(--muted);font-size:12px;margin-right:2px}.specimen-presets button{padding:4px 12px;border-radius:6px;font-size:12px}.specimen-presets #specimen-reset{border:0;margin-left:auto;color:var(--muted)}
.specimen-editor #specimen-status{min-height:21px;font-size:12px;color:#24634e;margin:15px 0 0}.has-draft #specimen-status{color:#8c601f}input[aria-invalid=true]{outline:2px solid #b6453e}
.specimen-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#edf2f7;border-left:1px solid var(--line);padding:24px 20px;gap:14px}.preview-caption{font-size:11px;letter-spacing:1px;color:#5a6d86}.preview-glass{position:relative;display:grid;place-items:center;width:210px;height:96px;background:linear-gradient(135deg,#ffffffcf,#ffffff44);border:2px solid white;border-radius:7px;box-shadow:0 9px 17px #283f6020;transform:rotate(-5deg)}.preview-glass span{font:bold 62px Georgia,serif;color:#2c5261;white-space:nowrap;max-width:100%}.preview-glass i{position:absolute;right:13px;top:12px;width:7px;height:7px;border-radius:50%;background:#cf604a}.specimen-preview p{text-align:center;font-size:11px;line-height:1.7;margin:0}
.panel{padding:28px;border-radius:22px;border:1px solid #d9e2eb;box-shadow:0 10px 30px #1d36500a}.panel>.section-head h2{font-size:21px}.panel>.section-head .eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:700;margin-bottom:5px}.quiet{background:#f1f4f8;border:1px solid #dfe6ef;padding:8px 14px;border-radius:8px;white-space:nowrap}
.scope-map{background:#f4f7fa;margin-top:20px;border:1px solid #e7ecf2}.hands-eyes{gap:22px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);margin-top:24px}.view-title h3,.eye-heading{font-size:16px}
#slide-pad{height:285px;background:radial-gradient(ellipse at center,#476170,#243c4b);border-color:#688391;box-shadow:inset 0 2px 18px #0f25344d}.eyepiece{max-width:285px;border:11px solid #263746;box-shadow:0 0 0 4px #dbe3eb,0 8px 20px #10233320}
.coverslip{width:70px;height:44px}.specimen-letter{top:auto;bottom:2px;line-height:1}
.focus-control,.lighting{background:#f7f9fc;border:1px solid #e3e9f1;border-radius:12px;padding:16px;margin-top:18px}.lighting p{font-size:12px}.feedback{background:#edf3fa;border-left:4px solid #d5a14e;color:#28496b;font-size:14px;border-radius:10px;padding:15px 18px}
.model-details,.teacher{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 20px;margin-top:16px}summary{font-weight:600}button{transition:background .15s,box-shadow .15s}footer{color:var(--muted);font-size:12px}
@media(max-width:700px){header,main{padding-left:16px;padding-right:16px}.intro{align-items:flex-start;gap:20px;flex-direction:column}.intro h1 br{display:none}.intro h1{font-size:32px}.mode{align-self:stretch}.mode button{flex:1}.scope-switch button{padding:13px}.scope-switch button span{font-size:15px}.scope-switch button small{font-size:10px}.specimen-editor{grid-template-columns:minmax(0,1fr)}.specimen-editor-copy{padding:22px}.specimen-preview{border-left:0;border-top:1px solid var(--line);padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-caption{grid-column:1/-1;text-align:center}.preview-glass{width:100%;max-width:210px;height:78px;justify-self:center}.specimen-preview p{font-size:11px}.specimen-editor label{font-size:19px}.specimen-input-row input{font-size:17px}#specimen-apply{padding:12px}.panel{padding:18px}.panel>.section-head h2{font-size:18px}.hands-eyes{gap:12px;grid-template-columns:minmax(0,1fr)}.optical-link{display:none}#slide-pad{height:230px}.eye-side{border-top:1px solid var(--line);padding-top:22px;margin-top:8px}.eyepiece{max-width:285px}.eye-heading,.view-title h3{font-size:16px}.motion-readout,.image-position{font-size:12px}.coverslip{width:70px;height:40px}.focus-control h3,.lighting h3{font-size:14px}.dual-dials{gap:40px}.dual-dials .focus-wheel{width:68px;height:68px;flex-basis:68px}.dual-dials .fine-wheel{width:56px;height:56px;flex-basis:56px;margin-top:12px}.dial-item>span{font-size:12px}.microcopy{font-size:11px}.feedback{font-size:13px}.light-setting label,.lighting p{font-size:12px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Compact specimen control; keep attention on the slide and eyepiece. */
.specimen-simple{display:grid;grid-template-columns:auto minmax(0,340px);align-items:center;gap:8px 18px;padding:16px 20px;margin:0 0 22px;background:#fff;border:1px solid var(--line);border-radius:12px}
.specimen-simple>label{font-size:15px;font-weight:600}
.specimen-simple .specimen-input-row{gap:8px}
.specimen-simple .specimen-input-row input{font-size:16px;padding:8px 12px;min-height:42px;max-width:none}
.specimen-simple #specimen-apply{padding:9px 18px;min-height:42px}
.specimen-simple #specimen-status{grid-column:2;margin:0;font-size:12px;color:var(--muted)}
.specimen-simple #specimen-status:empty{display:none}
.coverslip{width:44px;height:40px}.specimen-letter{top:auto;bottom:3px}
@media(max-width:600px){.specimen-simple{grid-template-columns:minmax(0,1fr);padding:14px 16px;gap:9px}.specimen-simple #specimen-status{grid-column:1}}

.specimen-simple[hidden],.specimen-letter[hidden]{display:none}
