/* V5.52.45: self-contained finance review UI; retains original accounting list unchanged. */
.le55245-dialog{width:min(1220px,96vw);max-width:96vw;max-height:85vh;padding:16px;background:#fff;color:#173b50;border:1px solid #7d9cad;border-radius:10px;box-shadow:0 18px 50px #1238;overflow:auto;font:13px/1.45 Arial,'Malgun Gothic',sans-serif}
.le55245-dialog::backdrop{background:rgba(20,34,49,.42)}
.le55245-head,.le55245-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.le55245-head strong{font-size:18px}.le55245-notice{padding:9px;background:#eaf4fa;border:1px solid #bad0de;border-radius:6px}
.le55245-dialog button{cursor:pointer;border:1px solid #7291a6;border-radius:5px;padding:7px 11px;background:#f0f5f8;color:#14374c;font-weight:600}
.le55245-dialog button:disabled{opacity:.5;cursor:not-allowed}.le55245-dialog .le55245-primary{background:#315d79;color:#fff;border-color:#315d79}
.le55245-dialog [data-stage-status]{margin:9px 0;padding:7px 10px;background:#f1f6f8;border-radius:4px}
.le55245-dialog [data-stage-status][data-error=true]{background:#fff0e9;color:#9c2929}
.le55245-scroll{overflow:auto;max-height:55vh}.le55245-table{width:100%;border-collapse:collapse;min-width:800px;font-size:12px}
.le55245-table th,.le55245-table td{border:1px solid #cbd6db;padding:6px 7px;text-align:left;white-space:nowrap}
.le55245-table th{position:sticky;top:0;background:#e2ebf1}.le55245-table tbody tr:nth-child(even){background:#f7fafc}
.le55245-table input[data-stage-amount]{box-sizing:border-box;width:116px;border:1px solid #b4c3cd;padding:6px;text-align:right;border-radius:3px}
.le55245-trigger{white-space:nowrap}

/* V5.52.46: explicit manual posting to unpaid expense only. */
.le55245-table select[data-stage-bank],.le55245-table input[data-stage-due]{box-sizing:border-box;min-width:125px;max-width:175px;padding:5px 6px;border:1px solid #b4c3cd;border-radius:4px;background:#fff;color:#173b50;font:inherit}
.le55245-table [data-stage-post]{white-space:nowrap}

/* V5.52.47: restricted unpaid-expense payment-info correction. */
.le55245-table input[data-stage-fix-reason]{width:155px;min-width:130px;box-sizing:border-box;padding:5px;border:1px solid #b4c3cd;border-radius:4px;margin-right:5px}
.le55245-table [data-stage-fix]{white-space:nowrap;background:#e5f1e9;border-color:#6e9982}

/* V5.52.55: distinguish confirmed HQ progress amount from human-entered expense. */
.le55245-table [data-stage-adopt]{background:#e8f3ed;border-color:#789b84;white-space:nowrap;margin-top:4px}

/* V5.52.56: indicate HQ source revalidation without changing approval/payment status. */
.le55245-table .le55256-source-ok{display:inline-block;color:#245c43;background:#e6f2e9;padding:4px 6px;border-radius:4px;font-weight:600}
.le55245-table .le55256-source-warning{display:inline-block;color:#962f1d;background:#fff0e8;padding:4px 6px;border-radius:4px;font-weight:600}
