:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#26332e;background:#edf0ef;font-synthesis:none;font-feature-settings:"kern" 1,"liga" 1;text-rendering:optimizeLegibility;line-height:1.4;font-size:15px}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button,a,progress{font:inherit}button,a{color:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,model-viewer:focus-visible{outline:3px solid #8c582b;outline-offset:4px}button{border:0;background:none}a{text-decoration:none}button:hover,a:hover{background:#e1e8e2}button:active{transform:translateY(1px)}[hidden]{display:none!important}#shell{height:100svh;min-height:530px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 40%,#fff 0%,#f4f6f5 42%,#e8edeb 100%);overflow:hidden}header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 32px 10px}.identity{display:flex;align-items:center;gap:13px}.brand-logo{display:block;width:176px;height:auto;flex-shrink:0;object-fit:contain}.identity{gap:22px}.identity>div{min-width:0}h1{font-size:23px;letter-spacing:-.03em;line-height:1.15;margin:0 0 6px;font-weight:650}.identity p{margin:0;font-size:14px;color:#526058}.actions{display:flex;gap:8px}.actions button,.actions a{border:1px solid #c5cfca;border-radius:9px;padding:10px 14px;background:#ffffffbd;white-space:nowrap}.actions span{margin-left:12px}.stage{position:relative;flex:1;min-height:0}model-viewer{width:100%;height:100%;--poster-color:transparent;touch-action:none}#loading{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);background:#fffef7f2;box-shadow:0 8px 40px #20372d20;padding:18px 26px;border-radius:12px;text-align:center;min-width:240px}progress{display:block;width:100%;height:5px;margin-top:12px;accent-color:#394f44}#error{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:24px;border-radius:12px;width:min(90%,430px)}#error button{padding:10px;background:#e8edeb;border-radius:6px;margin-right:5px}.controls{position:absolute;bottom:12px;left:32px;right:32px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;pointer-events:none}.views,.tools{pointer-events:auto;border:1px solid #cdd5d0;border-radius:13px;background:#ffffffeb;box-shadow:0 3px 12px #26332e08;display:flex;padding:5px;gap:2px;backdrop-filter:blur(12px)}.views button{padding:12px 15px;border-radius:8px;white-space:nowrap;font-size:14px}.views button[aria-pressed=true],.gallery-bottom button[aria-pressed=true]{background:#293b32;color:white}.tools{align-items:center}.tools button{width:44px;height:44px;font-size:28px;line-height:1;border-radius:7px}.separator{height:22px;width:1px;background:#cdd5d0;margin:0 5px}footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 32px 22px;font-size:13px}.help{margin:0}.footer-actions{display:flex;gap:20px}.footer-actions button{font-size:13px;padding:8px 0;border-radius:4px}dialog{border:1px solid #d0d7d2;border-radius:18px;box-shadow:0 24px 90px #18332440;color:#26332e;background:#fafbf9;padding:0;max-height:94svh;width:min(1200px,94vw)}dialog::backdrop{background:#14271e99;backdrop-filter:blur(7px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;gap:16px}h2{margin:3px 0 0;font-size:23px;line-height:1.2}.eyebrow{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin:0;color:#58675d}.close{font-size:28px;width:40px;height:40px;border-radius:50%;flex-shrink:0}.gallery-image{background:#dce4dc;display:grid;place-items:center;height:min(65svh,720px)}.gallery-image img{width:100%;height:100%;object-fit:contain;min-height:0}.gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px}.gallery-bottom nav{display:flex;gap:4px;flex-wrap:wrap}.gallery-bottom button{font-size:14px;padding:10px 12px;border-radius:7px}.gallery-bottom a{font-size:14px;padding:10px;white-space:nowrap;border-radius:7px}#details{width:min(620px,92vw)}.info-body{padding:0 24px 24px}.info-body p{max-width:65ch}.info-body dl{margin:24px 0}.info-body dl div{padding:9px 0;border-bottom:1px solid #e0e6df}.info-body dt{font-weight:600}.info-body dd{margin:3px 0 0;color:#59685e;font-size:14px}.note{font-size:14px;color:#526158}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#toast{position:absolute;top:96px;right:32px;z-index:4;padding:12px 18px;background:#293b32;color:white;border-radius:9px;box-shadow:0 4px 20px #0002;font-size:14px}@media(max-width:850px){.brand-logo{width:140px}.identity{gap:16px}header{padding:22px 24px 8px}.identity p{max-width:220px;font-size:13px}.actions{gap:5px}.actions button,.actions a{padding:10px;font-size:13px}.actions span{margin-left:6px}.controls{left:24px;right:24px;gap:10px;flex-wrap:wrap}.views button{padding:11px 12px;font-size:13px}.tools button{width:36px;height:38px}footer{padding:12px 24px 16px;flex-wrap:wrap;gap:3px}.footer-actions{margin-left:auto}.help{font-size:12px}}@media(max-width:560px){#shell{min-height:600px}header{padding:18px 16px 5px;align-items:flex-start;gap:8px}.identity{gap:9px}.brand-logo{width:138px}.identity{flex-direction:column;align-items:flex-start;gap:12px}h1{font-size:21px}.identity p{font-size:12px;max-width:180px}.actions{flex-direction:column;gap:5px}.actions button,.actions a{padding:6px 9px;font-size:12px}.controls{left:16px;right:16px;bottom:6px;justify-content:center;gap:8px}.views{width:100%;justify-content:center}.views button{padding:10px 8px;font-size:12px}.tools button{width:40px;height:35px}.tools{padding:3px}.separator{height:20px}footer{padding:8px 16px 12px;justify-content:center;font-size:12px}.footer-actions{margin:0;width:100%;justify-content:center;gap:24px}.footer-actions button{font-size:12px;padding:5px}.gallery-bottom{flex-direction:column;gap:7px;padding:10px}.gallery-bottom button{font-size:12px;padding:8px}.dialog-head{padding:15px}.gallery-image{height:53svh}h2{font-size:21px}.info-body{padding:0 18px 18px}#toast{top:100px;right:16px;left:16px;text-align:center}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.roof-toggle{position:absolute;top:14px;right:32px;display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 14px;border:1px solid #bdcbbf;border-radius:12px;background:#fffffff0;box-shadow:0 3px 16px #26332e12;font-size:14px;font-weight:500;z-index:2}.roof-toggle strong{font-size:12px;font-weight:600;min-width:23px;color:#43584a}.switch-track{width:34px;height:20px;border-radius:20px;background:#79877d;position:relative;flex-shrink:0}.switch-track::after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}.roof-toggle[aria-checked=true] .switch-track{background:#3d6849}.roof-toggle[aria-checked=true] .switch-track::after{left:17px}.gallery-bottom{flex-wrap:wrap}.gallery-toggle{position:static;box-shadow:none;margin-right:auto}.gallery-bottom .gallery-toggle{padding:8px 12px}.gallery-bottom .gallery-toggle strong{font-size:12px}@media(max-width:850px){.roof-toggle{right:24px;top:10px}.gallery-toggle{margin-right:0}}@media(max-width:560px){.roof-toggle{right:16px;top:8px;font-size:12px;padding:8px 10px;gap:8px}.gallery-toggle{align-self:center}.gallery-bottom{gap:8px}.gallery-bottom nav{justify-content:center}}

