/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Montgomery City Colors */
  --navy: #0a1628;
  --navy-light: #111d35;
  --navy-mid: #1a2a4a;
  --navy-border: #243352;
  --gold: #d4940a;
  --gold-light: #f5b731;
  --orange: #e8721c;
  --orange-glow: rgba(232, 114, 28, 0.15);

  /* Status Colors */
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.12);
  --red-border: rgba(239, 68, 68, 0.3);
  --yellow: #eab308;
  --yellow-bg: rgba(234, 179, 8, 0.12);
  --yellow-border: rgba(234, 179, 8, 0.3);
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.12);
  --green-border: rgba(34, 197, 94, 0.3);
  --purple: #a855f7;
  --purple-bg: rgba(168, 85, 247, 0.12);

  /* Text */
  --text-primary: #e8ecf4;
  --text-secondary: #8a96ad;
  --text-muted: #5a6680;

  /* Fonts */
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --gap: 16px;
  --radius: 10px;
  --radius-sm: 6px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background: var(--navy);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-border); }

/* ===== HEADER ===== */
#app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--navy-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(212, 148, 10, 0.08);
  border: 1px solid rgba(212, 148, 10, 0.2);
  border-radius: var(--radius);
}

.header-title-group h1 {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.header-title-group h1 .accent {
  color: var(--gold);
}

.header-title-group .subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.powered-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.powered-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.powered-sources {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.powered-sources .sep {
  color: var(--text-muted);
  margin: 0 4px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.live-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1.5px;
}

/* ===== TAB NAVIGATION ===== */
#tab-nav {
  display: flex;
  gap: 0;
  background: var(--navy-light);
  border-bottom: 1px solid var(--navy-border);
  padding: 0 28px;
  position: sticky;
  top: 72px;
  z-index: 99;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(212, 148, 10, 0.05);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(212, 148, 10, 0.06);
}

.tab-btn svg {
  opacity: 0.7;
  transition: opacity 0.25s;
}

.tab-btn.active svg,
.tab-btn:hover svg {
  opacity: 1;
}

/* ===== MAIN CONTENT ===== */
#main-content {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
}

.screen {
  display: none;
  animation: fadeIn 0.35s ease;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===== SCREEN 1: HOTSPOT MAP ===== */
.hotspot-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.map-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#leaflet-map {
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid var(--navy-border);
  overflow: hidden;
  min-height: 400px;
}

.map-legend {
  display: flex;
  gap: 20px;
  padding: 10px 16px;
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.red { background: var(--red); box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }
.legend-dot.yellow { background: var(--yellow); box-shadow: 0 0 6px rgba(234, 179, 8, 0.5); }
.legend-dot.green { background: var(--green); box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }

.hotspot-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-panel {
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.3s;
}

.sidebar-panel:hover {
  border-color: rgba(212, 148, 10, 0.25);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--navy-border);
}

.panel-header svg {
  color: var(--gold);
  opacity: 0.7;
}

/* District Table */
.district-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dt-row {
  display: grid;
  grid-template-columns: 1fr 70px 75px 90px;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  transition: background 0.2s;
}

.dt-row:hover {
  background: rgba(212, 148, 10, 0.06);
}

.dt-row.header {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--navy-border);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.dt-name {
  font-weight: 500;
  color: var(--text-primary);
}

.dt-calls { color: var(--text-secondary); text-align: center; }
.dt-time { text-align: center; font-weight: 600; }
.dt-staff { text-align: right; font-size: 0.7rem; color: var(--text-secondary); }

.time-red { color: var(--red); }
.time-yellow { color: var(--yellow); }
.time-green { color: var(--green); }

/* Chart Wrappers */
.chart-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
}

