/* V5.52.58: vendor original 50:50 layout remains untouched; right-hand four tabs. */
.le55127-panel>.le55258-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px;background:#dce9f2;border-bottom:1px solid #cad9e4}
.le55258-tabs .btn{white-space:normal;line-height:1.3;min-height:39px;font-size:12px!important;background:#fff;color:#31536d;border:1px solid #b6c9d8;border-radius:4px;padding:5px 4px!important;cursor:pointer}
.le55258-tabs .btn.active{background:#416985;color:#fff;border-color:#416985;font-weight:700}
.le55127-panel>.le55258-extra{display:none;background:white;min-height:340px;color:#244460;font-size:12px}
.le55127-panel.le55258-extra-active>.le55127-panelhead,.le55127-panel.le55258-extra-active>.le55127-scroll,.le55127-panel.le55258-extra-active>.le55127-pager{display:none!important}
.le55127-panel.le55258-extra-active>.le55258-extra{display:block}
.le55258-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;padding:10px;background:#506879;color:#fff}
.le55258-head b{font-size:14px}.le55258-head small{color:#e2edf6}
.le55258-filters{display:flex;gap:7px;align-items:end;flex-wrap:wrap;padding:8px;background:#edf4f9}
.le55258-filters label{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#36536b;font-weight:600}
.le55258-filters select,.le55258-filters input{max-width:150px!important;width:auto;min-width:93px;padding:6px!important;font-size:11px}
.le55258-filters .btn,.le55258-actions .btn{border:1px solid #b9c9d6;border-radius:5px;background:#e5eff6;color:#204965;padding:6px 9px;cursor:pointer}
.le55258-status{padding:7px 9px;margin:0;background:#fff7df;border-bottom:1px solid #f0dda9;color:#71552a;line-height:1.5;min-height:23px}
.le55258-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px}
.le55258-cards>div{border:1px solid #d4e2ed;padding:7px 8px;border-radius:5px;background:#f6f9fc;display:flex;justify-content:space-between;gap:7px;align-items:center}
.le55258-cards small{color:#5f7791;font-size:10px}.le55258-cards b{font-size:12px;white-space:nowrap}
.le55258-actions{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;padding:5px 8px;border-bottom:1px solid #dae3eb}
.le55258-meta{font-size:11px;color:#58758a;padding:6px 8px;margin:0}
.le55258-scroll{max-height:475px;min-height:160px;overflow:auto}
.le55258-scroll table{border-collapse:collapse;min-width:800px;width:100%;font-size:11px}
.le55258-scroll th,.le55258-scroll td{white-space:nowrap;border:1px solid #e0e7ed;padding:6px}
.le55258-scroll th{position:sticky;top:0;background:#e7f0f8;z-index:1}
.le55258-number{text-align:right;font-variant-numeric:tabular-nums}
.le55258-reconcile{padding:8px 12px;color:#6c5429;background:#fffbef}
.le55258-reconcile h4{margin:6px 0}.le55258-reconcile p{margin:6px 0;padding:5px;border-bottom:1px solid #f0e5c9}
@media(max-width:780px){.le55127-panel>.le55258-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.le55258-cards{grid-template-columns:1fr}.le55258-head{align-items:flex-start}}

/* V5.52.59: read-only legacy allocation bridge safety report. */
.le55259-bridge{margin:7px 10px;padding:9px 11px;background:#eef6fb;border:1px solid #bfcfdf;border-radius:5px;color:#35566b}
.le55259-bridge h4{margin:0 0 6px;font-size:12px}.le55259-bridge p{font-size:11px;margin:5px 0;line-height:1.5}

/* V5.52.60 multi-ledger read-only report, separate from per-tab export. */
.le55258-actions .le55260-full-report{border-color:#608a77;background:#edf7f0;color:#23513d;font-weight:700}
@media(max-width:780px){.le55258-actions .le55260-full-report{flex:1 1 42%;font-size:11px}}

/* V5.52.61: explicit pending bridge review; never a financial reversal. */
.le55261-preview-btn{font-size:11px!important;min-width:88px;background:#eef2fb!important;color:#284466!important;border:1px solid #aebfd5!important}
.le55261-preview-btn:disabled{opacity:.55;cursor:wait}

/* V5.52.62 pending reference amount correction, not financial editing */
.le55262-edit-btn{margin-inline-start:4px;white-space:nowrap;background:#718d87!important;color:white!important}

/* V5.53.68: high-contrast current finance tab across all four vendor panels. */
.le55127-panel>.le55258-tabs .btn.active,
.le55127-panel>.le55258-tabs .btn[aria-selected="true"]{
 background:#126d50!important;color:#fff!important;border:3px solid #064c37!important;
 box-shadow:inset 0 -3px 0 #ffd166,0 2px 7px rgba(0,0,0,.18)!important;
 font-weight:800!important;
}
.le55127-panel>.le55258-tabs .btn:not(.active):not([aria-selected="true"]){
 background:#f2f6fb!important;color:#284b68!important;border:1px solid #b6c9d8!important
}

/* V5.53.70: four distinct high-contrast selected tab colors. */
.le55127-panel>.le55258-tabs .btn[data-tab="payments"].active{background:#1554A5!important;border-color:#073A7D!important}
.le55127-panel>.le55258-tabs .btn[data-tab="tax"].active{background:#0D766B!important;border-color:#07554D!important}
.le55127-panel>.le55258-tabs .btn[data-tab="bank"].active{background:#9B5415!important;border-color:#713A0A!important}
.le55127-panel>.le55258-tabs .btn[data-tab="settlement"].active{background:#7041A1!important;border-color:#4B2773!important}
.le55127-panel>.le55258-tabs .btn.active,
.le55127-panel>.le55258-tabs .btn[aria-selected="true"]{color:#FFFFFF!important;font-weight:900!important;text-shadow:0 1px 1px #0005!important;opacity:1!important}
