/* t-earnings — T8 Earnings. Layout only; figure, rows, status words, banner and skeleton are shared. Tokens only. M7: flat hero, tappable rows in one card. */
.t-earnings { gap: 0; padding-bottom: var(--space-40); }
.t-earnings__alert { margin-top: var(--rhythm-block); }
.t-earnings__alert .banner__text { text-wrap: pretty; }
.t-earnings__alert [data-money] { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the next Friday: a flat hero (caps label, display figure, caption), its jobs in one card under it */
.t-earnings__hero { display: flex; flex-direction: column; gap: var(--space-4); }
.t-earnings__hero p, .t-earnings__next p { margin: 0; }
.t-earnings__label { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); min-height: 16px; }
.t-earnings__label .info-btn { margin-right: calc(-1 * var(--space-12)); }
.t-earnings__amt-hero { font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.t-earnings__next--none { gap: var(--space-8); }
.t-earnings__after { font-variant-numeric: tabular-nums; }
.t-earnings__rows .list-row { min-height: 56px; }
.t-earnings__amt { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }

/* a Paid Friday: date + bank left, the day's total right, its jobs in a card */
.t-earnings__group { display: flex; flex-direction: column; gap: var(--space-8); }
.t-earnings__group + .t-earnings__group { margin-top: var(--rhythm-group); }
.t-earnings__ghead { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-12); }
.t-earnings__gtext { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.t-earnings__gtext p, .t-earnings__gright span { margin: 0; }
.t-earnings__gright { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-4); font-variant-numeric: tabular-nums; }
.t-earnings__loading { margin-top: var(--rhythm-block); }

/* M6-T-18: sent back + next in one section — the headline carries the date and the whole amount, the Fix button closes it */
.t-earnings__tag { display: inline-block; margin-left: var(--space-8); padding: var(--space-2) var(--space-8); border-radius: var(--radius-full); background: var(--error-bg); color: var(--error-ink); font-weight: 600; vertical-align: 2px; }
.t-earnings__fix { margin-top: var(--rhythm-group); }
.t-earnings__subline { display: block; }
/* DG-4 option B (D-355): Tax documents */
.t-earnings__tax .list-row { min-height: 56px; }
/* B-07 (pre-MVP sweep, D-441): On the way — her booked jobs not paid yet; the line under the heading, then the rows */
.t-earnings__flight > p { margin: 0 0 var(--space-8); }
