/* Map controls are kept outside the embed; provider legends/credits stay visible. */
.nm-map-card { min-width: 0; overflow: hidden; }
.nm-map-card:fullscreen { width: 100%; max-width: none; height: 100%; margin: 0; border: 0; border-radius: 0; background: #fff; overflow: visible; }
.nm-map-window { position: static; inset: auto; display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: inherit; color: var(--ink, #112b42); background: #fff; box-sizing: border-box; }
.nm-map-window:not([open]) { display: none; }
.nm-map-heading { display: flex; gap: 1rem; align-items: start; justify-content: space-between; padding: 1.2rem 1.25rem .65rem; }
.nm-map-heading h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; margin: 0 0 .35rem; }
.nm-map-location { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--muted, #486174); font-size: .875rem; }
.nm-map-location svg { width: 15px; height: 15px; }
.nm-map-card button, .nm-map-card select { min-height: 44px; font: inherit; font-size: 14px; border: 1px solid var(--line, #d7e4ed); border-radius: 9px; background: #fff; color: var(--ink, #112b42); box-shadow: none; }
.nm-map-card button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem .8rem; cursor: pointer; line-height: 1.2; }
.nm-map-card button svg { flex-shrink: 0; width: 20px; height: 20px; }
.nm-map-card button:hover { background: #eaf4fb; border-color: #a4c4dc; }
.nm-map-card button:disabled, .nm-map-card select:disabled { opacity: .5; cursor: default; }
.nm-map-card button[hidden] { display: none; }
.nm-map-card button:focus-visible, .nm-map-card select:focus-visible, .nm-map-card summary:focus-visible { outline: 3px solid var(--primary, #1260bb); outline-offset: 3px; }
.nm-map-card select { max-width: 100%; padding: .5rem 1.75rem .5rem .65rem; }
.nm-map-layers { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .55rem 1.25rem .85rem; }
.nm-map-layers button[aria-pressed="true"] { background: var(--primary, #1260bb); color: #fff; border-color: var(--primary, #1260bb); }
.nm-map-more { flex: 1 1 130px; max-width: 220px; margin: 0; }
.nm-map-more select { width: 100%; }
.nm-map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; padding: .65rem 1.25rem; border-block: 1px solid var(--line, #d7e4ed); background: #f5f9fc; }
.nm-map-zoom { display: flex; gap: .3rem; }
.nm-map-zoom button, .nm-map-close, .nm-map-reload { width: 44px; min-width: 44px; padding: .5rem; }
.nm-map-size { display: flex; align-items: center; gap: .4rem; margin-left: auto; font-size: .8125rem; }
.nm-map-size select { max-width: 130px; }
.nm-map-stage { position: relative; min-width: 0; width: 100%; height: 530px; background: #e6f0f6; overflow: hidden; }
.nm-map-stage[data-size="compact"] { height: 350px; }
.nm-map-stage[data-size="large"] { height: 720px; }
.nm-map-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #e6f0f6; }
.nm-map-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .7rem 1.25rem .25rem; }
.nm-map-provider { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0; min-width: 0; font-size: .8125rem; }
.nm-map-provider select { max-width: 260px; }
.nm-map-reload { margin-left: auto; }
.nm-map-status { flex-basis: 100%; font-size: .8125rem; color: var(--muted, #486174); }
.nm-map-status:empty { display: none; }
.nm-map-source { padding: .35rem 1.25rem .45rem; margin: 0; font-size: .75rem; line-height: 1.6; color: var(--muted, #486174); }
.nm-map-help { padding: .1rem 1.25rem .85rem; margin: 0; border: 0; font-size: .8125rem; color: var(--muted, #486174); }
.nm-map-help summary { width: fit-content; cursor: pointer; min-height: 36px; padding-block: .35rem; }
.nm-map-help p { max-width: 75ch; margin: .35rem 0; }
.nm-map-window.is-expanded { position: fixed; inset: 0; z-index: 2147483000; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; overflow: auto; }
.nm-map-window.is-expanded::backdrop { background: #112b42cc; }
.nm-map-window.is-expanded .nm-map-heading, .nm-map-window.is-expanded .nm-map-layers, .nm-map-window.is-expanded .nm-map-controls, .nm-map-window.is-expanded .nm-map-bottom { flex-shrink: 0; }
.nm-map-window.is-expanded .nm-map-stage { flex: 1 0 220px; height: auto; min-height: 220px; }
.nm-map-window.is-expanded .nm-map-heading { padding-top: max(.65rem, env(safe-area-inset-top)); padding-bottom: .3rem; }
.nm-map-window.is-expanded .nm-map-help { padding-bottom: max(.65rem, env(safe-area-inset-bottom)); }
@media(max-width: 680px) {
 .nm-map-heading { padding-inline: .9rem; }
 .nm-map-layers { padding-inline: .75rem; gap: .35rem; }
 .nm-map-layers button { flex: 1 1 auto; padding: .55rem .65rem; font-size: 13px; }
 .nm-map-layers button svg { width: 17px; height: 17px; }
 .nm-map-more { max-width: none; flex-basis: 100%; }
 .nm-map-card select { font-size: 16px; }
 .nm-map-controls { padding-inline: .75rem; gap: .5rem; }
 .nm-map-size { margin-left: auto; }
 .nm-map-size > span { display: none; }
 .nm-map-size select { max-width: 115px; }
 .nm-map-fullscreen { flex: 1 1 100%; }
 .nm-map-stage { height: 470px; }
 .nm-map-stage[data-size="compact"] { height: 350px; }
 .nm-map-stage[data-size="large"] { height: 650px; }
 .nm-map-bottom { padding-inline: .75rem; }
 .nm-map-provider { flex: 1 1 0; }
 .nm-map-provider > span { width: 100%; }
 .nm-map-provider select { width: 100%; max-width: 100%; min-width: 0; }
 .nm-map-source, .nm-map-help { padding-inline: .9rem; }
 .nm-map-window.is-expanded .nm-map-heading h2 { font-size: 1.1rem; }
 .nm-map-window.is-expanded .nm-map-more { flex: 1 1 130px; }
 .nm-map-window.is-expanded .nm-map-layers button { font-size: 12px; }
 .nm-map-window.is-expanded .nm-map-controls { padding-block: .35rem; }
 .nm-map-window.is-expanded .nm-map-size { display: none; }
 .nm-map-window.is-expanded .nm-map-source { padding-block: .15rem; }
 .nm-map-window.is-expanded .nm-map-help { display: none; }
}
@media(prefers-reduced-motion: reduce) { .nm-map-card *, .nm-map-card *::before, .nm-map-card *::after { scroll-behavior: auto; transition: none; } }

.nm-map-context:not(.sr-only){padding:.25rem 1.25rem .85rem;margin:0;font-size:.8125rem;color:var(--muted,#486174)}
