/* Inter 5.3.0 (SIL Open Font License 1.1), weight 600, subset A-Z a-z 0-9 .'- and space. Generated by tools/data.mjs */
  @font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; src: url('inter-600-map.woff2') format('woff2'); }
 
:root {
  --bg-primary: #F8FAFC;
  --hover-shade: #0F172A;
  --interior-stroke: #FFFFFF;
  --exterior-stroke: rgba(15, 23, 42, 0.22);
  --highlight-stroke: #4F46E5;
  --leader-stroke: #A3B1C2;
  --leader-dot: #94A3B8;
  --label-fill: #1E293B;
  --label-halo: rgba(255, 255, 255, 0.55);
  --county-stroke: rgba(255, 255, 255, 0.85);
  --deep-ink: #1E1B4B;
  --capital-halo: rgba(255, 255, 255, 0.85);
  --active-label-halo: rgba(30, 27, 75, 0.45);
  --context-base: #E3E8EE;
  --context-coast: rgba(15, 23, 42, 0.25);
  --context-label: #6B7686;
  --land-shadow-contact: rgba(15, 23, 42, 0.10);
  --land-shadow-ambient: rgba(15, 23, 42, 0.14);
  --lift-shadow-contact: rgba(30, 27, 75, 0.16);
  --lift-shadow-ambient: rgba(30, 27, 75, 0.24);
  --tag-fill: #7C3AED;
  --tag-ink: #FFFFFF;
  --tag-hot: #0F172A;
}


#map-viewport { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; overflow: hidden; }
 
#map-viewport:active,
#map-viewport:active .state-fill,
#map-viewport:active .county-fill { cursor: grabbing; }
#main-svg { width: 100%; height: 100%; display: block; shape-rendering: geometricPrecision; }

 
#land-shadow { fill: #FFFFFF; stroke: none; pointer-events: none; }
#land-shadow-filter .contact { flood-color: var(--land-shadow-contact); }
#land-shadow-filter .ambient { flood-color: var(--land-shadow-ambient); }
#lift-filter .contact { flood-color: var(--lift-shadow-contact); }
#lift-filter .ambient { flood-color: var(--lift-shadow-ambient); }

 
.state-fill {
  fill: var(--aurora, #E2E8F0);
  stroke: none;
  cursor: pointer;
  transition: fill 0.12s ease;
}
.state-fill:hover { fill: color-mix(in srgb, var(--aurora, #E2E8F0) 86%, var(--hover-shade)); }

 
.county-shadow { fill: var(--bg-primary); stroke: none; pointer-events: none; }
.county-base { fill: var(--deep); stroke: none; pointer-events: none; }
.county-fill {
  fill: var(--county, var(--deep));
  stroke: none;
  cursor: pointer;
  transition: fill 0.12s ease;
}
.county-fill:hover { fill: color-mix(in srgb, var(--county, var(--deep)) 68%, #FFFFFF); }
 
.state-fill.is-static, .county-fill.is-static { cursor: default; }
.county-fill.is-static:hover { fill: var(--county, var(--deep)); }
.county-sheen { fill: url(#county-sheen); stroke: none; pointer-events: none; }
.county-mesh {
  fill: none;
  stroke: var(--county-stroke);
  stroke-width: 0.8px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

 
.drilldown .state-fill:not(.selected) { fill: color-mix(in srgb, var(--mist, #E2E8F0) 30%, var(--context-base)); }
.drilldown .state-fill:not(.selected):hover { fill: color-mix(in srgb, var(--mist, #E2E8F0) 55%, var(--context-base)); }
.drilldown .nation-exterior-mesh { stroke: var(--context-coast); }
.drilldown .state-label:not(.active) { fill: var(--context-label); }
.drilldown .state-label.active { fill: #FFFFFF; stroke: var(--active-label-halo); }
.drilldown #leaders-layer { opacity: 0; }
 
.zooming .state-fill, .zooming .state-interior-mesh, .zooming .nation-exterior-mesh, .zooming .state-label {
  transition: fill 0.6s ease, stroke 0.6s ease;
}
.drilldown .highlight-border-path { stroke: color-mix(in srgb, var(--deep, #818CF8) 55%, var(--deep-ink)); stroke-width: 1px; }

 
.state-interior-mesh {
  fill: none;
  stroke: var(--interior-stroke);
  stroke-width: 1.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

 
.nation-exterior-mesh {
  fill: none;
  stroke: var(--exterior-stroke);
  stroke-width: 0.6px;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

 
.highlight-border-path {
  fill: none;
  stroke: var(--highlight-stroke);
  stroke-width: 2px;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

 
.leader-line {
  fill: none;
  stroke: var(--leader-stroke);
  stroke-width: 0.85px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.leader-anchor-dot {
  fill: var(--leader-dot);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

 
.state-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  fill: var(--label-fill);
  text-anchor: middle;
  pointer-events: none;
  user-select: none;
  paint-order: stroke fill;
  stroke: var(--label-halo);
  stroke-linejoin: round;
}

 
.state-tag-group { pointer-events: none; }
.tag-room { fill: none; stroke: none; }
.state-tag { fill: var(--tag-fill); }
.state-tag-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  fill: var(--tag-ink);
  text-anchor: middle;
  user-select: none;
}
.state-tag, .state-tag-text, .tag-callout { transition: opacity 0.25s ease; }
.drilldown .state-tag, .drilldown .state-tag-text, .drilldown .tag-callout { opacity: 0; }
 
.tag-callout { pointer-events: auto; cursor: pointer; }
.tag-callout .tag-room { pointer-events: all; }
.tag-callout.is-static { cursor: default; }
.drilldown .tag-callout { pointer-events: none; }
.state-fill.label-hover { fill: color-mix(in srgb, var(--aurora, #E2E8F0) 86%, var(--hover-shade)); }
 
.state-tag-group.hot .state-tag { fill: var(--tag-hot); }
.state-tag { transition: fill 0.15s ease; }
.leader-line.hot { stroke: var(--tag-hot); stroke-width: 1.4px; }
.leader-anchor-dot.hot { fill: var(--tag-hot); r: 2.2px; }
 
#capital-layer { pointer-events: none; }
.capital-ring { fill: #FFFFFF; stroke: var(--deep-ink); stroke-width: 2px; }
.capital-core { fill: var(--deep-ink); }
.capital-name {
  font: 600 11.5px 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  fill: var(--deep-ink);
  letter-spacing: 0.2px;
  paint-order: stroke fill;
  stroke: var(--capital-halo);
  stroke-width: 3px;
  stroke-linejoin: round;
}

 
.floating-tooltip {
  position: absolute; pointer-events: none; background: rgba(15, 23, 42, 0.92);
  color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: none;
  z-index: 40; transform: translate(-50%, -130%); white-space: nowrap;
}
 
.usmap-host { position: relative; outline: none; }
 
.usmap-host #map-viewport { overflow: visible; }
.usmap-host #main-svg:not(.drilldown):not(.moved) { overflow: visible; }
 
.usmap-host .floating-tooltip { position: fixed; }
