/* StatRow - key figures in one white panel, split by line-soft lines.
   The lines are the container's background showing through a 1px gap, so
   they stay right when the cells wrap. Cells grow to fill their row, so a
   wrapped row never leaves an empty slot. */

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--border-width);
  margin: 0;
  overflow: hidden;
  background: var(--color-border-subtle);
  border-radius: var(--border-radius);
}

.stat-row__cell {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-surface);
}

.stat-row__value {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-section);
  line-height: var(--leading-snug);
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.stat-row__label {
  font-family: var(--font-sans);
  font-size: var(--text-note);
  font-weight: var(--weight-regular);
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .stat-row__cell {
    padding: var(--space-4);
  }
}
