/* --- Map Expand Button & In-Page Expansion --- */
.map-expand-btn {
  /* Sized and styled to match .leaflet-bar a — the container provides shadow + border-radius */
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  color: #2c2c2c;
  cursor: pointer;
  transition: background 0.15s ease;
}

.map-expand-btn:first-child {
  border-radius: 4px 4px 0 0;
}

.map-expand-btn:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

.map-expand-btn:only-child {
  border-bottom: none;
  border-radius: 4px;
}

.map-expand-btn svg {
  width: 18px;
  height: 18px;
}

.map-expand-btn:hover,
.map-expand-btn:focus {
  background: #f4f4f4;
}

.map-expand-btn:focus-visible {
  outline: 2px solid rgba(56, 132, 255, 0.55);
  outline-offset: 1px;
}

.station-map-refresh-control {
  margin-top: 6px;
}

.station-map-refresh-control-hidden {
  display: none;
}

.station-map-refresh-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(10px);
  color: #dbe7f5;
}

.station-map-refresh-spinner {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #2dd4bf;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.station-map-refresh-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

#map-card.map-card-expanded {
  animation: map-fade-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.module-grid.map-layout-expanded {
  grid-template-columns: 1fr;
}

.module-grid.map-layout-expanded .module-map-col,
.module-grid.map-layout-expanded .module-table-col {
  grid-column: 1 / -1;
}

#map-card.map-card-expanded #leaflet-map {
  height: clamp(420px, 68vh, 820px);
}

#map-card.map-card-expanded .map-header {
  border-bottom-color: rgba(154, 178, 213, 0.14);
}

@keyframes map-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#map-card.map-card-expanded .map-expand-btn {
  background: #f4f4f4;
  border-color: #b8b8b8;
  color: #1f2937;
}

#map-card.map-card-expanded .map-expand-btn:hover,
#map-card.map-card-expanded .map-expand-btn:focus {
  background: #ebebeb;
}

@media (max-width: 960px) {
  #map-card.map-card-expanded #leaflet-map {
    height: clamp(360px, 62vh, 680px);
  }
}
/* --- Station Finder Legal Note --- */
.station-finder-legal-note {
  margin-top: 0.2rem;
}
.station-finder-legal-note small {
  font-size: 11px;
  color: #64748b;
  line-height: 1.32;
  display: block;
  text-align: center;
}
.station-finder-legal-note a {
  color: #64748b;
  text-decoration: underline;
  transition: color 0.18s;
}
.station-finder-legal-note a:hover {
  color: #0f766e;
}
/* Align hero CTA and freshness note perfectly */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-cta {
  margin: 0 !important;
}
.hero-live-note {
  margin: 0 !important;
  min-height: 46px;
}
/* --- Station Finder Modal --- */
.station-finder-modal-backdrop {
  z-index: 1000;
}

.station-finder-modal-shell {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: min(92vh, 860px);
  overflow: hidden;
}
.station-finder-modal-shell[hidden],
.station-finder-state-input[hidden],
.station-finder-state-result[hidden],
.station-finder-modal-backdrop[hidden] {
  display: none !important;
}
.station-finder-modal-open {
  overflow: hidden;
}
.station-finder-state-input,
.station-finder-state-result {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 0;
}

.station-finder-state-result {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.station-finder-modal-kicker {
  align-self: center;
}
.station-finder-modal-title {
  text-align: center;
  line-height: 0.98;
}
.station-finder-modal-copy {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 0.98rem;
}
.station-finder-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.station-finder-modal-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.station-finder-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.station-finder-input-wrap {
  position: relative;
}
.station-finder-modal-input {
  width: 100%;
}
.station-finder-modal-input:focus {
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}
.station-finder-modal-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: stretch;
}
.station-finder-modal-search {
  flex: 1 1 0;
  min-width: 0;
}
.station-finder-modal-geolocate {
  flex: 1 1 0;
  min-width: 0;
}
.station-finder-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: rgba(11, 18, 32, 0.98);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  max-height: 220px;
  overflow-y: auto;
  margin-top: -0.3rem;
  font-size: 1rem;
  color: #f4f8ff;
}
.station-finder-autocomplete[hidden] {
  display: none !important;
}
.station-finder-autocomplete-item,
.station-finder-autocomplete-empty {
  width: 100%;
  padding: 0.8rem 1rem;
  transition: background 0.14s;
}

.station-finder-autocomplete-item {
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 0.2rem;
  font: inherit;
  color: inherit;
}

.station-finder-autocomplete-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f4f8ff;
}

.station-finder-autocomplete-subtitle {
  font-size: 0.85rem;
  color: #aeb9cc;
  line-height: 1.45;
}

.station-finder-autocomplete-empty {
  color: #aeb9cc;
}

.station-finder-autocomplete-item:hover,
.station-finder-autocomplete-item.active {
  background: rgba(255, 255, 255, 0.06);
}
.station-finder-recent-searches {
  display: grid;
  gap: 0.75rem;
}
.station-finder-recent-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.station-finder-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.station-finder-recent-chip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f8ff;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.station-finder-recent-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.pop-in {
  animation: pop 0.25s ease;
}

@keyframes pop {
  0% { transform: scale(0.97); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.station-finder-loading-state,
.station-finder-empty-state {
  min-height: 260px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, rgba(248,250,252,0.94), rgba(255,255,255,0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: #475569;
  text-align: center;
  padding: 2rem;
}

.station-finder-loading-state-location {
  gap: 0.9rem;
}

.station-finder-status-orb {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.28), rgba(15, 23, 42, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 36px rgba(15, 23, 42, 0.12);
}

.station-finder-status-orb::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  animation: station-finder-locate-pulse 1.9s ease-out infinite;
}

.station-finder-status-core {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2dd4bf, #0f766e);
  box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.14);
}

@keyframes station-finder-locate-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.68;
  }

  70% {
    transform: scale(1.06);
    opacity: 0;
  }

  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

.station-finder-loading-title,
.station-finder-empty-title {
  color: #0f172a;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 700;
}

.station-finder-loading-copy,
.station-finder-empty-copy {
  max-width: 24rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.58;
}

.station-finder-empty-meta {
  max-width: 24rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.station-finder-empty-actions {
  width: min(100%, 270px);
  display: grid;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.station-finder-empty-actions .station-finder-search-link {
  justify-self: center;
}

.station-finder-result-card {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  max-height: 100%;
  overflow-y: auto;
}

.station-finder-result-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.station-finder-result-context {
  display: grid;
  gap: 0.25rem;
}

.station-finder-result-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f766e;
}

.station-finder-result-location-title {
  color: #0f172a;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 700;
}

.station-finder-result-location-subtitle {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.station-finder-result-edit {
  border: none;
  background: transparent;
  color: #0f766e;
  font-weight: 800;
  font: inherit;
  cursor: pointer;
  padding: 0.15rem 0;
}

.station-finder-price-block {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
  color: #f8fafc;
  padding: 1.05rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.station-finder-price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.station-finder-result-price {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.station-finder-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1fae5;
  font-size: 11px;
  font-weight: 800;
}

.station-finder-live-pill-recent {
  color: #fde68a;
}

.station-finder-live-pill-old {
  color: #fdba74;
}

.station-finder-live-pill-unknown {
  color: #cbd5e1;
}

.station-finder-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2dd4bf;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
  animation: live-pulse 1.8s ease-out infinite;
}

.station-finder-live-pill-recent .station-finder-live-dot {
  background: #f59e0b;
  box-shadow: none;
  animation: none;
}

.station-finder-live-pill-old .station-finder-live-dot {
  background: #f97316;
  box-shadow: none;
  animation: none;
}

.station-finder-live-pill-unknown .station-finder-live-dot {
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.42); }
  70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.station-finder-savings {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #99f6e4;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.92;
}

.station-finder-dataset-warning {
  margin-top: 0.85rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 12px;
  line-height: 1.45;
}

.station-finder-result-station {
  color: #0f172a;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
  font-weight: 700;
}

.station-finder-result-address {
  color: #475569;
  font-size: 1rem;
  line-height: 1.55;
}

.station-finder-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.station-finder-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.station-finder-result-actions .station-finder-action-btn-primary {
  grid-column: 1 / -1;
  border: 1px solid rgba(14, 116, 144, 0.26);
  background: linear-gradient(135deg, #0f766e, #115e59 56%, #0b3b53);
  color: #ecfeff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.station-finder-result-actions .station-finder-action-btn-primary:hover {
  border-color: rgba(15, 118, 110, 0.55);
  background: linear-gradient(135deg, #0f766e, #0f5f66 58%, #0b2f4d);
  color: #f0fdfa;
}

.station-finder-result-actions .station-finder-action-btn {
  min-width: 0;
  border-color: #d6deea;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  opacity: 1;
}

.station-finder-result-actions .station-finder-action-btn:hover {
  border-color: #9fb3c8;
  background: #ffffff;
  color: #0f172a;
}

.station-finder-conversion-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(255, 255, 255, 0.98));
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.station-finder-conv-title {
  color: #0f172a;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 700;
}

.station-finder-conv-desc {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
}

.station-finder-conv-button {
  margin-top: 0.25rem;
  width: 100%;
}

/* Value hierarchy panel — calmer than the result card; reads as a quiet
   "what comes next" rather than a second hero. */
.station-finder-value-panel {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #ffffff;
  padding: 0.9rem 0.95rem 0.95rem;
  display: grid;
  gap: 0.7rem;
}

.station-finder-value-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
}

.station-finder-value-watch {
  margin: 0;
  color: #0F172A;
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 600;
}

.station-finder-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.station-finder-value-list > li {
  margin: 0;
}

.station-finder-value-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid transparent;
  text-align: left;
  color: #0F172A;
  font: inherit;
  cursor: default;
}

