.bank-controls,.bank-pager,.bank-summary { display:flex; align-items:center; gap:14px; flex-wrap:wrap }
.bank-controls { margin:0 0 16px }
.bank-controls .field { min-width:min(220px,100%) }
.bank-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px }
.bank-empty { padding:26px; line-height:1.6 }
.bank-empty p { color:var(--muted); margin-top:5px }
.bank-review,.bank-allocations { max-height:43vh; overflow:auto }
.bank-allocations { display:grid; gap:10px }
.bank-allocations .field { display:grid; grid-template-columns:minmax(0,1fr) minmax(82px,110px); align-items:center; border-bottom:1px solid var(--line); padding:6px 0 10px }
.bank-allocations input { text-align:right }
.bank-pager { justify-content:flex-end; padding:12px; color:var(--muted); font-size:13px }
.bank-summary,.bank-warning { padding:12px 14px; border-radius:8px; line-height:1.4 }
.bank-summary { justify-content:space-between; background:#f2f6fb }
.bank-warning { background:#fff5dd; color:#774d19 }
.bank-status { display:inline-block; padding:4px 8px; border-radius:20px; font-size:12px; font-weight:650; white-space:nowrap }
.bank-status.done { color:#17654f; background:#e6f4ed }
.bank-status.pending { color:#825317; background:#fff2dc }
.bank-credit { color:#197158 }
.bank-selection { text-align:right; font-weight:600 }
@media(max-width:680px){
  .bank-kpis { grid-template-columns:1fr }
  .bank-controls .field { flex:1 }
  .bank-review th,.bank-review td { padding:7px }
}
.bank-statement{min-width:1120px;border-collapse:separate;border-spacing:0}
.bank-statement td,.bank-statement th{text-align:left;vertical-align:middle}
.bank-statement .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.bank-statement td:nth-child(2),.bank-statement td:nth-child(3),.bank-statement td:nth-child(4){min-width:135px;max-width:260px;white-space:normal;overflow-wrap:anywhere}
.bank-statement td:nth-child(8){min-width:150px}
.bank-statement .bank-fixed-actions{position:sticky;right:0;z-index:1;background:var(--paper,#fff);box-shadow:-4px 0 8px -5px #213b544d;text-align:right;width:1%;white-space:nowrap}
.bank-statement thead .bank-fixed-actions{z-index:2;background:#f7f9fc}
.bank-party-name{max-width:100%;text-align:left;overflow-wrap:anywhere}
.bank-linked-doc+.bank-linked-doc{margin-top:6px}
.bank-party-cell{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.bank-party-cell .iconbtn{display:inline-flex;flex:none;width:26px;height:26px}
.bank-party-cell .iconbtn svg{width:14px;height:14px}
