/* Billing module: run and invoice screens. Shared classes come from treasury.css. */
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-4); }
.toolbar .field { margin: 0; }
.toolbar .input { min-width: 10rem; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-4); border-bottom: 1px solid var(--border-subtle); }
.tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4); margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--fg-2); font-weight: var(--fw-semibold); text-decoration: none; }
.tab:hover { color: var(--fg-1); }
.tab.active { color: var(--accent-pressed); border-bottom-color: var(--accent); }
.row-link { font-weight: var(--fw-semibold); }
.mono { font-family: var(--font-mono); font-size: var(--fs-13); }
.muted { color: var(--fg-2); }
.cell-stack { display: flex; flex-direction: column; gap: 2px; }
.cell-stack .caption { margin: 0; }
.statement-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-5); }
.statement-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); margin: var(--space-4) 0; }
.figure { padding: var(--space-3) var(--space-4); border-radius: var(--radius-3); background: var(--bg-raised); }
.figure .eyebrow { margin-bottom: 2px; }
.figure-value { margin: 0; font-size: var(--fs-20); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.figure.net { background: rgba(94, 106, 254, 0.10); }
.figure.net .figure-value { font-size: var(--fs-24); color: var(--accent-pressed); }
.decision { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media print {
  .sidebar, .page-head .quick-actions, .toolbar, .no-print, .btn { display: none !important; }
  .content { padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
}
