body{--left:210px;--right:300px}body>header,body>footer{max-width:none;padding-left:25px;padding-right:25px}body>header{height:76px}.workspace-toolbar{height:49px;display:flex;align-items:center;gap:20px;padding:5px 20px;border-bottom:1px solid var(--line);font-size:12px}.workspace-toolbar button{font-size:12px;padding:5px 12px}#toggle-right{margin-left:auto}.workspace-shell{display:grid;grid-template-columns:var(--left) minmax(0,1fr) var(--right);align-items:start}.workspace-shell>main{min-width:0;width:100%;padding:0 20px;margin:0;container-type:inline-size}.workspace-shell aside{font-size:12px;background:#0b1118}#workspace-left{position:sticky;top:0;height:calc(100dvh - 125px);padding:22px 16px;display:flex;flex-direction:column;border-right:1px solid var(--line);overflow:auto}#workspace-left nav{display:grid;gap:4px;margin-bottom:25px}#workspace-left nav a{padding:9px;border-radius:5px}#workspace-left nav a[aria-current=page]{background:#20313a;color:#b8e7e6}#workspace-left details{padding:12px 0;border-top:1px solid var(--line)}summary{cursor:pointer}.muted{color:#91a2b1;font-size:11px}.local-updates{margin-top:auto;padding-top:40px;color:#8ea0af}.file-label{display:grid;gap:8px;margin-top:15px;font-size:10px}.file-label input{width:100%;font-size:10px}#workspace-left button{font-size:11px;padding:7px}#saved-sources button{display:block;width:100%;text-align:left;overflow-wrap:anywhere;margin-top:6px}#workspace-right{position:sticky;top:0;height:calc(100dvh - 125px);min-height:580px;border-left:1px solid var(--line);display:grid;grid-template-rows:minmax(200px,var(--reader-ratio,70%)) 9px minmax(150px,1fr);overflow:hidden}.reader,.conversation{min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:13px}.pane-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pane-heading button{font-size:11px;padding:4px 8px}.pane-heading button:first-of-type{margin-left:auto}.pane-heading .muted{margin-left:auto}#source-tabs{display:flex;overflow:auto;gap:5px;flex-shrink:0;padding-bottom:8px}.source-tab{display:flex;border:1px solid var(--line);border-radius:5px;flex-shrink:0}.source-tab button{border:0;font-size:11px;padding:6px}.source-tab button[role=tab]{max-width:150px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.source-tab:has([aria-selected=true]){background:#243740}#add-source{display:flex;gap:5px;margin:4px 0 10px}input,textarea{font:inherit;color:#e9eef2;background:#050b12;border:1px solid #3e4b59;border-radius:5px;padding:8px;min-width:0}#source-url{width:100%;font-size:11px}#add-source button{font-size:11px;padding:6px}#source-view{overflow:auto;min-height:0;flex:1}#source-view h3{font-size:14px;overflow-wrap:anywhere}#source-view a{color:#b8e7e6;overflow-wrap:anywhere;text-decoration:underline}#source-view label{display:grid;margin-top:14px;gap:5px}#source-view textarea{width:100%;min-height:80px}#source-view iframe{display:block;width:100%;height:380px;border:1px solid var(--line);background:white;margin-top:10px}.source-actions{display:flex;align-items:center;gap:12px;margin:12px 0}.source-actions button{font-size:11px}.empty-source{color:#a5b6c4;line-height:1.9;padding:18px 5px}#pane-divider{background:#28343f;cursor:row-resize;touch-action:none}#pane-divider:focus-visible{outline:2px solid #b8e7e6}.conversation{padding-top:9px}#note-place{color:#9abfcb;font-size:10px;margin:0 0 8px}#local-messages{overflow:auto;flex:1;min-height:30px}.local-message{background:#172530;border-radius:7px;padding:9px;margin-bottom:8px;white-space:pre-wrap;overflow-wrap:anywhere}.local-message time{display:block;font-size:9px;color:#91a2b1}#add-note{display:grid;gap:6px;margin-top:8px}#add-note button{font-size:11px;padding:6px}body.left-closed{--left:0px}body.right-closed{--right:0px}.left-closed #workspace-left,.right-closed #workspace-right{display:none}body.reader-expanded{--right:min(72vw,1100px)}.workspace-shell .world{height:66vh;min-height:590px}.workspace-shell .below{grid-template-columns:1fr;gap:12px;padding:20px 0}.workspace-shell .reference{grid-column:auto}.workspace-shell .story{padding-left:25px;min-width:220px}.workspace-shell h1{font-size:clamp(27px,3vw,46px)}.workspace-shell #description{font-size:12px}.workspace-shell #question{font-size:10px}.workspace-shell #trail{font-size:11px}.workspace-shell #destinations{max-width:55%;right:15px}.workspace-shell #image-credit{font-size:9px}@container(max-width:740px){.world{height:760px!important}.story{width:100%;max-width:none;padding:20px!important;min-width:0!important}h1{font-size:30px!important;white-space:normal;max-width:500px}#subtitle{margin:12px 0}#description{max-width:440px}#question{display:none}.primary{margin-top:8px}.scene-shade{background:linear-gradient(180deg,#03070ecc,transparent 55%,#03070e 100%)}#destinations{top:auto;bottom:99px;left:18px;right:18px!important;max-width:none!important;justify-content:center}.caption{right:18px}.scene-tools{bottom:50px}}
@media(max-width:1000px){body{--left:175px;--right:330px}.workspace-shell{grid-template-columns:var(--left) minmax(0,1fr)}#workspace-right{position:fixed;right:0;top:125px;width:min(var(--right),95vw);height:calc(100dvh - 125px);z-index:10;box-shadow:-15px 0 50px #0008}body.reader-expanded{--right:90vw}#workspace-caption{display:none}}@media(max-width:600px){body{--left:0px}.workspace-shell{display:block}#workspace-left{position:fixed;left:0;top:125px;width:220px;height:calc(100dvh - 125px);z-index:11;box-shadow:15px 0 50px #0008}.workspace-shell>main{padding:0 12px}.brand{font-size:17px}.top-actions{gap:8px}body>header{padding:0 15px}.workspace-shell .story{padding:20px!important}}

body>header{position:sticky;top:0;z-index:25;background:#080d13}.workspace-toolbar{position:sticky;top:76px;z-index:24;background:#0b1118}#workspace-left,#workspace-right{top:125px}#add-source button{white-space:nowrap;flex-shrink:0}#source-view iframe{height:min(50vh,500px)}

.workspace-shell{grid-template-columns:var(--left) 6px minmax(0,1fr) 6px var(--right)}.width-resizer{position:sticky;top:125px;height:calc(100dvh - 125px);background:#1a2834;cursor:col-resize;touch-action:none;z-index:15}.width-resizer:hover,.width-resizer:focus-visible{background:#88b7c1;outline:none}.left-closed #left-resizer,.right-closed #right-resizer{visibility:hidden}.pane-heading{gap:5px;flex-wrap:wrap}.pane-heading strong{margin-right:auto}.pane-heading button:first-of-type{margin-left:0}.reader-fullscreen #workspace-right{position:fixed;inset:0;width:100vw;height:100dvh;min-height:0;z-index:100;grid-template-rows:minmax(0,1fr)}.reader-fullscreen #workspace-right .conversation,.reader-fullscreen #pane-divider{display:none}.reader-fullscreen #source-view iframe{height:70vh}.reader-fullscreen #right-resizer{display:none}#local-user{margin-top:20px}@media(max-width:1000px){.workspace-shell{grid-template-columns:var(--left) 6px minmax(0,1fr)}#right-resizer{position:fixed;right:min(var(--right),95vw);width:6px;z-index:16}.workspace-toolbar{gap:7px}}@media(max-width:600px){.workspace-shell{display:block}#left-resizer{display:none}#workspace-left{width:var(--left)}.workspace-toolbar button{padding:5px 8px}}

/* Expanded reader stays below the global navigation. */
body.reader-fullscreen #workspace-right{inset:125px 0 0 0;height:calc(100dvh - 125px);z-index:20;width:100%;min-height:0}
#source-view.lab-view{display:flex;overflow:hidden}#source-view.lab-view iframe{flex:1;width:100%;height:100%;min-height:0;margin:0;border:0}
body.reader-fullscreen #source-view.lab-view iframe{height:100%}

/* Expansion respects the open INDEX and keeps the global navigation. */
body.reader-fullscreen{--reader-left:calc(var(--left) + 6px)}
body.reader-fullscreen.left-closed{--reader-left:0px}
body.reader-fullscreen #workspace-right{left:var(--reader-left);width:calc(100% - var(--reader-left))}
.planet-open .workspace-shell > main > .world,.planet-open .workspace-shell > main > .below{display:none}
#central-world{display:flex;flex-direction:column;height:calc(100dvh - 180px);min-height:620px}
#central-world iframe{width:100%;flex:1;min-height:0;border:0;background:#050911}
.planet-navigation{display:flex;gap:20px;padding:12px 0;flex-wrap:wrap}
.planet-navigation [aria-current=page]{color:#b8e7e6;text-decoration:underline}

/* One global header; the three panels start directly below it. */
body>header{height:76px;gap:12px}.top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.top-actions button{font-size:12px;padding:7px 10px}
#workspace-left,#workspace-right,.width-resizer{top:76px;height:calc(100dvh - 76px)}
#workspace-left{padding-top:10px;overflow:visible}#workspace-left>details,#saved-sources{max-height:35vh;overflow:auto}
#workspace-left .workspace-toolbar{position:static;height:auto;min-height:38px;padding:0 0 10px;gap:5px;flex-wrap:wrap;background:transparent}
#workspace-left .workspace-toolbar button{padding:5px 7px}
.company-link{display:block;padding:12px 8px;margin-bottom:15px;color:#b8e7e6}
.left-closed #workspace-left{display:block;visibility:hidden;width:0;padding:0;border:0}


body.reader-fullscreen #workspace-right{top:76px;height:calc(100dvh - 76px)}
.workspace-modes{display:flex;gap:8px;padding-bottom:10px}.workspace-modes button{font-size:12px;padding:7px 10px}.workspace-modes [aria-pressed=true]{background:#243740;border-color:#779ea5}
.lab-active #source-tabs,.lab-active #add-source,.lab-active #new-source,.lab-active #reload-source,.lab-active #share-source{display:none}
#central-world{height:calc(100dvh - 131px)}
@media(max-width:1000px){#workspace-right,#right-resizer{top:76px;height:calc(100dvh - 76px)}}
@media(max-width:600px){body>header{height:106px}.top-actions{gap:4px}.top-actions button{padding:5px}#workspace-left,#workspace-right,.width-resizer{top:106px;height:calc(100dvh - 106px)}body.reader-fullscreen #workspace-right{top:106px;height:calc(100dvh - 106px)}}

/* INDEX is always reachable in the header, outside either panel. */
.brand-controls{display:flex;align-items:center;gap:14px;flex-shrink:0}
.brand-controls #toggle-left{position:static;visibility:visible;padding:7px 10px;font-size:12px}
body{--shell-header:60px}
body>header{height:var(--shell-header)}
#workspace-left,#workspace-right,.width-resizer,body.reader-fullscreen #workspace-right{top:var(--shell-header);height:calc(100dvh - var(--shell-header))}
#central-world{height:calc(100dvh - var(--shell-header) - 55px)}
@media(max-width:800px){body{--shell-header:106px}body>header{flex-wrap:wrap;align-content:center;gap:8px}.top-actions{margin-left:auto}.brand-controls{gap:10px}}

/* Align the title with the central canvas; group history with INDEX. */
body>header{display:grid;grid-template-columns:calc(var(--left) + 6px) minmax(175px,1fr) auto;gap:0;padding:0 16px 0 0}
body>header .brand-controls{gap:4px;padding-left:10px;min-width:0}
body>header .brand-controls button{padding:6px;font-size:12px;white-space:nowrap}
body>header>.brand{padding-left:20px;font-size:20px;min-width:0}
body>header>.top-actions{justify-content:flex-end;margin-left:0}
body.left-closed>header{grid-template-columns:170px minmax(175px,1fr) auto}
@media(max-width:1000px){body{--shell-header:106px}body>header,body.left-closed>header{grid-template-columns:max(170px,calc(var(--left) + 6px)) minmax(0,1fr);grid-template-rows:48px 48px;align-content:center}body>header>.top-actions{grid-column:1/-1;padding-left:10px}body>header>.brand{font-size:18px;padding-left:12px}}

.company-open #trail{display:none}

#central-world.feature-page{height:auto;min-height:0;display:block;max-width:1000px;margin:0 auto;padding:24px 0 50px;line-height:1.9}
.feature-page h1{font-size:clamp(30px,4vw,48px);margin:12px 0}.feature-page h2{font-size:21px;margin-top:32px}.feature-page figure{margin:22px 0}.feature-page img{width:100%;height:auto;display:block;border-radius:8px}.feature-page figcaption,.feature-meta{font-size:11px;color:#abbac5}.feature-page dl{display:grid;grid-template-columns:minmax(100px,1fr) 3fr;gap:14px;border-block:1px solid #33404b;padding:20px 0}.feature-page dd{margin:0}.feature-sources{display:grid;gap:10px}.feature-sources a{padding:12px;border:1px solid #33404b;border-radius:6px}.feature-page details{padding:16px;border:1px solid #33404b}.feature-page .eyebrow{margin-top:24px}@media(max-width:600px){.feature-page dl{grid-template-columns:1fr}.feature-page dd{margin-bottom:12px}}

.terrain-palette{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}.terrain-palette .feature-meta{flex-basis:100%;margin:0}.terrain-palette [aria-pressed=true]{background:#503b35;border-color:#a27c6d}.feature-page img.terrain-muted{filter:sepia(.28) saturate(.65) hue-rotate(-14deg) brightness(.9)}

.rover-panorama{overflow-x:auto;border:1px solid #33404b;border-radius:8px}.feature-page .rover-panorama img{height:280px;width:auto;max-width:none;filter:none;border-radius:0}.rover-panorama:focus-visible{outline:2px solid #b8e7e6}

.terrain-canvas{width:100%;height:auto;display:block;border:1px solid #344047;border-radius:10px}.terrain-controls{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.terrain-controls label{display:flex;flex-direction:column;gap:6px;min-width:130px}.terrain-view code{overflow-wrap:anywhere;font-size:11px}.terrain-view details{margin:16px 0}.terrain-view{margin:20px 0}

.terrain-canvas{touch-action:none;cursor:grab}.terrain-canvas:active{cursor:grabbing}

.terrain-view{scroll-margin-top:calc(var(--header-height,60px) + 16px)}

.terrain-profile-canvas{display:block;width:100%;height:auto;border:1px solid #344047;border-radius:8px;cursor:crosshair}.terrain-profile label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.terrain-profile input{width:100%}

.terrain-view{container-type:inline-size}.terrain-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;align-items:start}.terrain-visual,.terrain-panel{min-width:0}.terrain-panel{border:1px solid #344047;border-radius:10px;padding:14px}.terrain-panel .terrain-controls{display:grid;grid-template-columns:1fr;gap:12px;margin:0}.terrain-panel label{min-width:0;display:flex;flex-direction:column;gap:6px}.terrain-panel input[type=range],.terrain-panel select{width:100%}.terrain-panel p{font-size:12px;overflow-wrap:anywhere}.terrain-panel h3{margin-top:0}.terrain-zoom-buttons{display:flex;gap:8px}.terrain-zoom-buttons button{flex:1}.terrain-profile h3{margin-bottom:8px}.terrain-profile p{font-size:12px}.terrain-panel details{font-size:12px}.terrain-panel input[type=number]{max-width:100%;box-sizing:border-box}
@container(max-width:720px){.terrain-layout{grid-template-columns:1fr}.terrain-panel .terrain-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact terrain workspace; keep reading material below the interactive view. */
.company-open .workspace-shell>main{padding-top:10px}
#central-world.feature-page{padding-top:6px;line-height:1.65}
.feature-page>h1{font-size:clamp(26px,3vw,36px);margin:6px 0}
.feature-page>.eyebrow{margin:8px 0 4px}
.feature-page>p{margin:6px 0 10px}
.feature-page>button{padding:6px 10px;font-size:12px;min-height:30px}
.terrain-view{margin:10px 0;scroll-margin-top:calc(var(--shell-header,60px) + 8px)}
.terrain-layout{gap:12px;grid-template-columns:minmax(0,1fr) 224px}
.terrain-panel{padding:10px;border-radius:8px;line-height:1.45}
.terrain-panel h3{font-size:14px;margin:0 0 6px}.terrain-panel p{font-size:11px;margin:5px 0 8px}
.terrain-panel button{padding:4px 8px;font-size:12px;min-height:30px}
.terrain-panel select,.terrain-panel input[type=number]{font-size:12px;padding:3px 5px}
.terrain-panel label{font-size:12px;gap:3px}.terrain-panel input[type=range]{margin:2px 0;min-height:20px}
.terrain-panel .terrain-controls{gap:6px;display:block}
.terrain-panel details{padding:7px;margin:6px 0}.terrain-panel summary{cursor:pointer;font-size:12px}
.terrain-group-body{display:grid;gap:7px;padding-top:8px}
.terrain-zoom-buttons{gap:6px}.terrain-zoom-buttons button{font-size:18px;line-height:1;flex:0 0 34px}
.terrain-profile h3{font-size:15px;margin:10px 0 4px}.terrain-profile p{font-size:11px;margin:4px 0 7px}
@container(max-width:720px){.terrain-layout{grid-template-columns:1fr}}

.terrain-panel label.terrain-check{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:28px;cursor:pointer}.terrain-panel .terrain-check input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0}
/* Three-column navigation shell with independently scrollable panels. */
body{--shell-header:72px;--drawer-height:0px;height:100dvh;overflow:hidden}
body.code-open{--drawer-height:min(260px,40dvh)}
body>header,body.left-closed>header{display:grid;grid-template-columns:max(150px,calc(var(--left) + 6px)) minmax(0,1fr) max(224px,calc(var(--right) + 6px));grid-template-rows:1fr;height:var(--shell-header);padding:0;gap:0;position:relative;align-content:normal}
.header-center{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:5px 12px;border-inline:1px solid var(--line)}
.header-route{display:flex;align-items:center;gap:6px;min-width:0}#header-trail{display:flex;align-items:center;gap:7px;overflow:auto;white-space:nowrap;flex:1;font-size:11px;scrollbar-width:thin}.crumb-separator{margin:0;color:#738998}#header-trail [aria-current=page]{color:#b8e7e6}#language{margin-left:auto;flex-shrink:0;font-size:10px;padding:4px 6px}
#header-shortcuts{display:flex;gap:12px;overflow:auto;white-space:nowrap;font-size:10px;color:#93a9b8;scrollbar-width:thin}#header-shortcuts [aria-current=page]{color:#e1eee9}
body>header>.top-actions{grid-column:auto;padding:4px 8px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:3px;min-width:0;margin:0}.top-actions button{width:28px;height:30px;padding:2px;font-size:16px;flex:0 0 28px}.lab-active .top-actions #new-source,.lab-active .top-actions #reload-source,.lab-active .top-actions #share-source{display:inline-block}
.sidebar-brand{font-size:13px;letter-spacing:.16em;padding:8px}
.workspace-shell{height:calc(100dvh - var(--shell-header) - var(--drawer-height));min-height:0;align-items:stretch;overflow:hidden}
.workspace-shell>main{height:100%;overflow:auto;overscroll-behavior:contain;min-height:0;padding-top:10px;scrollbar-width:thin}
#workspace-left{position:relative;top:0;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}#workspace-left>details,#saved-sources{max-height:none;overflow:visible}
.width-resizer{position:relative;top:0;height:100%;min-height:0}
#workspace-right{position:relative;top:0;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
#workspace-right .reader{min-height:0;padding:10px;overflow:hidden}#source-view{overscroll-behavior:contain;scrollbar-width:thin}#source-feedback{font-size:11px;margin:0 0 5px;color:#b8e7e6;overflow-wrap:anywhere}#source-feedback:empty{display:none}.lab-active #source-feedback{display:none}
#pane-divider{display:none}#workspace-right .conversation{display:flex;padding:4px 8px;min-height:0;overflow:hidden;border-top:1px solid var(--line)}.conversation-tabs{display:flex;gap:6px;flex-shrink:0;align-items:center}.conversation-tabs button{padding:5px 8px;font-size:11px}.conversation-tabs [aria-selected=true]{background:#20313a}#close-conversation{margin-left:auto}
.conversation-open #workspace-right{grid-template-rows:minmax(0,1fr) minmax(180px,32%)}#notes-pane{display:flex;flex-direction:column;min-height:0;overflow:hidden;flex:1}#chat-pane{overflow:auto;font-size:12px}#notes-pane .pane-heading{display:none}#note-place{margin:8px 0}#notes-pane[hidden],#chat-pane[hidden],#code-drawer[hidden],#close-conversation[hidden]{display:none!important}
body>footer{display:none}.workspace-shell>main>#trail,#central-world>.planet-navigation{display:none}#central-world:not(.feature-page){height:100%;min-height:0}.planet-open .workspace-shell>main{padding-top:0}
body.reader-fullscreen #workspace-right{position:fixed;top:var(--shell-header);bottom:var(--drawer-height);height:calc(100dvh - var(--shell-header) - var(--drawer-height));grid-template-rows:minmax(0,1fr) auto}body.reader-fullscreen.conversation-open #workspace-right{grid-template-rows:minmax(0,1fr) minmax(180px,32%)}body.reader-fullscreen #workspace-right .conversation{display:flex}
#code-drawer{height:var(--drawer-height);position:fixed;bottom:0;left:0;right:0;z-index:22;display:flex;flex-direction:column;background:#0b1118;border-top:1px solid #506071;padding:8px 12px;gap:6px}.code-toolbar{display:flex;align-items:center;gap:12px;font-size:11px}.code-toolbar span{color:#9aaebc}.code-toolbar #save-code{margin-left:auto}.code-toolbar button{padding:3px 8px;font-size:11px}#code-editor{flex:1;min-height:0;resize:none;font:12px/1.6 Consolas,monospace;tab-size:4;white-space:pre;overflow:auto}#code-status{font-size:10px;margin:0}
@media(max-width:1000px){#workspace-right{position:fixed;right:0;top:var(--shell-header);height:calc(100dvh - var(--shell-header) - var(--drawer-height))}#right-resizer{position:fixed;top:var(--shell-header);height:calc(100dvh - var(--shell-header) - var(--drawer-height))}}
@media(max-width:760px){body{--shell-header:104px}body>header,body.left-closed>header{grid-template-columns:150px minmax(0,1fr);grid-template-rows:40px 64px}.header-center{grid-column:1/-1;grid-row:2}.top-actions{grid-column:2!important;grid-row:1}.top-actions button{width:24px;flex-basis:24px;font-size:14px}.brand-controls #toggle-left{padding:4px}.header-center{padding:3px 10px}#workspace-left{position:fixed;top:var(--shell-header);height:calc(100dvh - var(--shell-header) - var(--drawer-height));z-index:16;width:var(--left)}.code-toolbar span{display:none}}

.header-home{flex-shrink:0;font-size:10px;padding:4px 6px;border:1px solid var(--line);border-radius:5px}.header-route #language{margin-left:0}

.header-home{font-size:12px;letter-spacing:.16em;font-weight:600;border:0;padding:4px 8px}.planet-open:not(.company-open) .workspace-shell>main{overflow:hidden;padding:0 10px}#central-world>iframe{display:block;min-width:0}
/* The shared navigation consumes real height; fit the globe to the remaining pane. */
.planet-open:not(.company-open) .workspace-shell>main.earth-exploration-open{display:flex;flex-direction:column;min-height:0}
.planet-open:not(.company-open) .workspace-shell>main.earth-exploration-open>#central-world{flex:1;height:auto;min-height:0}

#saved-notebooks{display:grid;gap:5px}#saved-notebooks button{text-align:left;padding:5px 8px;font-size:12px}#export-notebook{align-self:flex-start;padding:4px 8px;font-size:11px;margin-bottom:5px}

.company-credit{display:block;font-size:10px;opacity:.7;margin-top:12px}.company-credit a{color:inherit}#notebook-references{font-size:11px;margin:0 0 5px;flex-shrink:0}#notebook-source-list{display:grid;gap:4px;max-height:100px;overflow:auto}#notebook-source-list button{font-size:11px;text-align:left;padding:4px 6px}

#central-world.earth-map-page{max-width:1600px}.earth-map-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.earth-map-toolbar button{font-size:12px;padding:6px 10px}.earth-map{position:relative;height:58dvh;min-height:300px;max-height:640px;overflow:hidden;background:#dce4e7;touch-action:none;cursor:grab;border:1px solid var(--line);border-radius:8px}.earth-map:focus-visible{outline:2px solid #b9ded4;outline-offset:3px}.earth-map-tiles{position:absolute;inset:0;pointer-events:none}.earth-map .earth-map-tiles img{position:absolute;width:256px;height:256px;max-width:none;border-radius:0;margin:0}.earth-map-cross{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#112f3d;text-shadow:0 0 3px white;font-size:28px;pointer-events:none}.earth-map-credit{position:absolute;bottom:0;right:0;max-width:100%;padding:4px 8px;background:#fffffff0;color:#143447;font-size:11px;cursor:pointer}.earth-map-readout{font-size:12px;font-variant-numeric:tabular-nums}.earth-map-page .muted{font-size:12px}.earth-map-page h1{font-size:clamp(23px,3vw,34px);margin:10px 0}

.earth-map-markers{position:absolute;inset:0;pointer-events:none}.earth-map-pin{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;white-space:nowrap;padding:4px 8px;font-size:11px;color:#effbff;background:#123741e8;border:1px solid #a5d8d4;border-radius:5px;box-shadow:0 2px 8px #0003}.earth-map-pin[hidden]{display:none}.earth-map-toolbar button[aria-pressed="true"]{background:#284d59;border-color:#a5d8d4}.earth-map-credit{z-index:2}

#place-view{display:none;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.places-active #place-view{display:block}.places-active #source-tabs,.places-active #add-source,.places-active #source-view,.places-active #source-feedback,.places-active #share-source{display:none}.workspace-modes{flex-wrap:wrap}.place-panel{font-size:12px;line-height:1.7}.place-panel [hidden]{display:none!important}.place-panel h3{font-size:15px}.place-panel-tabs,.place-panel-actions{display:flex;gap:6px;flex-wrap:wrap}.place-panel button{font-size:12px;padding:6px 9px}.place-panel [aria-pressed=true]{background:#29433b;border-color:#b2cec0}.place-panel label{display:grid;gap:4px;margin:9px 0}.place-panel input,.place-panel textarea,.place-panel select{width:100%;min-width:0;box-sizing:border-box}.place-panel select{background:#101c20;color:#ebeddf}.place-panel article{padding:12px 0;border-top:1px solid #31464b;margin-top:12px}.place-panel article p{white-space:pre-wrap;overflow-wrap:anywhere}.place-panel article button{margin:6px 4px 0 0}.place-panel small{display:block}.place-panel strong{overflow-wrap:anywhere}.place-panel-status{color:#c4dcca}.place-panel form>button{margin:5px 4px 5px 0}.place-panel .visitor-guide{display:block}.place-panel .visitor-guide>details{margin:8px 0}

.place-distance{border-top:1px solid #31464b;margin-top:12px;padding-top:10px}.place-distance summary{cursor:pointer}.place-distance strong{display:block;margin:10px 0;color:#c4dcca}.place-distance .place-panel-actions{margin-top:10px}

.map-distance-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}.map-distance-layer[hidden]{display:none}.map-distance-line{position:absolute;height:6px;background:#ffe194;transform-origin:0 50%;box-shadow:0 0 0 2px #13252b,0 2px 8px #000a}.map-distance-line::after{content:"";position:absolute;right:-2px;top:-9px;border-left:22px solid #ffe194;border-top:12px solid transparent;border-bottom:12px solid transparent;filter:drop-shadow(1px 0 1px #13252b)}.map-distance-label{position:absolute;transform:translate(-50%,-125%);background:#10262ff0;border:2px solid #ffe194;border-radius:8px;color:#fff3ce;padding:7px 10px;font-size:16px;font-weight:700;white-space:nowrap;box-shadow:0 3px 12px #0008}.map-distance-end{position:absolute;transform:translate(-50%,12px);background:#10262ff0;border:1px solid #ffe194;border-radius:5px;color:#fff3ce;font-size:12px;padding:3px 6px;max-width:150px}.map-distance-end::before{content:"";position:absolute;left:50%;top:-17px;width:9px;height:9px;border-radius:50%;background:#ffe194;box-shadow:0 0 0 2px #13252b}

.earth-map-scale{position:absolute;left:10px;bottom:34px;z-index:5;pointer-events:none;background:#10262feb;border-radius:5px;padding:5px 8px;color:#fff3ce;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums;box-shadow:0 1px 5px #0005}.earth-map-scale-line{height:6px;border:2px solid #fff3ce;border-top:0;box-sizing:border-box;margin-top:3px}

.map-comparison-tools{border:1px solid #a89660;border-radius:8px;padding:8px;background:#14262c}.map-comparison-tools[hidden]{display:none}.map-comparison-tools strong{flex-basis:100%;font-size:12px;color:#ffe194;overflow-wrap:anywhere}

/* Shared scale landmarks for the globe / map journey. */
.map-exploration-depth{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:10px 0;font-size:11px}.map-exploration-depth button{font-size:11px;padding:5px 10px;border-radius:20px}.map-exploration-depth [aria-current="step"]{background:#baded5;color:#123c34;border-color:#baded5}.map-exploration-depth button:disabled{opacity:.4}.map-exploration-depth span{margin-left:5px}.map-exploration-depth[hidden]{display:none}

#observation-view{display:none;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.observations-active #observation-view{display:block}.observations-active #source-view,.observations-active #source-tabs,.observations-active #add-source,.observations-active #place-view,.observations-active #source-feedback{display:none}.observation-details{font-size:12px;line-height:1.8;padding:10px 5px}.observation-details small{font-size:9px;letter-spacing:.16em;color:#94bcb8}.observation-details h3{font-size:18px;font-weight:500}.observation-details dt{font-size:10px;color:#91adb5;margin-top:13px}.observation-details dd{margin:3px 0;overflow-wrap:anywhere;white-space:pre-line}.observation-details button{font-size:11px;padding:6px 8px}.observation-details>a{display:block;margin:14px 0}.workspace-modes button{padding:7px 8px;font-size:11px}

/* World INDEX: nesting remains readable in a narrow pane. */
#workspace-index ul{list-style:none;margin:0;padding-left:10px;border:0}
#workspace-index>ul{padding-left:0;border:0}
#workspace-index li{margin:2px 0;min-width:0}
#workspace-left #workspace-index a{display:block;padding:5px 4px;overflow-wrap:anywhere;font-size:11px}
#workspace-index .index-location{font-size:10px;line-height:1.7;color:#a7c5ce;margin:0 0 10px;overflow-wrap:anywhere}

/* Folder controls are separate from destination links; no full-height guide lines. */
#workspace-index .index-row{display:flex;align-items:center;min-width:0;gap:2px}
#workspace-index .index-row>a{flex:1;min-width:0;display:flex;align-items:baseline;gap:5px}
#workspace-left #workspace-index .index-toggle{flex:0 0 22px;width:22px;padding:3px 0;border:0;background:transparent;color:#8ca3ad;font-size:12px;line-height:22px}
#workspace-index .index-leaf{padding-left:24px}
#workspace-index .index-layer-guide{font-size:10px;line-height:1.7;margin:5px 0 12px;color:#a7c5ce}#workspace-index .index-layer-guide summary{cursor:pointer}#workspace-index [data-atlas-layer]>.index-row{margin-top:0}#workspace-index [data-atlas-layer]>.index-row>a,#workspace-index [data-atlas-layer]>.index-row>.index-category-label{font-weight:400;color:#d3e3e9}#central-world[data-planet="earth/atmosphere"],#central-world[data-planet="earth/ocean"]{display:flex;flex-direction:column}#central-world[data-planet="earth/atmosphere"]>iframe,#central-world[data-planet="earth/ocean"]>iframe{flex:1;min-height:0}.vr-navigation{display:flex;flex-wrap:wrap;gap:6px 17px;padding:8px 15px;background:#162630;border-bottom:1px solid #33444f;font-size:12px;flex-shrink:0}.vr-navigation a{color:#a6dce5}.vr-navigation a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:4px}
#workspace-index .index-symbol{color:#88a3ad;opacity:.8;font-size:11px;flex-shrink:0}
#workspace-index ul[hidden]{display:none}
#workspace-index a:focus-visible,#workspace-index button:focus-visible{outline:1px solid #b8e7e6;outline-offset:1px}
#header-trail{min-width:0}
#header-trail a{flex-shrink:0}

#workspace-index details{border:0;padding:6px 0}#workspace-index details button{display:block;width:100%;text-align:left;overflow-wrap:anywhere;margin-top:4px}
.place-series-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.place-series-links strong{width:100%}.place-series-links a{font-size:11px;border:1px solid #3c555d;border-radius:4px;padding:5px}.place-panel .selected-place{outline:1px solid #86bdbb}.place-panel article small{display:block;overflow-wrap:anywhere}.place-reference{font-size:11px;padding:9px;border:1px solid #344b55;color:#b1c8cc;overflow-wrap:anywhere}.place-reference[hidden]{display:none}
/* Distance results occupy their own strip above the map, never the arrow layer. */
.map-distance-label{position:static;transform:none;box-shadow:none;border:0;border-radius:6px 6px 0 0;font-size:13px;white-space:normal;overflow-wrap:anywhere;text-align:center;padding:10px 12px;max-width:100%;box-sizing:border-box}
.map-distance-label[hidden]{display:none}.map-distance-label[data-focus=a]{text-align:left}.map-distance-label[data-focus=b]{text-align:right}
.place-distance{margin:18px 0 26px;padding:0;border:0}
.place-distance>summary{display:list-item;list-style-position:inside;padding:12px 14px;border:1px solid #4c6873;background:#152831;border-radius:7px;min-height:22px;cursor:pointer}
.place-distance>summary:hover,.place-distance>summary:focus-visible{background:#24414b;outline:1px solid #a5c6c9}
.event-banner{display:block;width:fit-content;font-size:12px;padding:8px 12px;margin:8px 0 14px;border:1px solid #817553;border-radius:6px;color:#e5d5b2;background:#1b2429}
#central-world.event-page{height:auto;min-height:100%;padding:20px;box-sizing:border-box;background:linear-gradient(150deg,#162832,#111b22 65%,#242337);overflow-wrap:anywhere}
.event-hero{padding:20px 12px 26px;border-bottom:1px solid #736646}.event-hero h1{font-size:clamp(24px,4vw,38px);margin:12px 0}.event-hero>strong{display:inline-block;border:1px solid #897d59;border-radius:20px;padding:4px 12px;color:#eddbb7;font-size:12px}
.event-section{padding:20px 12px;border-bottom:1px solid #354853}.event-section h2{font-size:18px;margin:0 0 12px}.event-section p{line-height:1.7}.event-section a,.event-section button{display:inline-block;margin:5px 10px 7px 0}.event-section small{display:block;color:#a7b9c1;font-size:11px}.event-section button{padding:9px 12px}.event-section a{color:#b9dedf}.event-hero>a{display:block;margin-top:18px}
@media(max-width:600px){#central-world.event-page{padding:8px}.event-section,.event-hero{padding:16px 8px}}
/* Override the application's shared header flex rule for the event hero. */
#central-world .event-hero{display:block;position:static;height:auto;min-height:0}
.event-hero h1{white-space:normal}.event-section a{margin-left:4px}
.earth-map{position:relative}.okinawa-inset{position:absolute;right:10px;bottom:35px;width:138px;padding:4px!important;z-index:5;background:#13262e!important;border:1px solid #a4c5cf!important;border-radius:6px;box-shadow:0 2px 10px #0008;overflow:hidden}.okinawa-inset img{display:block;width:128px;height:76px;object-fit:cover}.okinawa-inset span{display:block;font-size:10px;color:#dce9ef;white-space:normal}.okinawa-inset:focus-visible{outline:3px solid #ffe194}
.place-center-candidate{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;padding:8px 0}.place-center-candidate small{color:#a5c6cf;font-size:11px}.place-center-candidate button{border-color:#62948b;background:#17332f}
.place-registration-help{margin:8px 0 14px;font-size:12px}.place-registration-help>summary{cursor:pointer;color:#b0ccd0}.place-registration-help p{line-height:1.6}
#central-world.event-page{background:#090d13;color:#e5e8eb;padding:14px;container-type:inline-size}
#central-world .event-hero{position:relative;isolation:isolate;min-height:310px;height:auto;padding:36px 24px 58px;border-radius:10px;background:#14131b url('/event-assets/mars-spacecraft.png') center/cover;box-sizing:border-box;overflow:hidden;border-bottom:1px solid #a4643e}
.event-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.65}.event-hero-video[hidden]{display:none}.event-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#05080ee8,#080b1360)}
.event-hero-copy{position:relative;max-width:540px}.event-hero-copy>p:first-child{font-size:10px;letter-spacing:.2em;color:#aeb9c5;margin:0 0 20px}.event-hero-copy h1{font-size:clamp(25px,4vw,40px);font-weight:500;color:#ffab61;letter-spacing:.06em;margin:0 0 12px;line-height:1.2}.event-hero-copy>strong{font-size:11px;border:1px solid #aa754e;border-radius:20px;padding:4px 10px;color:#ffcc9e}.event-hero-copy>p:last-child{font-size:14px;line-height:1.8;max-width:440px}.event-media-status{position:absolute;left:20px;bottom:14px;font-size:10px;color:#c0c8d0;max-width:65%}.event-video-toggle{position:absolute;right:14px;bottom:10px;font-size:10px!important;padding:6px 8px!important;background:#0d172ccc!important}
.event-content-nav{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0;border-bottom:1px solid #3f3832}.event-content-nav a{padding:8px 10px;font-size:12px;border:1px solid #564437;border-radius:6px}.event-content-nav a[aria-current=page]{background:#62351c;color:#fff0df}.event-internal-link{color:#ffc38c!important}.event-external-link{color:#acc3d1!important}.event-section{border-color:#353538}.event-section h2{font-size:18px;font-weight:500}.event-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.event-course-card{border:1px solid #473d34;border-radius:8px;background:linear-gradient(130deg,#211b18,#111821);padding:16px}.event-course-card h3{font-size:17px;color:#ffd0a4;margin:10px 0}.event-support{padding:14px}.event-support h3{font-size:16px;color:#ffd0a4}.event-support p,.event-support small{font-size:12px;line-height:1.7}.event-support button{display:block;margin:12px 0}
@container(max-width:420px){#central-world .event-hero{padding:24px 16px 58px;min-height:300px}.event-hero-copy h1{font-size:28px}.event-hero-copy>p:last-child{font-size:13px}.event-content-nav a{font-size:11px}}

body.event-context #source-tabs,body.event-context #add-source{display:none}
/* Map-first workspace: overlays do not subtract from the map viewport. */
.workspace-shell>main:has(.map-first){padding:0;overflow:hidden}
#central-world.map-first{position:relative;height:100%;min-height:0;max-width:none;padding:0;margin:0}
.map-screen-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.world-map-stage{position:relative;height:100%;min-height:300px;isolation:isolate}
.world-map-stage>.earth-map{height:100%;min-height:0;max-height:none;border:0;border-radius:0}
.world-map-stage button,.world-map-stage summary{font-size:11px;padding:7px 9px}
.world-map-stage .map-zoom{position:absolute;top:12px;right:12px;display:flex;gap:4px;z-index:6}
.world-map-stage>.earth-map-readout{position:absolute;top:8px;left:12px;margin:0;max-width:calc(100% - 112px);background:#10232cdd;color:#d8e9ed;border-radius:5px;padding:5px 8px;font-size:10px;pointer-events:none}
.map-register{position:absolute;top:42px;left:12px;max-width:calc(100% - 120px);z-index:6}
.map-register .place-center-candidate{display:block;padding:0}.map-register small{display:none}.map-register button{background:#102c29e8}
.map-more{position:absolute;right:12px;top:52px;z-index:8;max-width:calc(100% - 24px);background:#10212de8;border-radius:6px}
.map-more[open]{width:300px;max-height:60%;overflow:auto;padding:8px;box-sizing:border-box}.map-more .place-center-candidate{display:none}
.destination-dock{position:absolute;left:10px;right:10px;bottom:28px;z-index:7;display:flex;align-items:center;gap:8px;padding:8px;background:#0b2027df;backdrop-filter:blur(12px);border:1px solid #9cbdb433;border-radius:10px;color:#dbe7e5}
.destination-primary{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;white-space:nowrap}.destination-primary>*{flex-shrink:0}.destination-primary strong{font-size:10px;margin-right:4px}.destination-primary button[aria-pressed=true]{background:#31584e}
.destination-all{margin-left:auto;flex-shrink:0}.destination-all>summary{white-space:nowrap}.destination-all[open]>section{padding:8px}.destination-all[open]{position:absolute;bottom:0;right:0;max-height:min(450px,65dvh);width:min(330px,100%);overflow:auto;background:#10232ff5;border:1px solid #527079;border-radius:8px}.destination-all section h3{font-size:12px;margin:6px 0}.destination-all section button{margin:3px}
.world-map-stage .earth-map-scale{bottom:100px}.world-map-stage .okinawa-inset{bottom:100px;width:100px}.world-map-stage .okinawa-inset img{width:90px;height:52px}
.world-map-stage>.map-comparison-tools{position:absolute;top:100px;left:12px;right:12px;z-index:6}.world-map-stage>.map-distance-label{position:absolute;top:87px;left:12px;right:12px;z-index:6}
.header-center{border-inline:0}#workspace-left{border-right:0}#left-resizer{background:transparent}#left-resizer:hover,#left-resizer:focus-visible,#left-resizer:active{background:#759b9c66}
#encyclopedia-dock{font-size:11px;padding:6px 0;border-bottom:1px solid #34464c;margin-bottom:6px;flex-shrink:0}#encyclopedia-dock a{display:block;padding:7px 4px}#encyclopedia-dock[hidden]{display:none}
@media(max-width:600px){.map-register{max-width:calc(100% - 24px);top:46px}.map-more{top:88px}.destination-dock{left:5px;right:5px;gap:2px;padding:5px}.destination-primary strong{display:none}.world-map-stage button,.world-map-stage summary{font-size:10px;padding:7px}.destination-all>summary{max-width:104px;white-space:normal}}
.workspace-shell>main:has(.map-first)>#status:empty{display:none}
.world-map-stage .destination-all{padding:0;border:0}
.world-map-stage .destination-all[open]{padding:6px;border:1px solid #527079}
.world-map-stage .map-more{padding:0}
.world-map-stage .map-more[open]{padding:8px}
.map-zoom button{background:#10232ee8;color:#e1efed;border:1px solid #799b9e}
.destination-all section a{display:inline-block;margin:3px;padding:7px 9px;border:1px solid #56767b;border-radius:5px;font-size:11px;color:#deeeea}
.workspace-shell>main:has(.map-first)>#place-reference:not([hidden]){position:absolute;z-index:9;top:85px;max-width:60%;background:#10232ee8;margin:0;padding:4px;font-size:10px;pointer-events:none}
/* One stable hero geometry across all MMX routes and media states. */
#central-world.event-page{width:100%;max-width:none;margin:0;padding:14px;box-sizing:border-box}
.workspace-shell>main:has(.event-page){scrollbar-gutter:stable}
.workspace-shell>main:has(.event-page)>#status:empty{display:none}
#central-world .event-hero{display:block;position:relative;inset:auto;width:100%;max-width:none;height:360px;min-height:360px;margin:0;padding:0;border-radius:10px;background:#111722;overflow:hidden;box-sizing:border-box}
#central-world .event-hero-poster,#central-world .event-hero-video{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;border-radius:0;object-fit:cover;object-position:50% 50%;opacity:.65;z-index:-2}
#central-world .event-hero-video[hidden]{display:none}
#central-world .event-hero:after{background:linear-gradient(90deg,#05080ef5,#080b13b8);pointer-events:none}
.event-hero-copy{position:absolute;inset:28px 24px 74px;max-width:none;display:grid;grid-template-rows:28px 58px 36px 1fr;align-items:start;gap:0}
.event-hero-copy>p:first-child{margin:0;font-size:10px;line-height:18px}
.event-hero-copy h1{margin:0;font-size:32px;line-height:44px;letter-spacing:.04em;white-space:nowrap}
.event-hero-copy>strong{justify-self:start;box-sizing:border-box;font-size:11px;line-height:16px;padding:3px 10px}
.event-hero-copy>p:last-child{margin:0;max-width:520px;font-size:14px;line-height:22px}
.event-media-status{left:24px;bottom:16px;width:calc(100% - 180px);max-width:none;min-height:32px;line-height:16px;font-size:10px}
.event-video-toggle{right:24px;bottom:16px;width:112px;height:32px;box-sizing:border-box;white-space:nowrap}
@container(max-width:420px){#central-world .event-hero{height:360px;min-height:360px;padding:0}.event-hero-copy{inset:24px 16px 82px;grid-template-rows:28px 52px 36px 1fr}.event-hero-copy h1{font-size:26px;line-height:38px}.event-hero-copy>p:last-child{font-size:13px;line-height:21px}.event-media-status{left:16px;bottom:16px;width:calc(100% - 152px);min-height:48px}.event-video-toggle{right:16px;bottom:16px}}
/* Brighter shared imagery; shade stays behind text, not across the frame. */
#central-world .event-hero-poster,#central-world .event-hero-video{opacity:1}
#central-world .event-hero:after{background:linear-gradient(90deg,#071019a6 0%,#07101960 48%,transparent 82%)}
.event-hero-copy{text-shadow:0 1px 4px #000;inset:78px 24px 62px;grid-template-rows:24px 60px 32px 1fr}
.event-hero-copy h1{font-size:clamp(22px,2.5vw,30px);line-height:28px;white-space:normal;max-width:100%}
.event-hero-copy>p:last-child{font-size:13px;line-height:20px}
.event-official{position:absolute;top:14px;right:16px;z-index:3;padding:10px 14px;border:1px solid #f6c592;border-radius:7px;background:#f4c38f;color:#202027!important;font-size:13px;font-weight:650;min-height:40px;box-sizing:border-box;text-shadow:none}
.event-media-status{background:#071019aa;border-radius:4px;padding:3px 5px;box-sizing:border-box}
@container(max-width:420px){.event-hero-copy{inset:76px 16px 64px;grid-template-rows:22px 62px 30px 1fr}.event-hero-copy h1{font-size:23px;line-height:28px}.event-hero-copy>p:last-child{font-size:12px;line-height:18px}.event-official{top:12px;right:16px;font-size:12px;padding:9px 12px}.event-media-status{min-height:32px}}
.map-wheel-hint{position:absolute;top:42%;left:50%;transform:translateX(-50%);z-index:6;background:#10232ee8;color:#e1efed;padding:8px 12px;border-radius:6px;font-size:12px;pointer-events:none;max-width:80%;text-align:center}.map-wheel-hint[hidden]{display:none}
/* Shared Mars/spacecraft opening: preserve the supplied pixels and frame geometry. */
#central-world .event-hero-poster,#central-world .event-hero-video{object-position:35% 50%}
/* Reveal a ready video immediately underneath a short poster fade; no timed hold.
   Fallback states restore the opaque poster immediately, including autoplay denial. */
#central-world .event-hero-video{z-index:-3}
#central-world .event-hero-poster{opacity:1;transition:none}
#central-world .event-hero[data-media="playing"] .event-hero-poster{opacity:0;transition:opacity .25s ease-out}
@media(prefers-reduced-motion:reduce){#central-world .event-hero[data-media="playing"] .event-hero-poster{transition:none}}
/* Research import is separate from source tabs, private Places and their storage. */
#research-view{display:none;overflow:auto;min-height:0;flex:1;padding:12px}
.research-active #research-view{display:block}
.research-active #source-tabs,.research-active #source-view,.research-active #source-feedback,.research-active #add-source,.research-active #place-view,.research-active #observation-view{display:none!important}
.research-panel{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.research-panel label{display:grid;gap:4px;margin:8px 0}
.research-panel input,.research-panel select,.research-panel textarea{max-width:100%;min-width:0;box-sizing:border-box}
.research-panel select{background:#12232b;color:#e9f6fa;width:100%}
.research-panel input[type=checkbox]{width:18px;height:18px}
.research-panel button{font-size:12px;margin:4px;padding:6px 8px}
.research-panel article{border-top:1px solid #34515b;padding:10px 0}
.research-panel article p{white-space:pre-wrap}
.research-map-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.research-track{position:absolute;inset:0;pointer-events:none}
.research-pin{position:absolute;transform:translate(-50%,-50%);pointer-events:auto!important;border:1px solid #052f32!important;background:#66ead2!important;color:#07312e!important;padding:0!important;width:22px;height:22px;border-radius:50%;font-size:13px!important}
.research-pin:focus-visible{outline:3px solid white}
/* Hidden controls must remain absent even under mode-specific display rules. */
.top-actions button[hidden]{display:none!important}
/* Sun is a static source-led entrance, isolated from geographic/explorer styles. */
.body-page .sun-image-frame{aspect-ratio:4/3;position:relative}
.body-page .sun-image-frame img{position:absolute;inset:0;min-width:0;min-height:0}
.body-page .sun-intro>a{display:block;font-size:11px;margin:8px 0}
body[data-atlas-scene="solar-system"] .caption{right:20px}
#central-world.sun-page{max-width:1200px;padding:0 4px 36px;line-height:1.7}
.sun-page .sun-return{position:sticky;top:0;z-index:4;display:flex;flex-wrap:wrap;gap:10px;background:#080f16f5;padding:10px 0;font-size:12px;border-bottom:1px solid #ffffff18}
.sun-return a{padding:5px 9px;border:1px solid #ffffff24;border-radius:6px}
.sun-page .sun-hero{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.3fr);align-items:center;gap:24px;height:auto;max-width:none;margin:0;padding:22px 0;border:0}
.sun-intro{min-width:0}.sun-intro p{font-size:13px;color:#b8c5cf;max-width:40em}.sun-intro .sun-eyebrow{font-size:10px;letter-spacing:.16em;color:#e4b78b}.sun-intro .sun-lead{font-size:18px;color:#f1d2b1}.sun-intro button{font-size:12px;padding:8px 12px;margin-top:8px}
.sun-page .sun-figure{min-width:0;margin:0}.sun-image-frame{background:#000;border:1px solid #71554355;border-radius:12px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center}
.sun-page .sun-image-frame img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;filter:none}.sun-image-frame img[hidden]{display:none}.sun-image-frame p{padding:20px;font-size:12px}.sun-figure figcaption{font-size:11px;margin-top:10px}.sun-figure figcaption p{margin:5px 0}.sun-figure strong{color:#efc3a1}
.sun-page a:not(.sun-return a){color:#b8e7e6;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.sun-page h2{margin:14px 0 8px;font-size:21px}.sun-research>p{color:#acbbc7;font-size:12px}
.sun-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sun-card-grid article{border:1px solid #f3b77b26;border-radius:10px;padding:18px;background:linear-gradient(140deg,#39211735,#0a1219)}.sun-card-grid h3{font-size:17px;font-weight:500;margin:8px 0}.sun-card-grid p{font-size:13px;color:#b8c5cf}.sun-card-grid .sun-kind{font-size:10px;color:#e4b78b;letter-spacing:.03em;margin:0}.sun-card-grid a{display:block;font-size:12px;margin-top:10px}
.sun-page .sun-concepts{margin-top:20px;font-size:13px;border-radius:8px}.sun-concepts dt{color:#e7c5aa}.sun-concepts dd{color:#b8c5cf}.sun-page .sun-provenance{display:block;font-size:11px;letter-spacing:0;padding:16px 0 0;color:#95a8b7}.sun-provenance a{display:inline-block;margin:4px 16px 4px 0}
#encyclopedia-dock.sun-sources{max-height:48dvh;overflow:auto;overscroll-behavior:contain}#encyclopedia-dock.sun-sources h3{font-size:11px;color:#e7c5aa;margin:14px 4px 3px}#encyclopedia-dock.sun-sources a{line-height:1.55;padding:7px 4px}#encyclopedia-dock .sun-source-note{font-size:10px;color:#9caebb;padding:4px}
.layer-entry{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0}.layer-entry>a{display:inline-block;padding:9px 14px;border:1px solid #9bbdbc60;border-radius:8px;color:#c7eeea}.layer-entry small{font-size:11px;color:#9fadb9}.layer-facts{border:1px solid #70899540;border-radius:10px;padding:12px;margin:10px 0;font-size:12px;overflow-wrap:anywhere}.layer-facts summary{font-weight:600;color:#cce5e4}.layer-facts>p{font-size:11px;color:#a5b7c3}.layer-facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.layer-facts dl>div{border-top:1px solid #66778340;padding-top:8px;min-width:0}.layer-facts dt{font-size:11px;color:#a6bac7}.layer-facts dd{margin:4px 0 0;font-size:14px}.layer-facts small{display:block;font-size:10px;color:#98aab7}.layer-facts dd a{display:inline-block;font-size:11px;margin-top:4px}#encyclopedia-dock .layer-facts dl{grid-template-columns:1fr}#encyclopedia-dock .layer-entry small{display:block}
#central-world.layer-page{display:block;height:auto;min-height:0;padding:12px 0 28px;max-width:1280px;margin:auto}.layer-page a{color:#bde3e4;overflow-wrap:anywhere}.layer-return{position:sticky;top:0;z-index:3;background:#080f18f5;padding:8px 0;display:flex;gap:8px;flex-wrap:wrap}.layer-return a,.layer-pagination a{border:1px solid #66888c60;padding:7px 10px;border-radius:7px;font-size:12px}.layer-heading{height:auto;max-width:none;margin:0;padding:10px 0;display:block}.layer-heading h1{font-size:clamp(22px,3cqw,32px);margin:7px 0;letter-spacing:.02em}.layer-heading p{font-size:12px;color:#a8bbc8}.layer-heading .layer-eyebrow{font-size:10px;letter-spacing:.13em;color:#e8c59e}.layer-stages{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 16px}.layer-stages a{padding:7px 10px;border:1px solid #617b8948;border-radius:20px;font-size:12px}.layer-stages [aria-current=step]{background:#29454c;border-color:#8ebaba;color:#efffff}.layer-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr);gap:20px;align-items:start}.layer-figure{min-width:0;margin:0}.layer-figure img{width:100%;aspect-ratio:5/3;object-fit:contain;background:#080f19;border:1px solid #728a9240;border-radius:12px;display:block;overscroll-behavior:contain}.layer-figure img[hidden]{display:none}.layer-figure figcaption{font-size:10px;color:#95a9b7;margin:8px 0}.layer-figure figcaption p{margin:3px 0}.layer-figure strong{color:#debe9e}.layer-wheel-hint{font-size:11px;min-height:1.6em;margin:4px 0;color:#c2ece7}.layer-description h2{font-size:19px;margin:0 0 10px}.layer-description p,.layer-description ol{font-size:13px;color:#c4cfd6;line-height:1.85}.layer-description a{font-size:12px}.layer-classification{padding:10px;border-left:2px solid #d6ba87;background:#c69f5512}.layer-connections{display:grid;gap:8px;margin-top:15px}.layer-connections small{font-size:10px;color:#9cabb6}.layer-pagination{display:flex;justify-content:space-between;gap:10px;margin:16px 0;flex-wrap:wrap}.layer-research{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layer-research>h2{grid-column:1/-1;font-size:19px}.layer-research article{border:1px solid #77868d30;padding:12px;border-radius:9px;font-size:12px}.layer-research h3{font-size:14px}.layer-provenance{font-size:11px;color:#8fa4b1;padding-top:15px}
@container(max-width:680px){.layer-layout{grid-template-columns:1fr;gap:10px}.layer-facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.layer-research{grid-template-columns:1fr}.layer-stages a{font-size:11px;padding:7px 9px}}
@container(max-width:360px){.layer-facts dl{grid-template-columns:1fr}.layer-heading h1{font-size:22px}.layer-return a{font-size:11px}}
#destinations .destination-pending{font-size:10px;border:1px dashed #ffffff25;border-radius:30px;padding:5px 10px;background:#05111dbb;color:#a5b2bc}
@container(max-width:680px){.sun-page .sun-hero{grid-template-columns:1fr;gap:16px;padding-top:14px}.sun-intro h1{margin:8px 0}.sun-intro p{margin:8px 0}.sun-page .sun-card-grid{grid-template-columns:1fr}.sun-page .sun-concepts dl{grid-template-columns:1fr;gap:8px}.sun-concepts dd{margin-bottom:12px}}
/* Sun entrance follows the Mars explorer composition; scoped away from body pages. */
#central-world.sun-portal{position:relative;isolation:isolate;display:block;width:100%;max-width:none;height:calc(100dvh - 106px);min-height:560px;margin:0;padding:0;overflow:hidden;background:radial-gradient(circle at 70% 45%,#3a1c13 0,transparent 48%),radial-gradient(#a6bfd366 1px,transparent 1px) 0 0/29px 37px,#050b12;container-type:inline-size}
.sun-stage{position:absolute;inset:0;overflow:hidden;cursor:grab;touch-action:pan-y}.sun-stage:active{cursor:grabbing}.sun-stage:focus-visible{outline:2px solid #f4c39c;outline-offset:-4px}.sun-orb{position:absolute;left:37%;top:8%;width: min(76cqw,78vh);aspect-ratio:1;border-radius:50%;transform-origin:center;box-shadow:0 0 36px #f67c3125;pointer-events:none}.sun-orb img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;animation:sun-display-turn 180s linear infinite}.sun-orb img[hidden]{display:none}@keyframes sun-display-turn{to{transform:rotate(360deg)}}
.sun-portal .sun-return{position:absolute;top:14px;left:3%;background:none;display:flex;gap:14px;padding:0;font-size:11px;z-index:2}.sun-return a{color:#c0d6df}.sun-story{position:absolute;top:24%;left:4%;width:35%;max-width:340px;pointer-events:none}.sun-story h1{font-size:clamp(36px,5cqw,66px);font-weight:300;margin:20px 0;color:#fff0dd;letter-spacing:.12em}.sun-story .sun-lead{font-size:clamp(18px,2.6cqw,30px);line-height:1.8;color:#f2c29c;text-wrap:balance}.sun-story .sun-eyebrow{font-size:10px;letter-spacing:.2em;color:#a7c3d1}.sun-story button{pointer-events:auto;display:block;font-size:11px;padding:9px 14px;margin-top:12px;border-radius:24px}.sun-story .sun-approach{background:#f4c39c;color:#44291d;border:0}.sun-visual-credit{position:absolute;right:3%;bottom:92px;max-width:46%;text-align:right;pointer-events:none;font-size:10px;line-height:1.6;color:#bfc6ce}.sun-visual-credit strong{font-size:9px;letter-spacing:.08em;color:#adcfc5}.sun-visual-credit small{display:block;font-size:9px}.sun-visual-credit p{margin:6px 0}.sun-view-controls{position:absolute;bottom:20px;left:3%;right:3%;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.sun-view-controls span{margin-right:auto;font-size:10px;color:#a4b6c4}.sun-view-controls button{font-size:10px;padding:7px 11px;border-radius:24px}.sun-load-status{position:absolute;right:5%;top:48%;width:40%;font-size:12px;color:#e7c5a5}
@container(max-width:600px){.sun-orb{left:27%;top:15%;width:88cqw}.sun-story{top:19%;width:48%}.sun-story h1{font-size:34px}.sun-story .sun-lead{font-size:21px}.sun-visual-credit{max-width:80%;bottom:100px}.sun-view-controls span{flex-basis:100%;font-size:9px}.sun-portal .sun-return{font-size:10px}}
@media(prefers-reduced-motion:reduce){.sun-orb img{animation:none}}
.sun-portal .sun-view-controls{flex-direction:row;width:auto;max-width:none;margin:0;padding:0;border:0;letter-spacing:0;z-index:3}.sun-portal .sun-visual-credit{background:transparent}.sun-view-controls button{flex:0 0 auto}.sun-portal .sun-return{border:0}
.sun-portal .sun-stage canvas{display:block;width:100%;height:100%;touch-action:none}.sun-portal .sun-stage{touch-action:none}.sun-portal{background:#050b12}.sun-portal .sun-story{z-index:1}

.sun-portal .sun-story h1{font-size:clamp(22px,4cqw,44px)!important;font-weight:300;line-height:1.45;letter-spacing:.06em;margin:16px 0;color:#eef4fc}.sun-headline-line{display:block;white-space:nowrap}.sun-story em.sun-headline-line{font-style:normal;color:#f4c39c}.sun-story .sun-intro-copy{font-size:12px;line-height:1.8;color:#a1b2c5;margin:22px 0 12px}.sun-story .sun-eyebrow{font-size:9px;letter-spacing:.3em;color:#87b5c8}
/* Read failure is visible even with the INDEX closed; normal layout is unchanged. */
#workspace-recovery[hidden],#export-workspace-raw[hidden]{display:none}
#workspace-recovery{position:fixed;top:calc(var(--shell-header,60px) + 8px);left:50%;transform:translateX(-50%);z-index:110;width:min(660px,calc(100vw - 24px));box-sizing:border-box;max-height:calc(100dvh - var(--shell-header,60px) - 24px);overflow:auto;padding:14px 16px;border:1px solid var(--atlas-accent-pink,#ff94b9);border-radius:12px;background:var(--atlas-bg,#121620);color:var(--atlas-text,#e6edf5);font-size:13px;line-height:1.6;box-shadow:0 8px 24px rgba(0,0,0,.2)}
#workspace-recovery p{margin:8px 0}
.workspace-recovery-actions{display:flex;flex-wrap:wrap;gap:8px}
.workspace-recovery-actions button{font:inherit;padding:7px 10px}

.real-virtual-switch{position:relative;align-self:flex-end;max-width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:6px 12px;background:#142131;border:1px solid #617284;border-radius:8px;font-size:11px;flex-shrink:0}.real-virtual-switch a{color:#e8b6ca}

#central-world[data-planet=mars]{position:relative}

.real-exploration-nav{display:flex;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:10px 14px;border-bottom:1px solid var(--atlas-border);background:var(--atlas-bg);font-size:11px;flex:none}.real-exploration-nav a{flex:0 0 auto;white-space:nowrap;color:var(--atlas-text);text-decoration:none;padding:6px 9px;border:1px solid var(--atlas-border);border-radius:6px}.real-exploration-nav a[aria-current=page]{background:var(--atlas-panel);color:#d1b798;border-color:#d1b798}.real-exploration-nav[hidden]{display:none}#scene{touch-action:none}

/* Keep the resize hit area; the visible RP boundary stays a neutral hairline. */
#right-resizer,#right-resizer:hover,#right-resizer:focus-visible,#right-resizer:active{background:transparent;outline:none}
#right-resizer::after{content:"";position:absolute;inset:0 auto 0 50%;width:1px;background:#ffffff26;pointer-events:none}
#right-resizer:hover::after,#right-resizer:focus-visible::after{background:#ffffff45}
