:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg2: #f8f9fa;
  --bg3: #f1f3f5;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.15);
  --text: #0d0d0d;
  --muted: #6b7280;
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --ink: #0d0d0d;
  --line: rgba(0, 0, 0, 0.08);
  --surface: #ffffff;
  --panel: #ffffff;
  --blue: #3d8cff;
  --green: #4fffb0;
  --teal: #0e7c86;
  --yellow: #ffb84f;
  --red: #ff5252;
  --purple: #b07fff;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

body {
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: flex;
  flex-direction: column;
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 20px;
}

.topbar,
.workspace,
.stage-head,
.panel-heading,
.budget-meter,
.lens-control,
.ask-box,
.map-legend,
.map-tools,
.district-detail,
.mode-switch,
.allocation-inputs,
.modal-actions {
  display: flex;
}

.topbar {
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-family: Syne, "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

h2 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.budget-meter {
  align-items: center;
  gap: 14px;
  min-width: 220px;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 22, 28, 0.9);
}

.budget-meter span {
  color: var(--muted);
  font-size: 0.9rem;
}

.budget-meter span.over-budget {
  color: var(--red);
  font-weight: 900;
}

.budget-meter strong {
  font-size: 1.4rem;
}

.context-banner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 18px;
  padding: 12px 14px;
  border: 1px solid #e4d3af;
  border-radius: 8px;
  background: #1d1a12;
  color: #f6d48e;
  font-size: 0.92rem;
  line-height: 1.4;
}

.context-banner strong {
  white-space: nowrap;
}

.context-banner.over-budget-banner {
  border-color: rgba(255, 82, 82, 0.45);
  background: rgba(255, 82, 82, 0.12);
  color: #ffc1c1;
}

.workspace {
  align-items: stretch;
  gap: 16px;
}

.panel,
.main-stage {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 22, 28, 0.98);
  box-shadow: var(--shadow);
}

.panel {
  width: 320px;
  padding: 16px;
}

.allocator {
  flex: 0 0 390px;
}

.insight-panel {
  flex: 0 0 330px;
  display: grid;
  gap: 18px;
}

.main-stage {
  flex: 1;
  min-width: 0;
  padding: 16px;
}

.panel-heading,
.stage-head {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compact {
  margin-bottom: 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #151b22;
}

.icon-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.mode-switch {
  gap: 4px;
  margin: 16px 0 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg3);
}

.mode-button {
  flex: 1;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
}

.mode-button.active {
  color: #fff;
  background: var(--ink);
}

.source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.category-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.category-row {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e4eaee;
  border-radius: 8px;
  background: #151b22;
}

.category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 800;
  line-height: 1.2;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.category-value {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.allocation-inputs {
  align-items: center;
  gap: 10px;
}

.money-input-label {
  display: flex;
  align-items: center;
  width: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}

.money-input-label span {
  padding: 0 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.money-input {
  width: 100%;
  min-width: 0;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
}

.money-input:disabled {
  color: #88939c;
  background: var(--bg3);
}

.money-input.invalid {
  background: rgba(255, 82, 82, 0.22);
  outline: 2px solid var(--red);
}

.category-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: 0;
}

.source-line {
  color: #7f8a93;
  font-size: 0.72rem;
  line-height: 1.25;
}

.primary-action {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.lens-control {
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg3);
}

.lens {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 800;
}

.lens.active {
  color: #fff;
  background: var(--ink);
}

.map-wrap {
  margin-top: 16px;
  padding-bottom: 10px;
  background: transparent;
}

.map-tools {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.map-tools span {
  color: var(--muted);
  font-size: 0.84rem;
}

.city-map {
  position: relative;
  min-height: 360px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 33, 43, 0.08), transparent),
    #ffffff;
}

.city-map.fallback {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  grid-auto-rows: minmax(86px, 1fr);
  gap: 8px;
}

.district-map-svg {
  display: block;
  width: 100%;
  min-height: 360px;
}

.district-shape {
  stroke: #ffffff;
  stroke-width: 1.4;
  transition: fill 300ms ease, filter 160ms ease, stroke-width 160ms ease;
  cursor: pointer;
}

