.credit-groups{display:grid;gap:18px;margin-top:16px}
.credit-group{min-width:0;border:1px solid #d7e3ea;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(28,48,70,.05)}
.credit-group-head{min-width:0;padding:16px;background:linear-gradient(135deg,#f1f8fd,#f6fbf8);border-bottom:1px solid #dce7ed}
.credit-group-kicker{font-size:11px;line-height:1.3;font-weight:850;letter-spacing:.055em;color:var(--accent,#174f7d);margin-bottom:5px}
.credit-group-head h3{margin:0 0 5px;font-size:19px;line-height:1.25;color:var(--text,#1f2937);overflow-wrap:anywhere}
.credit-group-contract{font-weight:750;font-size:13px;line-height:1.4;color:#334155;overflow-wrap:anywhere}
.credit-group-file{margin-top:4px;font-size:11.5px;line-height:1.4;color:#64748b;overflow-wrap:anywhere}
.credit-group-totals{margin-top:9px;font-size:12.5px;line-height:1.4;color:#475569;overflow-wrap:anywhere}
.credit-group-state,.credit-group-rate{margin-top:10px;padding:9px 10px;border-radius:11px;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.credit-group-state.good{background:#edf8f1;color:#22643a}
.credit-group-state.warn{background:#fff7df;color:#73500d}
.credit-group-rate{background:#eef5ff;color:#254d78}
.credit-group-products{min-width:0;display:grid;gap:12px;padding:14px}
.credit-group-products .refund-product{min-width:0;margin:0}
.credit-group-empty{margin:0}
.credit-group-unassigned{border-color:#efd39e}
.credit-group-summary-note{margin-top:12px}
@media(max-width:600px){
  .credit-groups{gap:14px}
  .credit-group{border-radius:16px}
  .credit-group-head{padding:14px}
  .credit-group-head h3{font-size:17px}
  .credit-group-products{padding:10px;gap:10px}
}
html.tg-dark .credit-group{background:var(--card);border-color:var(--line)}
html.tg-dark .credit-group-head{background:#162737;border-color:var(--line)}
html.tg-dark .credit-group-head h3,html.tg-dark .credit-group-contract{color:var(--text)}
html.tg-dark .credit-group-file,html.tg-dark .credit-group-totals{color:var(--muted)}
