.geofeed-content { min-width: 0; }
.page-layout.geofeed-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.geofeed-content [hidden] { display: none; }
.geofeed-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.geofeed-heading button { color: var(--stpd-text); font-family: inherit; cursor: pointer; }
.geofeed-heading button:disabled { opacity: .6; cursor: wait; }
.geofeed-heading button:focus-visible, .geofeed-table-wrap:focus-visible { outline: 2px solid var(--stpd-lilac); outline-offset: 4px; }
#geofeed-status { font-size: 13px; }
#geofeed-status[data-state="error"] { color: var(--stpd-warning); }
.geofeed-table-wrap { overflow-x: auto; border: 1px solid var(--stpd-border); border-radius: var(--stpd-radius); background: var(--stpd-surface); }
.geofeed-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.geofeed-table caption { padding: 16px; color: var(--stpd-muted); text-align: left; font-size: 12px; }
.geofeed-table th, .geofeed-table td { padding: 16px; border-top: 1px solid var(--stpd-border); }
.geofeed-table th { color: var(--stpd-muted); font-weight: 500; white-space: nowrap; }
.geofeed-table td:first-child { color: var(--stpd-lilac); font-family: var(--stpd-font-mono); white-space: nowrap; }
.geofeed-map-section { padding-block: 8px; }
.geofeed-map-section h3 { font-size: 20px; }
.geofeed-map-note, #geofeed-map-status, .geofeed-map-credit { margin-top: 12px; font-size: 12px; }
.geofeed-map-credit a { text-decoration: underline; text-underline-offset: 3px; }
#geofeed-map { height: 360px; margin-top: 20px; border: 1px solid var(--stpd-border-strong); border-radius: var(--stpd-radius); background: var(--stpd-surface-raised); isolation: isolate; font-family: var(--stpd-font-body); }
/* Darken only the OSM tiles; keep markers, controls and attribution untouched. */
#geofeed-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.75) contrast(.9); }
#geofeed-map .leaflet-bar a, #geofeed-map .leaflet-popup-content-wrapper, #geofeed-map .leaflet-popup-tip { background: var(--stpd-surface-raised); color: var(--stpd-text); }
#geofeed-map .leaflet-bar a { border-bottom-color: var(--stpd-border-strong); }
#geofeed-map .leaflet-bar a:hover { background: var(--stpd-bg); }
#geofeed-map .leaflet-control-attribution { background: var(--stpd-surface); color: var(--stpd-muted); }
#geofeed-map .leaflet-control-attribution a { color: var(--stpd-lilac); }
#geofeed-map .leaflet-popup-close-button { color: var(--stpd-text); }
.geofeed-marker { display: grid; place-items: center; background: var(--stpd-lilac); border: 3px solid var(--stpd-bg); border-radius: 50%; color: var(--stpd-bg); box-shadow: 0 0 0 2px var(--stpd-lilac); font: 600 12px/1 var(--stpd-font-body); }
.geofeed-popup strong { display: block; margin-bottom: 8px; }
.geofeed-popup ul { padding-left: 16px; margin: 0; }
.geofeed-popup li { margin-top: 4px; font-family: var(--stpd-font-mono); overflow-wrap: anywhere; }
@media (max-width: 700px) {
  #geofeed-map { height: 300px; }
}
