/* Original Science room: paper, plaster, walnut and an impossible sky window. */
:root{--sf-deep:#c6d5df;--sf-panel:#e1eaf0;--sf-edge:#637f92;--sf-cyan:#145866;--sf-violet:#7365a6;--sf-amber:#a04b30;--study-oak:#a2825e;--study-oak-dark:#69513e;--study-chair:#92614e;--study-chair-dark:#634537;--study-seam:#be9670;--study-throw:#697c7a;--study-rug:#bdad91;--study-rug-line:#826d55;--study-cubby:#453c31;--study-cushion:#b0a185;--study-pot:#a5795b;--study-bark:#78634a;--study-leaf:#526f51;--o-fern:#3f6555;--o-archive-edge:#7e705a;--o-archive-dark:#51493f;--o-archive-back:#968467;--o-archive-wood:#b09a75;--o-archive-red:#785047;--o-study-dark:#33434c;--o-study-edge:#718187;--o-study-metal:#52646c;--o-wall:#d9e4ec;--o-wall-low:#b9cbd9;--o-floor:#9baebf;--o-floor-low:#8299ad;--o-seam:#66839a;--o-side:#c7bead;--o-arch-shadow:#6e879b;--o-arch:#b6cbd9;--o-arch-line:#416b83;--o-sill:#91acbf;--o-sky:#233f50;--o-sky-low:#466a78;--o-haze:#a5bcc0;--o-hills:#284c59;--o-star:#e6e4d1;--o-moon:#d6e3f2;--o-ink:#233d51;--o-muted:#344e62;--o-red:#773323;--o-note-accent:#9c3b1c;--o-wood:#987653;--o-wood-dark:#68513d;--o-paper:#efe6d2;--o-paper-line:#b0a086;--o-shadow:#27363b;--o-brass-dark:#67614b;--o-brass:#aaa17a;--o-lamp:#505b57;--o-light:#f1d6a1;--o-cup:#d2cebc;--o-pot:#9a7158;--o-pot-rim:#695143;--o-leaf:#6c7867;--o-leaf-stem:#6a705d;--s-body:'Gill Sans','Gill Sans MT','Trebuchet MS',sans-serif;--s-head:'Futura','Century Gothic',sans-serif;--s-pencil:'Noteworthy','Chalkboard SE','Segoe Print',cursive;--room-paper:#f1e9d9;--room-rule:#76695740;color-scheme:light}
html[data-theme=dark]{--sf-deep:#070f1d;--sf-panel:#172b40;--sf-edge:#3b5a70;--sf-cyan:#83e4ed;--sf-violet:#ada1ff;--sf-amber:#ffb28b;--study-oak:#927757;--study-oak-dark:#574535;--study-chair:#98664e;--study-chair-dark:#664535;--study-seam:#b49374;--study-throw:#647b78;--study-rug:#706453;--study-rug-line:#a88d6d;--study-cubby:#30302b;--study-cushion:#9a8a6c;--study-pot:#947456;--study-bark:#998166;--study-leaf:#71886a;--o-fern:#8caa83;--o-archive-edge:#695c4c;--o-archive-dark:#292a29;--o-archive-back:#4c473e;--o-archive-wood:#8b7457;--o-archive-red:#794e44;--o-study-dark:#192832;--o-study-edge:#71858e;--o-study-metal:#425661;--o-wall:#0d192b;--o-wall-low:#101f33;--o-floor:#101d2c;--o-floor-low:#07101e;--o-seam:#29445c;--o-side:#252e36;--o-arch-shadow:#050e1c;--o-arch:#203a50;--o-arch-line:#78d8e3;--o-sill:#29465b;--o-sky:#102637;--o-sky-low:#2b4658;--o-haze:#718a97;--o-hills:#112c3e;--o-moon:#cad7ed;--o-ink:#e0edf2;--o-muted:#a9bdce;--o-red:#eead8c;--o-note-accent:#8f341b;--o-wood:#877153;--o-wood-dark:#4b443a;--o-paper:#cfc5ac;--o-paper-line:#9c8d71;--o-leaf:#516559;--o-leaf-stem:#7d8874;--room-paper:#29343d;--room-rule:#d5d4c435;color-scheme:dark}
*{box-sizing:border-box}html{background:var(--o-wall)}html[data-theme] body.science-page{margin:0;background:var(--o-wall);color:var(--o-ink);font-family:var(--s-body);-webkit-font-smoothing:antialiased}a{color:inherit}button,input,select{font:inherit}button,a,input,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--o-red);outline-offset:4px}.science-header{border-bottom:1px solid var(--room-rule);color:var(--o-ink)}.room-coordinate{font:10px var(--s-head);letter-spacing:1.8px;color:var(--o-muted)}.science-skip{position:fixed;top:-80px;left:15px;z-index:100;background:var(--room-paper);color:var(--o-ink);padding:12px}.science-skip:focus{top:12px}.science-header .theme-toggle{background:transparent;box-shadow:none;border-color:var(--room-rule);color:var(--o-ink)}
#science-content{max-width:1700px;margin:auto}.observatory-world{position:relative;isolation:isolate;width:min(100%,calc((100svh - 110px)*1.6));aspect-ratio:1440/900;max-width:1440px;margin:auto}.observatory-art{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.room-heading{position:absolute;left:12.7%;top:11.7%;width:25%;pointer-events:none}.room-heading>span{font:clamp(11px,1.2vw,17px) var(--s-pencil);display:block;margin-bottom:10px}.room-heading h1{font:400 clamp(25px,3vw,43px)/1.05 var(--s-body);letter-spacing:-1.2px;margin:0}.subject-assembly{position:absolute;left:12.8%;top:22.6%;width:22%;height:39.8%}.field-index{height:100%;display:flex;flex-direction:column;position:relative}.research-entry{position:relative;flex:1;min-height:44px;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--o-ink);padding:2px 14px 4px 0}.entry-copy{display:block}.entry-copy strong{font:400 clamp(13px,1.55vw,21px)/1.15 var(--s-body);display:block;letter-spacing:-.25px}.entry-question{font:clamp(9px,.84vw,12px)/1.3 var(--s-body);display:block;color:var(--o-muted);margin-top:5px;max-width:30ch}.entry-number{position:absolute;left:-25px;top:50%;transform:translateY(-50%);font:9px var(--s-body);color:var(--o-muted)}.entry-open{margin-left:auto;font-size:20px;color:var(--o-red);opacity:0;transition:opacity .15s,transform .2s}.research-entry:hover,.research-entry:focus-visible,.research-entry[aria-current]{color:var(--o-red)}.research-entry:hover .entry-open,.research-entry:focus-visible .entry-open{opacity:1;transform:translate(2px,-2px)}.choice-mark{position:absolute;left:0;top:0;width:20px;height:var(--choice-height,58px);transform:translate(var(--choice-x,0px),var(--choice-y,0px));color:var(--o-red);pointer-events:none;opacity:0;transition:transform .3s cubic-bezier(.2,.8,.3,1),opacity .2s}.choice-mark[data-visible=true]{opacity:1}.choice-mark svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.2}
.window-study{position:absolute;left:47%;top:19%;width:30.5%;height:42%;color:#f0e8d6;text-align:center}.window-drawing{width:100%;height:62%;pointer-events:none}.field-sketch{display:block;width:100%;height:100%;fill:none;stroke:#d7dfdc;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.sketch-faint{opacity:.24;stroke-width:.8}.sketch-secondary{stroke:#b9ced2;opacity:.7}.sketch-signal,.laser-carrier{stroke:#f3b28e;stroke-width:1.5;fill:none}.laser-phase-1,.laser-phase-2{opacity:0}.sketch-dot,.sketch-stars circle,.sketch-electrons circle{fill:#f4c5a8;stroke:none}.sketch-symbols{font:22px var(--s-body);fill:#e3e3d5;stroke:none}#window-open{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;gap:9px;text-decoration:none;padding:0 3%;color:#f0e8d6}#window-title{font:400 clamp(16px,1.6vw,23px)/1.1 var(--s-body)}#window-question{font:clamp(10px,.95vw,14px)/1.4 var(--s-body);opacity:.84}.window-invitation{font:12px var(--s-pencil);color:#f2b99b;margin-top:2px}.window-caption{position:absolute;left:44%;top:70%;width:40%;text-align:center;pointer-events:none;font:clamp(10px,1vw,14px)/1.5 var(--s-pencil);color:var(--o-muted)}#preview-release{display:block;font:11px var(--s-body);margin-top:4px;color:var(--o-red)}
.object-control{position:absolute;border:0;background:transparent;color:var(--o-ink);min-width:44px;min-height:44px;padding:0}.object-control>span{position:absolute;white-space:nowrap;font:clamp(10px,.9vw,13px) var(--s-pencil);transition:opacity .2s,transform .2s;opacity:.72}.object-control:hover>span,.object-control:focus-visible>span{opacity:1;transform:translateY(-2px)}.pendulum-nudge{left:86%;top:25%;width:6.5%;height:14.5%}.pendulum-nudge>span{right:0;bottom:-14px}.desk-lamp{left:14.2%;top:58.5%;width:8%;height:20%}.desk-lamp>span{left:-24px;bottom:25px;transform:rotate(-6deg)}.notebook-open{left:21.3%;top:75.7%;width:22%;height:8.5%;transform:rotate(-4deg)}.notebook-open>span{left:29%;bottom:-18px}.room-footnote{max-width:1200px;margin:0 auto;padding:0 5% 18px;min-height:30px;display:flex;justify-content:space-between;gap:15px;font:12px/1.5 var(--s-body);color:var(--o-muted)}#experiment-status{color:var(--o-red)}.obs-moon-cut{display:none}html[data-theme=dark] .obs-moon-cut{display:initial}.observatory-world[data-lamp=false] .desk-light-beam{opacity:0}.observatory-world[data-lamp=false] .desk-light-source{opacity:.15}
/* A sheet of paper for the personal note. */
.science-note{position:absolute;inset:auto;width:min(440px,calc(100% - 40px));max-height:calc(100dvh - 40px);padding:45px 38px 30px;border:1px solid var(--room-rule);background:var(--room-paper);color:var(--o-ink);box-shadow:5px 12px 70px #1118;transform:rotate(-1deg)}.science-note h2{font:400 31px var(--s-body);margin:18px 0}.science-note p{font:17px/1.65 var(--s-body);margin:0 0 17px}.science-note .draft-label{font-size:10px;color:var(--o-muted)}.science-note button{position:absolute;top:10px;right:10px;min-width:44px;min-height:44px;background:none;border:0;color:inherit;font-size:28px}.note-signature{display:block;text-align:right;font:25px var(--s-pencil)}
/* Subject sheets remain part of the room, with the demonstration first. */
.science-reader{position:fixed;inset:18px;width:calc(100% - 36px);height:calc(100dvh - 36px);max-width:1320px;max-height:none;margin:auto;padding:0 4%;background:var(--room-paper);color:var(--o-ink);border:1px solid var(--room-rule);box-shadow:0 20px 100px #14202d60;overflow:auto;overscroll-behavior:contain}.reader-navigation{position:sticky;top:0;z-index:5;min-height:65px;display:flex;align-items:center;gap:20px;background:var(--room-paper);border-bottom:1px solid var(--room-rule)}.index-return{font-size:14px;text-decoration:none;display:flex;align-items:center;min-height:44px}#reader-field-name{margin-left:auto;font-size:12px;color:var(--o-muted)}#reader-status{font-size:12px}#science-reader-close{width:44px;height:44px;background:none;border:0;color:inherit;font:30px var(--s-body);padding:0}.science-article{max-width:1050px;margin:auto;padding:32px 0 45px}.chapter-introduction{max-width:800px}.chapter-eyebrow{font:10px var(--s-head);letter-spacing:1.1px;color:var(--o-red);margin:0 0 13px}.chapter-introduction h2{font:400 38px/1.1 var(--s-body);letter-spacing:-.7px;margin:0 0 14px}.chapter-intro{font:18px/1.55 var(--s-body);max-width:63ch;margin:0 0 12px}.chapter-annotation{font:13px var(--s-pencil);color:var(--o-muted)}.experiment-topline{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--o-muted);min-height:58px}.experiment-topline>span:first-child{font-size:17px;color:var(--o-red)}#science-motion{margin-left:auto;min-height:44px;border:0;background:none;color:var(--o-ink);font-size:12px;padding:8px 0 8px 15px}.experiment-panel{animation:sheet-in .2s ease both}.chapter-writing{margin-top:32px;padding:25px 0;border-top:1px solid var(--room-rule)}.writing-placeholder{display:flex;align-items:center;gap:25px;color:var(--o-muted)}.writing-placeholder p{font:16px/1.5 var(--s-pencil);max-width:45ch;margin:0}.writing-lines{width:140px;height:38px;fill:none;stroke:var(--o-muted);stroke-width:1;opacity:.3}.writing-label{display:block;font-size:10px;color:var(--o-muted);margin-top:12px}.supplied-writing{max-width:65ch}.supplied-writing h3{font:400 28px var(--s-body)}.supplied-writing p{font:19px/1.7 var(--s-body);margin:0 0 24px}.science-sources{font:13px/1.6 var(--s-body);color:var(--o-muted)}.science-sources summary{cursor:pointer;min-height:44px;padding:10px 0}.science-sources ul{padding-left:18px}.science-sources li{margin-bottom:9px}.science-no-script{max-width:700px;padding:20px 6%;font-size:17px;line-height:1.6;margin:auto}
/* The room's palette continues into each scientific instrument. */
.instrument{--s-ink:#e8e5d9;--s-muted:#b8c3c7;--s-rule:#d9dedc2b;--s-red:#f3ae8c;--s-green:#a5cbd3;--s-violet:#c0bad4;background:#263640;color:var(--s-ink)}.science-stage{background:#171418}.instrument-caption{font-size:12px}.segmented button{font-size:13px;min-height:44px}.density-control{font-size:13px}.density-control input{height:44px}.density-control>span{font-size:13px}.science-explanation>p{font-size:15px}.science-explanation details{font-size:14px}.science-explanation summary{min-height:44px;padding:10px 0;font-size:13px}.particle>span:last-child{font-size:11px}.particle-inspector p{font-size:14px}
.observatory-world[data-paused=true] .window-drawing *{animation-play-state:paused!important}@keyframes carrier-a{0%,100%{opacity:1}33%,66%{opacity:0}}@keyframes carrier-b{0%,66%,100%{opacity:0}33%{opacity:1}}@keyframes carrier-c{0%,33%,100%{opacity:0}66%{opacity:1}}@keyframes window-orbit{from{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes sheet-in{from{opacity:.1;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.observatory-world{width:100%;min-height:0;aspect-ratio:1440/900}.room-heading h1{font-size:28px}.entry-question{font-size:10px}.entry-copy strong{font-size:15px}.subject-assembly{top:22%;height:40%}.window-invitation{font-size:11px}.entry-number{left:-19px}.room-coordinate{letter-spacing:1px}.room-footnote{padding-top:12px}}
@media(max-width:1100px){.observatory-world{width:100%;min-height:0;aspect-ratio:auto;display:flex;flex-direction:column;padding:28px 7% 12px}.observatory-art{position:relative;order:2;width:116%;height:auto;margin:10px -8% 0;inset:auto}.room-heading{position:relative;left:auto;top:auto;width:auto;order:0;margin-bottom:18px}.room-heading>span{font-size:13px;margin-bottom:5px}.room-heading h1{font-size:34px;letter-spacing:-.6px}.subject-assembly{position:relative;left:auto;top:auto;width:100%;height:auto;order:1}.field-index{display:grid;grid-template-columns:1fr;gap:0}.research-entry{min-height:62px;border-bottom:1px solid var(--room-rule);padding:10px 25px 10px 25px}.entry-copy strong{font-size:19px}.entry-question{font-size:12px;margin-top:5px;max-width:none}.entry-number{left:0;font-size:10px}.entry-open{opacity:.8;font-size:20px;position:absolute;right:0}.choice-mark{display:none}.window-study{left:46%;top:auto;bottom:22%;width:31.5%;height:19%;z-index:2;pointer-events:none}.window-drawing{height:100%}.window-study>a{display:none!important}.window-caption{position:relative;order:3;left:auto;top:auto;width:auto;font-size:13px;margin-top:5px}.object-control{z-index:3}.pendulum-nudge{top:auto;bottom:24%;left:86%;height:10%;width:9%}.pendulum-nudge>span{display:none}.desk-lamp{top:auto;bottom:5%;left:13%;height:13%;width:10%}.desk-lamp>span{display:none}.notebook-open{top:auto;bottom:5%;left:20%;width:25%;height:7%}.notebook-open>span{bottom:-12px;font-size:10px}.room-footnote{font-size:11px;padding:7px 7% 17px}.room-coordinate{display:none}.science-reader{inset:0;width:100%;height:100dvh;border:0;padding:0 6%}.reader-navigation{min-height:59px;gap:10px}#reader-field-name{max-width:14ch;text-align:right;font-size:10px}.index-return{font-size:13px}.science-article{padding-top:24px}.chapter-introduction h2{font-size:32px}.chapter-intro{font-size:17px}.writing-placeholder{gap:15px}.writing-lines{width:80px}.writing-placeholder p{font-size:14px}.science-stage{max-height:none;aspect-ratio:900/650}.instrument-head{flex-wrap:wrap}.instrument-head>span:first-child{font-size:10px}.segmented{flex-wrap:wrap;gap:14px}.instrument-caption{font-size:10px}.particle>span:last-child{font-size:10px}.science-note{padding:40px 27px 25px}}
@media(prefers-reduced-motion:reduce){.entry-open,.choice-mark,.object-control>span{transition:none!important}.window-drawing *,.science-reader[open],.experiment-panel{animation:none!important}.window-drawing .laser-phase-0{opacity:1}.window-drawing .laser-phase-1,.window-drawing .laser-phase-2{opacity:0}}

.room-physical{position:absolute;inset:0;pointer-events:none}.room-physical a,.room-physical button{pointer-events:auto}.subject-assembly,.room-heading{z-index:3}
@media(max-width:1100px){.room-physical{position:relative;inset:auto;order:2;width:116%;margin:10px -8% 0;aspect-ratio:1440/900}.room-physical .observatory-art{position:absolute;inset:0;margin:0;width:100%;height:100%}.room-physical .window-study{left:47%;top:19%;bottom:auto;width:30.5%;height:42%}.room-physical .pendulum-nudge{left:86%;top:25%;bottom:auto;width:6.5%;height:14.5%}.room-physical .desk-lamp{left:14.2%;top:58.5%;bottom:auto;width:8%;height:20%}.room-physical .notebook-open{left:21.3%;top:75.7%;bottom:auto;width:22%;height:8.5%}}

.window-caption{top:74%;left:44%;width:40%}.desk-lamp{top:65%;height:13.5%}
@media(max-width:1100px){.window-caption{position:relative;top:auto;left:auto;width:auto}.room-physical .desk-lamp{top:65%;height:13.5%}}

.notebook-open>span{left:13%;top:22%;bottom:auto;color:#514a3d;font-size:clamp(9px,.8vw,12px);transform:rotate(-3deg)}
.notebook-open:hover>span,.notebook-open:focus-visible>span{transform:rotate(-3deg) translateY(-1px)}
@media(max-width:1100px){.notebook-open>span{font-size:8px;top:22%;bottom:auto}}
.field-index{overflow:visible}.entry-sketch{display:none}.field-index[data-overflow=true]{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--o-seam) transparent}.field-index[data-overflow=true] .research-entry{padding-left:25px}.field-index[data-overflow=true] .entry-number{left:0}
@media(max-width:1100px){.field-index[data-overflow=true]{overflow:visible}}

html[data-theme=dark] .desk-light-beam{opacity:.14}.observatory-world[data-lamp=false] .desk-light-beam{opacity:0}

/* Refined room: stable text rails and experiments inside the existing window. */
.room-heading{top:15%;width:27%}.room-heading h1{font-size:clamp(26px,3vw,43px)}.room-heading>span{display:none}
.subject-assembly{top:23%;height:39%;width:22.8%}.research-entry{padding:9px 16px 9px 0;border-bottom:1px solid var(--room-rule);gap:10px}.entry-copy{min-width:0}.entry-copy strong{font-size:clamp(14px,1.45vw,21px);line-height:1.2}.entry-question{line-height:1.4;margin-top:6px}.entry-number{left:-25px}.entry-open{position:absolute;right:0}
.window-study{left:46%;top:18%;width:32.5%;height:43%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.window-drawing{height:100%;min-height:0;padding:0 3%}.window-study #window-open{min-height:108px;gap:9px;padding:0 3%;align-self:end}.window-study #window-title{font-size:clamp(16px,1.5vw,22px)}.window-study #window-question{font-size:clamp(11px,.95vw,14px);max-width:31ch}.window-invitation{font-size:12px}.window-study .field-sketch{overflow:visible}.window-drawing *{animation:none!important}
.window-caption{top:74%;left:44%;width:40%;line-height:1.5;min-height:30px}.room-status{position:fixed;bottom:14px;left:20px;z-index:20;font:13px var(--s-body);color:var(--o-ink);background:var(--room-paper);padding:8px 12px;margin:0;pointer-events:none}.room-status:empty{display:none}
/* Local-time clock and a foreground refractor. */
.telescope-control{left:65%;top:71%;width:15%;height:22%}.telescope-control>span{left:15%;bottom:7%;font-size:13px;opacity:.9}.telescope-view{position:absolute;left:45%;top:12%;width:34%;aspect-ratio:1;z-index:9;pointer-events:auto;color:#eee5d2}.telescope-sky{width:100%;height:100%;overflow:hidden;border-radius:50%;background:#102536;border:1px solid #d6d4bf80;box-shadow:0 0 0 6px #10253660;touch-action:pan-y;cursor:grab}.telescope-sky:active{cursor:grabbing}.telescope-sky svg{display:block;width:100%;height:100%;pointer-events:none}.telescope-view>span{position:absolute;left:0;right:0;bottom:-28px;text-align:center;font:12px var(--s-pencil)}#telescope-close{position:absolute;right:0;bottom:-40px;width:44px;height:44px;border:0;background:none;font-size:28px;color:inherit}.observatory-world[data-stargazing=true] .window-study{visibility:hidden}
/* Inline teaching surface: no dialog, backdrop, body lock or document jump. */
.science-reader{position:absolute;inset:auto;left:43.8%;top:23%;width:37%;height:44%;max-width:none;max-height:none;margin:0;padding:0 15px 16px;border:0;border-radius:0;box-shadow:none;background:linear-gradient(#1d3746f5,#1d3746eb);color:#ece7db;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c2c9c480 transparent;scrollbar-gutter:stable;pointer-events:auto;z-index:8;animation:none}
.observatory-world[data-reading=true] .window-study{visibility:hidden}.observatory-world[data-reading=true] .window-caption{visibility:hidden}
.science-reader .reader-navigation{min-height:42px;gap:8px;background:#1d3746;border-color:#d5d4c435;color:#dce2df}.science-reader .index-return{font-size:12px}.science-reader #reader-field-name{display:none}.science-reader #reader-status{font-size:11px}.science-reader #science-reader-close{font-size:24px;width:40px;min-width:40px;margin-left:auto}.science-reader .science-article{padding:12px 0 20px}.science-reader .chapter-eyebrow{display:none}.science-reader .chapter-introduction h2{font-size:25px;line-height:1.15;margin-bottom:10px;letter-spacing:-.3px}.science-reader .chapter-intro{font-size:14px;line-height:1.55;margin:0 0 8px}.science-reader .chapter-annotation{display:none}.science-reader .experiment-topline{min-height:40px;font-size:11px}.science-reader #science-motion{font-size:11px}.science-reader .experiment-panel{animation:none}.science-reader .science-stage{max-height:none;aspect-ratio:900/520}.science-reader .instrument{background:transparent}.science-reader .instrument-head{padding:8px 4px;gap:8px;flex-wrap:wrap}.science-reader .instrument-head>span:first-child{font-size:9px}.science-reader .segmented{gap:15px;flex-wrap:wrap}.science-reader .segmented button{min-height:44px;font-size:12px}.science-reader .experiment-controls{grid-template-columns:1fr 1fr;gap:12px;padding:12px 5px}.science-reader .dark-controls,.science-reader .accelerator-controls{grid-template-columns:1fr}.science-reader .measurement strong{font-size:24px}.science-reader .measurement small{font-size:12px}.science-reader .density-control{font-size:12px}.science-reader .density-control>span{font-size:11px}.science-reader .science-explanation{padding:5px}.science-reader .science-explanation>p{font-size:14px}.science-reader .science-explanation details{font-size:13px}.science-reader .instrument-caption{padding:8px 4px;font-size:11px;flex-wrap:wrap}.science-reader .instrument-caption>span:last-child{display:none}.science-reader .matter-layout{grid-template-columns:1fr;padding:10px 3px;gap:18px}.science-reader .particle-chart{gap:5px;grid-template-rows:20px repeat(4,65px);min-height:0}.science-reader .particle{min-height:65px;padding:5px}.science-reader .particle strong{font-size:26px}.science-reader .particle>span:last-child{font-size:9px}.science-reader .particle-inspector{border-left:0;border-top:1px solid var(--s-rule);padding:15px 0}.science-reader .particle-emblem{display:none}.science-reader .particle-inspector h2{font-size:24px}.science-reader .chapter-writing{border-color:#d5d4c435;margin-top:22px;padding-top:20px}.science-reader .writing-placeholder{color:#c1cbc9}.science-reader .writing-placeholder p{font-size:14px}.science-reader .writing-lines{stroke:#c1cbc9;width:65px}.science-reader .writing-label,.science-reader .science-sources{color:#c1cbc9}.science-reader .supplied-writing p{font-size:16px;line-height:1.65}.science-reader .relativity-controls,.science-reader .endpoint-controls{padding:12px 4px;gap:15px}.science-reader .endpoint-controls select{background:#203b49}
/* The notebook opens as a local piece of paper on the desk. */
.science-note{position:absolute;inset:auto;left:13%;top:60%;width:34%;max-width:430px;max-height:47vh;padding:35px 27px 22px;overflow:auto;z-index:25;pointer-events:auto;transform:rotate(-2deg)}.science-note h2{font-size:27px}.science-note p{font-size:16px;line-height:1.6}.science-note .draft-label{font-size:10px}
@media(max-width:1050px) and (min-width:901px){.entry-copy strong{font-size:14px}.entry-question{font-size:10px}.science-reader{left:43%;width:38.5%;padding:0 8px 12px}.science-reader .chapter-introduction h2{font-size:22px}}
@media(max-width:1100px){.room-heading{top:auto;left:auto;width:auto}.subject-assembly{top:auto;left:auto;width:100%;height:auto}.research-entry{padding:11px 26px;min-height:64px}.entry-copy strong{font-size:19px}.entry-question{font-size:12px}.entry-number{left:0}.room-physical .window-study{left:46%;top:18%;width:32.5%;height:43%;display:block}.room-physical .window-drawing{height:100%;padding:0}.room-physical .telescope-control{left:65%;top:71%;width:15%;height:22%}.telescope-control>span{font-size:10px;left:0;bottom:0}.room-physical .telescope-view{left:45%;top:12%;width:34%;height:auto;aspect-ratio:1}.telescope-view>span{font-size:10px;bottom:-18px}#telescope-close{bottom:-36px;font-size:24px}.window-caption{top:auto;left:auto;width:auto}.room-physical:has(.science-reader:not([hidden])){padding-bottom:0}.science-reader{position:relative;left:auto;top:auto;width:100%;height:auto;max-height:none;margin:0;padding:18px 6% 24px;background:var(--room-paper);color:var(--o-ink);overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}.science-reader .reader-navigation{background:var(--room-paper);color:var(--o-ink);position:relative;border-color:var(--room-rule)}.science-reader .chapter-introduction h2{font-size:29px}.science-reader .chapter-intro{font-size:16px}.science-reader .instrument{background:#263640;padding:0 10px;color:#ece7db}.science-reader .chapter-writing{border-color:var(--room-rule)}.science-reader .writing-placeholder,.science-reader .writing-label,.science-reader .science-sources{color:var(--o-muted)}.science-reader .writing-lines{stroke:var(--o-muted)}.science-note{left:5%;top:auto;bottom:10%;width:90%;max-height:65vh}.observatory-world[data-reading=true] .room-physical{aspect-ratio:auto;padding-top:62.5%}.observatory-world[data-reading=true] .room-physical>.observatory-art{height:auto;aspect-ratio:1440/900}.observatory-world[data-reading=true] .room-physical .science-reader{top:auto}.observatory-world[data-reading=true] .room-physical .object-control,.observatory-world[data-reading=true] .room-physical .telescope-view{display:none}.observatory-world[data-reading=true] .window-caption{display:none}}
@media(prefers-reduced-motion:reduce){.science-reader,.science-note{scroll-behavior:auto}.science-reader *{animation:none!important}}

.window-caption{display:none}.entry-release{display:block;font-size:10px;line-height:1.4;color:var(--o-muted);margin-top:4px;max-width:34ch}
@media(max-width:1100px){.observatory-world[data-reading=true] .room-physical{padding-top:62.5vw}.entry-release{font-size:11px;max-width:none}.room-heading h1{font-size:34px}}

.science-reader{height:48%}.science-reader .reader-navigation{gap:10px}.science-reader .index-return{font-size:21px;min-width:28px}.science-reader .reader-navigation h2{font:400 18px/1.2 var(--s-body);margin:0;letter-spacing:-.1px;flex:1}.science-reader .science-article{display:flex;flex-direction:column;padding:5px 0 20px}.science-reader .experiment-shell{order:0}.science-reader .chapter-introduction{order:1;margin-top:22px;padding-top:18px;border-top:1px solid #d5d4c435}.science-reader .chapter-writing{order:2}.science-reader .science-sources{order:3}.science-reader .experiment-topline{min-height:34px}.science-reader .science-stage{background:transparent}.science-reader .chapter-intro{font-size:15px}
@media(max-width:1100px){.science-reader{height:auto}.science-reader .reader-navigation h2{font-size:23px}.science-reader .chapter-introduction{border-color:var(--room-rule)}}

/* Size text from the room itself, including short, wide browser windows. */
.observatory-world{container-type:inline-size;width:min(100%,max(1100px,calc((100svh - 110px)*1.6)))}.subject-assembly{height:auto;bottom:auto}.field-index{height:auto}.research-entry{flex:0 0 auto;padding-top:7px;padding-bottom:7px;min-height:44px}
@media(min-width:1101px){.entry-copy strong{font-size:clamp(14px,1.45cqw,21px)}.entry-question{font-size:clamp(9px,.84cqw,12px)}.room-heading h1{font-size:clamp(26px,3cqw,43px)}}
@media(max-width:1100px){.observatory-world{width:100%}.subject-assembly{height:auto}.research-entry{min-height:64px;padding:11px 26px}.entry-copy strong{font-size:19px}.entry-question{font-size:12px}}
