.overview-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font: var(--mat-sys-headline-medium);
  font-weight: 700;
}
h2 {
  font: var(--mat-sys-title-large);
  font-weight: 700;
}
.eyebrow {
  color: var(--mat-sys-primary);
  font: var(--mat-sys-label-large);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.balance-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}
.balance-card mat-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
}
.balance-card strong {
  font: var(--mat-sys-headline-small);
  font-weight: 700;
}
.balance-card small {
  color: var(--mat-sys-on-surface-variant);
}
.balance-card--primary {
  // background: var(--mat-sys-primary-container);
  // color: var(--mat-sys-on-primary-container);
  background: linear-gradient(135deg, #5ca34c 0%, #4f8f46 55%, #3f7f3c 100%);

  color: #ffffff;
}
.section-heading {
  margin-bottom: 0.75rem;
}
.activity-list {
  display: flex;
  flex-direction: column;
}
.activity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--mat-sys-outline-variant);
}
.activity__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mat-sys-secondary-container);
  color: var(--mat-sys-on-secondary-container);
}
.activity__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.activity__copy span,
.activity__copy small {
  color: var(--mat-sys-on-surface-variant);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.state {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--mat-sys-on-surface-variant);
  text-align: center;
}
.chart-block {
  margin-bottom: 2rem;
}
.chart-card mat-card-content {
  padding: 1rem 1.25rem 1.25rem;
}
.chart-canvas-box {
  position: relative;
  height: 220px;
}
.chart-card__link {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .balance-grid {
    grid-template-columns: 1fr;
  }
}
