:root {
  --bg-primary: #0b0f19;
  --bg-header: #1e293b;
  --bg-secondary: #111827;
  --bg-tertiary: #162032;
  --bg-tertiary-hover: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #243248;
  --bg-elevated: #1a2438;
  --border-subtle: #1f293d;
  --border-highlight: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-emerald: #10b981;
  --accent-emerald-bg: rgba(16, 185, 129, 0.14);
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.14);
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --border-main: #1f293d;
  --border-color: #1f293d;
  --bg-hover: #1e293b;
  --border-focus: #818cf8;

  /* Map & Coverage Workspace Token Aliases */
  --bg: var(--bg-primary);
  --surface: var(--bg-card);
  --surface-alt: var(--bg-tertiary);
  --border: var(--border-highlight);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --accent: var(--accent-blue);
  --accent-dark: #0284c7;
  --strong: var(--accent-emerald);
  --fair: var(--accent-amber);
  --poor: #f97316;
  --none: #64748b;
  --radius: 12px;
}

html.light {
  --bg-primary: #f8fafc;
  --bg-header: #ffffff;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-elevated: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-highlight: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-tertiary: #f1f5f9;
  --bg-tertiary-hover: #e2e8f0;
  --accent-blue: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;
  --accent-emerald-bg: rgba(5, 150, 105, 0.12);
  --accent-amber: #d97706;
  --accent-amber-bg: rgba(217, 119, 6, 0.12);
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;
  --accent-cyan: #0891b2;
  --border-main: #e2e8f0;
  --border-color: #e2e8f0;
  --bg-hover: #e2e8f0;
  --border-focus: #4f46e5;

  --bg: var(--bg-primary);
  --surface: var(--bg-card);
  --surface-alt: var(--bg-elevated);
  --border: var(--border-highlight);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --accent: var(--accent-blue);
  --accent-dark: #0369a1;
  --strong: var(--accent-emerald);
  --fair: var(--accent-amber);
  --poor: #f97316;
  --none: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  padding-bottom: 48px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==================== TOP TELEMETRY BAR (DESKTOP) ==================== */
.telemetry-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5px 20px;
  font-size: 11.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 95;
}

.telemetry-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--text-secondary);
}

.telemetry-metrics-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.telemetry-status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  min-height: 22px;
}

.telemetry-status-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: help;
}

.telemetry-status .beta-tooltip {
  left: 0;
}

.telemetry-status .beta-tooltip::before {
  left: 22px;
}

.telemetry-audit {
  color: var(--text-muted);
  font-size: 11px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.telemetry-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 7px;
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-secondary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  cursor: help;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.telemetry-pill-wrap:hover .telemetry-pill,
.telemetry-pill-wrap:focus-within .telemetry-pill {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.telemetry-pill:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.telemetry-pill strong {
  color: var(--text-primary);
  font-weight: 700;
  margin-right: 4px;
}

.telemetry-tooltip .beta-tooltip-tag {
  color: var(--accent-indigo);
}

html.dark .telemetry-tooltip .beta-tooltip-tag {
  color: var(--accent-blue);
}

@media (max-width: 1024px) {
  .telemetry-pill {
    min-height: 32px;
    padding: 4px 10px;
  }
}

.header-disclosure {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  text-align: left;
}

.header-disclosure .disclosure-tag {
  color: var(--accent-indigo);
  font-weight: 700;
  letter-spacing: 0.01em;
}

html.dark .header-disclosure .disclosure-tag {
  color: #38bdf8;
}

.telemetry-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-wrap: wrap;
}

.telemetry-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.telemetry-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 1px 6px;
}

.telemetry-link:hover {
  color: var(--accent-indigo);
  text-decoration: underline;
}

.telemetry-theme-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0 10px;
  height: 30px;
  min-height: 30px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.telemetry-theme-btn:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

/* ==================== BETA PILL & TOOLTIP ==================== */
.beta-pill-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  vertical-align: middle;
}

.beta-pill-amber {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(234, 179, 8, 0.16);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.45);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, border-color 0.15s;
}

