/* ==========================================================================
   RETURN ROWS (.pr-row), the payroll return's breakdown rows.
   Inside a return's breakdown card (.ret-bd), each line of the return: a label with an optional quieter
   line under it, and the amount right-aligned in one column; the last line can be the total
   (.pr-row--total: a hairline above, the label and amount in ink). Payroll's "PAYE, USC & PRSI" card
   lists PAYE, USC, employee PRSI, employer PRSI and "Tax due" with them. The label takes the room and
   wraps, so the amounts never leave the card on a phone. Copied VERBATIM from the inline styles of
   payroll-return.html (4 Nov 2026) so the VAT return's "View full return" lists the VAT3's boxes with the
   same rows (js/vat-file.js, gated ?try=vat-file). payroll-return.html still carries its own inline copy;
   when it is next touched it links this file and drops that copy. Change both together until then.
   Catalogued at preview/index.html#returnrows.
   ========================================================================== */
/* Return rows: a label (with optional muted sub-line) and a right-aligned amount. One grid so every
   figure lines up in a column (Peter: standardize the text positions). */
.pr-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 13px 0; border-bottom: var(--border-width) solid var(--color-border); }
.pr-row:last-child { border-bottom: none; }
.pr-row__label { min-width: 0; }
.pr-row__label small { display: block; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }
.pr-row__amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-text-muted); }
.pr-row--total { border-top: var(--border-width) solid var(--color-border); border-bottom: none; margin-top: 2px; padding-top: 14px; }
/* one divider above the total, not two: the row before it drops its own (Signal card 95's check, 4 Nov 2026) */
.pr-row:has(+ .pr-row--total) { border-bottom: none; }
.pr-row--total .pr-row__label { font-weight: var(--weight-medium); }
.pr-row--total .pr-row__amt { color: var(--color-text); font-weight: var(--weight-medium); }

/* UNDER THE CARD'S OWN FIGURE (.pr-rows--figure on the list; Signal card 95's check, 4 Nov 2026). In a breakdown card
   whose head carries the figure (the VAT return's View full return), the lines' amounts read in ink, like the VAT
   return's own rows, and end on the same right edge as that figure: the head keeps a 24px chevron column and a 16px gap
   to the right of its figure, so the lines step in by the same 40px. */
.pr-rows--figure .pr-row { padding-right: 40px; }
.pr-rows--figure .pr-row__amt { color: var(--color-text); font-weight: var(--weight-medium); }