.chart-wrapper-doughnut {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SCREEN 2: RESPONSE TIME TRACKER ===== */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 28px;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.summary-card:hover {
  border-color: rgba(212, 148, 10, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.card-icon.orange { background: var(--orange-glow); color: var(--orange); border: 1px solid rgba(232, 114, 28, 0.25); }
.card-icon.red { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.card-icon.yellow { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.card-icon.purple { background: var(--purple-bg); color: var(--purple); border: 1px solid rgba(168, 85, 247, 0.25); }

.card-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.card-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.card-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* District Grid */
.district-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 28px;
}

.dg-card {
  padding: 18px;
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.dg-card:hover {
  border-color: rgba(212, 148, 10, 0.25);
  transform: translateY(-1px);
}

.dg-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dg-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.status-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-critical { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.badge-warning { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.badge-ok { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }

.dg-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.dg-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dg-metric-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.dg-staffing {
  margin-top: 12px;
}

.staffing-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.staffing-bar {
  width: 100%;
  height: 6px;
  background: var(--navy);
  border-radius: 3px;
  overflow: hidden;
}

.staffing-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

/* AI Panel */
.ai-panel {
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(212, 148, 10, 0.1) 0%, rgba(232, 114, 28, 0.05) 100%);
  border-bottom: 1px solid var(--navy-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
}

.ai-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(212, 148, 10, 0.12);
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.ai-body {
  padding: 20px;
}

.ai-summary {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.ai-summary strong {
  color: var(--text-primary);
}

.ai-zones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.ai-zone {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}

.ai-zone.critical {
  background: var(--red-bg);
  border-color: var(--red);
}

.ai-zone.warning {
  background: var(--yellow-bg);
  border-color: var(--yellow);
}

.zone-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.zone-detail {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.zone-detail strong {
  color: var(--text-primary);
}

.zone-action {
  font-size: 0.75rem;
  color: var(--gold);
  font-style: italic;
}

.ai-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--navy-border);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ai-confidence {
  color: var(--green);
  font-weight: 600;
}

/* ===== SCREEN 3: PERCEPTION VS REALITY ===== */
.perception-header {
  text-align: center;
  margin-bottom: 28px;
}

.perception-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.perception-header .vs {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.perception-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.perception-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.perception-col {
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 20px;
}

.col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy-border);
}

.news-header { color: var(--orange); }
.news-header svg { color: var(--orange); }

.data-header { color: var(--green); }
.data-header svg { color: var(--green); }

.col-subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  margin-top: 10px;
}

.col-subtitle strong {
  color: var(--gold);
}

/* News Headlines */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  padding: 14px;
  background: rgba(232, 114, 28, 0.04);
  border: 1px solid rgba(232, 114, 28, 0.12);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.news-item:hover {
  background: rgba(232, 114, 28, 0.08);
  border-color: rgba(232, 114, 28, 0.25);
}

.news-source {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.news-headline {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-date {
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* Data Reality */
.data-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.data-item {
  padding: 14px;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.data-item:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}

.data-source-tag {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.data-fact {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.data-metric {
  font-size: 0.72rem;
  font-weight: 700;
}

.data-metric.positive { color: var(--green); }
.data-metric.neutral { color: var(--yellow); }
.data-metric.negative { color: var(--red); }

/* Key Finding */
.key-finding {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(212, 148, 10, 0.06) 0%, rgba(232, 114, 28, 0.04) 100%);
  border: 1px solid rgba(212, 148, 10, 0.2);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.finding-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.finding-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.finding-content p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.finding-content strong {
  color: var(--text-primary);
}

/* Overestimation Bars */
.overestimation-bar-section {
  margin-bottom: 28px;
}

.overestimation-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
}

.obar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.obar-label {
  width: 160px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-shrink: 0;
  text-align: right;
}

.obar-track {
  flex: 1;
  height: 32px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.obar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: width 1.5s ease;
}

.perception-fill {
  background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
  color: white;
}

.reality-fill {
  background: linear-gradient(90deg, var(--green) 0%, #16a34a 100%);
  color: white;
}

/* Gap Analysis Cards */
.gap-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.gap-card {
  padding: 22px;
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.gap-card:hover {
  border-color: rgba(212, 148, 10, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.gap-card.confirm {
  border-color: var(--red-border);
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.gap-metric {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.gap-card.confirm .gap-metric {
  color: var(--red);
}

.gap-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.gap-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
#app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--navy-light);
  border-top: 1px solid var(--navy-border);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-sep {
  color: var(--navy-border);
}

/* ===== LEAFLET DARK THEME OVERRIDES ===== */
.leaflet-container {
  background: var(--navy) !important;
}

.leaflet-control-zoom a {
  background: var(--navy-light) !important;
  color: var(--text-primary) !important;
  border-color: var(--navy-border) !important;
}

.district-label {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.leaflet-popup-content-wrapper {
  background: var(--navy-light) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  border: 1px solid var(--navy-border) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}

.leaflet-popup-tip {
  background: var(--navy-light) !important;
}

.leaflet-popup-content {
  margin: 10px 14px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hotspot-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-container {
    min-height: 400px;
  }
  .hotspot-sidebar {
    max-height: 500px;
  }
  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .district-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #app-header {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  #tab-nav {
    padding: 0 12px;
    overflow-x: auto;
  }
  .tab-btn {
    padding: 10px 14px;
    font-size: 0.7rem;
    white-space: nowrap;
  }
  #main-content {
    padding: 16px;
  }
  .perception-columns {
    grid-template-columns: 1fr;
  }
  .gap-cards {
    grid-template-columns: 1fr;
  }
  .summary-cards {
    grid-template-columns: 1fr;
  }
  .district-grid {
    grid-template-columns: 1fr;
  }
}
