/* ==========================================================================
   TRANSFER ROW (.tr-wrap / .tr-row), payroll's "What you've to transfer".
   After a pay run, payroll lists what to pay each person and "Move the payroll tax for Revenue into your
   company tax account connected to ROS". A row: a tick box, the sentence (a quieter line under it says
   where the figure comes from), the amount (press it to copy the number), "Done" on the right once
   ticked; the primary button under the rows ends the step. Copied VERBATIM from the inline styles of
   payroll-transfer.html (4 Nov 2026) so a second page can use the same row: the VAT return's "put this
   money aside" (js/vat-file.js, gated ?try=vat-file). The button row is scoped to .tr-wrap here because
   several payroll pages keep their own .onboard-actions. payroll-transfer.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#transferrow.
   ========================================================================== */
.tr-wrap { max-width: 800px; display: flex; flex-direction: column; gap: 12px; }
.tr-row {
  display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 16px 24px;   /* 16px top and bottom so the tax row's second line has room (21 Oct 2026); the one-line rows stay 76px */
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
/* ONE size across the row: everything reads at the name/amount size; 'Done' appears on the right when
   ticked (Peter, 17 Jul: the old small 'Not done' ran into the name) */
.tr-row__status { flex: none; font-size: var(--text-base); color: var(--color-text-muted); padding-right: 12px; }
.tr-row__status:empty { display: none; }
.tr-row__who { flex: 1; min-width: 0; font-size: var(--text-base); }
.tr-row--top { align-items: flex-start; min-height: 0; }   /* the tick sits level with the first line, not the middle of the row (Peter, card 95 note 1, 10 Nov 2026) */
.tr-row__who strong { font-weight: var(--weight-medium); }
/* where the tax comes from, under the sentence, same size, quieter colour (21 Oct 2026) */
.tr-row__sub { display: block; margin-top: 4px; color: var(--color-text-muted); }
.tr-row__amt { flex: none; font-size: var(--text-base); font-weight: var(--weight-medium); }
/* Click an amount to copy just the number (Peter, 22 Jul): cursor + a subtle hover, and a brief yellow
   flash when it copies. Padding is offset by negative margin so the row doesn't shift. */
.tr-row__amt { cursor: pointer; padding: 3px 6px; margin: -3px -6px; border-radius: 6px; transition: background .15s ease; }
.tr-row__amt:hover { background: var(--color-bg-subtle); }
.tr-row__amt.is-copied { background: var(--color-hilite-strong); transition: none; }
.tr-row.is-done .tr-row__who, .tr-row.is-done .tr-row__amt { color: var(--color-text-muted); font-weight: var(--weight-regular); }
.tr-wrap .onboard-actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-6); padding-top: 32px; }
/* when a section follows (the VAT return page), the button sits close under its card and the next section keeps its room
   (Signal card 95's check, 4 Nov 2026; payroll's own page, where the button ends the page, keeps its inline 32px) */
.tr-wrap:not(:last-child) { margin-bottom: var(--space-6); }
.tr-wrap:not(:last-child) .onboard-actions { padding-top: var(--space-4); }