.station-finder-value-row-action {
  cursor: pointer;
  background: #F8FAFC;
  border-color: #E2E8F0;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.station-finder-value-row-action:hover,
.station-finder-value-row-action:focus-visible {
  background: #EFF6FF;
  border-color: #BFDBFE;
  outline: none;
}

.station-finder-value-row-action:active {
  transform: translateY(1px);
}

.station-finder-value-row-found {
  background: #ECFDF5;
}

.station-finder-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
  color: #1D4ED8;
}

.station-finder-value-row-found .station-finder-value-icon {
  background: rgba(4, 120, 87, 0.1);
  color: #047857;
}

.station-finder-value-text {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.station-finder-value-title {
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0F172A;
}

.station-finder-value-body {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #64748B;
}

.station-finder-value-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}

.station-finder-value-cta {
  width: 100%;
  margin-top: 0.15rem;
}

.station-finder-result-footer {
  display: flex;
  justify-content: flex-start;
}

.station-finder-search-again {
  border-color: #dbe4ef;
  background: #f8fafc;
  color: #0f172a;
}

.station-finder-empty-state .station-finder-search-again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.station-finder-empty-state .station-finder-search-again:hover,
.station-finder-empty-state .station-finder-search-again:focus-visible {
  border-color: #94a3b8;
  background: #ffffff;
  color: #020617;
}

.station-finder-search-link {
  border: none;
  background: transparent;
  color: #0f766e;
  font: inherit;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
}

.station-finder-spinner {
  border-top-color: #14b8a6;
}

@media (max-width: 600px) {
  .station-finder-modal-shell {
    padding: 0.85rem 0.45rem 0.85rem 0.45rem;
    max-width: 100vw;
    max-height: 100vh;
  }

  .station-finder-price-head,
  .station-finder-result-topline,
  .station-finder-modal-actions,
  .station-finder-result-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .station-finder-price-head {
    gap: 0.75rem;
  }

  .station-finder-result-card {
    border-radius: 22px;
    padding: 1rem;
    gap: 0.8rem;
  }

  .station-finder-result-location-title {
    font-size: 1rem;
  }

  .station-finder-result-location-subtitle {
    font-size: 0.78rem;
  }

  .station-finder-price-block {
    border-radius: 20px;
    padding: 0.9rem;
  }

  .station-finder-result-price {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .station-finder-live-pill {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  .station-finder-savings {
    margin-top: 0.65rem;
    font-size: 12px;
  }

  .station-finder-result-station {
    font-size: 1.08rem;
  }

  .station-finder-result-address {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .station-finder-result-meta {
    gap: 0.45rem 0.8rem;
    font-size: 12px;
  }

  .station-finder-result-actions {
    gap: 0.55rem;
  }

  .station-finder-result-actions .station-finder-action-btn,
  .station-finder-conv-button {
    min-height: 42px;
    padding: 0 16px;
  }

  .station-finder-conversion-card {
    border-radius: 20px;
    padding: 0.85rem;
    gap: 0.55rem;
  }

  .station-finder-conv-title {
    font-size: 1.02rem;
  }

  .station-finder-conv-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .station-finder-value-panel {
    padding: 0.8rem 0.85rem 0.9rem;
    gap: 0.6rem;
  }

  .station-finder-value-watch {
    font-size: 0.92rem;
  }

  .station-finder-value-row {
    padding: 0.5rem 0.55rem;
  }

  .station-finder-value-title {
    font-size: 0.86rem;
  }

  .station-finder-value-body {
    font-size: 0.76rem;
  }

  .station-finder-result-footer {
    padding-top: 0.1rem;
  }

  .station-finder-state-result {
    padding-right: 2px;
  }
}

@media (max-width: 420px) {
  .station-finder-modal-close {
    width: 36px;
    height: 36px;
  }

  .station-finder-loading-state,
  .station-finder-empty-state {
    min-height: 220px;
    padding: 1.25rem;
  }

  .station-finder-result-card {
    padding: 0.9rem;
  }

  .station-finder-price-block {
    padding: 0.8rem 0.85rem;
  }

  .station-finder-result-price {
    font-size: clamp(1.75rem, 10vw, 2.3rem);
  }

  .station-finder-modal-copy,
  .station-finder-conv-desc,
  .station-finder-result-address {
    font-size: 0.88rem;
  }

  .station-finder-search-link {
    font-size: 0.95rem;
  }
}

/* --- Local fallback tokens so the page still looks decent if base styles differ --- */
:root {
  --bg: #07111f;
  --surface: rgba(10, 20, 37, 0.84);
  --surface-2: rgba(14, 27, 48, 0.78);
  --text: #eef4ff;
  --muted: #a7b7d4;
  --soft: #7f93b6;
  --border: rgba(154, 178, 213, 0.12);
  --accent: #2dd4bf;
  --radius-xl: 28px;
  --radius-lg: 22px;
}
html, body {
  background:
    radial-gradient(circle at 18% 12%, rgba(25, 79, 196, 0.20), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(45, 212, 191, 0.08), transparent 20%),
    linear-gradient(180deg, #050c18 0%, #081325 48%, #091629 100%);
  color: var(--text);
}
body.explorer-page {
  min-height: 100vh;
  position: relative;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar .container {
  width: min(1120px, calc(100% - 40px));
}
.footer-stack {
  display: grid;
  gap: 14px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 2px;
}
.footer a { text-decoration: none; color: inherit; }
.btn {
  font: inherit; border: 1px solid rgba(154, 178, 213, 0.16); color: var(--text);
  background: rgba(255,255,255,0.04); border-radius: 999px; cursor: pointer;
}
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; text-decoration:none; font-weight:700; }
.btn-primary { background: linear-gradient(to bottom, #2dd4bf, #14b8a6); color: #022a34; border-color: transparent; box-shadow: 0 6px 20px rgba(45, 212, 191, 0.25); cursor: pointer; }
.btn-secondary { background: rgba(255,255,255,0.04); }
.card {
  border-radius: 24px;
  border: 1px solid rgba(154, 178, 213, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), rgba(9, 20, 37, 0.82);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.live-note {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.14); background: rgba(7, 27, 31, 0.72);
  color: #c7fff7; font-size: 12px; font-weight: 700;
}
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: #2dd4bf; box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.12); }
.section-heading { margin-bottom: 20px; }
.section-title { margin: 0; font-family: 'Sora', 'Segoe UI', sans-serif; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; }
.section-subtitle { margin: 8px 0 0; color: var(--muted); max-width: 760px; line-height: 1.6; }
.footer { padding: 28px 0 40px; border-top: 1px solid rgba(154, 178, 213, 0.08); }
.footer-left, .footer-center, .footer-bottom { color: var(--soft); font-size: 13px; }
.footer-left {
  color: rgba(234, 242, 255, 0.92);
  font-weight: 700;
  max-width: 48ch;
  text-wrap: balance;
}
.footer-center { text-align: right; }
.footer-origin {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
}
.footer-origin-label {
  color: rgba(198, 206, 220, 0.76);
  font-size: 12px;
  font-weight: 600;
}
.footer-bottom {
  color: rgba(198, 206, 220, 0.72);
  font-size: 12px;
}
.explorer-footnote {
  margin-top: 10px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.6;
}
@media (max-width: 820px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .footer-stack { justify-items: center; text-align: center; }
  .footer-top { flex-direction: column; justify-content: center; text-align: center; }
  .footer-center { text-align: center; }
  .footer-origin { justify-content: center; }
  .footer-bottom { justify-content: center; }
  .nav { flex-wrap: wrap; }
}


/* ============================================================
   Explorer page — landing-integrated styles
   ============================================================ */

:root {
  --explorer-surface: rgba(8, 19, 39, 0.72);
  --explorer-surface-strong: rgba(8, 19, 39, 0.9);
  --explorer-border: rgba(154, 178, 213, 0.12);
  --explorer-border-strong: rgba(154, 178, 213, 0.22);
  --explorer-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --explorer-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.2);
  --explorer-accent: #2dd4bf;
  --explorer-accent-soft: rgba(45, 212, 191, 0.16);
  --sticky-install-reserved-space: 0px;
}

html {
  scroll-behavior: smooth;
}

body.explorer-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 14%, rgba(31, 106, 255, 0.18), transparent 24%),
    radial-gradient(circle at 78% 16%, rgba(45, 212, 191, 0.12), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #091428 42%, #081121 100%);
}

.explorer-page-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.4;
  z-index: 0;
}

.explorer-page-glow-a {
  width: 360px;
  height: 360px;
  top: 110px;
  left: -120px;
  background: rgba(45, 212, 191, 0.12);
}

.explorer-page-glow-b {
  width: 400px;
  height: 400px;
  top: 280px;
  right: -120px;
  background: rgba(56, 189, 248, 0.12);
}

.explorer-main,
.explorer-footer {
  position: relative;
  z-index: 1;
}

.nav-active {
  color: #fff !important;
  position: relative;
}

.nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.7), rgba(56, 189, 248, 0.85));
}

.explorer-main {
  min-height: 100vh;
}

.national-price-overview {
  padding: 28px 0 0;
}

.national-price-overview[hidden] {
  display: none;
}

.national-price-card {
  padding: clamp(22px, 4vw, 36px);
}

.national-price-heading,
.national-price-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.national-price-heading h2 {
  margin: 5px 0 8px;
  color: var(--workspace-text);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.national-price-heading p,
.national-price-note p {
  max-width: 700px;
  margin: 0;
  color: var(--workspace-muted);
  line-height: 1.65;
}

.national-price-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e8f7f3;
  color: #087e75;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.national-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.national-price-grid > div {
  min-width: 0;
  border-radius: 17px;
  background: var(--workspace-surface-muted);
  padding: 17px;
}

