.voucher-dialog{width:min(900px,calc(100vw - 24px));max-width:900px;max-height:94vh;padding:0;border:0;border-radius:20px;background:#f4f6fa;color:#172b4d;box-shadow:0 24px 90px #102b4e55;overflow:auto}.voucher-dialog::backdrop{background:#102451bb}.voucher-dialog-shell{padding:22px}.voucher-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.voucher-dialog-head h2{margin:0;color:#102451;font:800 22px Manrope,"DM Sans",Arial,sans-serif}.voucher-dialog-head p:last-child{margin:6px 0 0;color:#71809a;font-size:12px}.voucher-preview{max-height:62vh;overflow:auto;padding:18px;background:#e8edf5;border:1px solid #dce3ed;border-radius:14px}.voucher-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:15px}.voucher-share-note{min-height:20px;margin:12px 2px 0;color:#596d87;font-size:12px;line-height:1.5}.voucher-share-note[data-error=true]{color:#a33d34}.voucher-paper{width:min(100%,760px);min-height:980px;margin:0 auto;padding:32px 42px 24px;display:flex;flex-direction:column;background:#fff;border:5px double #c19b3a;box-shadow:0 8px 24px #172b4d1c;color:#172b4d;font:14px Arial,sans-serif}.voucher-heading{text-align:center;padding-bottom:17px}.voucher-logo{display:block;width:78px;height:78px;object-fit:contain;margin:0 auto 6px}.voucher-heading h1{margin:3px 0 5px;color:#102451;font-size:22px;letter-spacing:.7px;text-transform:uppercase}.voucher-heading p{margin:3px 0;color:#52647e;font-size:10px}.voucher-title{margin:4px 0 18px;padding:11px 12px;border:2px solid #c19b3a;border-radius:9px;background:#102451;color:#fff;text-align:center;font-size:18px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.voucher-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:11px;padding:12px 14px;border-radius:9px;background:#f2f6fb}.voucher-meta span,.voucher-total>span{display:block;color:#62738b;font-size:9px;font-weight:800;letter-spacing:.8px}.voucher-meta b{display:block;margin-top:5px;color:#102451;font-size:14px}.voucher-row{display:grid;grid-template-columns:minmax(175px,.85fr) minmax(0,1.4fr);gap:14px;padding:12px 4px;border-bottom:1px solid #e2e8f0;min-height:43px}.voucher-row span{color:#66768c;font-size:9px;font-weight:800;letter-spacing:.55px;text-transform:uppercase}.voucher-row b{color:#263b5c;font-size:12px;overflow-wrap:anywhere}.voucher-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:auto 0 22px;padding-top:22px}.voucher-total{min-width:230px;padding:14px 16px;border:2px solid #c19b3a;border-radius:10px;background:#f7f9fc}.voucher-total strong{display:block;margin-top:6px;color:#102451;font-size:24px}.voucher-total small{display:block;margin-top:4px;color:#68798e;font-size:10px}.voucher-stamp{width:112px;height:112px;object-fit:contain}.voucher-signatures{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin:0 0 20px}.voucher-signatures b{font-size:12px}.voucher-signatures span{width:190px;padding-top:8px;border-top:1px solid #8090a4;text-align:center;color:#60718a;font-size:9px}.voucher-paper footer{padding-top:8px;border-top:1px solid #e3e8f0;text-align:center;color:#71809a;font-size:8px}.voucher-pdf-export{width:194mm;min-height:275mm;padding:10mm 12mm 8mm;border-width:1.3mm;box-shadow:none}.voucher-pdf-export .voucher-logo{width:21mm;height:21mm}.voucher-pdf-export .voucher-heading{padding-bottom:4mm}.voucher-pdf-export .voucher-heading h1{font-size:17pt}.voucher-pdf-export .voucher-title{margin:2mm 0 4mm;padding:3mm;font-size:13pt}.voucher-pdf-export .voucher-meta{margin-bottom:2mm;padding:3mm}.voucher-pdf-export .voucher-row{min-height:10mm;padding:2.7mm 1mm}.voucher-pdf-export .voucher-bottom{margin-bottom:5mm;padding-top:5mm}.voucher-pdf-export .voucher-stamp{width:29mm;height:29mm}.voucher-pdf-export .voucher-total{min-width:62mm;padding:3mm 4mm}.voucher-pdf-export .voucher-total strong{font-size:20pt}.voucher-pdf-export .voucher-signatures{margin-bottom:4mm}.voucher-pdf-export .voucher-signatures span{width:48mm}.voucher-print-page{margin:0;background:#eef1f5}.voucher-print-controls{width:min(760px,100%);margin:16px auto;text-align:center}.voucher-print-controls button{padding:10px 18px;border:0;border-radius:9px;background:#102451;color:white;font-weight:700}@media(max-width:600px){.voucher-dialog-shell{padding:14px}.voucher-dialog-head{align-items:center}.voucher-dialog-head h2{font-size:18px}.voucher-preview{padding:8px}.voucher-paper{min-height:0;padding:20px 17px 16px;border-width:3px}.voucher-logo{width:58px;height:58px}.voucher-heading h1{font-size:16px}.voucher-title{font-size:13px}.voucher-row{grid-template-columns:1fr;gap:4px;padding:9px 2px}.voucher-row span{font-size:8px}.voucher-row b{font-size:11px}.voucher-total{min-width:0;padding:10px}.voucher-total strong{font-size:19px}.voucher-stamp{width:82px;height:82px}.voucher-signatures span{width:120px}.voucher-actions>*{flex:1 1 100%;}.voucher-pdf-export{width:194mm;min-height:275mm;padding:10mm 12mm 8mm}}
@media print{.voucher-print-page{background:#fff!important}.voucher-paper{width:194mm;min-height:275mm;margin:0 auto;padding:10mm 12mm 8mm;border-width:1.3mm;box-shadow:none;break-inside:avoid;page-break-inside:avoid}.voucher-print-controls{display:none!important}@page{size:A4 portrait;margin:8mm}}