.district-shape:hover,
.district-shape:focus {
  filter: brightness(1.06);
  outline: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.district-shape.selected {
  stroke: #ffffff;
  stroke-width: 3;
}

.district.selected {
  outline: 3px solid #ffffff;
}

.district-shape.tier-flash,
.district.tier-flash {
  animation: tierFlash 700ms ease;
}

@keyframes tierFlash {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.7); }
  100% { filter: brightness(1); }
}

.district-label {
  pointer-events: none;
  fill: #ffffff;
  paint-order: stroke;
  stroke: rgba(10, 12, 15, 0.82);
  stroke-width: 4px;
  font-size: 14px;
  font-weight: 900;
}

.district {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  min-height: 92px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #dce8e6;
}

.district::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}

.district strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: #0d0d0d;
  font-size: 0.84rem;
  line-height: 1.2;
}

.district span {
  position: relative;
  z-index: 1;
  color: #0d0d0d;
  font-size: 0.72rem;
  font-weight: 800;
}

.district.positive {
  background: #4fffb0;
}

.district.mixed {
  background: #ffb84f;
}

.district.strained {
  background: #ff5252;
}

.map-legend-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 12, 15, 0.82);
  color: #0d0d0d;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.map-legend {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.district-detail {
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
}

.district-card {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e8eb;
  border-radius: 8px;
  background: #151b22;
}

.district-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.district-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.impact-list {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}

.impact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--bg3);
  color: #2e3a44;
  font-size: 0.84rem;
  font-weight: 800;
}

.impact-row strong {
  font-variant-numeric: tabular-nums;
}

.legend-chip {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}

.legend-chip.positive {
  background: var(--green);
}

.legend-chip.mixed {
  background: var(--yellow);
}