html.light .beta-pill-amber {
  background: rgba(234, 179, 8, 0.15);
  color: #a16207;
  border: 1px solid rgba(202, 138, 4, 0.4);
}

.beta-pill-wrap:hover .beta-pill-amber,
.beta-pill-wrap:focus-within .beta-pill-amber,
.beta-pill-wrap.active .beta-pill-amber {
  background: rgba(234, 179, 8, 0.28);
  border-color: #facc15;
}

html.light .beta-pill-wrap:hover .beta-pill-amber,
html.light .beta-pill-wrap:focus-within .beta-pill-amber,
html.light .beta-pill-wrap.active .beta-pill-amber {
  background: rgba(234, 179, 8, 0.25);
  border-color: #ca8a04;
}

.beta-warning-svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -1px;
}

.beta-tooltip {
  position: absolute;
  top: calc(100% + 7px);
  left: -10px;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.45;
  white-space: normal;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  text-align: left;
}

.beta-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 24px;
  width: 8px;
  height: 8px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-highlight);
  border-top: 1px solid var(--border-highlight);
  transform: rotate(45deg);
}

.beta-tooltip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--accent-amber);
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.beta-tooltip-text {
  color: var(--text-primary);
  font-size: 11px;
  line-height: 1.4;
}

.beta-tooltip-highlight {
  color: var(--text-secondary);
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.35;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5px;
}

.beta-pill-wrap:hover .beta-tooltip,
.beta-pill-wrap:focus-within .beta-tooltip,
.beta-pill-wrap.active .beta-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==================== MOBILE UNIFIED HEADER ==================== */
.mobile-unified-header,
.mobile-home-hero {
  display: none;
}

@media (max-width: 768px) {
  .telemetry-bar {
    display: none !important;
  }

  .desktop-header-wrap {
    display: none !important;
  }

  .site-header {
    border-bottom: none !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    display: block !important;
  }

  .mobile-unified-header {
    display: block;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    overflow: visible;
    position: relative;
    z-index: 90;
  }

  .mobile-header-toprow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    gap: 8px;
    min-height: 52px;
    position: relative;
    z-index: 3;
  }

  .mobile-brand-cluster {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
  }

  .mobile-brand-cluster .beta-pill-wrap {
    flex-shrink: 0;
  }

  .mobile-brand-cluster .beta-tooltip {
    left: -100px;
    width: min(280px, calc(100vw - 24px));
  }

  .mobile-brand-cluster .beta-tooltip::before {
    left: 118px;
  }

  .brand-group {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--text-primary);
    min-width: 0;
    min-height: 36px;
  }

  .brand-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu-pill {
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.38);
    background: rgba(99, 102, 241, 0.11);
    color: var(--accent-indigo);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .mobile-menu-pill[aria-expanded="true"] {
    background: var(--accent-indigo);
    border-color: var(--accent-indigo);
    color: #ffffff;
  }

  .mobile-nav-drawer {
    display: none;
    flex-direction: column;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 10px 12px 12px;
    gap: 6px;
  }

  .mobile-nav-drawer.open {
    display: flex;
  }

  .mobile-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
  }

  .mobile-drawer-link.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
    color: var(--accent-indigo);
    font-weight: 700;
  }

  .mobile-drawer-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
  }

  .mobile-drawer-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-drawer-util-btn {
    flex: 1;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .mobile-telemetry-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    font-size: 10.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: visible;
    position: relative;
    z-index: 2;
    gap: 8px;
  }

  .mobile-telemetry-strip .telemetry-status-link {
    min-height: 28px;
    color: var(--text-primary);
    font-weight: 600;
  }

  .mobile-telemetry-strip .beta-tooltip {
    left: 0;
    width: min(280px, calc(100vw - 24px));
  }

  .mobile-telemetry-strip .beta-tooltip::before {
    left: 22px;
  }

  .mobile-telemetry-strip strong {
    color: var(--text-primary);
    font-weight: 700;
  }

  .mobile-header-disclosure {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.35;
    padding: 6px 12px 8px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
  }

  .mobile-header-disclosure .disclosure-tag {
    color: var(--accent-indigo);
    font-weight: 700;
  }

  html.dark .mobile-header-disclosure .disclosure-tag {
    color: #38bdf8;
  }

  .mobile-home-hero {
    display: block;
    padding: 2px 2px 4px;
  }

  .header-4c-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.015em;
  }

  .header-4c-subtitle {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 4px 0 0;
    line-height: 1.45;
  }
}

