/* Map-first layout: no heading strip; map controls stay on the map. */
.compact-home{padding-top:20px}.map-block{position:relative}.map-block .map-head-actions{position:absolute;z-index:5;top:16px;left:16px;right:16px;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.map-head-actions>.map-tabs,.map-head-actions>.map-screen-toggle{pointer-events:auto;box-shadow:0 3px 14px #0d15362b}.map-head-actions>.map-tabs{background:#172359;border:1px solid #7184da70}.map-head-actions>.map-tabs button{color:#d4dcff;min-height:34px}.map-head-actions>.map-tabs button[aria-pressed=true]{background:#d6f36a;color:#1b2544}.map-head-actions>.map-screen-toggle{background:#172359;color:#f4f5ff;border-color:#7184da70;min-height:42px}.map-head-actions>.map-screen-toggle:hover{background:#2c3c80}.map-head-actions>.map-screen-toggle[aria-pressed=true]{background:#3347d7;color:#fff}.map-block .map-projection{top:72px}.map-block .map-badge{top:auto;bottom:16px;right:16px}.map-block .map-help{bottom:16px;max-width:calc(100% - 150px)}.map-block.map-screen>.map-surface{width:100%}.map-screen .map-head-actions{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right))}.map-screen .map-projection{top:calc(72px + env(safe-area-inset-top))}.map-screen .map-badge{bottom:calc(16px + env(safe-area-inset-bottom))}.map-screen .map-help{bottom:calc(16px + env(safe-area-inset-bottom))}.map-block{scroll-margin-top:90px}
@media(max-width:767px){.compact-home{padding-top:12px}.site-header .brand{gap:0}.map-block{scroll-margin-top:175px}.map-block .map-head-actions{top:12px;left:12px;right:12px;gap:6px;display:flex}.map-head-actions>.map-tabs{display:flex;gap:1px;justify-content:center;grid-column:auto;grid-row:auto;padding:3px;min-width:0}.map-head-actions>.map-tabs button{font-size:10px;padding:0 7px;min-height:34px}.map-head-actions>.map-screen-toggle{grid-column:auto;grid-row:auto;padding:0 9px;font-size:10px;min-height:42px;gap:5px}.map-head-actions>.map-screen-toggle .icon{width:14px;height:14px}.map-block .map-projection{top:68px;left:12px}.map-block .map-badge{bottom:16px;right:12px;font-size:9px}.map-block .map-help{bottom:16px;max-width:calc(100% - 125px);font-size:8px}.map-screen .map-head-actions{top:max(12px,env(safe-area-inset-top))}.map-screen .map-projection{top:calc(68px + env(safe-area-inset-top))}.map-screen .map-badge{bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(max-width:359px){.map-head-actions>.map-tabs button{font-size:9px;padding:0 5px}.map-head-actions>.map-screen-toggle{font-size:9px;padding:0 7px}.map-head-actions>.map-screen-toggle .icon{display:none}}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Stretch across the same two grid rows as places + holidays. */
@media(min-width:901px){
 .compact-home .map-block:not(.map-screen){align-self:stretch;display:flex;flex-direction:column;min-height:var(--map-height)}
 .compact-home .map-block:not(.map-screen)>.map-surface{flex:1;height:auto;min-height:var(--map-height)}
}
