.voucher-entry{width:min(1100px,100%);border-radius:4px;font-family:"Microsoft YaHei","SimSun",sans-serif}
.voucher-entry .modal-head{padding:10px 16px;background:#edf3f7;border-bottom:1px solid #bacad5}
.voucher-entry .modal-head h2{font-size:13px}
.voucher-entry .modal-body{padding:0}
.voucher-commandbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;background:#f4f7f9;padding:6px 10px;border-bottom:1px solid #cbd6df}
.voucher-commandbar button{background:transparent;border:1px solid transparent;border-radius:2px;padding:7px 9px;font:12px inherit;color:#273d4b;cursor:pointer}
.voucher-commandbar button:hover{border-color:#97b9d0;background:#e7f1f9}
.voucher-commandbar button:disabled{opacity:.4;cursor:default}
.voucher-commandbar small{font-size:10px;color:#627582;margin-left:3px}
.command-divider{height:23px;width:1px;margin:0 5px;background:#cbd6df}
.voucher-paper{margin:18px 20px 0;border:1px solid #8b9b95;padding:15px 16px 10px;background:#fff}
.voucher-paper-title{text-align:center;font-family:"SimSun",serif;font-size:24px;letter-spacing:7px;margin:0 0 5px;color:#172c27}
.voucher-company{text-align:center;font-size:12px;color:#52615c;min-height:18px;margin-bottom:13px}
.voucher-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;font-size:12px;padding-bottom:10px}
.voucher-number,.voucher-date,.voucher-attachments{display:flex;gap:5px;align-items:center}
.voucher-meta .input,.voucher-meta select{border-radius:1px;height:27px;padding:2px 5px;color:#152e27}
.voucher-number input{width:67px}.voucher-number select{width:53px}.voucher-date input{width:134px}.voucher-date span{margin-left:8px;white-space:nowrap}.voucher-attachments input{width:56px}
.voucher-entry .voucher-table{border:1px solid #667e74;border-radius:0;overflow-x:auto}
.voucher-entry .voucher-table table{table-layout:fixed;min-width:740px}
.voucher-entry .voucher-table th{height:39px;padding:6px;text-align:center;background:#f5f8f5;color:#19382b;font-size:13px;border:1px solid #8fa59b}
.voucher-entry .voucher-table td{height:52px;padding:4px;border:1px solid #a7b8af;color:#1f362a}
.voucher-entry .voucher-table input,.voucher-entry .voucher-table select{border:1px solid transparent;border-radius:0;height:40px;background:transparent;color:#1b3028;font:13px inherit;min-width:0;width:100%;padding:4px;outline:none}
.voucher-entry .voucher-table input:focus,.voucher-entry .voucher-table select:focus{border-color:#427eb0;background:#f1f8ff;box-shadow:0 0 0 1px #427eb0}
.voucher-entry .voucher-table select{font-size:12px;padding:2px}
.voucher-entry .voucher-table .active-entry-row{background:#f8fbf9}
.voucher-entry .voucher-table input.money{font:17px "Consolas",monospace;text-align:right;font-variant-numeric:tabular-nums}
.voucher-entry .voucher-table input.red-entry{color:#b52b2b}
.voucher-entry .voucher-table input[type=number]{appearance:textfield;-moz-appearance:textfield}
.voucher-entry .voucher-table input::-webkit-inner-spin-button{appearance:none;margin:0}
.voucher-entry .voucher-table tfoot td{height:40px;font-size:12px;background:#f5f8f5;padding:8px}
.voucher-entry .voucher-table tfoot td.amount{font:600 17px "Consolas",monospace}
.voucher-signatures{display:flex;justify-content:space-between;padding:16px 10px 2px;font-size:12px;color:#40504a;min-height:36px}
.voucher-statusline{display:flex;justify-content:space-between;gap:10px;margin:12px 22px 5px;color:#53665d;font-size:11px;flex-wrap:wrap}
.voucher-entry-note{margin:0 22px 12px}.voucher-entry .modal-foot{background:#f8fafb;border-color:#cbd6df}
.voucher-entry{width:min(1420px,100%)}
.voucher-entry .voucher-table table{min-width:980px}
.voucher-entry .line-dimensions{display:flex;align-items:flex-end;gap:7px;flex-wrap:wrap;padding:2px 4px 5px;border-top:1px dashed #d9e2dd;background:#fbfcfb}
.voucher-entry:not(.foreign-format) .line-dimensions .dim-foreign{display:none}
.voucher-entry .dim-field{display:flex;flex-direction:column;gap:2px;min-width:78px;max-width:140px;color:#65756d;font-size:10px;line-height:1.2}
.voucher-entry .dim-field input,.voucher-entry .dim-field select{height:25px!important;padding:2px 4px!important;border:1px solid #d4ded9!important;background:#fff!important;font:12px sans-serif!important;color:#23372e}
.voucher-entry .dim-aux{min-width:115px}
.voucher-entry .dim-convert,.voucher-entry .dim-quantity{height:25px;margin:0 0 1px;border:1px solid #b9c9c1;border-radius:2px;background:#f2f7f4;color:#365444;font-size:11px;cursor:pointer}
.voucher-entry .dim-convert:hover,.voucher-entry .dim-quantity:hover{background:#e4f0e9}
.voucher-entry .dim-convert:disabled,.voucher-entry .dim-quantity:disabled{opacity:.5;cursor:default}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.voucher-lookup{width:min(560px,90vw);max-height:75vh;padding:0;border:1px solid #9cadba;border-radius:4px;box-shadow:0 18px 60px #20304444;color:#26384a}
.voucher-account-inquiry{width:min(980px,95vw);max-height:82vh;overflow:auto}.voucher-inquiry-content{padding:14px 16px}.voucher-inquiry-table{max-height:58vh;overflow:auto}.voucher-inquiry-table table{min-width:680px}.voucher-inquiry-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.voucher-inquiry-balance>div{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e7ed;border-radius:4px;background:#fafbfd}.voucher-inquiry-balance span{color:#677587}.voucher-inquiry-balance>div:last-child{grid-column:1/-1;background:#edf4ff}.voucher-inquiry-actions{display:flex;justify-content:flex-end;padding:10px 16px;border-top:1px solid #e1e7ed}
.voucher-lookup::backdrop{background:#14233366}.lookup-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#edf3f7;font-size:14px}
.lookup-search{display:block;margin:14px 16px;width:calc(100% - 32px)}.lookup-options{max-height:44vh;overflow:auto;padding:0 16px}
.lookup-option{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e5ecef;background:white;padding:11px 8px;color:#253d4c;font:13px inherit;cursor:pointer}
.lookup-option:hover,.lookup-option:focus{background:#e6f0fb;outline:1px solid #76a3d4;outline-offset:-1px}.lookup-hint{padding:12px 16px;color:#6a7986;font-size:11px}
.voucher-discard{width:min(420px,90vw)}.discard-message{margin:0;padding:22px 20px;line-height:1.8;font-size:13px}.discard-actions{display:flex;gap:10px;justify-content:flex-end;padding:12px 16px;background:#f5f7f9;border-top:1px solid #dbe2e9}
@media(max-width:800px){.voucher-entry .modal-body{padding:0}.voucher-paper{margin:12px 8px 0;padding:12px 8px}.voucher-meta{justify-content:flex-start}.voucher-statusline{margin:10px 12px}.voucher-commandbar button{padding:7px}.voucher-paper-title{font-size:22px}.voucher-date span{margin-left:0}.voucher-entry .modal-foot{padding:10px;flex-wrap:wrap}}
