/* Typography */
.display-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
.subtle {
  color: rgba(15, 23, 42, 0.7);
}
.header-section {
  background: linear-gradient(
    180deg,
    rgba(250, 255, 203, 0.3),
    rgba(255, 255, 255, 0.8)
  );
  position: relative;
  z-index: 2;
  padding-top: 100px !important;
  padding-bottom: 60px;
}

/* Status panel */
.status-panel {
  background: color-mix(in oklab, var(--brand) 22%, white);
  border: 1px solid rgba(31, 90, 63, 0.15);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(31, 90, 63, 0.12);
  transition: transform 0.3s ease;
}
.status-panel:hover {
  transform: translateY(-4px);
}
.status-title {
  font-weight: 800;
  color: #0b2c1f;
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.metric .value {
  font-weight: 800;
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  color: #0f2d1f;
}
.metric .label {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.7);
}

/* Data Cards */
.data-card {
  border-radius: 16px;
  border: 1px solid rgba(31, 90, 63, 0.15);
  background: #ffffffcc;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(31, 90, 63, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.data-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 90, 63, 0.15);
}
.data-card .card-header {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(31, 90, 63, 0.2);
}
.chart-area {
  min-height: 220px;
  background: repeating-linear-gradient(
      0deg,
      rgba(47, 124, 87, 0.06) 0 1px,
      transparent 1px 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(47, 124, 87, 0.04) 0 1px,
      transparent 1px 32px
    );
}
.table-wrapper {
  background: rgba(255, 255, 255, 0.6);
}
.table thead th {
  background: color-mix(in oklab, var(--brand) 10%, white);
  color: #0f2b1f;
  font-weight: 700;
  border-bottom: 0;
}
.card-footer {
  background: color-mix(in oklab, var(--brand) 6%, white);
  border-top: 1px solid rgba(31, 90, 63, 0.15);
}

/* Buttons */
.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
}
.btn-ghost {
  background: color-mix(in oklab, var(--brand) 8%, white);
  border-color: rgba(31, 90, 63, 0.25);
  color: var(--brand-dark);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: color-mix(in oklab, var(--brand) 12%, white);
}

/* Layout spacing */
.section-gap {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .section-gap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
