/* LINEENG V5.49.47 – only tax creation / linked bank entry surfaces */
.v5170-headacts .le47-taxnew{background:#125fb2!important;border-color:#125fb2!important;color:#fff!important;font-weight:800!important;box-shadow:0 2px 7px rgba(18,95,178,.2)}
#rpTaxEdit5180 .v5173-righthead{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#rpTaxEdit5180 .v5173-righthead h3{flex:1;min-width:180px}
#rpTaxEdit5180 .le47-vendor-button{background:#e9f3ff;color:#124e89;border:1px solid #82b3e3;font-weight:700}
#rpTaxEdit5180 .le47-tax-tip{padding:10px 15px;background:#edf4ff;color:#294c75;font-size:12px}
#rpTaxEdit5180 .le47-inline-scan{padding:10px 15px;border-bottom:1px solid #e8edf4}
#rpTaxEdit5180 .le47-vendor-result{padding:8px 11px;margin:9px;border:1px solid #b6d6f5;background:#f1f8ff;color:#1a5d93;border-radius:7px}
.le47-vendor-overlay{position:fixed;z-index:120000;inset:0;background:rgba(12,25,38,.5);display:grid;place-items:center;padding:16px}
.le47-vendor-panel{width:min(850px,96vw);max-height:88vh;overflow:auto;background:#fff;color:#233247;border-radius:10px;box-shadow:0 15px 45px #0004;padding:18px}
.le47-vendor-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:17px}
.le47-vendor-options{margin:12px 0;display:flex;gap:12px;flex-wrap:wrap}.le47-vendor-options input{min-width:250px;flex:1}
.le47-vendor-options input,.le47-vendor-options select{border:1px solid #ccd5e1;border-radius:5px;padding:8px}
.le47-vendor-results{max-height:50vh;overflow:auto;border:1px solid #dde3eb;border-radius:6px}
.le47-vendor-results table{width:100%;border-collapse:collapse;font-size:13px}
.le47-vendor-results th,.le47-vendor-results td{padding:8px;border-bottom:1px solid #e5eaf1;text-align:left}
.le47-vendor-results thead{position:sticky;top:0;background:#edf3f8}
.le47-vendor-panel p{font-size:12px;color:#526579}
.le47-project-scroll{max-height:min(64vh,690px);overflow-y:auto;padding:5px}
.le47-project-choice{border:1px solid #d9e4ee;border-radius:8px;padding:10px;margin:7px 0;cursor:pointer;background:white}
.le47-project-choice:hover,.le47-project-choice:focus{border-color:#548fce;background:#f2f8ff;outline:0}
.le47-project-heading,.le47-project-title{display:grid;grid-template-columns:1.05fr .9fr .9fr 1.6fr .95fr;gap:8px;align-items:center;overflow-wrap:anywhere}
.le47-project-heading{font-size:11px;color:#6b7b8d;font-weight:700;padding-bottom:4px}
.le47-project-title{font-size:12px;color:#243448}
.le47-project-title>span,.le47-project-title>b{min-width:0;overflow-wrap:anywhere}
.le47-stage{border-radius:5px;background:#e8f5fb;padding:5px;color:#135b87;text-align:center}
.le47-project-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
.le47-project-money span{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:7px;background:#f2f6fa;border-radius:5px;font-size:12px;overflow-wrap:anywhere}
.le47-choice-action{text-align:right;margin-top:6px}
.le47-linked-preview{margin:8px 0;padding:10px;border:1px solid #d7e5f3;border-radius:7px}
.le47-history-head{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:8px}
.le47-history-head span{font-size:12px;color:#5d6c7e}
.le47-history-scroll{max-height:230px;overflow-y:auto;overflow-x:auto;border:1px solid #dce5ec;border-radius:6px}
.le47-history-table{min-width:620px;width:100%;font-size:12px}
.le47-history-table thead{position:sticky;top:0;background:#eaf1f7;z-index:2}
.le47-history-table td,.le47-history-table th{padding:8px}
.le47-history-select{display:block;margin:7px 0;font-size:12px}.le47-history-select select{margin-left:7px;max-width:75%;padding:6px}
.le47-footnote{margin-top:7px;color:#65778a;font-size:11px}
@media(max-width:800px){.le47-project-heading,.le47-project-title{grid-template-columns:1fr 1fr 1fr}.le47-project-money{grid-template-columns:1fr}.le47-vendor-panel{max-height:93vh}}
