.fin-text{white-space:pre-wrap;overflow-wrap:anywhere}.fin-mail-preview{border-top:4px solid #405189;background:#f8fafc;padding:24px;line-height:1.8;border-radius:5px}#finance-modal .modal-body{max-height:calc(100dvh - 190px)}#finance-screen .form-select{min-width:0}#finance-screen .card-body .mb-3{margin-bottom:0!important}#finance-modal textarea{resize:vertical}#finance-screen td strong{font-weight:600}

.fin-ledger-summary>div{border-left:3px solid #e5eaf3;padding-left:14px}.fin-ledger-summary strong{font-size:16px}.fin-ledger-table th,.fin-ledger-table td{padding:9px 12px;font-size:12px}.fin-ledger-note{white-space:normal;min-width:180px;max-width:400px;overflow-wrap:anywhere}.fin-ledger-scroll{max-height:370px;overflow:auto}.fin-ledger-table thead th{position:sticky;top:0;z-index:2;background:var(--vz-light,#f1f4f9)}.fin-ledger-reversal{color:var(--vz-danger,#f06548)}

/* Payment overview: compact balances, visible document actions and contained tables. */
#finance-screen{min-width:0;max-width:100%}.fin-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin-bottom:16px}.fin-balance-tile{display:flex;flex-direction:column;gap:6px;padding:16px;background:var(--vz-card-bg,#fff);border:1px solid var(--vz-border-color,#e1e7f0);border-radius:7px}.fin-balance-tile strong{font-size:21px}.fin-heading,.fin-pagination,.fin-receipt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fin-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.fin-tabs,.fin-bulk-actions{display:flex;align-items:center;gap:8px;padding:12px 16px;flex-wrap:wrap}.fin-filter-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.fin-filter-bar>.mb-3{flex:1 1 130px;min-width:0}.fin-filter-bar>.fin-search-control{flex:2 1 240px;min-width:0}.fin-filter-bar>.mb-3:has(#fin-filter_firm){flex:2 1 200px}.fin-filter-bar .search-select-wrap{max-width:100%;min-width:0}.fin-pagination{padding:12px 16px;border-top:1px solid var(--vz-border-color,#e1e7f0);font-size:12px}.fin-bulk-actions{border-bottom:1px solid var(--vz-border-color,#e1e7f0);background:var(--vz-light,#f5f8fc)}#finance-screen .table-responsive{max-width:100%;overflow:auto}#finance-screen .table th,#finance-screen .table td{padding:10px 12px;font-size:12px;vertical-align:middle}#finance-screen .table th{background:var(--vz-light,#eef3fb);white-space:nowrap}#finance-screen .fin-cell-note{white-space:normal;overflow-wrap:anywhere;min-width:130px;max-width:250px}#finance-screen strong.fin-cell-note{display:block}#finance-screen .btn-link{display:block;font-size:12px;text-align:left;white-space:normal}.fin-voided-row{opacity:.7}.fin-tl-details{margin-bottom:16px}.fin-tl-details>summary,.fin-receipt-panel summary{padding:10px 0;cursor:pointer;color:var(--vz-primary,#405189)}.fin-receipt-panel{border:1px solid var(--vz-border-color,#e1e7f0);border-radius:7px;padding:12px}.fin-receipt-heading strong{overflow-wrap:anywhere;min-width:0;flex:1 1 180px}.fin-receipt-frame{height:55dvh;min-height:250px}#finance-screen .btn,#finance-modal .fin-row-actions .btn{min-width:0!important;width:auto!important;max-width:100%;height:auto;min-height:32px;font-size:12px}#finance-screen .fin-filter-reset{height:34px;flex:0 0 34px;padding:6px}
@media(max-width:575.98px){.fin-filter-bar>.mb-3{flex:1 1 calc(50% - 10px)}.fin-filter-bar>.fin-search-control,.fin-filter-bar>.mb-3:has(#fin-filter_firm){flex:1 1 100%}.fin-heading{padding:12px}.fin-receipt-heading .fin-row-actions{flex-wrap:wrap}#finance-screen .fin-filters{padding:12px}.fin-tabs>.btn{flex:1 1 auto}#finance-screen .fin-bulk-actions>.btn{flex:1 1 100%}.fin-overview{grid-template-columns:1fr 1fr;gap:8px}.fin-balance-tile{padding:10px}.fin-balance-tile strong{font-size:17px}.fin-balance-tile span,.fin-balance-tile small{font-size:11px}.fin-pagination{padding:12px 10px}#finance-screen .btn,#finance-modal .fin-row-actions .btn{min-height:40px}}

.rb-review-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);align-items:start}.rb-review-layout .card-body{min-width:0}.rb-pdf-pane{padding:16px;position:sticky;top:var(--workspace-fixed-top,116px);min-width:0}.rb-pdf-frame{display:block;width:100%;height:calc(100dvh - var(--workspace-fixed-top,116px) - 85px);min-height:360px;border:1px solid #dce3ef;border-radius:6px;background:#f3f6f9}@media(max-width:1100px){.rb-review-layout{grid-template-columns:1fr}.rb-pdf-pane{position:static;order:-1}.rb-pdf-frame{height:60dvh;min-height:300px}}

#receipt-batch-screen .form-control,#receipt-batch-screen .form-select{min-height:32px;height:32px;padding:5px 9px;font-size:12px}#receipt-batch-screen textarea.form-control{height:auto;min-height:74px}#receipt-batch-screen .form-label{font-size:12px;margin-bottom:4px}#receipt-batch-screen .btn{height:32px!important;min-height:32px!important;padding:5px 12px!important;font-size:12px;max-width:none;min-width:0;width:auto}#receipt-batch-screen .rb-table td{padding:9px 10px}#receipt-batch-screen .rb-table td:last-child{min-width:210px}#receipt-batch-screen .form-check-input{width:14px;height:14px}#receipt-batch-screen .rb-review-layout .row{--vz-gutter-x:12px;--vz-gutter-y:12px}#receipt-batch-screen .fx-tools{padding:10px!important}#receipt-batch-screen .rb-target-amount{max-width:145px}

.finance-action-icon,#receipt-batch-screen .btn.finance-action-icon{display:inline-flex;align-items:center;justify-content:center;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;vertical-align:middle;margin-right:4px}.finance-action-icon i{font-size:16px;line-height:1}

.fin-receipt-frame{display:block;width:100%;height:500px;border:1px solid #dce3ef;border-radius:6px;background:#f3f6f9}.fin-receipt-image{display:block;max-width:100%;max-height:500px;object-fit:contain;margin:auto}.fl-table td:last-child{white-space:nowrap}

.fin-filters .mb-3{margin-bottom:0!important}.fin-filters .form-label{font-size:12px;margin-bottom:5px}.fin-filters .form-control,.fin-filters .form-select{height:34px;min-height:34px;font-size:12px;padding:6px 10px}.fin-filters>small{display:block;margin-top:10px}.rb-form-section{padding:12px;border:1px solid #e1e7f0;border-radius:7px;margin-bottom:10px;flex:0 0 100%;max-width:100%}.rb-form-section>h6{font-size:12px;font-weight:600;margin-bottom:10px;color:#405189}.rb-rate-details{margin-top:10px;border-top:1px solid #e5eaf2;padding-top:8px}.rb-rate-details>summary{cursor:pointer;font-size:12px;color:#405189}.rb-rate-details .fx-tools{border:0!important;margin:8px 0 0!important;padding:0!important;display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:8px;align-items:end}.rb-rate-details .fx-tools>label{margin:0}.rb-rate-details .fx-status{grid-column:1/-1;font-size:11px;margin-top:0!important}.rb-bank-context,.rb-bank-context .text-muted{color:#4a5873!important;background:#f5f8fc!important;border-color:#e0e7f1!important;font-size:12px}
