.repayment-voucher-page{min-width:0;color:#344b52;font-size:12px}
.voucher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 0 13px;border-bottom:1px solid #dce5e3}
.voucher-toolbar-actions,.voucher-search,.voucher-pagination,.voucher-pagination>div{display:flex;align-items:center}
.voucher-toolbar-actions{gap:0}
.voucher-toolbar button,.voucher-toolbar label,.voucher-search span,.voucher-search input,.voucher-pagination button,.voucher-view-button{box-sizing:border-box;min-height:32px;border:1px solid #cbd8d5;background:#fff;color:#344b52;font:inherit}
.voucher-toolbar-actions>button,.voucher-toolbar-actions>label{margin-left:-1px}
.voucher-toolbar-actions>button:first-child{margin-left:0}
.voucher-toolbar button,.voucher-pagination button,.voucher-view-button{padding:6px 11px;cursor:pointer}
.voucher-toolbar button:hover:not(:disabled),.voucher-pagination button:hover:not(:disabled),.voucher-view-button:hover:not(:disabled){border-color:#269d70;color:#157650}
.voucher-toolbar button:disabled,.voucher-pagination button:disabled,.voucher-view-button:disabled{cursor:not-allowed;opacity:.55}
.voucher-toolbar label{display:flex;align-items:center;gap:6px;padding-left:10px;color:#5d716b}
.voucher-toolbar select{height:30px;border:0;background:#fff;color:#344b52;font:inherit;cursor:pointer}
.voucher-search{margin-left:auto}
.voucher-search span{display:flex;align-items:center;padding:0 11px;border-right:0;white-space:nowrap}
.voucher-search input{width:min(280px,30vw);min-width:140px;padding:0 10px;border-radius:0}
.voucher-search button{margin-left:-1px;min-width:38px;font-size:16px}
.voucher-active-filters{display:flex;flex-wrap:wrap;gap:7px;padding:10px 0 0}
.voucher-active-filters span{padding:4px 8px;border-radius:12px;background:#edf7f2;color:#236b51}
.voucher-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;color:#73847f}
.voucher-table-scroll{width:100%;max-height:calc(100vh - 260px);overflow:auto;border-top:1px solid #dce5e3;outline:none}
.voucher-table-scroll:focus{box-shadow:inset 0 0 0 2px #1b956544}
.voucher-table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;font-size:12px}
.voucher-table th,.voucher-table td{padding:12px 9px;border-bottom:1px solid #e2e8e6;text-align:left;vertical-align:middle;line-height:1.55;overflow-wrap:anywhere}
.voucher-table th{position:sticky;top:0;z-index:2;background:#f8faf9;color:#435a56;font-weight:650;white-space:nowrap}
.voucher-table td:nth-child(1),.voucher-table td:nth-child(2),.voucher-table td:nth-child(6),.voucher-table td:nth-child(7),.voucher-table td:nth-child(8){white-space:nowrap}
.voucher-table th:nth-child(1){min-width:115px}.voucher-table th:nth-child(2){min-width:145px}.voucher-table th:nth-child(3){min-width:90px}.voucher-table th:nth-child(4){min-width:145px}.voucher-table th:nth-child(5){min-width:150px}.voucher-table th:nth-child(6){min-width:75px}.voucher-table th:nth-child(7){min-width:145px}.voucher-table th:nth-child(8){min-width:130px}.voucher-table th:nth-child(9){min-width:86px}
.voucher-table th:last-child,.voucher-table td:last-child{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-4px 0 7px #183f3210}
.voucher-table th:last-child{z-index:3;background:#f8faf9}
.voucher-table tbody tr:hover td{background:#f3f8f6}.voucher-table tbody tr:hover td:last-child{background:#f3f8f6}
.voucher-phone{font-variant-numeric:tabular-nums;color:#294e43}
.voucher-pending-source{color:#98a5a1}
.voucher-status{font-weight:650}.voucher-status.pending{color:#a26213}.voucher-status.reviewed{color:#168157}
.voucher-view-button{min-height:27px;padding:3px 7px;white-space:nowrap}
.voucher-empty{text-align:center!important;padding:48px 16px!important;color:#879590}.voucher-error{color:#a8483b}
.voucher-error button{margin-top:9px}
.voucher-pagination{justify-content:space-between;gap:14px;padding:14px 0;color:#758580}
.voucher-pagination>div{gap:7px}
.repayment-voucher-filter-dialog{width:min(595px,calc(100vw - 32px));padding:0;border:0;border-radius:6px;color:#344b52;background:#fff;box-shadow:0 15px 50px #0005}
.repayment-voucher-filter-dialog::backdrop{background:#0007}
.repayment-voucher-filter-dialog header{display:flex;align-items:center;justify-content:space-between;padding:15px 19px;border-top:4px solid #135a83;border-bottom:1px solid #dfe5e4}
.repayment-voucher-filter-dialog h2{margin:0;font-size:15px;font-weight:600}
.repayment-voucher-filter-dialog header button{border:0;background:transparent;color:#a0aaaa;font-size:23px;cursor:pointer}
.voucher-filter-body{padding:13px 46px 18px}
.voucher-filter-body>label{display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center;gap:14px;margin:13px 0}
.voucher-filter-body>label>span{text-align:right;color:#667872}
.voucher-filter-body select,.voucher-filter-body input{box-sizing:border-box;width:100%;height:32px;border:1px solid #c7d2cf;border-radius:3px;background:#fff;padding:0 10px;color:#344b52;font:inherit}
.voucher-date-range{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);align-items:center}
.voucher-date-range i{height:32px;display:grid;place-items:center;border-block:1px solid #c7d2cf;color:#87948f;font-style:normal}
.voucher-filter-error{margin:8px 0 0 109px;color:#b14036}
.repayment-voucher-filter-dialog footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 16px;border-top:1px solid #dfe5e4}
.repayment-voucher-filter-dialog footer button{min-width:54px;min-height:32px;border:1px solid #cbd8d5;border-radius:4px;background:#fff;color:#5c6b67;font:inherit;cursor:pointer}
.repayment-voucher-filter-dialog footer button[type=submit]{border-color:#22b970;background:#22b970;color:#fff}
@media(max-width:760px){.voucher-toolbar{align-items:stretch;flex-direction:column}.voucher-search{width:100%;margin-left:0}.voucher-search input{width:100%;flex:1}.voucher-list-meta{align-items:flex-start;flex-direction:column}.voucher-table-scroll{max-height:65vh}.voucher-filter-body{padding:12px 16px}.voucher-filter-body>label{grid-template-columns:1fr;gap:6px}.voucher-filter-body>label>span{text-align:left}.voucher-date-range{grid-template-columns:1fr}.voucher-date-range i{height:24px;border:0}.voucher-filter-error{margin-left:0}.voucher-pagination{align-items:flex-start;flex-direction:column}}

.voucher-detail-loading{padding:64px;text-align:center;color:#778985}
.voucher-preview-status{margin:0 42px 16px;padding:11px 14px;border:1px solid #e5ca87;border-radius:5px;background:#fff7e6;color:#75551e}.voucher-preview-status.is-ready{border-color:#b0d7c5;background:#edf8f2;color:#27684e}.voucher-calculation{display:flex;flex-wrap:wrap;gap:10px 20px;padding:12px;border:1px solid #c7ded4;border-radius:5px;background:#f0f8f4}.voucher-calculation small{flex-basis:100%}.voucher-calculation.is-stale{color:#7e7258;background:#f7f5ef;border-style:dashed}.voucher-calculation-help{color:#6e7d76;line-height:1.7}.voucher-excess-notice{padding:10px 12px;background:#fff0db;color:#845319;border-radius:5px}.repayment-voucher-detail [hidden]{display:none!important}.voucher-payment-controls input[name=manualWaiverReason]{width:min(320px,100%)}.repayment-voucher-detail input:disabled,.repayment-voucher-detail textarea:disabled{background:#f2f5f3;color:#687a72}.voucher-bank-id-control button{white-space:nowrap}.voucher-bank-id-control button:disabled{opacity:.6;cursor:wait}@media(max-width:1000px){.voucher-preview-status{margin-inline:16px}.voucher-payment-controls label{flex-wrap:wrap}.voucher-payment-controls input{max-width:100%}}
.repayment-voucher-detail{min-width:0;color:#344b52;font-size:13px}
.voucher-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:12px 6px 20px;border-bottom:1px solid #e0e7e5}
.voucher-detail-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.voucher-detail-heading strong{font-variant-numeric:tabular-nums;color:#1d4137}.voucher-detail-heading button{border:0;border-radius:3px;background:#20b96e;color:#fff;padding:5px 9px;cursor:pointer}.voucher-detail-heading button:disabled{background:#b8c4c0;cursor:not-allowed}.voucher-detail-heading p{margin:0;color:#72827d}
.voucher-detail-review-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:34px;padding:24px 42px}.voucher-detail-review-grid>*{min-width:0}.repayment-voucher-detail .voucher-bank-fields{min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}.repayment-voucher-detail .voucher-bank-fields label{min-width:0}.repayment-voucher-detail .voucher-bank-fields input{width:100%;min-width:0}.repayment-voucher-detail .voucher-bank-fields>span{white-space:normal}.repayment-voucher-detail .voucher-review-form>label{grid-template-columns:90px minmax(0,1fr)}.repayment-voucher-detail .voucher-review-form select{min-width:0;width:100%}
.voucher-detail-label{display:block;margin-bottom:8px;color:#5b6f69}.voucher-receipt-box{box-sizing:border-box;width:100%;min-height:265px;border:1px solid #cbd7d4;border-radius:5px;background:#fff;padding:10px;display:grid;place-items:center;gap:7px;color:#6d7f79;cursor:pointer}.voucher-receipt-box img{display:block;max-width:100%;max-height:340px;object-fit:contain}.voucher-receipt-box span{font-size:12px}
.voucher-review-form{display:flex;flex-direction:column;gap:15px}.voucher-review-meta{display:flex;flex-wrap:wrap;gap:18px;color:#596d67}.voucher-reject-toggle{font-weight:650}.voucher-review-form select,.voucher-review-form input,.voucher-payment-controls input,.voucher-payment-controls select,.voucher-total input{box-sizing:border-box;height:34px;border:1px solid #c8d4d1;border-radius:4px;background:#fff;padding:0 9px;color:#344b52}.voucher-review-form>label{display:grid;grid-template-columns:90px minmax(200px,380px);align-items:center;gap:8px}.voucher-rejection-readonly{padding:10px;border-radius:4px;background:#fff2ef;color:#9b3c30}
.voucher-bank-fields{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.7fr) minmax(190px,.8fr) auto;align-items:end;gap:12px;margin:0;padding:16px;border:1px solid #dce5e2;border-radius:5px}.voucher-bank-fields:disabled{background:#f1f4f3;opacity:.65}.voucher-bank-fields label{display:flex;flex-direction:column;gap:6px}.voucher-bank-fields>span{padding-bottom:8px;white-space:nowrap}.voucher-bank-id-control{display:flex}.voucher-bank-id-control input{min-width:0;flex:1;border-radius:4px 0 0 4px}.voucher-bank-id-control button{border:0;border-radius:0 4px 4px 0;background:#198c62;color:#fff;padding:0 12px;cursor:pointer}
.voucher-collector{display:flex;align-items:center;gap:8px;padding:0 42px 18px}.voucher-collector span{color:#a01773}
.voucher-loan-card{margin:0 42px 20px;padding:18px;border:1px solid #dce5e2;border-radius:6px;background:#fbfcfc}.voucher-loan-card.is-disabled{opacity:.58}.voucher-loan-card h3{margin:0 0 12px;font-size:14px}.voucher-loan-summary{display:flex;align-items:center;flex-wrap:wrap;gap:11px 18px;padding-bottom:13px;border-bottom:1px solid #e2e8e6}.voucher-loan-summary strong{color:#1e5f4a}.voucher-payment-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 18px;padding:14px 0}.voucher-payment-controls label{display:flex;align-items:center;gap:7px}.voucher-payment-controls label:has(input[readonly]){flex-direction:column;align-items:flex-start}.voucher-payment-controls input[type=radio]{width:16px;height:16px;padding:0}.voucher-note-history{margin:4px 0 0;padding:0;list-style:none}.voucher-note-history li{display:grid;grid-template-columns:155px minmax(240px,1fr) 150px;gap:14px;padding:7px 0;border-top:1px dashed #dfe6e4}.voucher-note-history time,.voucher-note-history b{font-weight:400;color:#71827d}
.voucher-total,.voucher-note-editor{display:grid;align-items:start;gap:10px;margin:0 42px 14px}.voucher-total{grid-template-columns:110px minmax(240px,1fr)}.voucher-note-editor{grid-template-columns:110px minmax(240px,1fr) auto}.voucher-total label{display:contents}.voucher-note-editor textarea{box-sizing:border-box;width:100%;border:1px solid #c8d4d1;border-radius:4px;padding:10px;resize:vertical;font:inherit}.voucher-detail-actions{display:flex;justify-content:center;gap:12px;padding:18px;border-top:1px solid #e0e7e5}.voucher-detail-actions button{min-width:64px;border:1px solid #c9d4d1;border-radius:4px;background:#fff;padding:8px 14px;color:#465b55;cursor:pointer}.voucher-detail-actions .primary{border-color:#20b96e;background:#20b96e;color:#fff}.voucher-detail-actions button:disabled{opacity:.55;cursor:not-allowed}.voucher-detail-empty{color:#8b9995;text-align:center}
.voucher-note-editor button{border:1px solid #20a66b;border-radius:4px;background:#fff;color:#168157;padding:8px 12px;cursor:pointer;white-space:nowrap}
.voucher-note-history li.voucher-promotion-note{display:block;color:#426e57;line-height:1.8;overflow-wrap:anywhere}.voucher-promotion-note span{white-space:pre-wrap}
.repayment-voucher-detail .voucher-birthday-benefit{margin:0 0 14px;padding:12px 14px;border:1px solid #d4cce8;border-radius:5px;background:#f8f5fc;overflow-wrap:anywhere}.voucher-birthday-benefit h4{margin:0 0 8px;font-size:13px;color:#624a81}.voucher-birthday-benefit p{margin:6px 0;line-height:1.7}.voucher-birthday-benefit .voucher-birthday-help{font-size:12px;color:#73677e}.voucher-birthday-benefit .voucher-birthday-pending{font-size:12px;color:#836426}.voucher-birthday-toggle{display:flex;align-items:center;gap:7px;width:fit-content;margin:10px 0;font-weight:600;color:#624a81}.voucher-birthday-toggle input{width:16px;height:16px;margin:0;accent-color:#7351a6}.voucher-birthday-toggle:has(input:disabled){color:#92899d}.voucher-birthday-benefit :focus-visible{outline:2px solid #258dd7;outline-offset:3px}
.voucher-overpayment-allocation{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:4px 0 12px;padding:12px;border:1px solid #e8c77f;border-radius:4px;background:#fff7e7;color:#6e5426}.voucher-overpayment-allocation label{display:flex;align-items:center;gap:7px}.voucher-overpayment-allocation input[type=checkbox]{width:16px;height:16px}.voucher-overpayment-allocation input[type=number]{box-sizing:border-box;height:34px;width:150px;border:1px solid #c8d4d1;border-radius:4px;padding:0 9px}.voucher-overpayment-allocation small{flex-basis:100%;color:#876b37}
@media(max-width:1000px){.voucher-detail-review-grid{grid-template-columns:1fr;padding:20px 16px}.voucher-bank-fields{grid-template-columns:1fr 1fr}.voucher-loan-card{margin-inline:16px}.voucher-collector{padding-inline:16px}.voucher-total,.voucher-note-editor{margin-inline:16px}.voucher-note-editor{grid-template-columns:1fr}.voucher-note-history li{grid-template-columns:1fr}.voucher-detail-heading{flex-direction:column}.voucher-review-form>label{grid-template-columns:1fr}.voucher-bank-fields>span{padding-bottom:0}}
.membership-voucher-table{min-width:1040px}.membership-voucher-facts{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:12px 14px;border:1px solid #dce5e2;border-radius:5px;background:#fbfcfc}.membership-voucher-facts span{display:flex;align-items:center;gap:8px}.membership-voucher-facts label{display:flex;align-items:center;gap:5px}.membership-voucher-facts input{width:16px;height:16px}.voucher-bank-fields .membership-no-bank{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:7px;padding-top:4px;color:#805c19}.membership-no-bank input{width:16px;height:16px}.voucher-bank-fields.is-no-bank{background:#f7f8f8}.membership-no-bank-warning{margin:0;padding:10px 12px;border:1px solid #e8c77f;border-radius:4px;background:#fff7e7;color:#715422}.membership-review-method{margin:0;color:#55706a}.membership-note-card{margin-top:0}.membership-voucher-detail .voucher-detail-actions{margin-top:18px}
.membership-voucher-actions{flex-wrap:wrap;align-items:center}.membership-voucher-actions .danger{border-color:#d9685c;background:#d9685c;color:#fff}.membership-voucher-actions label{display:flex;align-items:center;gap:8px}.membership-voucher-actions select{box-sizing:border-box;min-width:220px;height:34px;border:1px solid #c8d4d1;border-radius:4px;background:#fff;padding:0 9px;color:#344b52}
.repayment-voucher-detail .voucher-agreements{margin:0 42px 18px;padding:16px 18px;border:1px solid #cddfe5;border-radius:6px;background:#f6fafc;min-width:0}.voucher-agreements h3{font-size:14px;margin:0 0 8px}.voucher-agreement-help,.voucher-agreement-bank,.voucher-agreement-empty{font-size:12px;line-height:1.7;color:#647d84;margin:6px 0 10px}.voucher-agreement-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px}.voucher-agreement-card{min-width:0;border:1px solid #dce6e9;border-radius:4px;background:#fff;padding:10px 12px;overflow-wrap:anywhere}.voucher-agreement-card h4{font-size:12px;color:#365c69;margin:0 0 7px}.voucher-agreement-card p{font-size:12px;line-height:1.7;margin:5px 0}.voucher-agreement-card small{font-size:11px;color:#72828a}.voucher-agreement-card .voucher-agreement-amount{font-weight:600;color:#365c69}.voucher-agreement-text{white-space:pre-wrap}.voucher-agreements button:not(.admin-pagination button){font:inherit;border:1px solid #c2d7df;border-radius:4px;padding:6px 10px;background:#fff;color:#365c69;cursor:pointer}.voucher-agreements button:disabled{opacity:.55;cursor:default}.voucher-agreement-toggle{margin-top:12px}.voucher-agreement-history{display:grid;gap:8px;margin-top:12px}.voucher-agreement-error{color:#b54838;font-size:12px}.voucher-agreements [hidden]{display:none!important}.voucher-agreements :focus-visible{outline:2px solid #258dd7;outline-offset:3px}@media(max-width:720px){.repayment-voucher-detail .voucher-agreements{margin:0 14px 16px;padding:12px}.voucher-agreement-cards{grid-template-columns:1fr}}
.repayment-voucher-detail .voucher-collector{display:block}.voucher-collector-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.voucher-collector-toggle{display:flex;align-items:center;gap:7px}.voucher-collector-toggle input{accent-color:#7351a6}.voucher-collector-toggle:has(input:disabled){color:#83918d}.voucher-collector-actions button{padding:7px 13px;border:1px solid #7351a6;border-radius:4px;background:#f4eff9;color:#684494;font:inherit;cursor:pointer}.voucher-collector-actions button:disabled{opacity:.6;cursor:wait}.voucher-collector-actions a{color:#684494;text-decoration:underline;text-underline-offset:3px}.voucher-collector .voucher-collector-help{font-size:12px;color:#74857d;margin:8px 0}.voucher-collector .voucher-collector-progress{display:flex;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:5px;background:#f4eff9;margin:10px 0;color:#684494}.voucher-collector .voucher-collector-progress span,.voucher-collector .voucher-collector-confirmed{color:#6d5989;font-size:12px}.voucher-collector .voucher-collector-notice{color:#238455;font-size:12px}.voucher-collector .voucher-collector-error{color:#b54838;font-size:12px;overflow-wrap:anywhere}.voucher-collector :focus-visible{outline:2px solid #258dd7;outline-offset:3px}
