.lab-page{--ice:#86c9ff;--line:#2c4254;--metal:#a6bed1;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;background:#091525}
.lab-container{width:min(1440px,calc(100% - clamp(36px,8vw,140px)));margin:0 auto}.lab-page .site-header{min-height:86px}.lab-page .site-header .brand{width:192px}.lab-page .brand img{height:54px}.lab-page main{border-top:1px solid #253749;background:radial-gradient(ellipse 58% 440px at 80% 230px,#18364a80,transparent 92%)}
.breadcrumb{display:flex;gap:13px;align-items:center;font-size:13px;color:#b9cad9;padding-top:23px}.breadcrumb a{color:#8fa6bb}.breadcrumb i{color:#64798a;font-style:normal}
.exhibit{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:clamp(12px,2.8vw,54px);align-items:center;padding:27px 0 28px;min-height:425px}
.lab-kicker,.visual-head,.plate,.stops small,.section-heading>span{font:600 11px/1.55 var(--mono);letter-spacing:.13em;text-transform:uppercase}.lab-kicker{margin:0 0 18px;color:#9dd5fd;display:flex;gap:11px;align-items:center}.signal{height:8px;width:8px;background:#ff9751;box-shadow:0 0 10px #ff97516b;border-radius:50%}
.exhibit h1{font:650 clamp(48px,5.65vw,89px)/.98 Arial,Helvetica,sans-serif;letter-spacing:-.065em;margin:0 0 22px}.exhibit h1 em{font-style:normal;color:#83caff}.exhibit h1>span{color:#ff974e}.exhibit .intro-copy,.exhibit #tip{font-size:clamp(16px,1.22vw,20px);color:#bfcfdb;line-height:1.57;max-width:45ch;margin:0 0 24px}.entry-actions,.tour-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lab-page button{font-family:inherit;cursor:pointer}.entry-actions button,.tour-actions button{font-size:14px;font-weight:650;min-height:45px;display:inline-flex;align-items:center;gap:9px;border-radius:5px;padding:11px 16px}.entry-actions svg{width:18px;height:18px}.launch,#next{color:#101c26;background:#ff9e56;border:1px solid #ff9e56}.launch span,#next span{padding-left:4px;font-size:17px;line-height:1}.explode,#prev,#return{background:transparent;color:#dfebf6;border:1px solid #405467}.entry-actions button:hover,.tour-actions button:hover{filter:brightness(1.15);border-color:#bddbf2}.lab-page [hidden]{display:none!important}
.instrument{position:relative;min-width:0;background:radial-gradient(ellipse at 55% 48%,#29475b80,transparent 76%),linear-gradient(120deg,#0d1e30,#12293c 65%,#112438);border:1px solid #344b5d;border-radius:8px;overflow:hidden}.instrument:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#6eb2d512 1px,transparent 1px),linear-gradient(90deg,#6eb2d512 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(140deg,#000,transparent 52%,#000)}.visual-head,.plate{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;color:#c0d7e6;font-size:10px;letter-spacing:.14em;padding:16px 20px 0}.visual-head>span:first-child{display:flex;gap:8px;align-items:center}.visual-head i{height:6px;width:6px;background:#85c6ed;border-radius:50%}.visual-head b{font-weight:500}.image-field{position:relative;height:clamp(265px,23.4vw,390px)}.poster{height:100%;width:100%;object-fit:contain;position:relative;padding:6px 10px 0;z-index:1}.plate{justify-content:flex-start;gap:9px;padding:5px 20px 13px;color:#c6dded}.plate-mark{width:12px;height:12px;display:inline-block;border:1px solid #8cb1ca;position:relative}.plate-mark:before,.plate-mark:after{content:"";position:absolute;background:#8cb1ca}.plate-mark:before{top:5px;left:-3px;width:16px;height:1px}.plate-mark:after{top:-3px;left:5px;height:16px;width:1px}.ticks{margin-left:auto;width:58px;height:7px;background:repeating-linear-gradient(90deg,#7293a7 0 1px,transparent 1px 6px)}.viewer-host{position:absolute;inset:0;z-index:2}.viewer-controls{position:absolute;bottom:9px;right:9px;display:flex;z-index:4;gap:3px}.viewer-controls button{height:37px;width:38px;color:#132638;background:#f2f6fbec;border:1px solid #8499aa;border-radius:4px;font:700 18px Arial}.viewer-controls button:hover{background:white}.lab-page .instrument.live .image-field{height:clamp(325px,27.8vw,470px)}.instrument.live .visual-head,.instrument.live .plate{background:#142638;padding:10px 14px}.instrument.live .plate{min-height:48px;font:13px/1.4 Arial;letter-spacing:.01em;text-transform:none}.exhibit.in-session h1{font-size:clamp(37px,4.4vw,62px);line-height:1.02}.exhibit.in-session .intro-copy{font-size:16px;margin-bottom:12px;max-width:52ch}.exhibit #tip{font-size:14px;color:#9fc6e0;max-width:55ch;margin-bottom:18px}.tour-actions{gap:7px}.tour-actions button{min-height:39px;padding:8px 13px}.exhibit.in-session .entry-actions{margin-bottom:10px}.exhibit #explode[aria-pressed="true"]{background:#1c354c;color:white}.specs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0}.specs>div{display:flex;gap:16px;align-items:baseline;justify-content:center;border-right:1px solid var(--line)}.specs>div:last-child{border:0}.specs strong{color:#f1f6fb;font-size:clamp(22px,2.1vw,33px);font-weight:550;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.specs strong em{font-size:.59em;font-style:normal;letter-spacing:0;color:#96c7ea}.specs span{font-size:14px;color:#b1c4d2}
.journey{padding:30px 0 44px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}.section-heading>span{color:#9cb9ce;font-size:10px}.lab-page h2{font-size:clamp(27px,2.6vw,39px);letter-spacing:-.045em;margin:0 0 16px}.section-heading h2{margin:0}.stops{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#122334}.stops button{display:flex;align-items:flex-start;flex-wrap:wrap;gap:14px;text-align:left;position:relative;min-width:0;padding:18px 14px 15px;background:transparent;border:0;border-right:1px solid var(--line);color:#ecf4fa;font-size:15px;font-weight:600;line-height:1.3}.stops button:last-child{border:0}.stops button svg{color:#99caec;width:25px;height:25px}.stops button>span{flex-basis:100%}.stops small{display:block;color:#92abc0;font-size:9px;margin-bottom:4px}.stops b{position:absolute;right:13px;top:14px;font-size:14px;color:#839eb3;font-weight:400}.stops button:hover,.stops button[aria-current="step"]{background:#21394e}.stops button[aria-current="step"]{box-shadow:inset 0 -3px #ff9e56}.stops button:focus-visible{outline-offset:-4px}
.aperture{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:8%;padding:35px 0 42px;border-top:1px solid var(--line)}.aperture p,.notes p,.notes li{color:#b3c6d5;font-size:16px;line-height:1.65}.aperture .lab-kicker{color:#97cef7;font:600 10px var(--mono);margin:0 0 12px}.na-switch{display:inline-flex;border:1px solid #52708a;border-radius:4px;overflow:hidden}.na-switch button{background:#132334;border:0;color:#c2d4e3;padding:10px 18px;font:600 13px var(--mono)}.na-switch [aria-pressed=true]{background:#acd7f6;color:#132a3a}.na-switch button:focus-visible{outline-offset:-3px}.grating{position:relative;padding:22px 25px 15px;border:1px solid var(--line);border-radius:6px;background:#102234}.grating-image{height:90px;background:repeating-linear-gradient(90deg,#87c8ed 0 3px,#284459 3px 6px);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}.grating.low .grating-image{filter:blur(2.1px)}.grating p{display:flex;align-items:baseline;justify-content:space-between;margin:10px 0 0;font-size:13px}.grating b{font-size:23px;color:#cde8f9}.notes{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:38px 0 65px;border-top:1px solid var(--line)}.notes details{border-top:1px solid var(--line);padding:12px 0}.notes details:last-child{border-bottom:1px solid var(--line)}.notes details p{padding:4px 14px 0;margin:8px 0}.notes summary{cursor:pointer;font-size:16px;color:#e4edf5}.notes ul{list-style:none;padding:0;margin:0}.notes li{display:flex;gap:13px;align-items:baseline;border-top:1px solid var(--line);padding:7px 0;font-size:14px}.notes li span{font:11px var(--mono);min-width:50px;color:#b8cad6}.notes a{color:#98cff8}#viewer-status:not(:empty){padding:8px 0 18px;font-size:14px;color:#ffc18b}
@media(max-width:950px){.exhibit{grid-template-columns:.9fr 1.1fr;gap:17px}.exhibit h1{font-size:clamp(48px,6.1vw,63px)}.entry-actions{gap:7px}.entry-actions button{padding:10px 12px}.stops{grid-template-columns:repeat(3,1fr)}.stops button:nth-child(3){border-right:0}.stops button:nth-child(-n+3){border-bottom:1px solid var(--line)}.stops button{flex-wrap:nowrap;align-items:center}.stops b{display:none}.specs>div{flex-direction:column;align-items:center;gap:0}.exhibit.in-session{grid-template-columns:.9fr 1.1fr}}
@media(max-width:700px){.lab-container{width:calc(100% - 36px)}.lab-page .site-header{min-height:68px}.lab-page .site-header .brand{width:166px}.breadcrumb{font-size:12px;padding-top:15px}.exhibit,.exhibit.in-session{grid-template-columns:1fr;gap:23px;min-height:0;padding:25px 0 20px}.lab-kicker{margin-bottom:14px}.exhibit h1{font-size:clamp(49px,11vw,72px);margin-bottom:16px}.intro-copy br{display:none}.exhibit .intro-copy{font-size:16px;max-width:48ch;margin-bottom:19px}.image-field{height:clamp(220px,55vw,310px)}.visual-head{padding:12px 14px 0}.plate{padding:0 14px 10px}.specs{padding:13px 0}.specs span{font-size:11px}.specs strong{font-size:24px}.journey{padding:24px 0 32px}.stops{grid-template-columns:repeat(2,1fr)}.stops button{min-height:67px;padding:10px;gap:9px;font-size:14px}.stops button:nth-child(3){border-right:1px solid var(--line)}.stops button:nth-child(2n){border-right:0}.stops button:nth-child(4){border-bottom:1px solid var(--line)}.stops small{font-size:8px}.aperture,.notes{grid-template-columns:1fr;gap:24px;padding:29px 0}.lab-page .instrument.live .image-field{height:clamp(265px,70vw,390px)}.exhibit.in-session{gap:18px}.notes{padding-bottom:45px}}
#scrubber{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#162a3b}#scrubber label{font:11px var(--mono);color:#c1d5e4}#phase{flex:1;min-width:40px;accent-color:#ff9e56}.viewer-host.euv-scene{position:absolute}
.instrument:fullscreen,.instrument.expanded{display:flex;flex-direction:column;width:100%;height:100%;border:0;border-radius:0;background:#142638}.instrument.expanded{position:fixed;inset:0;z-index:100}.instrument:fullscreen .image-field,.instrument.expanded .image-field{flex:1;min-height:0}.instrument:fullscreen .plate,.instrument.expanded .plate{flex:none}

.lab-page #exhibit-title:focus-visible{outline:2px solid #ff9e56;outline-offset:5px}
.tour-actions button:disabled{opacity:.48;cursor:default}
.lab-page #phase{min-height:38px}
html.euv-expanded{overflow:hidden}
@media(max-width:700px),(pointer:coarse){
  .lab-page .viewer-controls button{width:44px;height:44px}
  .lab-page .tour-actions button,.lab-page .na-switch button{min-width:44px;min-height:44px}
  .lab-page #phase{min-height:44px}
}
@media(max-height:475px) and (orientation:landscape){
  .lab-page .instrument:is(:fullscreen,.expanded) .viewer-controls button{width:40px;height:40px}
  .lab-page .instrument:is(:fullscreen,.expanded) .plate{min-height:32px;padding:6px 12px}
  .lab-page .instrument:is(:fullscreen,.expanded) #scrubber{padding-block:0}
}

/* The chapter index doubles as a visual view selector. */
.stops{grid-template-columns:repeat(4,minmax(0,1fr))}
.stops button{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0;align-content:start;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.stops button:nth-child(n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.stops button:nth-child(4n){border-right:0}
.stops button:nth-last-child(-n+4){border-bottom:0}
.stops .stop-preview{display:block;width:100%;height:auto;aspect-ratio:11/7;object-fit:cover;border-bottom:1px solid var(--line)}
.stops button>span{display:block;width:100%;padding:12px 14px 15px}
.stops button b{display:none}
.stops button[aria-current="step"]{background:#254157}

.tour-actions #prev:disabled{cursor:default;opacity:.48}
@media(max-width:700px){
  .exhibit.in-session{grid-template-columns:minmax(0,1fr);gap:11px;scroll-margin-top:5px}
  .exhibit.in-session .exhibit-copy{display:contents}
  .exhibit.in-session .lab-kicker{order:0;margin:0}
  .exhibit.in-session h1{order:1;margin:0;font-size:clamp(32px,8.7vw,46px)}
  .exhibit.in-session .instrument{order:2}
  .lab-page .exhibit.in-session .instrument.live .image-field{height:clamp(185px,55vw,330px)}
  .exhibit.in-session #explanation{order:4;margin:2px 0 0}
  .exhibit.in-session #tip{order:5;margin:0}
  .stops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stops button:nth-child(n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .stops button:nth-child(2n){border-right:0}
  .stops button:nth-last-child(-n+2){border-bottom:0}
  .stops button>span{padding:9px 10px 11px}
}
.tour-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-height:450px) and (orientation:landscape){
  .instrument:fullscreen .visual-head,.instrument.expanded .visual-head{padding-block:5px}
  .lab-page .instrument:is(:fullscreen,.expanded) #phase{min-height:32px}
}
.scene-tools{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;padding:9px 14px;background:#13283a;border-top:1px solid #345069}
#gesture-help{flex:1 1 185px;margin:0;color:#c9dbe8;font:13px/1.45 Arial,Helvetica,sans-serif}
.lab-page #inspect-detail{min-height:40px;border:1px solid #62839f;color:#dbedff;background:#19374e;border-radius:4px;padding:7px 12px;font-size:13px;font-weight:650}
.lab-page #navigation-mode{font-size:12px}
#navigation-mode[aria-pressed=true]{color:#fff;background:#245776}
@media(max-width:700px){
  .scene-tools{padding:7px 10px;gap:6px}
  #gesture-help{font-size:12px}
  .lab-page #inspect-detail{min-height:44px;padding:6px 9px}
  .viewer-controls{left:3px;right:3px;bottom:3px;justify-content:flex-end;gap:1px}
  .lab-page .viewer-controls button{min-width:0;flex:0 1 44px}
}
@media(max-height:475px) and (orientation:landscape){
  .instrument:is(:fullscreen,.expanded) .scene-tools{padding-block:3px;flex-wrap:nowrap}
  .instrument:is(:fullscreen,.expanded) #gesture-help{font-size:12px}
  .lab-page .instrument:is(:fullscreen,.expanded) #inspect-detail{min-height:32px}
}


/* Tour transport remains with the image in both the page and fullscreen player. */
.instrument .tour-actions {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px solid #365269;
  background: #102334;
  flex: none;
}
#tour-cue {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 4px;
  color: #c3d8e8;
  font: 11px/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
}
.tour-cue-track {
  flex: 1;
  height: 3px;
  overflow: hidden;
  background: #31495a;
  border-radius: 2px;
}
#tour-cue-fill {
  display: block;
  height: 100%;
  background: #8bc9f5;
  transform: scaleX(0);
  transform-origin: left;
}
.instrument .tour-actions button {
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #4a667b;
  border-radius: 4px;
  background: #183145;
  color: #e5f0f6;
  font-size: 13px;
}
.instrument #autotour {
  border-color: #ffab65;
  color: #14202d;
  background: #ffab65;
}
.instrument #autotour[data-playing="true"] {
  color: #e7f5ff;
  background: #294b64;
  border-color: #78a8c9;
}
.instrument #return { background: transparent; }
@media (max-width: 950px) and (min-width: 701px), (max-width: 420px) {
  .instrument .tour-actions { grid-template-columns: auto 1fr auto; }
  .instrument #autotour { grid-column: 1/3; }
  .instrument #return { grid-column: 3; grid-row: 2; }
  .instrument #prev { grid-column: 1; grid-row: 3; }
  .instrument #next { grid-column: 2/4; grid-row: 3; }
}
@media (max-width: 700px), (pointer: coarse) {
  .instrument .tour-actions button { min-height: 44px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .instrument:is(:fullscreen,.expanded) .tour-actions { grid-template-columns: auto auto 1fr auto; padding-block: 4px; }
  .instrument:is(:fullscreen,.expanded) .tour-actions button { grid-column: auto; grid-row: auto; min-height: 32px; }
  .instrument:is(:fullscreen,.expanded) .scene-tools #gesture-help { display:none; }
}
.tour-note { margin: 12px 0 0; color: #a9c2d5; font-size: 13px; }
.exhibit.in-session .tour-note, .exhibit[data-opening] .tour-note { display: none; }