.legend-chip.strained {
  background: var(--red);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.news-section {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e0e8eb;
  border-radius: 8px;
  background: #151b22;
  min-height: 0;
  overflow: hidden;
}

.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.news-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-cards {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.news-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  min-width: 280px;
  max-width: 360px;
}

.stale-banner {
  align-self: stretch;
  min-width: 280px;
  padding: 12px;
  border: 1px solid rgba(255, 184, 79, 0.35);
  border-radius: 8px;
  background: rgba(255, 184, 79, 0.12);
  color: #ffd99b;
  font-size: 0.86rem;
  font-weight: 800;
}

.source-badge {
  width: max-content;
  padding: 3px 7px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.source-badge.city {
  background: var(--blue);
}

.source-badge.press {
  background: var(--red);
}

.source-badge.nonprofit {
  color: #0d0d0d;
  background: var(--green);
}

.source-badge.public_radio {
  background: var(--purple);
}

.source-badge.other {
  background: #65717c;
}

.news-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.news-card a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.news-meta {
  color: #7f8a93;
  font-size: 0.76rem;
  font-weight: 800;
}

.news-ai {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ai-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-chat-log {
  display: grid;
  gap: 8px;
}

.chat-turn {
  padding: 10px;
  border-radius: 8px;
  background: var(--bg3);
  color: #2e3a44;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-turn strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.metric {
  padding: 12px;
  border: 1px solid #e0e8eb;
  border-radius: 8px;
  background: #fbfcfc;
}

.tooltip-button {
  position: relative;
  margin: 8px 0 10px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: left;
}

.tooltip-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 12;
  width: max-content;
  max-width: min(280px, 80vw);
  padding: 9px 11px;
  border-radius: 8px;
  background: #0d0d0d;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.tooltip-button::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 14px;
  z-index: 12;
  border: 6px solid transparent;
  border-top-color: #0d0d0d;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.tooltip-button:hover::after,
.tooltip-button:focus-visible::after,
.tooltip-button:hover::before,
.tooltip-button:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.metric:nth-child(3n) .tooltip-button::after {
  left: auto;
  right: 0;
}

.metric:nth-child(3n) .tooltip-button::before {
  left: auto;
  right: 14px;
}

.topbar-logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
}

.metric-name {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.metric-score {
  min-width: 76px;
  text-align: right;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.metric-track,
.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3eaed;
}

.metric-fill,
.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 180ms ease;
}

.brief,
.answer {
  color: #2e3a44;
  font-size: 0.94rem;
  line-height: 1.5;
}

.brief {
  min-height: 158px;
  padding: 12px;
  border-radius: 8px;
  background: #eef6f3;
}

.ask-box {
  gap: 8px;
}

.ask-box input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ask-box button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.answer {
  min-height: 74px;
  margin: 10px 0 0;
  color: var(--muted);
}

.overlap-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
  padding: 12px;
  border-radius: 8px;
  background: #1b1a13;
}

.overlap-score strong {
  font-size: 2rem;
}

.overlap-score span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.consensus-bars {
  display: grid;
  gap: 10px;
}

.community-pulse {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
}

.community-pulse p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.consensus-row {
  display: grid;
  gap: 5px;
}

.consensus-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(23, 33, 43, 0.48);
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.privacy-note,
.receipt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.budget-summary {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  list-style: none;
}

.budget-summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.field-label {
  display: block;
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.modal-actions {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-actions .primary-action {
  width: auto;
  min-width: 140px;
}

.modal-actions span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .workspace {
    flex-wrap: wrap;
    overflow-y: auto;
  }

  .allocator,
  .insight-panel {
    flex: 1 1 330px;
  }

  .main-stage {
    order: 3;
    flex-basis: 100%;
    min-height: 70vh;
    overflow: visible;
    display: block;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 12px;
    overflow-y: auto;
  }

  html,
  body {
    overflow: auto;
  }

  .topbar,
  .stage-head,
  .context-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .budget-meter {
    width: 100%;
  }

  .panel,
  .main-stage {
    width: 100%;
    height: auto;
    overflow-y: visible;
  }

  .city-map {
    min-height: 340px;
  }

  .city-map.fallback {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .lens-control {
    overflow-x: auto;
  }

  .map-tools,
  .district-detail {
    align-items: stretch;
    flex-direction: column;
  }

  .news-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .news-card {
    min-width: 260px;
    scroll-snap-align: start;
  }
}

/* Light theme refinement */
.app-shell {
  background: var(--bg);
}

.topbar {
  margin: -20px -20px 18px;
  padding: 18px 20px;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.eyebrow {
  color: #9ca3af;
}

.budget-meter {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.budget-meter span,
.budget-meter strong {
  color: #1d4ed8;
}

.panel,
.main-stage,
.category-row,
.district-card,
.news-section,
.news-card,
.metric,
.brief,
.overlap-score,
.community-pulse,
.modal-card {
  color: var(--text);
  border-color: var(--border);
  background: #ffffff;
}

.panel:hover,
.main-stage:hover,
.category-row:hover,
.news-card:hover,
.metric:hover {
  background: #f8f9fa;
}

.icon-button,
.money-input-label,
.mode-switch,
.lens-control,
.city-map,
.impact-row,
.chat-turn,
.ask-box input,
select,
textarea,
.budget-summary {
  color: var(--text);
  border-color: var(--border-hi);
  background: #ffffff;
}

.mode-switch,
.lens-control,
.city-map,
.impact-row,
.chat-turn,
.community-pulse {
  background: var(--bg3);
}

.mode-button.active,
.lens.active {
  color: #ffffff;
  background: #0d0d0d;
}

.primary-action,
.ask-box button {
  color: #ffffff;
  background: #0d0d0d;
}

.primary-action:hover,
.ask-box button:hover {
  background: #1f2937;
}

.icon-button {
  color: #0d0d0d;
  background: #ffffff;
}

.context-banner {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
}

.context-banner.over-budget-banner {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.money-input:disabled {
  color: #6b7280;
  background: #f1f3f5;
}

.category-value,
.category-name,
.district-card h3,
.metric-score,
.chat-turn strong,
.field-label {
  color: #0d0d0d;
}

.source-line,
.news-meta {
  color: #6b7280;
}

.news-card a,
.tooltip-button {
  color: #1d4ed8;
}

.brief {
  background: #eff6ff;
  color: #1e40af;
}

.answer.info-banner,
.chat-turn.info-banner {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
}

.overlap-score {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.stale-banner {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.district-label {
  fill: #0d0d0d;
  stroke: rgba(255, 255, 255, 0.92);
}

.district-shape {
  stroke: #ffffff;
}

.district-shape:hover,
.district-shape:focus,
.district-shape.selected {
  stroke: #0d0d0d;
}

.map-legend-card {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: #0d0d0d;
}

