.herfi-actions { display:flex; gap:8px; flex-wrap:wrap; }
.herfi-report table { width:100%; border-collapse:collapse; font-size:13px; margin-bottom:24px; }
.herfi-report th, .herfi-report td { padding:10px 12px; border-bottom:1px solid var(--border); }
.herfi-report th { text-align:left; font-weight:500; }
.herfi-report td { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.herfi-credits thead th { background:var(--navy); color:#fff; font-size:11px; font-weight:600; }
.herfi-credits thead th:not(:first-child) { text-align:right; }
.herfi-credits tbody th { white-space:nowrap; }
.herfi-equity { color:var(--muted); }
.herfi-total { background:var(--bordeaux); color:#fff; }
.herfi-total th, .herfi-total td { font-weight:700; border-bottom:0; }
.herfi-property { display:flex; justify-content:space-between; gap:24px; background:var(--cream); padding:16px; border-radius:8px; }
.herfi-property dt { font-size:12px; color:var(--muted); }
.herfi-property dd { margin:4px 0 0; font-weight:700; font-variant-numeric:tabular-nums; }
.herfi-note { font-size:12px; margin:0 0 14px; color:var(--muted); }
.herfi-restart { margin-top:24px; }
@media (max-width:520px) {
  .herfi-report .herfi-credits { font-size:11px; }
  .herfi-report .herfi-credits th, .herfi-report .herfi-credits td { padding:8px 4px; }
  .herfi-credits thead th { font-size:10px; }
}
@media print {
  .herfi-report .result-header { padding:20px 24px; }
  .herfi-report .result-body { padding:18px 24px !important; }
  .herfi-report table { margin-bottom:18px; }
  .herfi-report th, .herfi-report td { padding:8px 10px; }
  .herfi-report tr, .herfi-property { break-inside:avoid; }
  .herfi-credits thead { display:table-header-group; }
  .herfi-credits thead th, .herfi-total { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
