.statistics-page {
  min-width: 0;
}

.statistics-page *,
.statistics-page *::before,
.statistics-page *::after {
  box-sizing: border-box;
}

.statistics-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.statistics-brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}

.statistics-brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.statistics-brand-copy strong {
  font-size: 1rem;
  line-height: 1.25;
  color: #0f172a;
}

.statistics-brand-copy span {
  font-size: 0.76rem;
  line-height: 1.35;
  color: #64748b;
}

.statistics-nav-current {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}

.statistics-container {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 2rem 4rem;
  min-width: 0;
}

.statistics-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-block-end: 1.5rem;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eff6ff 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.statistics-eyebrow,
.statistics-section-kicker {
  margin: 0 0 0.45rem;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.statistics-hero h1 {
  margin: 0;
  max-width: 780px;
  color: #0f172a;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.14;
}

.statistics-hero-copy {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.85;
}

.statistics-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1e40af;
  background: rgba(239, 246, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
}

.statistics-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  min-height: 180px;
  color: #475569;
  font-weight: 700;
}

.statistics-loader {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #bfdbfe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: statistics-spin 0.8s linear infinite;
}

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

.statistics-error {
  padding: 1.5rem;
  border: 1px solid #fecaca;
  border-radius: 20px;
  background: #fff7f7;
}

.statistics-error h2 {
  margin-top: 0;
  color: #991b1b;
}

.statistics-section-heading,
.statistics-panel-heading {
  margin-bottom: 1rem;
}

.statistics-section-heading h2,
.statistics-panel-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
}

.statistics-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.statistics-summary-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.statistics-summary-label,
.statistics-summary-note {
  display: block;
}

.statistics-summary-label {
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
}

.statistics-summary-value {
  display: block;
  margin-block: 0.35rem;
  color: #1d4ed8;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.statistics-summary-note {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.5;
}

.statistics-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.statistics-panel {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.statistics-bars {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.statistics-bar-item {
  min-width: 0;
}

.statistics-bar-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  min-width: 0;
}

.statistics-bar-label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

.statistics-bar-count {
  flex: 0 0 auto;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
}

.statistics-bar-track {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf1fb;
}

.statistics-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.statistics-empty {
  margin: 0;
  padding: 1rem;
  color: #64748b;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}

.statistics-data-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.65;
  border-radius: 16px;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .statistics-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistics-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .statistics-container {
    width: min(100% - 1rem, 1240px);
    padding-block: 1rem 3rem;
  }

  .statistics-hero {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .statistics-summary-grid {
    grid-template-columns: 1fr;
  }

  .statistics-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .statistics-brand-copy span {
    display: none;
  }

  .statistics-trust-note {
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .statistics-brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .statistics-brand-copy strong {
    font-size: 0.88rem;
  }

  .statistics-hero,
  .statistics-summary-card,
  .statistics-panel {
    min-width: 0;
    max-width: 100%;
  }

  .statistics-bar-meta {
    gap: 0.4rem;
  }
}