@media(max-width:560px){.views{overflow-x:auto;justify-content:flex-start}.views button{flex-shrink:0}}

/* Fixed gallery rows: roof options and downloads never move the view menu. */
#gallery[open]{display:flex;flex-direction:column;height:94svh;overflow:hidden}
#gallery .dialog-head{height:100px;min-height:100px;flex-shrink:0}
#gallery .gallery-image{height:auto;flex:1;min-height:100px;overflow:hidden}
#gallery .gallery-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;flex-shrink:0;padding:12px 24px}
#gallery .gallery-bottom nav{justify-content:flex-start;align-content:start}
.gallery-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;min-height:88px}
.gallery-toggle-slot{min-width:0}
#gallery .gallery-toggle{margin:0}
#gallery .gallery-toggle[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.gallery-downloads{display:flex;flex-direction:column;align-items:flex-end;min-height:88px}
#gallery .gallery-downloads a{display:block;white-space:normal;text-align:right;min-height:44px}
#gallery .gallery-downloads a[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.gallery-sources{min-height:32px}
#gallery .gallery-sources a{display:inline-block;font-size:12px;padding:6px 10px}
@media(max-width:560px){#gallery .gallery-bottom{padding:10px;gap:6px}#gallery .gallery-toggle{font-size:11px;padding:6px;gap:5px}.gallery-actions{gap:5px}#gallery .gallery-downloads a{font-size:11px;padding:8px 3px}#gallery .gallery-bottom nav{justify-content:center}#gallery .dialog-head{height:100px;min-height:100px}}
