/* Places map layout: the menu beside the map. Colours come from the design tokens. */
.atlas-map-layout{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:stretch}
@media (max-width:900px){.atlas-map-layout{grid-template-columns:1fr}}
/* The menu stands as tall as the map and scrolls inside itself. The card puts the slot in its own
   body, so the body has to be a column that may shrink too: a flex item without min-height:0 refuses
   to go below its content, and then the list overflows the card instead of scrolling within it. */
.atlas-map-menu{display:flex;flex-direction:column;height:640px;overflow:hidden}
@media (max-width:900px){.atlas-map-menu{height:auto;max-height:520px}}
.atlas-map-menu > .atlas-card-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.atlas-map-menu input{flex:none;margin:12px 16px 8px;padding:7px 10px;border:1px solid var(--atlas-line);border-radius:8px;background:var(--atlas-card);color:inherit}
.atlas-map-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 8px}
.atlas-map-list h4{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--atlas-muted);margin:10px 8px 4px}
.atlas-map-list button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:6px 8px;border-radius:8px;font-size:13px;background:none;border:0;color:inherit;cursor:pointer}
.atlas-map-list button:hover,.atlas-map-list button.active{background:var(--atlas-hover, rgba(127,127,127,.12))}
.atlas-dot{width:10px;height:10px;border-radius:50%;flex:none}
#atlas-map{height:640px;border-radius:12px;border:1px solid var(--atlas-line)}
.atlas-map-legend{display:flex;gap:14px;font-size:12px;color:var(--atlas-muted);margin-top:8px}
.atlas-map-legend span{display:inline-flex;align-items:center;gap:6px}