/* ==================== MAIN CONTAINER & BRAND HERO ==================== */
.container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 7px 16px 40px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-wrap h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-title-link {
  color: inherit;
  text-decoration: none;
}

.brand-title-link:hover {
  color: var(--accent-blue);
}

.brand-tagline {
  font-weight: 500;
  font-size: 17px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-top: 2px;
}

.page-container {
  width: 100%;
  margin: 0 auto;
}

/* ==================== CONTROL DECK (INTEGRATED INTO MAP SHELL) ==================== */
.control-bar.control-deck {
  position: relative;
  z-index: 25;
  background: var(--bg-secondary);
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 8px 10px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 8px;
  align-items: center;
}

.zip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex: 1 1 220px;
  max-width: none;
  min-width: 0;
}

@media (min-width: 1080px) {
  .control-bar.control-deck {
    padding: 6px 10px;
    gap: 6px;
  }

  .control-bar.control-deck .zip-input-wrap {
    flex: 1 1 135px;
  }

  .control-bar.control-deck .zip-search-icon {
    left: 9px;
    width: 14px;
    height: 14px;
  }

  .control-bar.control-deck .zip-group input {
    min-height: 34px;
    height: 34px;
    padding: 5px 9px 5px 28px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .control-bar.control-deck .zip-group input::placeholder {
    font-size: 0.77rem;
  }

  .control-bar.control-deck .btn {
    min-height: 34px;
    padding: 4px 9px;
    font-size: 0.79rem;
    border-radius: 7px;
  }

  .control-bar.control-deck .action-buttons {
    gap: 5px;
  }

  .control-bar.control-deck .segmented-control {
    padding: 2px;
    gap: 2px;
    border-radius: 8px;
  }

  .control-bar.control-deck .segmented-btn {
    min-height: 28px;
    padding: 3px 9px;
    font-size: 0.77rem;
    border-radius: 6px;
  }

  .control-bar.control-deck .draw-toolbar {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 8px;
  }

  .control-bar.control-deck .draw-tools-group {
    flex-wrap: nowrap;
    gap: 4px;
    flex-shrink: 0;
  }

  .control-bar.control-deck .draw-status {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .control-bar.control-deck .draw-actions {
    flex-wrap: nowrap;
    gap: 4px;
    flex-shrink: 0;
  }

  .control-bar.control-deck .draw-toolbar .btn-sm {
    min-height: 28px;
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 6px;
  }
}

.zip-search-pill,
.action-util-group {
  display: contents;
}

.btn-mob-icon,
.btn-mob-show {
  display: none;
}

.zip-input-wrap {
  position: relative;
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 700px) and (max-width: 1079px) {
  .control-bar.control-deck {
    padding: 6px 10px;
    gap: 6px;
  }

  .control-bar.control-deck .zip-group input {
    min-height: 36px;
    height: 36px;
    padding: 5px 10px 5px 32px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .control-bar.control-deck .btn {
    min-height: 36px;
    padding: 5px 10px;
    font-size: 0.81rem;
    border-radius: 8px;
  }

  .control-bar.control-deck .segmented-control {
    padding: 2px;
    gap: 2px;
    border-radius: 9px;
  }

  .control-bar.control-deck .segmented-btn {
    min-height: 32px;
    padding: 3px 10px;
    font-size: 0.8rem;
    border-radius: 7px;
  }
}

@media (max-width: 699px) {
  .control-bar.control-deck {
    padding: 5px 8px;
    gap: 4px;
  }

  .control-row-actions {
    gap: 4px;
  }

  .zip-group {
    flex: 1 1 100%;
    max-width: none;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .zip-search-pill {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 8px;
    padding: 1px 2px 1px 0;
    min-height: 36px;
    gap: 4px;
  }

  .zip-search-pill:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  }

  .zip-search-pill .zip-input-wrap {
    flex: 1 1 0;
    min-width: 0;
    position: static;
  }

  .zip-search-pill .zip-search-icon {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  .control-bar.control-deck .zip-search-pill input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    min-height: 32px;
    height: 32px;
    padding: 3px 6px 3px 28px;
    font-size: 0.84rem;
  }

  .control-bar.control-deck .zip-search-pill input::placeholder {
    font-size: 0.77rem;
  }

  .control-bar.control-deck .zip-search-pill .zip-go-btn {
    flex: 0 0 auto;
    min-height: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.79rem;
  }

  .control-bar.control-deck .zip-add-area-btn {
    flex: 0 0 auto;
    min-height: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 0.79rem;
    white-space: nowrap;
  }

  .btn-mob-show {
    display: inline;
  }

  .btn-mob-hide {
    display: none;
  }

  .btn-mob-icon {
    display: inline-flex;
    flex-shrink: 0;
    pointer-events: none;
  }

  .action-buttons {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .action-buttons .segmented-control {
    padding: 2px;
    gap: 2px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .action-buttons .segmented-btn {
    min-height: 32px;
    padding: 2px 10px;
    font-size: 0.79rem;
    border-radius: 6px;
    gap: 5px;
    display: inline-flex;
    align-items: center;
  }

  .action-util-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .control-bar.control-deck .btn-icon-mob {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #clearPinsBtn.btn-icon-mob {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
  }
}

.zip-search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  opacity: 0.7;
  pointer-events: none;
}

.zip-group input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border-highlight);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-card);
  color: var(--text-primary);
}

.zip-group input::placeholder {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.65;
}

.zip-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}

