/* County boundary navigation uses local SVG data; scoped to the existing atlas. */
#home-atlas [hidden] { display: none !important; }
#home-atlas .ie-atlas-note { margin: 10px 8px 4px; color: #526e75; font-size: 11px; line-height: 1.5; }
#home-atlas .ie-map-viewport { position: relative; width: 100%; min-width: 0; overflow: hidden; border: 1px solid #cbdcd6; border-radius: 12px; background: radial-gradient(ellipse at 45% 46%, #fffaf0 0%, #f8f9ef 48%, #e8f0ed 100%); }
#home-atlas .ie-map-svg { display: block; width: 100%; height: auto; max-height: 410px; touch-action: pan-y; user-select: none; }
#home-atlas .ie-map-viewport.is-zoomed .ie-map-svg { touch-action: none; cursor: grab; }
#home-atlas .ie-map-viewport.is-panning .ie-map-svg { cursor: grabbing; }
#home-atlas .ie-map-county { fill: #d9e8d9; stroke: #557c67; stroke-width: 1.05; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s; -webkit-tap-highlight-color: transparent; }
#home-atlas .ie-map-county:hover { fill: #bdd7ba; stroke: #284f43; stroke-width: 1.7; }
#home-atlas .ie-map-county.is-selected { fill: #61996c; stroke: #174b38; stroke-width: 2; }
#home-atlas .ie-map-county:focus { outline: none; fill: #a8d4b1; stroke: #102944; stroke-width: 3; stroke-dasharray: 4 2; }
#home-atlas .ie-map-county.is-selected:focus { fill: #61996c; }
#home-atlas .ie-map-county-label { display: none; fill: #102e20; paint-order: stroke fill; stroke: #f8fff0; stroke-width: 4; stroke-linejoin: round; text-anchor: middle; dominant-baseline: middle; pointer-events: none; font: 700 18px/1.3 "DM Sans", Arial, sans-serif; }
#home-atlas .ie-map-county-label.is-selected { display: block; }
#home-atlas .ie-map-background { fill: #e8e6db; stroke: #b9b9ac; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
#home-atlas .ie-map-background-label { fill: #75776c; text-anchor: middle; pointer-events: none; font: italic 14px/1.3 Georgia, serif; }
#home-atlas .ie-map-message { margin: 0; min-height: 235px; display: grid; place-content: center; padding: 30px; color: #526e75; text-align: center; font-size: 13px; line-height: 1.6; }
#home-atlas .ie-map-controls { position: static; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; margin: 0 7px 7px; max-width: calc(100% - 14px); padding: 4px; border: 1px solid #cbdcd6; border-radius: 8px; background: #fffffff2; }
#home-atlas .ie-map-controls button { min-width: 44px; min-height: 44px; padding: 5px 9px; border: 1px solid #cbdcd6; border-radius: 5px; background: #fff; color: #205e4e; font: 600 14px/1.2 "DM Sans", Arial, sans-serif; cursor: pointer; }
#home-atlas .ie-map-controls .ie-map-zoom-in, #home-atlas .ie-map-controls .ie-map-zoom-out { font-size: 22px; }
#home-atlas .ie-map-controls button:disabled { color: #83968d; background: #f6f8f5; cursor: default; }
#home-atlas .ie-map-zoom-level { min-width: 41px; padding: 0 4px; color: #526e75; font-size: 10px; text-align: center; }
#home-atlas .ie-map-hover-name { min-height: 20px; margin: 7px 8px 0; color: #365e4b; font-size: 12px; font-weight: 600; text-align: center; }
#home-atlas .ie-map-attribution { margin: 5px 8px 10px; color: #607583; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
#home-atlas .ie-map-attribution a { color: #477c66; text-decoration: underline; text-underline-offset: 2px; }
#home-atlas .ie-county-directory { margin: 8px 7px 14px; border-top: 1px solid #d6e3e8; border-bottom: 1px solid #d6e3e8; }
#home-atlas .ie-county-directory summary { min-height: 44px; padding: 13px 2px; color: #365e4b; font-size: 11px; line-height: 1.5; font-weight: 600; cursor: pointer; }
#home-atlas .ie-county-directory summary:focus-visible { outline: 3px solid #71a996; outline-offset: 2px; }
#home-atlas .ie-county-directory .ie-county-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 0 0 12px; padding: 0; }
#home-atlas .ie-county-directory .ie-county-tiles button { min-width: 0; min-height: 44px; padding: 8px 5px; border: 1px solid #cbdcd6; border-radius: 6px; background: #f9fcf8; color: #365e4b; font: 500 11px/1.3 "DM Sans", Arial, sans-serif; overflow-wrap: anywhere; cursor: pointer; }
#home-atlas .ie-county-directory .ie-county-tiles button:hover { background: #edf5ed; }
#home-atlas .ie-county-directory .ie-county-tiles button[aria-pressed="true"] { background: #d9ebde; color: #174b38; border-color: #61996c; }
@media (max-width: 600px) {
  #home-atlas .ie-map-svg { max-height: 380px; }
  #home-atlas .ie-map-controls { gap: 3px; }
  #home-atlas .ie-county-directory { margin-left: 0; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { #home-atlas .ie-map-county { transition: none; } }
