/* OS2 Finance (founder only). Builds on os2.css (tables, tiles, pills, banner); adds only what this screen needs.
   Every selector starts with .os2-finance-. Nothing here is wider than a 375 px phone: tables scroll inside
   .os2-scroll. */
.os2-finance-only { margin: 0 0 16px; font-size: 13px; }
.os2-finance-sub { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.os2-finance-foot { margin: 8px 0 0; font-size: 13px; line-height: 1.45; max-width: 72ch; }
.os2-finance-tile-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--muted, #6b7280); }
.os2-finance-total td { font-weight: 600; border-top: 2px solid var(--line, rgba(127, 127, 127, .3)); border-bottom: 0; }
.os2-finance-hasdetail td { border-bottom: 0; }
.os2-finance-detail td { padding-top: 0; font-size: 12px; color: var(--muted, #6b7280); border-bottom: 1px solid var(--line, rgba(127, 127, 127, .2)); }
.os2-finance-pair { max-width: 520px; }
.os2-finance-pair td.num, .os2-finance-pair th.num { width: 34%; }
.os2-finance-steps { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--chip, rgba(127, 127, 127, .1));
  font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.os2-finance-names { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted, #6b7280); overflow-wrap: anywhere; }
/* Month by month: Month, then Net, so on a 390 px phone Net is on screen before the table scrolls. The month name
   wraps; the amounts never break across lines. */
.os2-finance-months td.num, .os2-finance-months th.num { white-space: nowrap; }
.os2-finance-steps a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .os2-finance-sub { margin-top: 14px; }
  .os2-finance-pair { max-width: none; }
}
/* payments-1119: a GHL read / ledger error is the one blocking red on the Payments section. */
.os2-banner.os2-banner-block { border-color: var(--alert, #b42318); color: var(--alert, #b42318); }
