/* A presentation layer only: model colors and printable geometry are unchanged. */
:root{color-scheme:dark;--paper:#102833;--ink:#f5ead1;--muted:#b8c8bf;--line:#56717166;--accent:#e5c688;--canvas:#183b43;--panel:#17343e;--night-edge:#09212b;--gold:#e5c688;--soft-paper:#243f48}
body{background:radial-gradient(ellipse at 85% 8%,#31525570,transparent 40%),radial-gradient(ellipse at 0% 60%,#34584d55,transparent 55%),var(--paper);color:var(--ink);font-family:'Avenir Next','Trebuchet MS',system-ui,sans-serif;min-height:100vh}
body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
header,main{position:relative;z-index:1}header{border:0;padding:22px 4vw 10px;max-width:1740px;margin:auto}header nav{font-size:11px;gap:24px}.wordmark{font:400 27px/1.1 'Iowan Old Style','Palatino Linotype',Georgia,serif;letter-spacing:-.06em}.wordmark span{color:var(--gold);font:400 29px Georgia;letter-spacing:0;padding-left:6px}header a{text-decoration:none}header nav a{color:var(--muted)}header nav a:hover{color:var(--ink)}
main{max-width:1560px}.intro{position:relative;padding:46px 0 28px;align-items:center;gap:60px}.intro h1{font:400 clamp(42px,5.2vw,75px)/.99 'Iowan Old Style','Palatino Linotype',Georgia,serif;letter-spacing:-.055em;margin:16px 0}.intro h1 em{font-weight:400;color:var(--gold)}.eyebrow{color:var(--gold);font-size:10px!important;letter-spacing:.18em;font-weight:500}.intro-note{max-width:340px;margin-left:auto;padding-right:70px;color:var(--muted);font-size:14px;line-height:1.75}.intro-note .invitation{font:italic 21px/1.45 Georgia,serif;color:var(--gold);margin-top:16px}
.hanging-moon{position:absolute;right:0;top:-35px;width:44px;height:160px;border-top:0;pointer-events:none}.hanging-moon::before{content:'';position:absolute;left:50%;height:120px;border-left:1px solid #e5c68855}.hanging-moon::after{content:'';width:24px;height:32px;position:absolute;left:10px;bottom:10px;border-radius:50%;background:#f5dca1;box-shadow:0 0 24px 12px #f5dca11c,0 0 64px 22px #f5dca110}.hanging-moon span{position:absolute;left:12px;top:54px;color:var(--gold);font-size:25px}
.paper-canopy{position:absolute;inset:0 0 auto;height:440px;overflow:hidden;pointer-events:none}.paper-canopy::before,.paper-canopy::after{content:'';position:absolute;width:400px;height:480px;top:-290px;border:2px solid #59796f55;border-radius:50%;transform:rotate(25deg)}.paper-canopy::before{left:-50px}.paper-canopy::after{right:-130px;transform:rotate(-30deg)}.paper-canopy i{position:absolute;width:64px;height:145px;border-radius:95% 0 95% 0;background:#477c6940;transform:rotate(55deg);box-shadow:inset 1px 0 #82a89222,8px 9px 10px #06192333}.paper-canopy i:nth-child(1){left:2%;top:100px;transform:rotate(75deg)}.paper-canopy i:nth-child(2){left:18%;top:-80px;transform:rotate(110deg)}.paper-canopy i:nth-child(3){left:30%;top:-110px;transform:rotate(35deg)}.paper-canopy i:nth-child(4){right:2%;top:180px;transform:rotate(-70deg)}.paper-canopy i:nth-child(5){right:17%;top:-65px;transform:rotate(-15deg)}.paper-canopy i:nth-child(6){right:-2%;top:-40px;transform:rotate(25deg)}.paper-canopy>span{position:absolute;top:112px;left:49%;color:#e3ce9866;font-size:24px}
button,select{border-radius:18px;border-color:var(--line);background:transparent;color:var(--ink);transition:background .18s,border-color .18s,box-shadow .18s}button:hover{background:#aec8ab15;border-color:#e5c68899}button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:#16343a;box-shadow:0 2px 0 #00000030}button:disabled{opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}select option{background:var(--panel);color:var(--ink)}
.collection-toolbar{margin:4px 0 18px;gap:12px}.collection-toolbar>p{font-size:10px;max-width:230px;text-align:right;margin-left:auto}.atmosphere-controls{display:flex;gap:7px;flex-wrap:wrap}.atmosphere-controls button{font-size:11px;padding:7px 12px}.atmosphere-controls button[aria-pressed=true]{color:var(--gold);background:#d5c3890c;border-color:#a6ac8066;box-shadow:none}#collection-toggle{font-size:12px;white-space:nowrap}
#models{gap:8px;border:0;padding:0 0 18px}#models button{position:relative;border:1px solid var(--line);border-radius:24px 24px 7px 7px;padding:13px 12px 12px;gap:10px;background:linear-gradient(160deg,#71948115,transparent);box-shadow:0 3px 0 #081c2580;font-size:12px;min-height:81px}#models button::before{content:'✦';color:var(--gold);font-size:10px;position:absolute;top:10px;right:12px}#models button span{font-size:9px!important;letter-spacing:.04em;padding-right:8px;opacity:.8;color:var(--muted)}#models button[aria-pressed=true]{background:var(--gold);color:#16343a;border-color:#f7dfa5}#models button[aria-pressed=true]::before,#models button[aria-pressed=true] span{color:#23464b}#models button:hover{transform:translateY(-2px)}
.collection-viewport{height:570px;border-radius:100px 100px 18px 18px;border:1px solid #b6b78a66;padding:0;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#365354,transparent 72%),#112e39;box-shadow:0 0 0 7px #102b35,0 0 0 8px #6c827744,0 0 0 15px #25434a,0 0 0 16px #82938333,0 18px 42px #04192177,inset 0 0 80px #081d28aa;margin:8px 0 30px}.collection-viewport::before,.collection-viewport::after{content:'';position:absolute;pointer-events:none;z-index:2;inset:12px;border:1px solid #d3c59124;border-radius:90px 90px 10px 10px}.collection-viewport::after{inset:22px;border-color:#d3c59112;border-radius:80px 80px 8px 8px}.theatre-caption{position:absolute;top:27px;left:15%;right:15%;z-index:3;pointer-events:none;text-align:center;font-size:9px;letter-spacing:.2em;color:#dfd4ad}.theatre-caption>span:last-child{display:block;font-size:17px;margin-top:3px;opacity:.7}#collection-note{background:#102833df;border:1px solid #77918444;border-radius:20px;padding:7px 12px;left:50%;transform:translateX(-50%);bottom:12px;margin:0;max-width:80%;width:max-content;text-align:center;font-size:10px;color:#e5e2c7;z-index:3}
.collection-footer{margin:20px 0 14px;gap:22px}.collection-footer p{font-size:13px;color:var(--ink)}.collection-footer small{font-size:10px;color:var(--muted)}#collection-play,#play,#animate-step{background:var(--gold);color:#173039;border-color:var(--gold);box-shadow:0 3px 0 #0003}#collection-play::before{content:'▷';margin-right:9px}.collection-footer button{white-space:nowrap;font-size:12px}.collection-key{margin:18px 0 40px}.collection-key button{border-color:var(--line);color:var(--muted);font-size:11px;box-shadow:none}
.study-head{scroll-margin-top:14px;padding-top:4px}.study-head h2{font:400 36px 'Iowan Old Style',Georgia,serif;letter-spacing:-.025em}.status{font-size:11px;color:var(--gold);max-width:230px}.workbench{border:1px solid #8e9e8066;border-radius:18px;background:var(--panel);box-shadow:0 12px 40px #061a2444}.viewer{border-right:1px solid var(--line)}.modes{border-radius:18px 0 0 0;background:#08233066;padding:12px;gap:5px}.modes button{font-size:11px;padding:7px 11px}.viewport{background:radial-gradient(ellipse at 50% 40%,#35534f44,transparent 70%),var(--canvas);overflow:hidden}.worktable-stamp{position:absolute;top:22px;right:22px;pointer-events:none;color:#dcc18f66;text-align:center;font-size:24px;z-index:2}.worktable-stamp span{display:block;font-size:8px;letter-spacing:.15em;margin-top:4px}#scene-note{background:#0c2532e6;color:#dedfc9;border:1px solid #71918755;border-radius:12px;left:14px;bottom:12px;padding:6px 10px;font-size:10px;max-width:90%}.view-tools button{font-size:10px}.view-tools>label{font-size:10px}.view-tools{background:#102d3866}.view-tools button:hover{background:#f5dfab11}.view-tools button[aria-pressed=true]{background:var(--gold);color:#173039}
aside{padding:20px;background:linear-gradient(135deg,#37574e22,transparent 55%);border-radius:0 18px 18px 0}.aside-tabs{gap:4px}.aside-tabs button{font-size:10px;padding:7px 9px}.control-panel input[type=range]{accent-color:var(--gold);height:22px}.control-panel output{color:var(--gold)}.control-panel select{background:var(--paper);color:var(--ink);border-radius:9px}.control-panel p{color:var(--muted);font-size:11px}#assembly-title{color:var(--gold)}.control-heading{font-size:11px}.control-heading button{font-size:11px}.part-chips button{font-size:10px;border-radius:8px;line-height:1.5;padding:5px 8px;background:#91ad9610}#steps button{color:var(--muted);font-size:11px;padding:12px 7px}#steps button::before{color:var(--gold)}#steps button[aria-pressed=true]{color:var(--ink);background:#71837522;border-left:2px solid var(--gold)}.instruction{border-top:1px solid #b6ba8166}.instruction .check{color:#dfc590;border-color:#c4a46b}#selection{color:var(--muted)}.download{border-color:#bdac7877;border-radius:12px;color:var(--gold)}#parts button[aria-pressed=true]{background:#70867d33;color:var(--ink)}#parts button i{box-shadow:0 0 0 1px #fff2}#bed-map td button{background:#74897122}#bed-map td button:hover{background:#9dab6f33}#review-title{color:var(--gold)}#error,#boot-error{background:#473526;color:#ffeacb;border-color:#d5aa73;border-radius:10px}.verification{border-color:var(--line);gap:30px}.verification h3{color:var(--gold);font-size:24px}footer{color:var(--muted);border-top:1px solid var(--line);padding-top:23px}footer a{white-space:nowrap}
body[data-light=day]{color-scheme:light;--paper:#f1e8d4;--ink:#254b49;--muted:#5a7067;--line:#47665344;--accent:#8b6137;--canvas:#d9dfc6;--panel:#eee5cf;--night-edge:#ddceb0;--gold:#8b6137;--soft-paper:#ded8bf;background:radial-gradient(ellipse at 85% 8%,#fff9df,transparent 45%),var(--paper)}
body[data-light=day] .intro h1 em{color:#9a6740}body[data-light=day] .collection-viewport{background:radial-gradient(ellipse at 50% 30%,#fff2c7,transparent 72%),#c5d8c7;border-color:#ad9d74;box-shadow:0 0 0 7px #e3dbc2,0 0 0 8px #b4aa84,0 0 0 15px #f0e6d2,0 0 0 16px #a69f7c55,0 18px 42px #3d534d22}body[data-light=day] .theatre-caption{color:#536959}body[data-light=day] #collection-note{background:#f2e9d8eb;color:#284c47;border-color:#8b9c7655}body[data-light=day] #scene-note{background:#f3e9d6ed;color:#264c49;border-color:#82907377}body[data-light=day] .modes,body[data-light=day] .view-tools{background:#d3d4b833}body[data-light=day] button[aria-pressed=true],body[data-light=day] #collection-play,body[data-light=day] #play,body[data-light=day] #animate-step{background:#36574e;color:#fff1d0;border-color:#36574e}body[data-light=day] #models button[aria-pressed=true] span,body[data-light=day] #models button[aria-pressed=true]::before{color:#f5d99f}body[data-light=day] .atmosphere-controls button[aria-pressed=true]{background:#36574e;color:#fff1d0}body[data-light=day] .worktable-stamp{color:#715c3370}body[data-light=day] .hanging-moon::after{background:#e5b956;box-shadow:0 0 28px 15px #ecc46833}
@media(min-width:1100px){.workbench{grid-template-columns:minmax(0,1fr) 345px}.collection-viewport{height:600px}}
@media(max-width:1050px){.intro{padding:32px 0 24px;gap:25px}.intro-note{padding-right:45px;font-size:12px;max-width:270px}.intro-note .invitation{font-size:18px}.collection-toolbar>p{max-width:170px}.collection-viewport{height:520px}.collection-toolbar{flex-wrap:wrap}.collection-toolbar>p{margin:0}.collection-key{gap:8px 20px}}
@media(max-width:760px){header{padding:20px 20px 8px}.wordmark{font-size:24px}header nav{font-size:10px;gap:15px}.intro{display:block;padding:30px 8px 18px}.intro h1 br{display:block}.intro h1{font-size:50px}.intro-note{padding:0;max-width:280px;margin:18px 0 0;font-size:13px}.intro-note p{margin:0 0 8px}.intro-note .invitation{font-size:18px}.hanging-moon{right:22px}.collection-toolbar{padding:0 7px;margin-bottom:18px}.collection-toolbar>p{max-width:none;flex-basis:100%;text-align:left;font-size:10px}.atmosphere-controls button{font-size:10px;padding:7px 10px}#models{gap:6px;padding:0 6px 16px}#models button{min-height:75px;border-radius:16px 16px 7px 7px;padding:13px 9px 10px;font-size:11px}#models button span{font-size:9px!important}.collection-viewport{height:450px;margin:8px 7px 26px;border-radius:60px 60px 16px 16px;box-shadow:0 0 0 5px #24434a,0 0 0 6px #92a08455,0 15px 30px #071c2744}.collection-viewport::before{border-radius:50px 50px 10px 10px}.collection-viewport::after{border-radius:40px 40px 8px 8px}.theatre-caption{top:24px;font-size:8px}#collection-note{font-size:9px;max-width:90%;padding:6px 10px}.collection-footer{padding:0 7px;align-items:start}.collection-footer p{font-size:12px}.collection-footer small{font-size:10px}.collection-key{padding:0 7px;grid-template-columns:1fr 1fr}.study-head{padding:0 6px;gap:10px}.study-head h2{font-size:30px}.status{font-size:10px;max-width:130px}.modes{border-radius:16px 16px 0 0;gap:4px}.modes button{font-size:10px;padding:8px 10px}.viewport{height:390px}.workbench{border-radius:16px}.viewer{border-right:0}.worktable-stamp{right:15px;top:15px}aside{padding:18px;border-radius:0 0 16px 16px}.verification{padding:28px 10px}.paper-canopy{height:360px}footer{padding:22px 8px 30px}.collection-key button{font-size:10px}}
@media(prefers-reduced-motion:reduce){button,select{transition:none}#models button:hover{transform:none}}
body[data-scenery=off] .paper-canopy,body[data-scenery=off] .hanging-moon,body[data-scenery=off] .theatre-caption,body[data-scenery=off] .worktable-stamp{display:none}
.modes button,.view-tools button,.aside-tabs button,.part-chips button,.atmosphere-controls button,.collection-key button{font-size:11px}#models button span{font-size:10px!important}.collection-toolbar>p,.collection-footer small{font-size:11px}.view-tools>label{font-size:11px}body[data-light=day] .instruction .check{color:#765936;border-color:#9d8052}
