/* Clear modes; larger unobscured canvas; scroll-safe archival fit. */
body:has(.map-host) #content>.wrap{max-width:none;width:calc(100% - 28px);margin-inline:auto}.workbench-page{padding:22px 16px!important;max-width:none!important}.workbench-root{width:100%;max-width:none!important;margin-inline:auto}.workbench-pagehead{padding-block:8px 18px}.workbench-pagehead h1{font-size:clamp(32px,5vw,50px)!important}.workbench-root .gleason-stage{height:clamp(680px,78svh,940px)!important;scroll-margin-top:20px}.workbench-layout{display:flex!important;flex-direction:column}.workbench-viewport{width:100%;min-width:0}.workbench-library{order:2}.workbench-root:not(.ux-theories-mode) .workbench-library{display:none}.workbench-root:not(.ux-theories-mode) .map-record-library{display:none}.workbench-top{gap:12px;flex-wrap:wrap}.map-ux-expand{margin-left:auto;min-height:44px;padding:10px 16px;border:1px solid #9fbac5;background:white;color:#204b5d;border-radius:5px;font:12px Arial;white-space:nowrap}.workbench-near-tools [data-map-command=expand]{display:none}.map-satellite-toolbar{padding:12px 16px;background:#f1f7f8;border-bottom:1px solid #c5d6dd;display:grid;gap:9px}.map-satellite-toolbar[hidden]{display:none}.map-satellite-toolbar .imagery-heading,.map-satellite-toolbar .imagery-choices,.map-satellite-toolbar .imagery-date-controls{position:static!important;inset:auto!important;margin:0;padding:0;background:transparent;max-width:none}.map-satellite-toolbar .imagery-heading{font-size:10px}.map-satellite-toolbar .imagery-choices{display:flex;gap:7px}.map-satellite-toolbar .imagery-choices button{min-height:44px}.map-satellite-toolbar .imagery-date-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.map-satellite-toolbar .imagery-date-controls[hidden]{display:none}.imagery-status{max-width:calc(100% - 24px)!important;bottom:8px!important}.imagery-scale{bottom:52px!important}.imagery-retry{bottom:85px!important}.imagery-fallback{bottom:85px!important}.history-gallery-mode .workbench-layout,.history-gallery-mode .workbench-bottom,.history-gallery-mode .workbench-near-tools,.history-gallery-mode .workbench-caption,.history-gallery-mode .gleason-projection-note{display:none!important}.history-map-catalog{margin:0;padding:20px!important}.history-map-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.history-map-filters label{flex:1;min-width:220px}.history-map-filters select{min-height:44px;max-width:100%;background:white;border:1px solid #aac0cb;padding:9px;color:#214653}.history-map-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-height:74svh;overflow:auto;padding:4px}.history-map-card img{height:145px!important}.history-map-detail{padding:10px 16px!important}.history-map-detail>button{min-height:44px;padding:8px 12px;margin-bottom:6px}.history-map-detail h3{font-size:20px!important}.history-map-credit{max-height:none!important;margin:7px 0;font:11px/1.5 Arial}.history-map-credit summary{cursor:pointer;padding:5px}.history-map-preview{min-height:0!important;flex:1;display:block!important;padding:0!important;overflow:auto!important}.history-map-preview img{max-width:none!important;max-height:none!important;object-fit:contain;margin-inline:auto}.history-catalog-active .workbench-bottom,.history-catalog-active .gleason-status,.history-catalog-active .gleason-scale{display:none!important}.history-catalog-active .gleason-stage{perspective:none!important}.workbench-root:fullscreen{box-sizing:border-box;width:100vw!important;height:100dvh!important;overflow:auto;background:white;padding:0;border:0;border-radius:0}.workbench-root:fullscreen .gleason-stage{height:calc(100dvh - 220px)!important;min-height:300px!important}.workbench-root:fullscreen .workbench-contextbar{padding:6px 12px}.workbench-root:fullscreen .workbench-context-description{display:none}.workbench-root:fullscreen .workbench-library{display:none}.workbench-root:fullscreen .history-map-catalog{max-height:calc(100dvh - 100px);overflow:auto}@media(max-width:650px){.workbench-page{padding:10px 6px!important}.workbench-root .gleason-stage{height:clamp(530px,76svh,760px)!important}.map-ux-expand{margin:0;width:100%;text-align:center}.workbench-top{padding:8px}.workbench-key{display:none!important}.map-satellite-toolbar{padding:10px}.map-satellite-toolbar .imagery-choices button{flex:1 1 40%;font-size:10px}.history-map-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}.history-map-card img{height:110px!important}.history-map-catalog{padding:14px 10px!important}.history-map-detail h3{font-size:16px!important}.history-map-links a{font-size:11px}.history-map-filters{display:grid;grid-template-columns:1fr}.history-map-filters label{min-width:0}.history-map-detail{padding:10px!important}.workbench-root:fullscreen .gleason-stage{height:calc(100dvh - 260px)!important;min-height:280px!important}}
.history-map-detail{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center}.history-map-detail>button{grid-column:2;grid-row:1;margin:0}.history-map-detail h3{grid-column:1;grid-row:1;margin:0}.history-map-detail>p{grid-column:1;grid-row:2;margin:0}.history-map-detail>strong{grid-column:1;grid-row:3}.history-map-detail .history-map-links{grid-column:1;grid-row:4}.history-map-detail .history-map-zoom{grid-column:2;grid-row:2/5}.history-map-detail .history-map-credit{grid-column:1/-1;grid-row:5;margin:0}.workbench-root:fullscreen{display:flex;flex-direction:column;overflow:hidden}.workbench-root:fullscreen .workbench-layout{flex:1;min-height:0}.workbench-root:fullscreen .workbench-viewport{display:flex;flex-direction:column;flex:1;min-height:0}.workbench-root:fullscreen .gleason-stage{height:auto!important;min-height:0!important;flex:1}.workbench-root:fullscreen .workbench-bottom,.workbench-root:fullscreen .workbench-caption,.workbench-root:fullscreen .imagery-provenance,.workbench-root:fullscreen .globe-provenance,.workbench-root:fullscreen .gleason-projection-note,.workbench-root:fullscreen .gleason-theory-note,.workbench-root:fullscreen .map-record-library{display:none!important}.workbench-root:fullscreen .history-map-catalog{flex:1;min-height:0;overflow:auto}@media(max-width:650px){.history-map-detail{grid-template-columns:1fr}.history-map-detail>button{grid-column:1;grid-row:1;justify-self:start}.history-map-detail h3{grid-column:1;grid-row:2}.history-map-detail>p{grid-row:3}.history-map-detail>strong{grid-row:4}.history-map-detail .history-map-links{grid-column:1;grid-row:5}.history-map-detail .history-map-zoom{grid-column:1;grid-row:6}.history-map-detail .history-map-credit{grid-column:1;grid-row:7}}

.map-source-options summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font:12px Arial;color:#24536a;text-decoration:underline}.map-source-options[open] .imagery-choices{margin:5px 0 10px}.map-source-options[open] .imagery-date-controls{margin-top:8px}@media(max-width:650px){.workbench-context-description{display:none}.workbench-contextbar{gap:6px!important}.map-satellite-toolbar{gap:0}.map-satellite-toolbar .imagery-heading{font-size:9px}}

.map-embed-page .workbench-root .gleason-stage{height:740px!important}.map-embed-page .history-map-list{max-height:680px}.imagery-viewport{background:#e8eef1}@media(max-width:650px){.map-embed-page .workbench-root .gleason-stage{height:600px!important}.map-embed-page .history-map-list{max-height:620px}}
