html.overlay-embed{scroll-padding-top:0}
html.overlay-embed body{background:var(--bg);font-size:14px;min-height:100vh}
html.overlay-embed body::before,html.overlay-embed body::after,
html.overlay-embed :is(body>.header,body>footer,body>.skip,.tools-subpage-nav,.craft-heading,#site-settings,.map-topbar>div){display:none!important}
html.overlay-embed body main,html.overlay-embed body main.craft-page,html.overlay-embed body .map-workspace{width:100%;max-width:none;padding:8px;margin:0}
html.overlay-embed .map-workspace{position:relative}
html.overlay-embed .map-topbar{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:8px;padding:0 0 8px;align-items:end}
html.overlay-embed .map-topbar label{min-width:0;width:100%;margin:0;font-size:14px;gap:4px;max-width:none}
html.overlay-embed .map-topbar :is(input,select){padding:6px;min-height:38px;border-radius:5px}
html.overlay-embed #overlay-map-filters{min-height:38px;padding:6px 9px}
html.overlay-embed .world-map-layout{display:block}
html.overlay-embed .map-sidebar{display:none;position:absolute;z-index:10;top:80px;left:8px;width:min(300px,calc(100% - 16px));max-height:calc(100vh - 95px);padding:12px;box-shadow:0 8px 24px #0008}
html.overlay-map-filters .map-sidebar{display:block}
html.overlay-embed #world-map-filters{grid-template-columns:1fr}
html.overlay-embed .world-map-results{grid-template-columns:1fr}
html.overlay-embed .world-map-viewport{height:calc(100vh - 190px);min-height:190px;border-radius:6px}
html.overlay-embed .world-map-controls{top:8px;left:8px;gap:4px}
html.overlay-embed .world-map-controls button{padding:5px 10px;min-height:34px}
html.overlay-embed #map-fullscreen{display:none}
html.overlay-embed .world-map-detail{padding:8px 10px;margin-top:6px;border-radius:6px;max-height:100px;overflow:auto}
html.overlay-embed .world-map-detail h2{font-size:20px;margin:0}
html.overlay-embed .world-map-detail p{font-size:14px;margin:3px 0}
html.overlay-embed .map-main>.source-note{font-size:12px;margin:6px 0;line-height:1.4}
html.overlay-embed .craft-layout{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1.25fr);gap:8px}
html.overlay-embed :is(.craft-catalog,.craft-work){padding:10px;position:static;border-radius:6px}
html.overlay-embed .craft-catalog{position:sticky;top:8px}
html.overlay-embed .craft-results{grid-template-columns:1fr;max-height:calc(100vh - 195px);margin-top:8px;gap:5px}
html.overlay-embed .craft-choice{padding:7px;gap:6px;font-size:14px}
html.overlay-embed .craft-choice small{font-size:12px}
html.overlay-embed .craft-icon{width:30px;height:30px}
html.overlay-embed .craft-item-heading{gap:8px}
html.overlay-embed .craft-item-heading .craft-icon{width:40px;height:40px}
html.overlay-embed .craft-item-heading h2{font-size:21px}
html.overlay-embed .craft-options{gap:8px;margin:12px 0;padding:10px 0}
html.overlay-embed .craft-summary{gap:5px;margin:10px 0}
html.overlay-embed .craft-summary div{padding:6px}
html.overlay-embed .craft-summary strong{font-size:20px}
html.overlay-embed .craft-summary span{font-size:12px}
html.overlay-embed .craft-table{font-size:14px}
html.overlay-embed .craft-table :is(th,td){padding:7px 3px}
html.overlay-embed .craft-item-link{gap:6px;overflow-wrap:anywhere}
html.overlay-embed .craft-work h3{font-size:16px;margin:14px 0 8px}
html.overlay-embed .craft-work details{margin-top:12px;padding-top:10px}
@media(max-width:460px){html.overlay-embed .craft-layout{grid-template-columns:1fr}html.overlay-embed .craft-catalog{position:static}html.overlay-embed .craft-results{max-height:140px}html.overlay-embed .map-topbar{grid-template-columns:minmax(0,1fr) auto}html.overlay-embed .map-topbar label:first-of-type{grid-column:1/-1}html.overlay-embed .map-sidebar{top:135px}html.overlay-embed .world-map-viewport{height:calc(100vh - 230px)}}

/* Keep all map selectors together in the PC overlay. */
html.overlay-embed .map-unified-toolbar{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto minmax(0,1.1fr) minmax(0,.8fr);gap:6px 8px;align-items:end;margin-bottom:8px}
html.overlay-embed .map-unified-toolbar :is(.map-topbar,.map-progress){display:contents}
html.overlay-embed .map-unified-toolbar label{grid-column:auto;min-width:0;max-width:none;width:100%;margin:0;gap:4px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.overlay-embed .map-unified-toolbar label span{overflow:hidden;text-overflow:ellipsis}
html.overlay-embed .map-unified-toolbar :is(input,select){width:100%;min-width:0;height:38px;min-height:38px;padding:6px;font-size:13px;text-overflow:ellipsis}
html.overlay-embed .map-unified-toolbar #overlay-map-filters{white-space:nowrap;font-size:13px}
html.overlay-embed .map-unified-toolbar #map-progress-status{grid-column:1/-1;margin:0;font-size:12px}
html.overlay-embed .map-unified-toolbar .map-progress[data-phase="ready"][data-notice=""] #map-progress-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.overlay-embed .map-unified-toolbar :is(#map-progress-account,#map-progress-retry){grid-column:span 2}
html.overlay-embed .map-sidebar{top:80px}
html.overlay-embed .world-map-viewport{height:calc(100vh - 190px);min-height:190px}
html.overlay-embed .map-unified-toolbar .map-topbar label:first-of-type{grid-column:auto}

.overlay-embed .seo-copy{display:none}