.zip-sugg-item {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.zip-sugg-item:hover,
.zip-sugg-item:focus-visible {
  background: var(--bg-elevated);
  outline: none;
}

.zip-sugg-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.zip-sugg-empty {
  padding: 9px 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.zip-group input:focus,
.select-wrap select:focus,
.pin-label-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-highlight);
  gap: 3px;
}

.segmented-btn {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 7px;
  border-color: transparent;
  background: transparent;
  color: var(--text-secondary);
}

.segmented-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.segmented-btn.is-active {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.45);
}

.scoring-layer-segmented .segmented-btn {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.78rem;
}

.scoring-layer-segmented .segmented-btn.is-active {
  background: var(--accent-indigo);
  color: #ffffff;
  border-color: transparent;
}

.map-style-wrap {
  position: relative;
}

.map-style-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 256px;
  max-width: calc(100vw - 32px);
  z-index: 60;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-style-popover[hidden] {
  display: none;
}

.map-style-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-style-close-btn {
  border: none;
  background: transparent;
  color: var(--accent-indigo);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  min-height: 32px;
}

.draw-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
}

.draw-toolbar[hidden] {
  display: none;
}

.draw-tools-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.draw-tool-btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.draw-tool-btn.is-active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-dark);
}

.draw-status {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.draw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.select-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.select-wrap span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.select-wrap select {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn[hidden] {
  display: none;
}

.btn-sm {
  min-height: 38px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.btn-xs {
  min-height: 38px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--accent-indigo);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.btn-secondary:hover {
  background: var(--bg-tertiary-hover);
}

@keyframes add-area-border-flash {
  0%, 100% {
    border-color: var(--border-highlight);
    box-shadow: none;
  }
  40%, 60% {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 2.5px rgba(79, 70, 229, 0.36);
  }
}

.btn-secondary.is-flash-ready {
  animation: add-area-border-flash 0.52s ease-in-out 10;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-highlight);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.btn-toggle {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.btn-toggle.is-active {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.status-banner {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.status-banner::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==================== SPLIT WORKSPACE (MAP ON LEFT, RESULTS ON RIGHT) ==================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 1080px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    align-items: start;
  }

  .map-column {
    order: 1;
    position: sticky;
    top: 16px;
  }

  .panel-column {
    order: 2;
  }
}

.map-column,
.panel-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-shell {
  border-radius: var(--radius);
  overflow: visible;
  border: 1px solid var(--border-highlight);
  background: var(--bg-secondary);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.map-frame {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 340px;
  max-height: 560px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

@media (min-width: 1080px) {
  .map-frame {
    height: 660px;
    max-height: 78vh;
  }
}

.map-canvas {
  width: 100%;
  height: 100%;
}

.map-overlay-bar {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 56px);
  z-index: 8;
  display: inline-flex;
  align-items: center;
}

.overlay-pill-group {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

html.dark .overlay-pill-group {
  background: rgba(17, 24, 39, 0.9);
}

.overlay-pill-btn {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.overlay-pill-btn:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.overlay-pill-btn.is-active {
  background: var(--accent-indigo);
  color: #ffffff;
}

.regional-overlay-wrap {
  position: relative;
}

.regional-overlay-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  z-index: 30;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.regional-overlay-menu[hidden] {
  display: none;
}

.regional-overlay-item {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.regional-overlay-item:hover {
  background: var(--bg-elevated);
}

.regional-overlay-item.is-active {
  background: var(--accent-indigo);
  color: #ffffff;
}

.overlay-select-pill {
  display: inline-flex;
  width: auto;
  min-height: 34px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 9px;
  border: 1px solid var(--border-highlight);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

html.dark .overlay-select-pill {
  background: rgba(17, 24, 39, 0.92);
}

@media (min-width: 700px) {
  .overlay-pill-group {
    display: inline-flex;
  }

  .overlay-select-pill {
    display: none;
  }
}

.map-radius-hud {
  position: absolute;
  top: 56px;
  left: 10px;
  z-index: 6;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
}

.map-legend {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.78rem;
  color: var(--text-secondary);
  overflow: hidden;
}

.map-legend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 7px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s ease;
}

.map-legend-summary:hover {
  background: var(--bg-tertiary);
}

.map-legend-summary::-webkit-details-marker {
  display: none;
}

.map-legend-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.map-legend-toggle-icon::before {
  content: '+';
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
}

.map-legend[open] .map-legend-summary {
  border-bottom: 1px solid var(--border-subtle);
}

.map-legend[open] .map-legend-toggle-icon::before {
  content: '−';
}

.map-legend-body {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1080px) {
  .map-legend-summary {
    cursor: default;
    min-height: 0;
    user-select: text;
  }

  .map-legend-summary:hover {
    background: transparent;
  }

  .map-legend-toggle-pill {
    display: none;
  }
}

.map-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.map-legend-tip {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  line-height: 1.4;
}

.map-legend-tip strong {
  color: var(--text-primary);
}

.legend-title {
  font-weight: 700;
  color: var(--text-primary);
}

.leg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.sw-5 { background: #124391; }
.sw-4 { background: #1d5bb8; }
.sw-3 { background: #3b82f6; }
.sw-2 { background: #7cc0f8; }
.sw-1 { background: #bae6fd; }

/* ==================== SIGNAL BARS & CARDS ==================== */
.signal-meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  margin: 4px 0 2px;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
}

.signal-bars .sbar {
  width: 4px;
  border-radius: 1.5px;
  background: var(--border-highlight);
}

.signal-bars .sbar.h1 { height: 5px; }
.signal-bars .sbar.h2 { height: 8px; }
.signal-bars .sbar.h3 { height: 11px; }
.signal-bars .sbar.h4 { height: 14px; }
.signal-bars .sbar.h5 { height: 18px; }

.signal-bars.tier-strong .sbar.is-on { background: var(--accent-emerald); }
.signal-bars.tier-fair .sbar.is-on { background: var(--accent-amber); }
.signal-bars.tier-poor .sbar.is-on { background: #f97316; }
.signal-bars.tier-none .sbar.is-on { background: var(--text-muted); }

.signal-score-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-gauge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 2px;
}

.score-track {
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-highlight);
  overflow: hidden;
  flex-shrink: 0;
}

.score-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.score-fill.tier-strong { background: var(--accent-emerald); }
.score-fill.tier-fair { background: var(--accent-amber); }
.score-fill.tier-poor { background: #f97316; }
.score-fill.tier-none { background: var(--text-muted); }

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.winner-card {
  border-left: 4px solid var(--accent-indigo);
}

.scoring-controls-row {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.scoring-controls-row .segmented-control {
  padding: 2px;
  gap: 2px;
}

.scoring-layer-segmented .segmented-btn {
  min-height: 32px;
  padding: 4px 5px;
  font-size: 0.70rem;
  white-space: nowrap;
}

.rank-toggle-btn {
  min-height: 36px;
  padding: 4px 6px;
  font-size: 0.70rem;
  white-space: nowrap;
}

.area-weight-segmented[hidden] {
  display: none;
}

.area-weight-segmented .segmented-btn {
  min-height: 32px;
  padding: 4px 5px;
  font-size: 0.70rem;
  white-space: nowrap;
}

@media (max-width: 1079px) {
  .scoring-layer-segmented .segmented-btn,
  .area-weight-segmented .segmented-btn {
    min-height: 36px;
  }
}

.area-weight-segmented .segmented-btn.is-active {
  background: var(--accent-indigo);
  color: #ffffff;
  border-color: transparent;
}

.scoring-explain {
  margin-top: 10px;
  padding: 9px 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.scoring-explain strong {
  color: var(--text-primary);
}

.winner-next-step {
  margin-top: 10px;
  padding: 9px 11px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

html.dark .winner-next-step {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.3);
}

.winner-next-step-text {
  flex: 1 1 220px;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.winner-next-step-text strong {
  color: var(--text-primary);
}

.winner-next-step-btn {
  text-decoration: none;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .winner-next-step-btn {
    width: 100%;
  }
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-neutral { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.pill-strong { background: #d1fae5; color: #065f46; }
.pill-good { background: #e0f2fe; color: #0369a1; }
.pill-fair { background: #fef3c7; color: #92400e; }
.pill-poor { background: #ffedd5; color: #9a3412; }
.pill-none { background: #e2e8f0; color: #475569; }

html.dark .pill-strong { background: rgba(16, 185, 129, 0.18); color: #34d399; }
html.dark .pill-good { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
html.dark .pill-fair { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
html.dark .pill-poor { background: rgba(249, 115, 22, 0.18); color: #fb923c; }
html.dark .pill-none { background: rgba(100, 116, 139, 0.22); color: #94a3b8; }

.empty-state {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.restore-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 479px) {
  .winner-grid.winner-grid--lead-span,
  .winner-grid.winner-grid--third-span {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .winner-grid.winner-grid--lead-span > .net-score-box:first-child,
  .winner-grid.winner-grid--third-span > .net-score-box:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
  }

  .winner-grid.winner-grid--lead-span > .net-score-box:first-child > :nth-child(2),
  .winner-grid.winner-grid--third-span > .net-score-box:nth-child(3) > :nth-child(2) {
    margin: 0;
  }

  .winner-grid.winner-grid--lead-span > .net-score-box:first-child > :nth-child(3),
  .winner-grid.winner-grid--third-span > .net-score-box:nth-child(3) > :nth-child(3) {
    justify-self: end;
  }

  .winner-grid.winner-grid--lead-span > .net-score-box:first-child > .cell-tier-alt,
  .winner-grid.winner-grid--lead-span > .net-score-box:first-child > .cell-meta,
  .winner-grid.winner-grid--third-span > .net-score-box:nth-child(3) > .cell-tier-alt,
  .winner-grid.winner-grid--third-span > .net-score-box:nth-child(3) > .cell-meta {
    grid-column: 1 / -1;
  }
}

.net-score-box {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--bg-elevated);
}

.net-score-box.is-winner {
  background: var(--accent-emerald-bg);
  border-color: var(--accent-emerald);
}

.pin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pin-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-elevated);
}

.location-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.location-carriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 8px;
  width: 100%;
  padding-top: 9px;
  border-top: 1px solid var(--border-subtle);
}

.location-carrier-cell {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 9px;
  background: var(--bg-card);
  min-width: 0;
}

.location-carrier-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.location-outside-note {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pin-badge {
  min-width: 28px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pin-badge.is-area {
  border-radius: 6px;
}

.pin-badge.is-area.is-swatch {
  width: 14px;
  min-width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
}

html.dark .pin-badge.is-area.is-swatch {
  border-color: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.22);
}

.pin-label-input {
  flex: 1 1 110px;
  min-width: 0;
  min-height: 38px;
  padding: 5px 8px;
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  font-size: 0.86rem;
  background: var(--bg-card);
  color: var(--text-primary);
}

.pin-coords {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.pin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.preset-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.matrix-table th,
.matrix-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.matrix-table th {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cell-tier-alt {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.cell-floor-warn {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 3px;
}

html.dark .cell-floor-warn {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.2);
}

.cell-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pin-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.45);
  cursor: grab;
  z-index: 2;
}

.area-label-marker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

html.dark .area-label-marker {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(248, 250, 252, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.area-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.92);
}

html.dark .area-label-dot {
  box-shadow: 0 0 0 1.5px rgba(15, 23, 42, 0.9);
}

.area-label-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 185px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.area-label-marker.is-compact {
  padding: 2px 7px 2px 5px;
  gap: 5px;
}

.area-label-marker.is-compact .area-label-name {
  font-size: 0.7rem;
  max-width: 135px;
}

/* ==================== LANDING SECTIONS BELOW FINDER ==================== */
.landing-section {
  margin-top: 36px;
}

.section-header {
  margin-bottom: 16px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 4px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--accent-indigo);
  font-size: 11px;
  font-weight: 700;
}

.step-card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.step-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 960px) {
  .verdict-grid {
    grid-template-columns: 1fr;
  }
}

.verdict-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

.verdict-card.goal-composite {
  border-top: 4px solid #0284c7;
}

.verdict-card.goal-fast {
  border-top: 4px solid var(--accent-indigo);
}

.verdict-card.goal-reliable {
  border-top: 4px solid var(--accent-emerald);
}

.verdict-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.verdict-card p,
.verdict-card li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.verdict-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
}

.formula-spec-card {
  margin-bottom: 20px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1024px) {
  .formula-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .formula-grid {
    grid-template-columns: 1fr;
  }
}

.formula-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.formula-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.formula-expr {
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 11.5px;
  line-height: 1.45;
  overflow-x: auto;
}

.formula-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.formula-example {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.formula-example strong {
  color: var(--text-primary);
}

.spec-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.spec-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

.spec-table th {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.spec-table th code {
  white-space: nowrap;
}

.spec-table .th-sub {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.spec-table td {
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  vertical-align: top;
  color: var(--text-secondary);
}

.spec-table td strong {
  color: var(--text-primary);
}

.landing-section code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 4px solid var(--accent-amber);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.warning-box strong {
  color: var(--accent-amber);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 820px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
}

.faq-card h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.faq-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ==================== CELLULARINDEX-STYLE 2-COLUMN FOOTER ==================== */
.site-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-brand {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-primary);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
  gap: 36px;
  max-width: 720px;
  margin: 20px auto 28px auto;
  text-align: left;
  box-sizing: border-box;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-details {
  width: 100%;
}

.footer-summary {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 6px 0;
  user-select: none;
}

.footer-summary::-webkit-details-marker {
  display: none;
}

.footer-summary::after {
  content: '+';
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  display: none;
}

.footer-details[open] .footer-summary::after {
  content: '−';
}

.footer-links {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.15s ease;
}

.footer-links li a:hover {
  color: var(--accent-indigo);
  text-decoration: underline;
}

.footer-links li.footer-static-item {
  color: var(--text-muted);
  font-size: 12.5px;
  padding: 4px 0;
}

.footer-disclaimer {
  max-width: 980px;
  margin: 24px auto 0 auto;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
}

.footer-disclaimer strong {
  color: var(--text-secondary);
}

.footer-disclaimer a {
  color: var(--accent-indigo);
  text-decoration: underline;
  display: inline-block;
  padding: 6px 2px;
}

@media (max-width: 960px) and (min-width: 641px) {
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .footer-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 14px auto 22px auto;
    padding: 0 12px;
    border-top: 1px solid var(--border-subtle);
  }

  .footer-col,
  .footer-accordion-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0;
  }

  .footer-summary {
    padding: 14px 4px;
    font-size: 13.5px;
  }

  .footer-summary::after {
    display: inline-block;
  }

  .footer-links {
    padding: 4px 0 16px 12px;
    gap: 8px;
  }

  .footer-links li a {
    min-height: 36px;
  }

  .footer-brand {
    font-size: 12px;
    padding: 0 12px;
  }

  .footer-disclaimer {
    margin: 20px 0 0 0;
  }
}

/* ==================== SUBPAGES (ABOUT / PRIVACY / TERMS) ==================== */
.subpage-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px 64px;
}

.breadcrumb-trail {
  margin-bottom: 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-trail a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-width: 34px;
  min-height: 32px;
  transition: color 0.15s ease;
}

.breadcrumb-trail a:hover {
  color: var(--accent-indigo);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--border-highlight);
  font-weight: 700;
}

.breadcrumb-current {
  color: var(--accent-indigo);
  font-weight: 600;
}

.brand-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-hero .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  overflow: hidden;
}

.brand-hero .brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.brand-hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-top: 3px;
}

.btn-return-matrix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  padding: 8px 14px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-return-matrix span {
  color: var(--accent-indigo);
  font-weight: 800;
}

.btn-return-matrix:hover {
  background: var(--bg-card);
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-1px);
}

.page-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3.5px solid var(--accent-blue);
  border-radius: 14px;
  padding: 32px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-blue { background: rgba(56, 189, 248, 0.12); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-emerald { background: rgba(16, 185, 129, 0.12); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-purple { background: rgba(168, 85, 247, 0.12); color: var(--accent-purple); border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.3); }

.page-hero h1,
.page-hero h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.page-hero p.lead {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 960px;
  margin: 0;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

html.light .content-card {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.about-hero-card {
  border-top: 3.5px solid var(--accent-indigo);
}

.content-card h2 {
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--accent-indigo);
}

.content-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 14px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card ul,
.content-card ol {
  margin-left: 22px;
  margin-top: 0;
  margin-bottom: 14px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.content-card li {
  margin-bottom: 8px;
}

a.text-link {
  color: var(--accent-indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 4px 0;
}

a.text-link:hover {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout-box {
  background: var(--bg-elevated);
  border-left: 4px solid var(--accent-indigo);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.callout-box strong {
  color: var(--text-primary);
}

.contact-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.contact-box h3 {
  color: var(--accent-emerald) !important;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-email-link {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent-emerald) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  padding: 6px 0;
}

@media (max-width: 768px) {
  .subpage-container {
    padding: 8px 14px 48px;
  }

  .brand-hero h1 {
    font-size: 22px;
  }

  .brand-hero .brand-title-row {
    position: relative;
  }

  .brand-hero .beta-pill-wrap {
    position: static;
  }

  .brand-hero .beta-tooltip {
    left: 0;
    width: min(280px, calc(100vw - 28px));
  }

  .brand-hero .beta-tooltip::before {
    display: none;
  }

  .content-card {
    padding: 20px 18px;
  }

  .page-hero {
    padding: 24px 20px;
  }

  .page-hero h1,
  .page-hero h2 {
    font-size: 22px;
  }
}
