/* ── Week summary ──────────────────────────── */
.week-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 0;
  padding: 4px;
  background: none;
  border: none;
  box-shadow: none;
  /* Stretch each summary to fill an equal share of the column so it aligns
     with the matching calendar week row (parent align-items: stretch + equal
     row-gap on both columns makes each summary the same height as a day
     tile). */
  flex: 1;
}

.week-summary__total {
  color: var(--text-muted);
  text-align: center;
  line-height: var(--leading-snug);
}

.week-summary__total.is-met {
  color: var(--green-dark);
}

.week-summary.is-empty {
  visibility: hidden;
}

.week-summaries {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  /* Matches .calendar-grid row-gap so each summary (flex: 1) aligns vertically
     with its calendar week row. */
  gap: 28px;
  flex-shrink: 0;
  width: 90px;
}

.week-summaries[hidden] { display: none; }

