.stock-vouchers .sv-editor{margin-bottom:18px}.stock-vouchers .sv-reason,.stock-vouchers .sv-source{grid-column:span 2}.sv-mode-note{padding:12px 14px;margin:16px 0;border:1px solid var(--border,#cdd8e5);border-radius:8px;background:var(--surface-soft,#f2f6fa);font-size:13px;line-height:1.8}.sv-proof-note{border-color:#a9cbdc;background:#eff8fc;color:#144b69}.sv-lines-table{min-width:920px}.sv-lines-table td:nth-child(2){min-width:230px}.sv-lines-table td:nth-child(4){min-width:135px}.sv-lines-table input{min-width:80px;width:100%}.sv-lines-table select{width:100%;min-width:85px}.sv-lines-table small,.sv-register small{display:block;font-size:11px;line-height:1.6;margin-top:4px}.sv-line-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.sv-line-actions [data-sv-total]{font-weight:700;font-size:13px}.sv-error{min-height:20px;color:#b42318;line-height:1.8;font-size:13px}.sv-help{display:block;line-height:1.8;font-size:12px}.sv-danger{color:#b42318!important}.sv-register{margin-top:18px}.sv-register td:last-child{white-space:nowrap}.sv-cancel-dialog{width:min(560px,94vw);padding:22px;border:1px solid #bdcbdc;border-radius:12px;color:#15243a;background:white;font-family:inherit}.sv-cancel-dialog::backdrop{background:#10223699}.sv-cancel-dialog h3{margin-top:0}.sv-cancel-dialog p{font-size:13px;line-height:1.8}.sv-cancel-dialog label{display:flex;flex-direction:column;gap:8px;margin:12px 0}.sv-cancel-dialog input,.sv-cancel-dialog textarea{padding:10px;border:1px solid #bdcbdc;border-radius:6px;color:#15243a;background:white}.sv-cancel-dialog textarea{min-height:80px;resize:vertical}
.stock-vouchers .secondary,.sv-cancel-dialog .secondary{color:var(--forest,#173f35);background:#fff;border-color:var(--line,#bdcbdc)}.sv-lines-table input,.sv-lines-table select{min-height:36px;padding:6px 8px;border:1px solid var(--line,#bdcbdc);border-radius:6px;background:#fff;color:var(--ink,#15243a);font-size:12px}.sv-lines-table input[readonly]{background:#f3f6f9;color:#42566a}
.stock-voucher-print{background:#fff;color:#000;padding:12mm;font-family:Arial,Tahoma,sans-serif;font-size:12px}.stock-voucher-print header{text-align:center;margin-bottom:16px}.stock-voucher-print h1{font-size:22px;margin:8px 0}.stock-voucher-print h2{font-size:18px;margin:0}.sv-print-kind{padding:10px;border:1px solid #555;text-align:center;font-weight:700}.sv-print-meta,.sv-print-lines{border-collapse:collapse;width:100%;margin:16px 0}.sv-print-meta td,.sv-print-meta th,.sv-print-lines td,.sv-print-lines th{border:1px solid #777;padding:8px;text-align:right}.sv-print-meta th,.sv-print-lines th{background:#f1f1f1;color:#000}.sv-print-lines thead{display:table-header-group}.sv-print-lines tr{break-inside:avoid}.sv-print-total{text-align:left;font-size:15px;font-weight:700}.sv-print-signatures{display:flex;justify-content:space-between;gap:15px;margin-top:28px;break-inside:avoid}.sv-print-signatures>div{flex:1;text-align:center}
@media(max-width:700px){.stock-vouchers .sv-reason,.stock-vouchers .sv-source{grid-column:auto}.stock-voucher-print{padding:5mm}}
html[data-theme="dark"] .stock-vouchers .sv-mode-note{background:#20322a;color:#edf6f2;border-color:#526d60}html[data-theme="dark"] .stock-vouchers .secondary{background:#22342d!important;color:#edf6f2!important;border-color:#627d70!important}html[data-theme="dark"] .stock-vouchers .sv-lines-table :is(input,select){background:#111b17!important;color:#edf6f2!important;border-color:#627d70!important}html[data-theme="dark"] .stock-vouchers :is(.sv-error,.sv-danger){color:#ffb4ac!important}.sv-cancel-dialog{color-scheme:light}.sv-cancel-dialog .secondary{color:#173f35;background:#fff}
@media print{.sv-editor,.sv-cancel-dialog{display:none!important}.stock-voucher-print{padding:0;color:#000!important;background:#fff!important}.stock-voucher-print table{font-size:11px}.sv-print-signatures{margin-top:24px}}
