.stats-maps-page {
  padding-bottom: 40px;
}
.stats-maps-page .stats-maps-hero {
  display: grid;
  gap: 24px;
  margin: 24px 0 28px;
  position: relative;
}
.stats-maps-page .stats-maps-hero-copy {
  padding: 28px 32px;
  border-radius: 28px;
  color: #f5f7fa;
  background-color: #282828;
  background-image: url(/assets/images/pattern-nekorekten.png);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}
.stats-maps-page .stats-maps-hero-copy h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.1;
}
.stats-maps-page .stats-maps-hero-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #c1c7d0;
}
.stats-maps-page .stats-maps-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb280;
}
.stats-maps-page .stats-maps-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stats-maps-page .stats-maps-metric-card {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #2e2e2e;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}
.stats-maps-page .stats-maps-metric-card.stats-maps-metric-card-muted {
  background: #424242;
}
.stats-maps-page .stats-maps-metric-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #c1c7d0;
}
.stats-maps-page .stats-maps-metric-value {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #f5f7fa;
}
.stats-maps-page .stats-maps-layout {
  display: grid;
  gap: 20px;
}
.stats-maps-page .stats-maps-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #2e2e2e;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow: hidden;
}
.stats-maps-page .stats-maps-hero .local-loader-holder,
.stats-maps-page .stats-maps-panel .local-loader-holder {
  border-radius: inherit;
}
.stats-maps-page .stats-maps-map-panel {
  padding-bottom: 26px;
}
.stats-maps-page .stats-maps-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.stats-maps-page .stats-maps-panel-header h2,
.stats-maps-page .stats-maps-panel-header p {
  margin: 0;
}
.stats-maps-page .stats-maps-panel-header h2 {
  margin-bottom: 6px;
  font-size: 22px;
  color: #f5f7fa;
}
.stats-maps-page .stats-maps-panel-header p {
  color: #c1c7d0;
  line-height: 1.5;
}
.stats-maps-page .stats-maps-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-content: flex-start;
  justify-content: flex-end;
}
.stats-maps-page .stats-maps-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c1c7d0;
}
.stats-maps-page .stats-maps-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.stats-maps-page .stats-settlements-map {
  min-height: 860px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(217, 93, 57, 0.14), transparent 34%), linear-gradient(180deg, #1f2329 0%, #14181d 100%);
  overflow: hidden;
}
.stats-maps-page .stats-settlements-map .leaflet-container,
.stats-maps-page .stats-settlements-map .leaflet-pane {
  background: transparent;
}
.stats-maps-page .stats-maps-loading,
.stats-maps-page .stats-maps-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #424242;
  color: #c1c7d0;
  text-align: center;
}
.stats-maps-page .stats-maps-top-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats-maps-page .stats-maps-top-list {
  display: grid;
  gap: 12px;
}
.stats-maps-page .stats-maps-top-item,
.stats-maps-page .stats-maps-top-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #424242;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.stats-maps-page .stats-maps-top-item strong {
  color: #f5f7fa;
}
.stats-maps-page .stats-maps-top-item small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #c1c7d0;
}
.stats-maps-page .stats-maps-top-summary-row {
  margin-top: 12px;
  color: #c1c7d0;
}
.stats-maps-page .stats-maps-top-summary-row strong {
  color: #f5f7fa;
  font-size: 15px;
}
.stats-maps-page .stats-maps-top-count {
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  background: #b23a48;
}
.stats-maps-page .stats-maps-popup h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #102a43;
}
.stats-maps-page .stats-maps-popup p {
  margin: 0 0 4px;
  color: #52606d;
}
.stats-maps-page .stats-maps-popup strong {
  color: #b23a48;
}
@media (max-width: 1199px) {
  .stats-maps-page .stats-maps-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-maps-page .stats-settlements-map {
    min-height: 720px;
  }
}
@media (max-width: 767px) {
  .stats-maps-page .stats-maps-hero-copy {
    padding: 22px;
    background-position-y: -100px;
  }
  .stats-maps-page .stats-maps-hero-copy h1 {
    font-size: 30px;
  }
  .stats-maps-page .stats-maps-metrics {
    grid-template-columns: 1fr;
  }
  .stats-maps-page .stats-maps-panel {
    padding: 18px;
  }
  .stats-maps-page .stats-maps-panel-header {
    flex-direction: column;
  }
  .stats-maps-page .stats-settlements-map {
    min-height: 560px;
  }
}