.national-price-grid span {
  display: block;
  color: var(--workspace-muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.national-price-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--workspace-text);
  font-size: clamp(1rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
}

.national-price-note {
  align-items: center;
  margin-top: 18px;
  border-top: 1px solid var(--workspace-border);
  padding-top: 18px;
}

html[data-market-data-model='national'] .explorer-search,
html[data-market-data-model='national'] #summary-strip,
html[data-market-data-model='national'] .explorer-module,
html[data-market-data-model='national'] .comparison-section,
html[data-market-data-model='national'] .savings-section,
html[data-market-data-model='national'] #station-finder-modal-backdrop,
html[data-market-data-model='national'] .control-group:has([data-ctrl='geo']),
html[data-market-data-model='national'] .control-group:has([data-ctrl='period']),
html[data-market-data-model='national'] .control-group:has([data-ctrl='metric']) {
  display: none !important;
}

html[data-market-data-model='national'] .explorer-controls-bar {
  position: static;
}

html[data-market-data-model='national'] .controls-row {
  justify-content: flex-start;
}

html[data-market-data-model='national'] .explorer-trend {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .national-price-heading,
  .national-price-note {
    align-items: stretch;
    flex-direction: column;
  }

  .national-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

.explorer-hero {
  padding: 82px 0 30px;
}

.explorer-hero-shell {
  position: relative;
}

.explorer-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 38px;
  align-items: center;
}

.explorer-copy {
  max-width: 700px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: rgba(45, 212, 191, 0.08);
  color: #b9fff5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.explorer-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
  max-width: 720px;
}

.explorer-subtitle {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-cta {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.18);
}

.hero-secondary-cta {
  min-height: 46px;
}

.hero-live-note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(154, 178, 213, 0.12);
  background: rgba(10, 23, 44, 0.7);
  color: #d8e6fb;
  font-size: 12px;
  font-weight: 700;
}

.hero-showcase {
  display: flex;
  justify-content: flex-end;
}

.hero-showcase-card {
  width: min(100%, 470px);
  border-radius: 32px;
  border: 1px solid var(--explorer-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 19, 39, 0.82);
  box-shadow: var(--explorer-shadow);
  backdrop-filter: blur(18px);
}

.hero-showcase-panel {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-showcase-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.24), rgba(255, 255, 255, 0.08), rgba(59, 130, 246, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.showcase-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.showcase-kicker,
.module-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
  margin-bottom: 7px;
}

.showcase-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 21px;
  line-height: 1.18;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  color: #b9fff5;
  font-size: 12px;
  font-weight: 800;
}

