/* Region status maps: same-origin, no third-party. Colors match the homepage legend. */
.region-map { margin-top: 1.25rem; overflow: visible; }
.region-map h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: #1e3a5f; }
.region-map .region-map-note { margin-top: 0.5rem; font-size: 0.875rem; color: #334155; }
.region-map-svg { display: block; width: 100%; height: auto; max-width: 100%; margin-top: 0.75rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.5rem; overflow: visible; }
.region-map-svg a { cursor: pointer; outline: none; }
.region-map-svg a path { stroke: #fff; stroke-width: 1; transition: stroke-width 0.12s ease; }
.region-map-svg a:hover path,
.region-map-svg a:focus path,
.region-map-svg a:focus-visible path { stroke: #0f172a; stroke-width: 2.5; }
.region-map-svg a:focus,
.region-map-svg a:focus-visible {
  outline: 3px solid #0f172a;
  outline-offset: 3px;
}
.region-map-svg .callout {
  stroke: #0f172a;
  stroke-width: 1;
  pointer-events: none;
}
.region-map-svg .abbr {
  font-family: source-sans-3, "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  fill: #0f172a;
  stroke: #fff;
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
}
.region-map-svg .tip { visibility: hidden; pointer-events: none; }
.region-map-svg a:hover .tip,
.region-map-svg a:focus .tip,
.region-map-svg a:focus-visible .tip { visibility: visible; }
.region-map-svg .tip-bg { fill: #0f172a; stroke: #fff; stroke-width: 1; }
.region-map-svg .tip-text {
  fill: #fff;
  font-family: source-sans-3, "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: middle;
  stroke: none;
}
.region-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #1a2433;
}
.region-map-legend li { display: flex; align-items: center; gap: 0.4rem; }
.region-map-legend .swatch {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #0f172a;
  border-radius: 2px;
  flex: 0 0 auto;
}
.swatch-guidance { background: #1d7a74; }
.swatch-law { background: #396395; }
.swatch-dev {
  background-color: #b45309;
  background-image: radial-gradient(#fff 35%, transparent 37%);
  background-size: 0.35rem 0.35rem;
  background-position: center;
}
.swatch-none {
  background-color: #64748b;
  background-image: repeating-linear-gradient(-45deg, #64748b, #64748b 3px, #fff 3px, #fff 5px);
}
.swatch-resources { background: #3f5870; }
.region-map-fallback { margin-top: 0.75rem; font-size: 0.875rem; }
.region-map-fallback ul { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.region-map-fallback li { margin: 0.15rem 0; }
@media (max-width: 640px) {
  .region-map-legend { gap: 0.4rem 0.75rem; font-size: 0.8125rem; }
}
