#voucher-print-root{display:none}
.voucher-print-document{--voucher-accent:#246b49;--voucher-tint:#eef6f0;display:flex;flex-direction:column;min-height:266mm;width:100%;background:#fff;color:#243e2e;font:10pt/1.8 Cairo,Arial,sans-serif}
.voucher-print-document *{box-sizing:border-box}
.voucher-disbursement{--voucher-accent:#8b5144;--voucher-tint:#faf2ee}
.voucher-paper-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:3px solid var(--voucher-accent);padding-bottom:15px;break-inside:avoid}
.voucher-paper-header>div:first-child{min-width:0}
.voucher-paper-header>div>span{font-size:8.5pt;color:#6b7d6f}
.voucher-paper-header h1{font-size:18pt;line-height:1.7;font-weight:750;margin:2px 0 0;color:#254c35;overflow-wrap:anywhere}
.voucher-paper-brand{display:flex;align-items:center;flex-direction:column;flex-shrink:0}
.voucher-paper-brand img{display:block;object-fit:contain;width:122px;height:53px}
.voucher-paper-brand span{font-size:7.5pt}
.voucher-paper-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;break-inside:avoid}
.voucher-paper-title h2{font-size:25pt;font-weight:750;line-height:1.6;color:var(--voucher-accent);margin:0 0 2px}
.voucher-paper-title>div>span{font-size:10pt;color:#627867}
.voucher-paper-title>div>span strong{color:var(--voucher-accent);font-weight:650}
.voucher-paper-title dl{margin:0;display:grid;gap:6px;min-width:175px}
.voucher-paper-title dl>div{display:flex;justify-content:space-between;gap:20px}
.voucher-paper-title dt{font-size:8.5pt;color:#718273}
.voucher-paper-title dd{margin:0;font-size:10pt;font-weight:600;color:#36513e}
.voucher-paper-title bdi{font-family:Outfit,Cairo,Arial,sans-serif;font-variant-numeric:tabular-nums}
.voucher-paper-amount{display:grid;grid-template-columns:minmax(145px,1fr) minmax(0,2fr);align-items:stretch;border:1px solid #cadbcf;border-radius:9px;overflow:hidden;background:var(--voucher-tint);margin-bottom:22px;break-inside:avoid}
.voucher-paper-amount>div{padding:16px 18px;border-inline-end:1px solid #cadbcf}
.voucher-paper-amount>div>span,.voucher-paper-amount>p>span{display:block;font-size:8.5pt;color:#687f6e;margin-bottom:5px}
.voucher-paper-amount>div>strong{display:flex;gap:9px;align-items:baseline;color:var(--voucher-accent);line-height:1.5;flex-wrap:wrap}
.voucher-paper-amount bdi{font:600 27pt/1.5 Outfit,Cairo,Arial,sans-serif;white-space:nowrap}
.voucher-paper-amount small{font-size:9pt;font-weight:500}
.voucher-paper-amount>p{padding:16px 18px;margin:0;align-self:center}
.voucher-paper-amount>p>strong{display:block;font-size:10.5pt;line-height:2.2;font-weight:650;color:#35543f;overflow-wrap:anywhere}
.voucher-paper-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px;margin:0 0 24px}
.voucher-detail{border-bottom:1px solid #e1e9e3;padding-bottom:12px;min-width:0;break-inside:avoid}
.voucher-detail-full{grid-column:1/-1}
.voucher-detail dt{font-size:8.5pt;color:#6a7e6f;margin-bottom:5px}
.voucher-detail dd{margin:0;font-size:11pt;font-weight:600;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.voucher-paper-signatures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:auto;padding-top:35px;break-inside:avoid}
.voucher-paper-signatures>div{text-align:center;min-width:0}
.voucher-paper-signatures span{display:block;font-size:9pt;font-weight:650;color:#3f5946;line-height:1.8}
.voucher-paper-signatures i{display:block;height:54px;border-bottom:1px solid #9eb8a7}
.voucher-paper-signatures small{display:block;font-size:7.5pt;color:#819085;margin-top:5px}
.voucher-paper-footer{text-align:center;border-top:1px solid #b9cebf;margin-top:24px;padding-top:9px;color:#657c6b;font-size:8.5pt;break-inside:avoid}
.voucher-print-question{text-align:center}
.voucher-print-question h3{font-size:1.0625rem;line-height:1.9;color:var(--text);margin:9px 0 5px}
.voucher-print-question p{font-size:.8125rem;color:var(--muted);line-height:1.9}
.voucher-print-question p bdi{display:block;font-family:Outfit,Cairo,sans-serif;color:var(--green);margin-top:4px}
.voucher-prompt-icon{display:grid;place-items:center;margin:0 auto;width:48px;height:48px;background:var(--mint-pale);color:var(--green);border-radius:15px}
.voucher-prompt-icon>.icon{width:24px;height:24px}
@media screen{
 .modal.voucher-modal{width:830px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:hidden;display:flex;flex-direction:column}
 .voucher-modal>.modal-header,.voucher-modal>.modal-footer{flex:0 0 auto}
 .voucher-modal .voucher-paper-preview{flex:1 1 auto;min-height:0;overflow:auto;background:#edf2ee;padding:20px;scrollbar-width:thin;scrollbar-color:#b2cbb9 transparent}
 .voucher-paper-preview .voucher-print-document{padding:25px;min-height:850px;border:1px solid #d8e3da;box-shadow:0 3px 12px #1733230c}
 @media(max-width:600px){
  .modal.voucher-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .voucher-modal .voucher-paper-preview{padding:10px}
  .voucher-paper-preview .voucher-print-document{padding:16px;min-height:760px}
  .voucher-paper-header{gap:12px;padding-bottom:12px}
  .voucher-paper-header h1{font-size:13pt}
  .voucher-paper-brand img{width:86px;height:40px}
  .voucher-paper-title{padding-block:14px;gap:12px}
  .voucher-paper-title h2{font-size:20pt}
  .voucher-paper-title dl{min-width:135px}
  .voucher-paper-title dl>div{gap:10px}
  .voucher-paper-amount{grid-template-columns:1fr}
  .voucher-paper-amount>div{border-inline-end:0;border-bottom:1px solid #cadbcf;padding:12px 14px}
  .voucher-paper-amount>p{padding:12px 14px}
  .voucher-paper-amount bdi{font-size:23pt}
  .voucher-paper-details{gap:12px 15px}
  .voucher-detail dd{font-size:10pt}
  .voucher-paper-signatures{gap:12px;padding-top:25px}
  .voucher-paper-signatures span{font-size:8pt}
  .voucher-paper-signatures small{font-size:7pt}
 }
}
.btn.whatsapp{background:#187b4b;color:#fff;border-color:#187b4b;text-decoration:none}
.btn.whatsapp:hover{background:#11633b;border-color:#11633b;color:#fff}
@media(max-width:600px){.voucher-modal>.modal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.voucher-modal>.modal-footer .btn{justify-content:center;font-size:.6875rem;padding:9px 5px;gap:5px}.voucher-modal>.modal-footer .btn .icon{width:17px;height:17px}}
.voucher-modal>.modal-footer{flex-wrap:wrap}
.occasions-table{min-width:570px}
.voucher-number{display:inline-flex;align-items:center;justify-content:center;min-height:30px;white-space:nowrap;padding:4px 9px;background:#f3f8f5;border:1px solid #c3d8cb;border-radius:6px;color:#286747;font:inherit;font-size:.8125rem;font-weight:500;line-height:1.5;box-shadow:none;cursor:pointer;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}
.voucher-number .icon{width:17px;height:17px;flex-shrink:0}
.voucher-number:hover{background:#e3f1e9;border-color:#76a68b;color:#174f32;box-shadow:none}
.voucher-number:focus-visible{outline:2px solid #74b595;outline-offset:2px}
.voucher-window-header{gap:15px;align-items:center;padding:17px 22px}
.voucher-window-header h2{font-size:1.05rem}
.voucher-window-header p{margin:4px 0 0}
.voucher-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.voucher-header-actions .btn{padding:8px 12px;min-height:36px;font-size:.8125rem}
.voucher-header-actions .icon-btn{width:34px;height:34px}
.app-shell .payments-page>.page-head{gap:14px;margin-bottom:16px}
.payments-page .page-actions .quick-actions{margin:0;gap:8px;flex-wrap:wrap}
.payments-page .page-actions .quick-actions .btn{min-width:0;min-height:40px;padding:8px 14px;font-size:.8125rem}
html[data-theme="dark"] .voucher-number{background:#213d2c;border:1px solid #486d53;color:#c5e2d0}
html[data-theme="dark"] .voucher-number:hover{background:#2b4b36;border-color:#78a587;color:#e4f3e9}
@media(max-width:800px){.payments-page>.page-head{flex-wrap:wrap!important;align-items:flex-start!important}.payments-page .page-actions{width:100%}.payments-page .quick-actions{justify-content:flex-start}.voucher-window-header{padding:12px 14px;flex-wrap:wrap;gap:10px}.voucher-window-header>div:first-child{flex:1;min-width:120px}.voucher-header-actions{gap:6px}.voucher-header-actions .btn{padding:7px 9px}.voucher-header-actions .btn .icon{width:16px;height:16px}}
@media print{.voucher-number{padding:0;border:0;box-shadow:none;background:none;color:inherit}.voucher-number .icon{display:none}.voucher-header-actions{display:none!important}}
@media(max-width:600px){.voucher-modal>.modal-footer{gap:8px;padding:12px}.voucher-modal>.modal-footer .btn{font-size:12px;padding:10px}}
@media print{
 @page voucher-document{size:A4 portrait;margin:12mm}
 body.printing-voucher{background:#fff!important;color:#243e2e!important;margin:0;padding:0;overflow:visible!important}
 body.printing-voucher>#app,body.printing-voucher>#modal-root,body.printing-voucher>#account-print-root,body.printing-voucher>#toast{display:none!important}
 body.printing-voucher>#voucher-print-root{display:block!important;page:voucher-document}
 .voucher-print-document{page:voucher-document;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .voucher-paper-header,.voucher-paper-title,.voucher-paper-amount,.voucher-paper-signatures{break-inside:avoid;page-break-inside:avoid}
 .voucher-paper-footer{break-before:avoid}
}
