/* The preview scales physical coordinates; export always renders at Letter size. */
@font-face{font-family:'Great Vibes';src:url('fonts/GreatVibes-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
#payer-details-group[hidden]{display:none!important}
.template-specific-group[hidden],#second-signature-group[hidden],#signature-count-group[hidden]{display:none!important}
.template-specific-group{margin-top:18px}.template-specific-group h2{margin-top:20px}
#clipboard-text{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cbd5c5;border-radius:12px;font:12px monospace;resize:vertical}
.show-check-grid .check-face::after{content:'';position:absolute;inset:0;z-index:9;pointer-events:none;background-image:linear-gradient(#4d815d38 1px,transparent 1px),linear-gradient(90deg,#4d815d38 1px,transparent 1px);background-size:calc(.125*var(--inch)) calc(.125*var(--inch))}
.preview-only .check-face::after{display:none}
.personal-check .sheet-memo{width:calc(2.45*var(--inch));border:0;padding:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:calc(.08*var(--inch));align-items:end}
.personal-check .sheet-memo .print-memo{display:block;min-height:calc(.16*var(--inch));border-bottom:1.5px solid #000000;padding-bottom:calc(.02*var(--inch));color:#000000}
.check-face .sheet-payer>strong,.check-face .sheet-payarea>strong{font-weight:var(--field-weight,400)}
.second-signature{display:none}.two-signatures .second-signature{display:flex;bottom:calc(1.15*var(--inch))}
.print-signature2{min-height:calc(.24*var(--inch));font:calc(.22*var(--inch)) 'Great Vibes','Segoe Script',cursive!important;color:#000000}
.billpay-heading{position:absolute;left:calc(.2*var(--inch));right:calc(.2*var(--inch));top:calc(.14*var(--inch));height:calc(.28*var(--inch));border-bottom:1px solid #000000;display:flex;justify-content:space-between;font-size:calc(.13*var(--inch));font-weight:400;color:#000000}
.billpay-heading b{font-weight:400}
.billpay-check .sheet-payer{top:calc(.5*var(--inch));left:calc(.35*var(--inch));width:calc(2.9*var(--inch))}
.billpay-contact{top:calc(.5*var(--inch));left:calc(3.45*var(--inch));width:calc(2.3*var(--inch));display:flex;flex-direction:column;gap:calc(.025*var(--inch))}
.billpay-contact strong{--size:.11}.billpay-check .sheet-number-block{top:calc(.5*var(--inch));right:calc(.35*var(--inch));width:calc(1.7*var(--inch))}
.billpay-check .sheet-date{top:calc(.94*var(--inch));right:calc(.35*var(--inch))}
.billpay-check .sheet-bank{top:calc(1.22*var(--inch));left:calc(4.4*var(--inch));width:calc(3.75*var(--inch));justify-content:flex-end}
.billpay-check .sheet-words{top:calc(1.42*var(--inch));left:calc(.35*var(--inch));right:calc(.35*var(--inch));height:calc(.29*var(--inch))}
.billpay-check .sheet-payarea{top:calc(1.84*var(--inch));left:calc(.35*var(--inch));right:auto;width:calc(5.15*var(--inch));height:auto;border:0;align-items:start}
.billpay-check .sheet-payarea>span{padding-top:calc(.025*var(--inch))}
.billpay-recipient{display:flex;flex-direction:column;min-width:0;gap:calc(.025*var(--inch));flex:1}
.billpay-recipient .print-payee{--size:.13}.print-recipient-address{font-size:calc(.11*var(--inch));white-space:pre-line;line-height:1.25}
.postal-barcode{width:calc(3.225*var(--inch));height:calc(.125*var(--inch));object-fit:fill;margin:calc(.045*var(--inch)) calc(.125*var(--inch))}
.billpay-check .sheet-amount-box{top:calc(1.83*var(--inch));right:calc(.45*var(--inch));width:calc(1.75*var(--inch))}
.billpay-check .sheet-signature{right:calc(.45*var(--inch));width:calc(2.3*var(--inch));bottom:calc(.66*var(--inch))}
.billpay-check .sheet-memo{left:calc(.35*var(--inch));width:calc(4.8*var(--inch));bottom:calc(.65*var(--inch));height:calc(.17*var(--inch))}
.billpay-check .sheet-logo[data-placement="bank"]{left:calc(3.55*var(--inch));top:calc(1.17*var(--inch));width:calc(.7*var(--inch));height:calc(.22*var(--inch))}
.billpay-check.has-bank-logo .sheet-bank{left:calc(4.4*var(--inch));width:calc(3.75*var(--inch))}
.billpay-check.two-signatures .second-signature{bottom:calc(1.03*var(--inch))}
.two-signatures .billpay-check .second-signature{bottom:calc(1.03*var(--inch))}
.two-signatures .billpay-check .print-signature,.two-signatures .billpay-check .print-signature2{min-height:calc(.18*var(--inch));font-size:calc(.16*var(--inch))!important}
.two-signatures .billpay-check .signature-image{max-height:calc(.18*var(--inch))}
@media print{.check-face::after{display:none!important}#clipboard-dialog{display:none!important}}
.two-signatures .business-check .sheet-signature{width:calc(1.65*var(--inch));right:calc(.4*var(--inch));bottom:calc(.66*var(--inch))}
.two-signatures .business-check .second-signature{right:calc(2.25*var(--inch))}
.two-signatures .billpay-check .sheet-memo{width:calc(3.6*var(--inch))}