.showcase-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showcase-stat-card,
.price-outlook-card {
  margin-bottom: 16px;
  padding: 22px 24px;
  border-color: rgb(37 99 235 / 0.18);
  background: linear-gradient(145deg, #fff, #f8fbff);
}
.price-outlook-card[hidden] { display: none; }
.price-outlook-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.price-outlook-card h3 { margin: 5px 0 0; color: var(--workspace-text); font-size: 20px; line-height: 1.25; }
.price-outlook-direction-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; background: #eaf2ff; color: #1d4ed8; font-size: 22px; font-weight: 800; }
.price-outlook-meta { margin: 10px 0 0; color: var(--workspace-muted); font-size: 13px; line-height: 1.5; }
.price-outlook-evidence { margin: 10px 0 0; color: var(--workspace-text); font-size: 14px; line-height: 1.55; }
.price-outlook-comparison { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.price-outlook-comparison[hidden] { display: none; }
.price-outlook-comparison-item { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 6px 10px; border-radius: 999px; background: rgba(148, 163, 184, 0.12); color: var(--workspace-muted); font-size: 12px; font-weight: 700; }
.price-outlook-comparison-item strong { color: var(--workspace-text); font-weight: 800; }
.price-outlook-methodology { display: inline-flex; margin-top: 14px; color: #1d4ed8; font-size: 13px; font-weight: 800; text-underline-offset: 3px; }

.showcase-chart-card {
  border-radius: 20px;
  border: 1px solid rgba(154, 178, 213, 0.11);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.showcase-stat-label {
  font-size: 12px;
  color: var(--soft);
  font-weight: 700;
  margin-bottom: 10px;
}

.showcase-stat-value {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.15;
}

.showcase-stat-subvalue {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.1;
  color: rgba(154, 178, 213, 0.72);
  font-weight: 700;
}

.showcase-chart-card {
  margin-top: 12px;
}

.showcase-chart-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: #e8f2ff;
  font-size: 13px;
  font-weight: 700;
}

.showcase-chart-tag {
  color: var(--soft);
  font-size: 12px;
}

.showcase-chart-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 148px;
  margin-top: 8px;
  padding-top: 4px;
}

.showcase-chart-note {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(154, 178, 213, 0.62);
  text-align: right;
}

.hero-bar-item {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  height: 100%;
}

.hero-bar-value {
  font-size: 11px;
  line-height: 1;
  color: rgba(238, 244, 255, 0.86);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-bar-track {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-bar-column {
  display: block;
  width: 100%;
  min-height: 18px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.95), rgba(45, 212, 191, 0.14));
  border: 1px solid rgba(45, 212, 191, 0.18);
}

.hero-bar-caption {
  font-size: 10px;
  line-height: 1;
  color: var(--soft);
  font-weight: 700;
}

.hero-bar-name {
  max-width: 100%;
  font-size: 9px;
  line-height: 1.15;
  color: rgba(154, 178, 213, 0.62);
  font-weight: 600;
  text-align: center;
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bar-name-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.explorer-shell {
  padding: 6px 0 66px;
}

.explorer-controls-wrap {
  border-radius: 34px;
  border: 1px solid var(--explorer-border);
  background: var(--explorer-surface);
  box-shadow: var(--explorer-shadow-soft);
  backdrop-filter: blur(18px);
  padding: 18px;
}

.explorer-controls-bar {
  position: sticky;
  top: 86px;
  z-index: 8;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(10, 23, 44, 0.96), rgba(10, 23, 44, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 20px 28px;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.control-group-market {
  min-width: 180px;
}

.market-select {
  min-height: 34px;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(154, 178, 213, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #e4edf9;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  padding: 0 10px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.market-select:focus {
  border-color: rgba(45, 212, 191, 0.52);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.16);
}

.market-select option {
  color: #0f172a;
}

.seg-control {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(154, 178, 213, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.seg-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.seg-btn.active {
  background: rgba(45, 212, 191, 0.16);
  color: #c8fff8;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.34);
}

/* ── City Marker Styles (Squares) ──────────────────── */
.city-marker-svg {
  width: 100%;
  height: 100%;
}

.section-heading {
  margin: 0 0 20px;
}

.compact-heading {
  padding: 24px 6px 0;
}

.section-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.section-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.explorer-insights,
.explorer-conversion,
.explorer-module,
.explorer-trend {
  padding-top: 12px;
}

.conversion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-color: rgba(45, 212, 191, 0.16);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(9, 21, 41, 0.84);
}

.conversion-title {
  margin: 0;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.conversion-subtitle {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.insights-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.insights-social {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(154, 178, 213, 0.12);
  background: rgba(9, 21, 41, 0.52);
}

.insights-social-kicker {
  color: #d8f8f2;
  font-size: 12px;
  font-weight: 700;
}

.insights-social-link {
  color: #8ff1df;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}

.insights-social-link:hover {
  color: #c8fff6;
}

.insight-card,
.map-card,
.table-card,
.trend-card {
  border-radius: 24px;
  border: 1px solid rgba(154, 178, 213, 0.11);
  background: rgba(9, 21, 41, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.insight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 178, 213, 0.2);
}

.insight-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.insight-icon-green { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.insight-icon-red { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.insight-icon-teal { background: rgba(45, 212, 191, 0.14); color: #5eead4; }
.insight-icon-amber { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }

.insight-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.insight-value {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
}

.insight-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.module-map-col,
.module-table-col,
.table-card,
.table-scroll {
  min-width: 0;
}

.map-card,
.table-card,
.trend-card {
  position: relative;
}

.map-header,
.table-header,
.trend-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(154, 178, 213, 0.09);
}

.map-title,
.table-title,
.trend-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.map-zoom-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--soft);
  opacity: 0.78;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.map-zoom-hint-visible {
  opacity: 1;
  color: #d8e6fb;
}

.map-source-footnote {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(154, 178, 213, 0.08);
}

.map-source-footnote-asterisk {
  color: rgba(163, 184, 208, 0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.map-source-footnote-text {
  color: rgba(163, 184, 208, 0.78);
  font-size: 11px;
  line-height: 1.4;
}

.map-source-footnote-link {
  color: rgba(163, 184, 208, 0.9);
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px dotted rgba(163, 184, 208, 0.42);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.map-source-footnote-link:hover {
  color: #d8e6fb;
  border-bottom-color: rgba(216, 230, 251, 0.6);
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.legend-swatch {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}

.legend-low { background: linear-gradient(to right, #166534, #22c55e); }
.legend-high { background: linear-gradient(to right, #f97316, #dc2626); }

#leaflet-map {
  height: 520px;
  background: #0b1829;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.station-selector-rail {
  position: absolute;
  top: 88px;
  left: 16px;
  bottom: 64px;
  z-index: 460;
  width: min(320px, calc(100% - 32px));
  display: grid;
  grid-template-rows: auto auto auto minmax(120px, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(154, 178, 213, 0.22);
  background: rgba(8, 19, 39, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.station-selector-rail-header {
  display: grid;
  gap: 4px;
}

.station-selector-rail-kicker {
  font-size: 11px;
  font-weight: 800;
  color: #8ff1df;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.station-selector-rail-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f8fbff;
}

.station-selector-rail-sub {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.station-selector-level-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.station-selector-level-btn {
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(154, 178, 213, 0.16);
  background: rgba(9, 21, 41, 0.52);
  color: #c8d8ee;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.station-selector-level-btn:hover {
  border-color: rgba(154, 178, 213, 0.28);
}

.station-selector-level-btn.active {
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(12, 45, 50, 0.72);
  color: #d8fff8;
}

.station-selector-search-wrap {
  display: block;
}

.station-selector-search-input {
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(154, 178, 213, 0.18);
  background: rgba(9, 21, 41, 0.56);
  color: #e4edf9;
  padding: 0 10px;
  font-size: 13px;
}

.station-selector-search-input::placeholder {
  color: rgba(163, 184, 208, 0.72);
}

.station-selector-list {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 6px;
  padding-right: 2px;
}

.station-selector-list-empty {
  padding: 12px 10px;
  font-size: 12px;
  color: var(--soft);
  border-radius: 10px;
  background: rgba(9, 21, 41, 0.46);
  border: 1px dashed rgba(154, 178, 213, 0.2);
}

.station-selector-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(154, 178, 213, 0.14);
  background: rgba(9, 21, 41, 0.52);
  border-radius: 11px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease;
}

.station-selector-item:hover {
  transform: translateY(-1px);
  border-color: rgba(154, 178, 213, 0.28);
}

.station-selector-item.active {
  border-color: rgba(45, 212, 191, 0.44);
  background: rgba(13, 47, 51, 0.68);
}

.station-selector-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #eaf2ff;
}

.station-selector-item-meta {
  font-size: 11px;
  color: var(--soft);
}

.station-selector-sheet-toggle {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 72px;
  z-index: 470;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: rgba(8, 19, 39, 0.84);
  color: #d8fff8;
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.map-card.station-mode .station-selector-rail {
  display: grid;
}

.map-card.station-mode .station-selector-sheet-toggle {
  display: none;
}

.region-price-chip-wrap {
  background: transparent;
  border: 0;
}

.region-price-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  padding: 5px 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.region-price-chip-selected {
  border-color: rgba(15, 143, 131, 0.48);
  background: rgba(232, 247, 245, 0.96);
}

.region-price-chip-muted {
  opacity: 0.32;
  transform: scale(0.94);
}

.region-price-chip-value {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #172033;
}

.region-price-chip-unit {
  margin-top: 2px;
  font-size: 8px;
  line-height: 1;
  color: var(--soft);
  font-weight: 700;
}

.leaflet-container {
  background: #eef2f1 !important;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(11, 18, 32, 0.88) !important;
  backdrop-filter: blur(8px);
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: transparent !important;
  color: #c3d0e6 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.leaflet-control-attribution {
  background: rgba(11, 18, 32, 0.7) !important;
  color: rgba(195, 208, 230, 0.5) !important;
  font-size: 10px !important;
  backdrop-filter: blur(4px);
}

.leaflet-control-attribution a {
  color: rgba(195, 208, 230, 0.7) !important;
}

.leaflet-popup-dark .leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.97);
  color: #172033;
  border: 1px solid rgba(203, 213, 225, 0.84);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.leaflet-popup-dark .leaflet-popup-content {
  margin: 12px 14px;
}

.leaflet-popup-dark .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.97);
}

.leaflet-popup-dark .leaflet-popup-close-button {
  color: #94a3b8;
}

.leaflet-popup-dark .leaflet-popup-close-button:hover {
  color: #172033;
}

.region-tooltip {
  background: rgba(9, 16, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  min-width: 160px;
}

.region-tooltip-name {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #eaf2ff;
  margin-bottom: 6px;
}

.region-tooltip-price {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.region-tooltip-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.region-tooltip-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.region-tooltip-delta.up { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.region-tooltip-delta.down { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.region-tooltip-delta.same { background: rgba(147, 197, 253, 0.14); color: #93c5fd; }
.region-tooltip-nodata { font-size: 12px; color: var(--soft); margin-top: 4px; }
.region-tooltip-stations {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.station-map-popup {
  min-width: 230px;
  display: grid;
  gap: 0.45rem;
}

.station-map-popup-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.station-map-popup-title-wrap {
  min-width: 0;
}

.station-map-popup-brand-badge {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--badge-bg, rgba(148, 163, 184, 0.18));
  border: 1px solid var(--badge-border, rgba(148, 163, 184, 0.35));
  color: var(--badge-text, #dbe7f8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.station-map-popup-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.station-map-popup-subtitle {
  margin-top: -0.22rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.2;
}

.station-map-popup-address {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.station-map-popup-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.station-map-popup-price {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.station-map-popup-link {
  justify-self: start;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.36);
}

.station-map-popup-link:hover {
  color: #bae6fd;
  border-bottom-color: rgba(186, 230, 253, 0.6);
}

.station-map-price-pin-wrap,
.station-map-cluster-wrap {
  background: transparent;
  border: 0;
}

.station-map-price-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pin-color) 82%, #0b1220 18%) 0%, color-mix(in srgb, var(--pin-color) 64%, #081121 36%) 100%);
  border: 1px solid color-mix(in srgb, var(--pin-color) 52%, #ffffff 48%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.station-map-price-pin::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 11px;
  height: 11px;
  background: color-mix(in srgb, var(--pin-color) 70%, #081121 30%);
  border-right: 1px solid color-mix(in srgb, var(--pin-color) 48%, #ffffff 52%);
  border-bottom: 1px solid color-mix(in srgb, var(--pin-color) 48%, #ffffff 52%);
  transform: translateX(-50%) rotate(45deg);
}

.station-map-price-pin-value {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #f8fbff;
  letter-spacing: 0.01em;
  line-height: 1;
}

.station-map-cluster {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 2px;
  background: radial-gradient(circle at 30% 24%, color-mix(in srgb, var(--cluster-color) 72%, #ffffff 28%) 0%, color-mix(in srgb, var(--cluster-color) 64%, #0b1220 36%) 58%, color-mix(in srgb, var(--cluster-color) 52%, #071122 48%) 100%);
  border: 1px solid color-mix(in srgb, var(--cluster-color) 40%, #ffffff 60%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.station-map-cluster-count {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #f8fbff;
  line-height: 1;
  text-align: center;
}

.station-map-cluster-price {
  font-size: 10px;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.92);
  line-height: 1;
  text-align: center;
}

.map-state,
.chart-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(7, 20, 38, 0.82);
  z-index: 500;
  transition: opacity 0.25s ease;
}

.map-state {
  pointer-events: none;
}

#map-empty.map-state.map-state-compact {
  inset: auto 14px 86px 14px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(154, 178, 213, 0.2);
  background: rgba(8, 19, 39, 0.84);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  justify-content: space-between;
  padding: 8px 10px;
  gap: 10px;
}

#map-empty.map-state.map-state-compact span {
  font-size: 12px;
  color: #d0def2;
}

.map-state-action {
  pointer-events: auto;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: rgba(45, 212, 191, 0.14);
  color: #d8fff8;
  font-size: 11px;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
}

.map-state-action:hover {
  background: rgba(45, 212, 191, 0.2);
}

.map-state-hidden,
.chart-state-hidden {
  display: none;
}

.table-scroll {
  overflow-y: auto;
  max-height: 560px;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rank-table thead tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rank-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.rank-table th:first-child,
.rank-table td:first-child {
  width: 42px;
  text-align: center;
}

.rank-table th:nth-child(2),
.rank-table td:nth-child(2) {
  width: 36%;
}

.rank-table th:nth-child(3),
.rank-table td:nth-child(3) {
  width: 18%;
}

.rank-table th:nth-child(4),
.rank-table td:nth-child(4) {
  width: 22%;
}

.rank-table th:nth-child(5),
.rank-table td:nth-child(5) {
  width: 24%;
}

.rank-table th:nth-child(3),
.rank-table th:nth-child(4),
.rank-table th:nth-child(5),
.rank-table td:nth-child(3),
.rank-table td:nth-child(4),
.rank-table td:nth-child(5) {
  text-align: right;
}

.rank-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.rank-table td:first-child {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.rank-table td:nth-child(3) {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.rank-table td:nth-child(2) {
  overflow-wrap: anywhere;
}

.rank-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.rank-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.rank-table tbody tr.row-selected {
  background: rgba(45, 212, 191, 0.08);
}

.rank-table tbody tr.row-selected td:nth-child(2) {
  color: #c8fff8;
}

.table-placeholder {
  text-align: center;
  padding: 42px 16px;
  color: var(--soft);
  font-size: 13px;
}

.delta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  max-width: 100%;
  text-align: center;
}

.delta-pill.up { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.delta-pill.down { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.delta-pill.same { background: rgba(147, 197, 253, 0.14); color: #93c5fd; }
.delta-pill.none { color: var(--soft); }

.table-row-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: rgba(45, 212, 191, 0.08);
  color: #b9fff5;
  border-radius: 999px;
  min-height: 36px;
  padding: 6px 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
}

.table-row-cta:hover {
  background: rgba(45, 212, 191, 0.14);
}

.trend-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.trend-reset {
  font-size: 12px;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
}

.trend-chart-wrap {
  position: relative;
  height: 260px;
  padding: 16px 18px 18px;
}

.trend-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 18px;
}

.trend-cta-title {
  font-size: 14px;
  font-weight: 800;
  color: #f3f8ff;
}

.trend-cta-copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 620px;
}

#trend-canvas {
  width: 100%;
  height: 100%;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #2dd4bf;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.explorer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(12px);
}

/* Value-triggered sticky CTA. Hidden by default; the explorer JS reveals it
   only after the user has received value (best station shown for 5s,
   station list scrolled, station selected, or directions button viewed).
   Kept compact, dismissible, and non-blocking on mobile. */
.sticky-install-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  /* Keep it above the fixed footer on mobile but below the waitlist modal. */
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  padding-right: 8px;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: rgba(8, 19, 39, 0.94);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  /* Smooth reveal — driven by data-visible toggling. */
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-install-bar[data-visible='true'] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-install-bar[hidden] {
  display: none;
}

.sticky-install-copy {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-install-title {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

.sticky-install-copy span:not(.sticky-install-title) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.sticky-install-btn {
  flex-shrink: 0;
}

.sticky-install-dismiss {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.sticky-install-dismiss:hover,
.sticky-install-dismiss:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

@media (max-width: 600px) {
  .sticky-install-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 8px 10px 12px;
    gap: 8px;
    border-radius: 16px;
  }

  .sticky-install-title {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .sticky-install-copy span:not(.sticky-install-title) {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .sticky-install-btn {
    padding: 0 12px;
    min-height: 36px;
    font-size: 12.5px;
  }

  .sticky-install-dismiss {
    width: 26px;
    height: 26px;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.btn {
  font-size: 14px;
  line-height: 1.15;
}

@media (max-width: 1080px) {
  .explorer-hero-inner,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    justify-content: flex-start;
  }
}

@media (max-width: 940px) {
  .explorer-hero {
    padding-top: 58px;
  }

  .explorer-title {
    max-width: 560px;
  }

  .explorer-controls-wrap {
    border-radius: 26px;
    padding: 14px;
  }

  .explorer-controls-bar {
    position: static;
  }

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

  .conversion-card,
  .trend-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-scroll {
    max-height: none;
  }

  #leaflet-map {
    height: 420px;
  }

  .map-card.station-mode .station-selector-rail {
    display: none;
  }

  .map-card.station-mode .station-selector-sheet-toggle {
    display: inline-flex;
  }

  .station-selector-rail {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 122px;
    width: auto;
    max-height: min(64vh, 440px);
    transform: translateY(calc(100% + 18px));
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
  }

  .map-card.station-mode.station-sheet-open .station-selector-rail {
    display: grid;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .region-price-chip {
    min-width: 56px;
    min-height: 34px;
    padding: 4px 7px;
  }

  .trend-chart-wrap {
    height: 230px;
  }

  .footer-bottom {
    justify-content: center;
  }

}

@media (max-width: 680px) {
  .conversion-card {
    padding: 18px;
  }

  .conversion-title {
    font-size: clamp(18px, 6vw, 24px);
  }

  .conversion-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .conversion-actions {
    width: 100%;
  }

  .conversion-actions .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }

  .explorer-title {
    font-size: clamp(34px, 11vw, 50px);
  }

  .hero-showcase-card {
    width: 100%;
  }

  .hero-showcase-panel,
  .map-header,
  .table-header,
  .trend-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .showcase-mini-grid {
    grid-template-columns: 1fr;
  }

  .map-legend {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .rank-table th,
  .rank-table td {
    padding-left: 8px;
    padding-right: 8px;
  }

  .rank-table th {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .rank-table td {
    font-size: 12px;
  }

  .rank-table th:first-child,
  .rank-table td:first-child {
    width: 32px;
  }

  .rank-table th:nth-child(2),
  .rank-table td:nth-child(2) {
    width: 30%;
  }

  .rank-table th:nth-child(3),
  .rank-table td:nth-child(3) {
    width: 18%;
  }

  .rank-table th:nth-child(4),
  .rank-table td:nth-child(4) {
    width: 21%;
  }

  .rank-table th:nth-child(5),
  .rank-table td:nth-child(5) {
    width: 31%;
  }

  .delta-pill {
    padding: 2px 5px;
    font-size: 10px;
  }

  .table-row-cta {
    min-height: 34px;
    padding: 6px;
    font-size: 10px;
  }

  .trend-chart-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

}

/* --- Pre-navigation capture sheet --- */
.pre-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 17, 32, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: pre-nav-backdrop-in 0.18s ease;
}

.pre-nav-backdrop[hidden] {
  display: none !important;
}

@keyframes pre-nav-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pre-nav-sheet {
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 10px 24px 44px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  animation: pre-nav-sheet-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.14);
}

@keyframes pre-nav-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (min-width: 600px) {
  .pre-nav-backdrop {
    align-items: center;
    padding: 24px;
  }
  .pre-nav-sheet {
    border-radius: 24px;
    max-width: 420px;
    padding: 28px 28px 28px;
    animation: pre-nav-card-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes pre-nav-card-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

.pre-nav-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .pre-nav-handle { display: none; }
}

.pre-nav-context {
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pre-nav-title {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pre-nav-body {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 22px;
}

.pre-nav-join-btn {
  border-radius: 14px !important;
  min-height: 52px !important;
  font-size: 0.97rem;
  width: 100%;
  margin-bottom: 6px;
  gap: 6px;
}

.pre-nav-nav-btn {
  border-color: transparent !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  min-height: 44px !important;
  width: 100%;
  gap: 4px;
  box-shadow: none !important;
}

.pre-nav-nav-btn:hover,
.pre-nav-nav-btn:focus {
  color: #334155 !important;
  background: transparent !important;
  border-color: transparent !important;
}

.analytics-consent {
  position: fixed;
  top: var(--analytics-viewport-top, 0px);
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: var(--analytics-viewport-height, 100vh);
  height: var(--analytics-viewport-height, 100dvh);
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.analytics-consent[hidden] {
  display: none !important;
}

.cookie-preferences-button {
  position: fixed;
  z-index: 1090;
  right: 16px;
  bottom: calc(14px + var(--sticky-install-reserved-space));
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 31, 50, 0.92);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: bottom 220ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 160ms ease,
              border-color 160ms ease;
}

.analytics-consent-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  width: min(940px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 16px;
  pointer-events: auto;
  border: 1px solid var(--workspace-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--workspace-text);
  box-shadow: 0 24px 70px rgba(3, 15, 29, 0.2);
  backdrop-filter: blur(20px);
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.analytics-consent-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--workspace-accent-dark);
  background: #e8f7f5;
}

.analytics-consent-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.analytics-consent-kicker {
  color: var(--workspace-accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-consent h2 {
  margin: 2px 0 0;
  color: var(--workspace-text);
  font-size: 1rem;
  line-height: 1.25;
}

.analytics-consent p {
  margin: 0;
}

#analytics-consent-description {
  margin-top: 9px;
  color: var(--workspace-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.analytics-consent .btn {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  white-space: nowrap;
}

.analytics-consent .btn-primary {
  border-color: var(--workspace-accent);
  background: var(--workspace-accent);
  color: #ffffff;
}

.analytics-consent .btn-secondary {
  border-color: var(--workspace-border-strong);
  background: var(--workspace-surface-muted);
  color: var(--workspace-text);
}

/* Explorer product workspace */
.explorer-page {
  --workspace-bg: #f5f7f9;
  --workspace-surface: #ffffff;
  --workspace-surface-muted: #f0f3f6;
  --workspace-border: #dfe5eb;
  --workspace-border-strong: #cdd6df;
  --workspace-text: #0f172a;
  --workspace-muted: #536174;
  --workspace-soft: #778397;
  --workspace-accent: #0f9f91;
  --workspace-accent-dark: #08786f;
  --workspace-focus: #0d9488;
  background: var(--workspace-bg);
  color: var(--workspace-text);
  overflow-x: clip;
}

.explorer-page-glow { display: none; }

.explorer-page .topbar {
  height: 64px;
  color: #eef4ff;
  background: rgba(6, 20, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.explorer-page .topbar-inner { min-height: 64px; flex-direction: row; align-items: center; }
.explorer-page .nav { flex-wrap: nowrap; }
.nav-label-mobile { display: none; }
.explorer-main { padding-top: 0; }

.explorer-product-header {
  padding: 28px 0 22px;
  background: var(--workspace-surface);
  border-bottom: 1px solid var(--workspace-border);
}

.product-header-shell { display: grid; gap: 20px; }

.explorer-planner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #cde3df;
  border-radius: 18px;
  background: linear-gradient(115deg, #edf9f7, #f8fbfb);
}
.explorer-planner-card h2 { margin: 3px 0 0; color: var(--workspace-text); font-size: 1.15rem; }
.explorer-planner-card p { margin: 5px 0 0; color: var(--workspace-muted); font-size: 0.82rem; }
.explorer-planner-card .btn { flex: 0 0 auto; text-decoration: none; }

.product-header-main {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.product-heading { min-width: 0; }

.explorer-product-header .eyebrow-pill {
  width: fit-content;
  margin-bottom: 9px;
  padding: 0;
  color: var(--workspace-accent-dark);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.explorer-product-header .explorer-title {
  max-width: 760px;
  margin: 0;
  color: var(--workspace-text);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.explorer-product-header .explorer-subtitle {
  max-width: 680px;
  margin: 11px 0 0;
  color: var(--workspace-muted);
  font-size: 15px;
  line-height: 1.55;
}

.explorer-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 58px;
  padding: 5px 6px 5px 16px;
  border: 1px solid var(--workspace-border-strong);
  border-radius: 18px;
  background: var(--workspace-surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.explorer-search:focus-within {
  border-color: var(--workspace-focus);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12), 0 12px 34px rgba(15, 23, 42, 0.08);
}

.explorer-search-icon {
  margin-right: 10px;
  color: var(--workspace-soft);
  font-size: 26px;
  line-height: 1;
}

.explorer-search-input {
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--workspace-text);
  font: inherit;
  font-size: 15px;
}

.explorer-search-input::placeholder { color: var(--workspace-soft); }

.explorer-search-submit,
.explorer-location-button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.explorer-search-submit {
  padding: 0 18px;
  background: var(--workspace-accent);
  color: #ffffff;
}

.explorer-location-button {
  width: 46px;
  margin-left: 5px;
  background: var(--workspace-surface-muted);
  color: var(--workspace-text);
  font-size: 21px;
}

.explorer-search-submit:hover,
.explorer-search-submit:focus-visible { background: var(--workspace-accent-dark); }
.explorer-location-button:hover,
.explorer-location-button:focus-visible { background: #e2e8ee; }
.explorer-search-submit:active,
.explorer-location-button:active { transform: scale(0.98); }

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--workspace-border);
  border-radius: 20px;
  background: var(--workspace-surface);
}

.summary-share-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.summary-share-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #dbe5ef;
  border-radius: 13px;
  background: #fff;
  color: #334155;
  font: 700 13px/1.2 var(--font-body, Manrope, sans-serif);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.summary-share-button:hover {
  border-color: #b8cbe0;
  background: #f8fafc;
  color: #0f5ccc;
}

.summary-share-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 3px;
}

.summary-metric {
  position: relative;
  min-width: 0;
  min-height: 96px;
  padding: 16px 20px;
}

.summary-metric + .summary-metric { border-left: 1px solid var(--workspace-border); }
.summary-metric-label { display: block; color: var(--workspace-muted); font-size: 11px; font-weight: 750; letter-spacing: 0.02em; }
.summary-metric-value { display: block; overflow: hidden; margin-top: 8px; color: var(--workspace-text); font-family: 'Sora', 'Segoe UI', sans-serif; font-size: 22px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.summary-metric-name { font-size: 17px; }
.summary-metric-detail { display: block; overflow: hidden; margin-top: 3px; color: var(--workspace-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.summary-metric.is-loading::after {
  content: '';
  position: absolute;
  inset: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef1f4 25%, #f7f8fa 50%, #eef1f4 75%);
  background-size: 200% 100%;
  animation: explorer-skeleton 1.2s ease-in-out infinite;
}

@keyframes explorer-skeleton { to { background-position: -200% 0; } }

.explorer-shell { padding: 0 0 72px; background: var(--workspace-bg); }
.explorer-controls-wrap {
  display: grid;
  gap: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.mobile-filter-summary,
.mobile-filter-sheet-heading,
.mobile-view-toggle,
.mobile-filter-scrim { display: none; }

.explorer-controls-bar {
  position: sticky;
  top: 64px;
  z-index: 620;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 10px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  border: 0;
  border-bottom: 1px solid var(--workspace-border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
}

.controls-row { display: flex; align-items: flex-end; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.controls-row::-webkit-scrollbar { display: none; }
.control-group { flex: 0 0 auto; gap: 5px; }
.control-label { color: var(--workspace-muted); font-size: 10px; font-weight: 750; }
.control-group-market { min-width: 128px; }
.market-select,
.seg-control {
  min-height: 42px;
  border: 1px solid var(--workspace-border);
  border-radius: 13px;
  background: var(--workspace-surface-muted);
  box-shadow: none;
}
.market-select { color: var(--workspace-text); padding: 0 34px 0 12px; }
.seg-control { padding: 3px; gap: 2px; }
.seg-btn {
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  color: var(--workspace-muted);
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}
.seg-btn:hover { color: var(--workspace-text); background: rgba(255,255,255,0.7); }
.seg-btn.active { color: var(--workspace-text); background: #ffffff; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1); }
.section-heading.compact-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 16px;
  scroll-margin-top: 142px;
}
.section-heading .section-title { color: var(--workspace-text); font-size: clamp(23px, 2.3vw, 30px); }
.section-heading .section-subtitle { max-width: 580px; margin: 0; color: var(--workspace-muted); font-size: 14px; text-align: right; }
.current-period-tag { display: inline-block; margin-bottom: 6px; color: var(--workspace-accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }

.explorer-module,
.explorer-trend,
.comparison-section,
.savings-section,
.explorer-conversion {
  min-width: 0;
  margin-top: 0;
  scroll-margin-top: 140px;
}

.module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(330px, 0.82fr);
  align-items: start;
  gap: 16px;
}

.explorer-page .card,
.map-card,
.table-card,
.trend-card,
.comparison-card,
.savings-card,
.area-inspector {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--workspace-border);
  border-radius: 22px;
  background: var(--workspace-surface);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.055);
}

.map-card { position: relative; overflow: hidden; padding: 0; }
.map-header { min-height: 86px; padding: 15px 18px; border-bottom: 1px solid var(--workspace-border); background: rgba(255,255,255,0.96); }
.map-title { color: var(--workspace-text); font-size: 18px; }
.map-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.stations-mode-exit { min-height:38px; border:1px solid var(--workspace-border); border-radius:11px; padding:0 13px; background:var(--workspace-surface); color:var(--workspace-accent-dark); font-weight:750; cursor:pointer; }
.stations-mode-exit:hover { border-color:var(--workspace-accent); background:#e8f7f5; }
.module-kicker { color: var(--workspace-accent-dark); }
.map-header .module-kicker { color: var(--workspace-accent-dark); }
.map-zoom-hint { color: var(--workspace-muted); }
.map-legend { max-width: 54%; gap: 6px 12px; color: var(--workspace-muted); }
.legend-title { flex-basis: 100%; color: var(--workspace-text); font-size: 11px; font-weight: 750; }
.legend-item { color: var(--workspace-muted); font-size: 10px; }
.legend-swatch { width: 24px; height: 6px; border-radius: 999px; }
.legend-low { background: #2b7a8b; }
.legend-mid { background: #d5ded9; }
.legend-high { background: #c36356; }
#leaflet-map { height: clamp(560px, 62vh, 680px); background: #eef2f1; }
.map-source-footnote { min-height: 36px; padding: 8px 14px; border-top: 1px solid var(--workspace-border); background: #f8faf9; color: var(--workspace-muted); }
.map-source-footnote-link { color: var(--workspace-accent-dark); }

.station-inspector {
  position: absolute;
  top: 102px;
  right: 16px;
  z-index: 520;
  width: min(340px, calc(100% - 32px));
  max-height: calc(100% - 158px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(205, 214, 223, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--workspace-text);
  box-shadow: 0 18px 48px rgba(3, 15, 29, 0.24);
  backdrop-filter: blur(18px);
}
.station-inspector[hidden] { display: none; }
.station-inspector-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.station-inspector-identity { display: flex; align-items: center; min-width: 0; gap: 12px; }
.station-inspector-logo,
.station-finder-result-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid var(--workspace-border);
  border-radius: 13px;
  background: #ffffff;
  padding: 5px;
}
.station-finder-result-identity { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.station-finder-result-identity > div { min-width: 0; }
.station-inspector-heading h3 { margin: 5px 0 0; font-size: 20px; line-height: 1.2; }
.station-inspector-heading p { margin: 3px 0 0; color: var(--workspace-muted); font-size: 12px; }
.station-inspector-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 17px; }
.station-inspector-price-row strong { font-family: 'Sora', 'Segoe UI', sans-serif; font-size: 30px; letter-spacing: -0.04em; }
.station-inspector-price-row span { color: var(--workspace-muted); font-size: 12px; font-weight: 750; }
.station-inspector-freshness,
.station-inspector-address { margin: 8px 0 0; color: var(--workspace-muted); font-size: 12px; line-height: 1.45; }
.station-inspector-route { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #e9f7f5; color: #135f58; font-size: 13px; font-weight: 750; }
.station-inspector-history { margin-top: 16px; }
.station-inspector-history h4 { margin: 0 0 8px; font-size: 12px; }
#station-inspector-history { color: var(--workspace-muted); font-size: 12px; }
.station-inspector-history-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.station-inspector-history-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.station-inspector-history-list strong { color: var(--workspace-text); }
.station-inspector-actions { margin-top: 16px; }
.station-inspector-actions .btn { width: 100%; min-height: 44px; }

.leaflet-control-zoom,
.leaflet-bar { border: 0 !important; box-shadow: 0 8px 24px rgba(0,0,0,0.24) !important; }
.leaflet-control-zoom a,
.map-expand-btn,
.map-premium-control,
.map-action-control {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-bottom: 1px solid #e5e9ee !important;
  background: rgba(255,255,255,0.96) !important;
  color: #172033 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  cursor: pointer;
}
.leaflet-control-zoom a:hover,
.map-expand-btn:hover,
.map-premium-control:hover,
.map-action-control:hover { background: #f2f5f7 !important; }
.map-action-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.leaflet-control-zoom a:focus-visible,
.map-expand-btn:focus-visible,
.map-premium-control:focus-visible,
.map-action-control:focus-visible { outline: 3px solid rgba(45, 212, 191, 0.6) !important; outline-offset: 2px; }
.map-action-control:disabled { cursor: wait; opacity: 0.72; }
.map-action-control-busy svg { animation: map-location-pulse 900ms ease-in-out infinite alternate; }
.map-location-status {
  max-width: min(320px, calc(100vw - 112px));
  margin: 10px 0 0 10px !important;
  padding: 9px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 13px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 8px 24px rgba(15,23,42,0.14);
  color: #243247;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  transition: opacity 160ms ease, transform 160ms ease;
}
.map-location-status[data-tone='success'] { border-color: rgba(13, 148, 136, 0.28); color: #0b635b; }
.map-location-status[data-tone='error'] { border-color: rgba(190, 24, 93, 0.22); color: #9f1239; }
.map-location-status-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
}
.map-user-location-accuracy {
  fill: rgba(13, 148, 136, 0.12);
  stroke: rgba(13, 148, 136, 0.38);
  stroke-width: 1.5;
}
.map-user-location-marker {
  fill: #0d9488;
  fill-opacity: 1;
  stroke: #ffffff;
  stroke-width: 3;
}
@keyframes map-location-pulse {
  from { opacity: 0.45; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.leaflet-control-attribution { background: rgba(255,255,255,0.88) !important; color: #64748b !important; }
.leaflet-control-attribution a { color: #475569 !important; }

.module-table-col { display: grid; gap: 14px; min-width: 0; }
.area-inspector { padding: 18px; }
.inspector-sheet-handle { display: none; }
.area-inspector h3 { margin: 5px 0 0; color: var(--workspace-text); font-size: 20px; line-height: 1.2; }
.area-inspector p { color: var(--workspace-muted); font-size: 13px; line-height: 1.55; }
.area-inspector-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.icon-button { min-width: 44px; min-height: 44px; border: 0; border-radius: 14px; background: var(--workspace-surface-muted); color: var(--workspace-text); font-size: 20px; cursor: pointer; }
.inspector-price { display: block; margin: 18px 0 14px; color: var(--workspace-text); font-size: 31px; letter-spacing: -0.04em; }
.inspector-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inspector-metrics > div { min-width: 0; padding: 10px; border-radius: 13px; background: var(--workspace-surface-muted); }
.inspector-metrics span { display: block; color: var(--workspace-muted); font-size: 10px; line-height: 1.3; }
.inspector-metrics strong { display: block; overflow: hidden; margin-top: 5px; color: var(--workspace-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.inspector-observation { margin: 12px 0; }
.inspector-stations-action { width: 100%; min-height: 44px; background: var(--workspace-accent); color: #ffffff; }

.table-card { overflow: hidden; padding: 0; }
.table-header { min-height: 70px; padding: 14px 16px; border-bottom: 1px solid var(--workspace-border); }
.table-title { color: var(--workspace-text); font-size: 18px; }
.ranking-count { margin: 3px 0 0; color: var(--workspace-muted); font-size: 10px; }
.ranking-sort-label { display: grid; gap: 3px; color: var(--workspace-muted); font-size: 10px; }
.ranking-sort-label select { min-height: 36px; border: 1px solid var(--workspace-border); border-radius: 10px; background: var(--workspace-surface-muted); color: var(--workspace-text); padding: 0 24px 0 9px; }
.table-scroll { max-height: 396px; overflow: auto; }
.rank-table { color: var(--workspace-text); }
.rank-table thead { position: sticky; top: 0; z-index: 2; }
.rank-table thead tr { background: #f5f7f9; }
.rank-table th { color: var(--workspace-muted); border-color: var(--workspace-border); font-size: 10px; }
.rank-table td { color: var(--workspace-text); border-color: var(--workspace-border); font-size: 12px; }
.rank-table tbody tr { cursor: pointer; }
.rank-table tbody tr:hover { background: #f5f8fa; }
.rank-table tbody tr.row-selected { background: #e9f7f5; box-shadow: inset 3px 0 var(--workspace-accent); }
.rank-table tbody tr.row-selected td:nth-child(2) { color: var(--workspace-text); }
.table-row-cta { min-width: 44px; min-height: 36px; border-radius: 10px; background: var(--workspace-surface-muted); color: var(--workspace-text); }
.delta-pill.up { background: #fff0f3; color: #9d3657; }
.delta-pill.down { background: #e8f4fa; color: #256781; }
.delta-pill.same { background: #f0f2f5; color: #5d6878; }

.trend-card,
.comparison-card,
.savings-card { padding: 20px; }
.savings-planner-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #edf7f5;
}
.savings-planner-context strong,
.savings-planner-context span { display: block; }
.savings-planner-context strong { color: var(--workspace-text); font-size: 0.82rem; }
.savings-planner-context span { margin-top: 3px; color: var(--workspace-muted); font-size: 0.72rem; }
.savings-planner-context a {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 13px;
  border-radius: 11px;
  color: #fff;
  background: var(--workspace-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}
.trend-header { padding: 0 0 14px; }
.trend-title { color: var(--workspace-text); }
.trend-sub { color: var(--workspace-muted); }
.trend-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.trend-stat-grid > div { padding: 11px 12px; border-radius: 13px; background: var(--workspace-surface-muted); }
.trend-stat-grid span { display: block; color: var(--workspace-muted); font-size: 10px; }
.trend-stat-grid strong { display: block; margin-top: 5px; color: var(--workspace-text); font-size: 14px; }
.trend-coverage { margin: 0 0 12px; color: var(--workspace-muted); font-size: 11px; }
.trend-chart-wrap { height: 310px; border: 1px solid var(--workspace-border); border-radius: 16px; background: #0b1725; overflow: hidden; }
.trend-cta { margin-top: 14px; border-radius: 15px; background: var(--workspace-surface-muted); }
.trend-cta-title { color: var(--workspace-text); }
.explorer-page .trend-cta-copy { color: #536174; }
.trend-cta-action { flex: 0 0 auto; }

.comparison-controls { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto; align-items: end; gap: 10px; }
.comparison-controls label { color: var(--workspace-muted); font-size: 12px; font-weight: 700; }
.comparison-controls select,
.comparison-controls input { min-height: 44px; border: 1px solid var(--workspace-border); border-radius: 12px; background: var(--workspace-surface); color: var(--workspace-text); padding: 0 12px; }
.comparison-controls #comparison-add { min-width: 94px; border: 1px solid rgba(15,143,131,.24); background: #e8f7f5; color: var(--workspace-accent-dark); box-shadow: none; }
.comparison-controls #comparison-add:not(:disabled):hover { border-color: var(--workspace-accent); background: #d8f2ee; }
.comparison-controls #comparison-add:disabled { cursor:default; border-color:var(--workspace-border); background:var(--workspace-surface-muted); color:var(--workspace-muted); opacity:.72; }
.comparison-input-hint { grid-column:2/-1; min-height:16px; color:var(--workspace-muted); font-size:11px; }
.comparison-input-hint.ready { color:var(--workspace-accent-dark); font-weight:700; }
.comparison-clear { min-height: 44px; border: 0; background: transparent; color: var(--workspace-accent-dark); font-weight: 700; cursor: pointer; }
.comparison-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.comparison-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--workspace-surface-muted); color: var(--workspace-text); font-size: 12px; font-weight: 700; cursor: pointer; }
.comparison-chip::before { content: ''; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #0f8f83; }
.comparison-chip:nth-child(2)::before { background: #7b61b9; }
.comparison-chip:nth-child(3)::before { background: #c06b3e; }
.comparison-chip button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #ffffff; color: var(--workspace-muted); cursor: pointer; }
.comparison-chart-wrap { height: 320px; margin-top: 14px; border-radius: 16px; background: #0b1725; overflow: hidden; }
.comparison-empty { margin-top: 14px; padding: 24px; border-radius: 15px; background: var(--workspace-surface-muted); color: var(--workspace-muted); text-align: center; }

.volume-control { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.volume-button { min-width: 70px; min-height: 44px; border: 1px solid var(--workspace-border); border-radius: 12px; background: var(--workspace-surface); color: var(--workspace-text); font-weight: 750; cursor: pointer; }
.volume-button.active { border-color: var(--workspace-accent); background: #e8f7f5; color: var(--workspace-accent-dark); }
.custom-volume { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; padding: 0 11px; border: 1px solid var(--workspace-border); border-radius: 12px; color: var(--workspace-muted); font-size: 12px; }
.custom-volume input { width: 58px; border: 0; outline: 0; background: transparent; color: var(--workspace-text); font: inherit; }
.savings-result { margin-top: 18px; }
.savings-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.savings-result-grid > div { min-width: 0; padding: 15px; border-radius: 15px; background: var(--workspace-surface-muted); }
.savings-result-grid span { display: block; color: var(--workspace-muted); font-size: 11px; }
.savings-result-grid strong { display: block; overflow-wrap: anywhere; margin-top: 7px; color: var(--workspace-text); font-size: 20px; }
.explorer-page .savings-callout { margin: 12px 0 0; padding: 14px; border: 1px solid #c7ebe6; border-radius: 15px; background: #e9f7f5; color: #0b514b; font-weight: 800; line-height: 1.45; }
.savings-result-empty,
.savings-disclaimer { color: var(--workspace-muted); font-size: 12px; }
.savings-disclaimer { overflow-wrap: anywhere; margin: 12px 0 0; }
.explorer-page .savings-disclaimer { color: #475569; }

.explorer-page .conversion-card { padding: 22px; background: #0a1828; border-color: #132941; }
.conversion-copy { min-width: 0; }
.conversion-title { color: #ffffff; }
.conversion-subtitle { color: #a9b8c8; }
.conversion-card .module-kicker { overflow-wrap: anywhere; color: #6dd8cc; }
.conversion-card .btn-primary { background: #2dd4bf; color: #042d32; }

.map-state { background: rgba(248, 250, 249, 0.88); color: var(--workspace-text); backdrop-filter: blur(6px); }
.map-state-hidden { display: none; }

:where(.explorer-page button, .explorer-page select, .explorer-page input, .explorer-page a):focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.34);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .product-header-main { grid-template-columns: 1fr; gap: 20px; }
  .module-grid { grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.8fr); }
  .summary-metric { padding-inline: 14px; }
}

@media (max-width: 880px) {
  .summary-strip { grid-template-columns: 1fr 1fr; }
  .summary-metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--workspace-border); }
  .summary-metric:nth-child(4) { border-top: 1px solid var(--workspace-border); }
  .module-grid { grid-template-columns: 1fr; }
  #leaflet-map { height: 560px; }
  .module-table-col { grid-template-columns: 0.85fr 1.15fr; }
  .table-scroll { max-height: 430px; }
  .trend-stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .explorer-main { padding-top: 0; }
  .explorer-page .topbar { height: 58px; }
  .explorer-page .topbar-inner { min-height: 58px; }
  .explorer-page .nav > a:first-child { display: none; }
  .nav-label-desktop { display: none; }
  .nav-label-mobile { display: inline; }
  .explorer-product-header { padding: 16px 0 12px; }
  .product-header-shell { gap: 12px; }
  .explorer-product-header .explorer-title { font-size: clamp(27px, 8vw, 31px); }
  .explorer-product-header .explorer-subtitle { max-width: 42rem; font-size: 13px; line-height: 1.45; }
  .explorer-planner-card,
  .savings-planner-context { align-items: stretch; flex-direction: column; gap: 12px; }
  .explorer-planner-card .btn,
  .savings-planner-context a { width: 100%; justify-content: center; }
  .explorer-search { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 54px; padding-left: 12px; }
  .explorer-search-submit { display: none; }
  .explorer-search-input { height: 42px; font-size: 16px; }
  .summary-strip {
    display: grid;
    overflow-x: auto;
    grid-auto-columns: minmax(154px, 46vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    border-radius: 17px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .summary-strip::-webkit-scrollbar { display: none; }
  .summary-metric { min-height: 78px; padding: 12px 14px; border-top: 0 !important; scroll-snap-align: start; }
  .summary-metric + .summary-metric { border-left: 1px solid var(--workspace-border); }
  .explorer-controls-bar { top: 58px; width: 100%; margin: 0; padding: 8px 0; }
  .mobile-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; }
  .mobile-filter-summary-copy { display: grid; min-width: 0; gap: 2px; }
  .mobile-filter-summary-copy span { color: var(--workspace-muted); font-size: 10px; font-weight: 750; }
  .mobile-filter-summary-copy strong { overflow: hidden; color: var(--workspace-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-filter-open { min-width: 84px; min-height: 44px; border: 1px solid var(--workspace-border); border-radius: 13px; background: var(--workspace-surface-muted); color: var(--workspace-text); font-weight: 750; }
  .explorer-controls-bar > .controls-row { display: none; }
  .mobile-filter-scrim:not([hidden]) { position: fixed; inset: 0; z-index: 980; display: block; border: 0; background: rgba(3, 15, 29, 0.38); backdrop-filter: blur(4px); }
  .explorer-controls-bar.is-mobile-open {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + var(--visual-viewport-bottom, 0px)));
    left: 10px;
    z-index: 990;
    max-height: min(78vh, 650px);
    margin: 0;
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--workspace-border);
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 24px 70px rgba(3,15,29,0.28);
  }
  .explorer-controls-bar.is-mobile-open .mobile-filter-summary { display: none; }
  .explorer-controls-bar.is-mobile-open > .controls-row { display: grid; gap: 14px; overflow: visible; }
  .mobile-filter-sheet-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
  .mobile-filter-sheet-heading h2 { margin: 4px 0 0; font-size: 20px; }
  .explorer-controls-bar.is-mobile-open .control-group { width: 100%; }
  .explorer-controls-bar.is-mobile-open .control-label { display: block; margin-bottom: 5px; }
  .explorer-controls-bar.is-mobile-open .market-select { width: 100%; }
  .explorer-controls-bar.is-mobile-open .seg-control { display: grid; width: 100%; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; }
  .mobile-view-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 12px; padding: 3px; border: 1px solid var(--workspace-border); border-radius: 14px; background: var(--workspace-surface-muted); }
  .mobile-view-toggle button { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--workspace-muted); font-weight: 750; }
  .mobile-view-toggle button[aria-checked='true'] { background: #ffffff; color: var(--workspace-text); box-shadow: 0 1px 5px rgba(15,23,42,0.1); }
  .module-grid[data-mobile-view='map'] > .module-table-col { display: contents; }
  .module-grid[data-mobile-view='map'] > .module-table-col > .table-card { display: none; }
  .module-grid[data-mobile-view='map'] .area-inspector:not(.has-selection) { display: none; }
  .module-grid[data-mobile-view='results'] > .module-map-col { display: none; }
  .control-label { display: none; }
  .controls-row { align-items: center; }
  .market-select,
  .seg-control { min-height: 44px; }
  .seg-btn { min-height: 36px; }
  .section-heading.compact-heading { display: grid; gap: 7px; scroll-margin-top: 120px; }
  .section-heading .section-subtitle { text-align: left; }
  .explorer-controls-wrap { gap: 26px; }
  #leaflet-map { height: clamp(430px, calc(100dvh - 210px), 620px); min-height: 430px; }
  .map-header { align-items: flex-start; min-height: 104px; padding: 13px 14px; }
  .map-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 100%; gap: 6px 10px; }
  .legend-title { grid-column: 1 / -1; }
  .legend-item { min-width: 0; }
  .leaflet-control-zoom { display: none; }
  .leaflet-bottom.leaflet-right { bottom: 8px; right: 8px; }
  .module-table-col { display: grid; grid-template-columns: 1fr; }
  .area-inspector {
    position: static;
    bottom: 10px;
    z-index: 560;
    max-height: 62dvh;
    overflow: auto;
    border-radius: 24px;
    box-shadow: 0 -14px 40px rgba(15,23,42,0.18);
  }
  .area-inspector.has-selection {
    position: fixed;
    right: 12px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + var(--visual-viewport-bottom, 0px)));
    left: 12px;
    z-index: 900;
    width: auto;
    max-width: calc(100vw - 24px);
    overscroll-behavior: contain;
    transition: max-height 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .area-inspector.has-selection[data-sheet='collapsed'] { max-height: 178px; overflow: hidden; }
  .area-inspector.has-selection[data-sheet='collapsed'] .inspector-price { margin: 10px 0 0; font-size: 27px; }
  .area-inspector.has-selection[data-sheet='collapsed'] .inspector-metrics,
  .area-inspector.has-selection[data-sheet='collapsed'] .inspector-observation,
  .area-inspector.has-selection[data-sheet='collapsed'] .inspector-stations-action { display: none; }
  .area-inspector.has-selection[data-sheet='expanded'] { max-height: min(72dvh, 620px); }
  body.area-inspector-open .sticky-install-bar {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
  }
  .station-inspector {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + var(--visual-viewport-bottom, 0px)));
    left: 10px;
    z-index: 910;
    width: auto;
    max-height: min(70dvh, 590px);
    border-radius: 24px;
  }
  .inspector-sheet-handle { display: grid; width: 100%; min-height: 28px; place-items: center; margin: -10px 0 2px; border: 0; background: transparent; cursor: ns-resize; }
  .inspector-sheet-handle span { display: block; width: 36px; height: 4px; border-radius: 99px; background: #cbd5df; }
  .table-scroll { max-height: none; overflow: visible; }
  .rank-table,
  .rank-table tbody,
  .rank-table tr,
  .rank-table td { display: block; width: 100%; }
  .rank-table thead { position: static; display: none; }
  .rank-table tbody { display: grid; gap: 8px; padding: 10px; }
  .rank-table tbody tr { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 10px; padding: 13px; border: 1px solid var(--workspace-border); border-radius: 15px; background: #ffffff; }
  .rank-table tbody tr.row-selected { border-color: #80cfc6; box-shadow: inset 3px 0 var(--workspace-accent); }
  .rank-table td { border: 0; padding: 0; text-align: left !important; }
  .rank-table td:nth-child(1) { grid-row: 1 / span 2; color: var(--workspace-soft); }
  .rank-table td:nth-child(2) { grid-column: 2; font-weight: 750; }
  .rank-table td:nth-child(3) { grid-column: 3; grid-row: 1; font-weight: 800; }
  .rank-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .rank-table td:nth-child(5) { position: absolute; inset: 0; opacity: 0; }
  .table-row-cta { width: 100%; height: 100%; }
  .trend-card,
  .comparison-card,
  .savings-card { padding: 15px; }
  .trend-stat-grid { grid-template-columns: 1fr 1fr; }
  .trend-chart-wrap,
  .comparison-chart-wrap { height: 260px; }
  .comparison-controls { grid-template-columns: 1fr auto; }
  .comparison-controls label { grid-column: 1 / -1; }
  .comparison-clear { grid-column: 1 / -1; justify-self: start; }
  .savings-result-grid {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--workspace-border);
    border-radius: 15px;
    background: var(--workspace-surface);
  }
  .savings-result-grid > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 14px;
    border-radius: 0;
    background: transparent;
  }
  .savings-result-grid > div + div { border-top: 1px solid var(--workspace-border); }
  .savings-result-grid span { min-width: 0; font-size: 12px; line-height: 1.4; }
  .savings-result-grid strong { flex: 0 0 auto; margin-top: 0; font-size: 18px; text-align: right; }
  .analytics-consent {
    padding: 10px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .analytics-consent-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
  }
  .analytics-consent-actions { flex-direction: column; flex-wrap: nowrap; }
  .analytics-consent .btn { width: 100%; min-height: 50px; font-size: 14px; }
}

body.mobile-filter-sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .explorer-page *,
  .explorer-page *::before,
  .explorer-page *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
