.finance-toolbar,.finance-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.finance-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:0 0 28px;margin-bottom:28px;border-bottom:1px solid #D8E1E7}.finance-overview>div{display:flex;flex-direction:column;gap:12px}.finance-overview span{font-size:12px;color:#526674}.finance-overview strong{font-size:30px;letter-spacing:-.02em;color:#142B3A}.finance-paper{background:#FFFFFF;border:1px solid #D8E1E7;border-radius:12px;padding:38px;max-width:1100px;margin:22px auto}.finance-letterhead{display:flex;justify-content:space-between;gap:30px;padding-bottom:25px;border-bottom:1px solid #D8E1E7}.finance-letterhead>div:last-child{text-align:right}.finance-letterhead h2{font-size:23px;margin:12px 0;color:#142B3A}.finance-letterhead>div>strong{color:#007F82;font-size:15px}.finance-letterhead p,.finance-billto p{font-size:12px;line-height:1.8;color:#526674}.finance-billto{display:flex;justify-content:space-between;gap:25px;margin:28px 0}.finance-billto span{display:block;font-size:11px;color:#526674;margin-bottom:8px}.finance-billto strong{font-size:15px;color:#142B3A}.finance-paper table{min-width:540px}.finance-totals{margin:25px 0 25px auto;max-width:350px}.finance-totals>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;font-size:13px}.finance-totals dd{margin:0;font-variant-numeric:tabular-nums}.finance-grand{border-top:1px solid #D8E1E7;font-weight:700;font-size:18px!important}.finance-notes{white-space:pre-wrap;font-size:13px;line-height:1.7;color:#526674}.finance-disclaimer{font-size:11px;color:#526674;border-top:1px solid #D8E1E7;padding-top:18px;margin-top:24px;line-height:1.7}#action-fields:has(.finance-paper){display:block}#action-dialog:has(.finance-paper){max-width:1000px;width:95vw}.stage-paid,.stage-approved{background:#DDEFE7;color:#24563F}.stage-unpaid,.stage-sent{background:#E7EFF9;color:#315B89}.stage-overdue{background:#F9E4E3;color:#913D38}.stage-partially-paid{background:#FFF0CF;color:#785414}
@media(max-width:650px){.finance-overview{grid-template-columns:1fr 1fr;gap:24px 16px}.finance-overview strong{font-size:24px}.finance-paper{padding:20px 16px}.finance-letterhead{gap:16px}.finance-letterhead h2{font-size:18px}.finance-billto{display:block}.finance-billto>div+div{margin-top:18px}.finance-toolbar button{font-size:12px}.finance-filters{gap:7px}.finance-filters button{font-size:11px;padding:10px}.section-title:has([data-action="fin-new"]){flex-wrap:wrap}}
@media print{.finance-paper{border:0;padding:0;margin:0;max-width:none}.finance-paper table{min-width:0}.finance-paper .table-wrap{overflow:visible}.finance-paper th,.finance-paper td{font-size:10px;padding:8px}.finance-letterhead,.finance-billto,.finance-totals{break-inside:avoid}.finance-paper tr{break-inside:avoid}.finance-disclaimer{font-size:10px}}
