@font-face{font-family:"Checkethical MICR";src:url("fonts/Nimra-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:block}
/* Coordinates are inches, scaled from each check face's own width. */
.paper-stack{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:min(100%,735px);max-width:none;aspect-ratio:8.5/11;padding:0;margin:0 auto;overflow:hidden;background:#fff;border:0;outline:1px solid #d8ddd5;box-shadow:0 12px 34px #23302014;container:check-sheet/inline-size;transform-origin:top left;transition:none}
.paper-stack.personal-paper{width:min(100%,620px);aspect-ratio:6/11}
.check-face{position:relative;flex:none;overflow:hidden;container:check-face/inline-size;background:#fff;color:#000000;font-family:Arial,Helvetica,sans-serif;line-height:1.2;--inch:11.76470588cqw;border-bottom:1px dashed #b7beb4}
.business-check{width:100%;aspect-ratio:8.5/3.5;height:auto}
.personal-check{width:100%;aspect-ratio:6/2.75;height:auto;--inch:16.66666667cqw}
.wallet-row{position:relative;display:grid;grid-template-columns:2.5fr 6fr;width:100%;aspect-ratio:8.5/2.625;flex:none;border-bottom:1px dashed #b7beb4}
.wallet-check{width:100%;height:100%;border:0;border-left:1px dashed #b7beb4;--inch:16.66666667cqw}
.check-face [data-drag-key]{position:absolute;z-index:2;box-sizing:border-box;padding-left:calc(var(--inset-left,0)*var(--inch));padding-right:calc(var(--inset-right,0)*var(--inch));transform:translate(calc(var(--dx,0)*var(--inch)),calc(var(--dy,0)*var(--inch)));font-family:var(--field-font,Arial,Helvetica,sans-serif);font-weight:var(--field-weight,500);cursor:grab;touch-action:none;user-select:none;--text-scale:1;--field-weight:500;color:var(--field-color,#000000);font-style:var(--field-italic,normal);text-decoration:var(--field-underline,none);text-transform:var(--field-transform,none)}
.check-face [data-drag-key]:hover,.check-face [data-drag-key]:focus-visible{outline:1px dashed #527d58;outline-offset:3px}
.check-face [data-drag-key].is-selected{outline:1.5px solid #52895b;outline-offset:3px;border-radius:2px}
.check-face [data-drag-key].is-dragging{z-index:8;cursor:grabbing}
.check-face [data-drag-key] strong{font-family:inherit;font-size:calc(var(--size,.14)*var(--inch)*var(--text-scale));font-weight:var(--field-weight,inherit)!important;line-height:1.2;color:inherit;font-style:inherit;text-decoration:inherit;text-transform:inherit;letter-spacing:0}
.check-face [data-drag-key]>span:not(.signature-line):not(.sheet-brand-mark):not(.micr-content){font-size:calc(.09*var(--inch)*var(--text-scale));line-height:1.15;font-weight:var(--field-weight,500);color:inherit;font-style:inherit;text-decoration:inherit;text-transform:inherit}
.check-face [data-drag-key] strong,.print-address{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.check-face .print-date{position:static;inset:auto;border:0;padding:0}
.sheet-payer{top:calc(.22*var(--inch));left:calc(.4*var(--inch));width:calc(2.8*var(--inch));display:flex;flex-direction:column;align-items:stretch;gap:calc(.025*var(--inch));text-align:var(--field-align,start)}
.sheet-payer>strong{--size:.16}
.check-face .print-address{font-family:inherit;font-size:calc(.115*var(--inch)*var(--text-scale));font-weight:var(--field-weight,400);white-space:pre-line;line-height:1.3;color:inherit}
.sheet-bank{top:calc(.27*var(--inch));left:calc(3.6*var(--inch));width:calc(3.2*var(--inch));display:flex;align-items:center;justify-content:var(--field-align,center);gap:calc(.065*var(--inch));text-align:var(--field-align,start);letter-spacing:0}
.sheet-bank>span:last-child,.personal-bank>span:last-child{min-width:0;display:flex;flex-direction:column}
.sheet-bank strong{--size:.135}
.sheet-number-block{top:calc(.2*var(--inch));right:calc(.4*var(--inch));width:calc(.95*var(--inch));display:flex;flex-direction:column;gap:calc(.035*var(--inch));text-align:var(--field-align,end)}
.sheet-number-block>strong{--size:.15}.check-face .fractional-routing{font-size:calc(.095*var(--inch)*var(--text-scale))!important;letter-spacing:0;color:#000000}.hide-fractional-routing .fractional-routing{display:none}
.sheet-date{top:calc(.72*var(--inch));right:calc(.4*var(--inch));width:calc(1.85*var(--inch));display:flex;align-items:end;gap:calc(.08*var(--inch));height:calc(.23*var(--inch));padding-bottom:calc(.03*var(--inch));border-bottom:1.5px solid #000000}
.sheet-date>strong{flex:1;text-align:var(--field-align,center);--size:.13}
.sheet-payarea{top:calc(1.07*var(--inch));left:calc(.4*var(--inch));right:calc(1.92*var(--inch));height:calc(.4*var(--inch));display:flex;align-items:end;gap:calc(.1*var(--inch));padding-bottom:calc(.05*var(--inch));border-bottom:1.5px solid #000000}
.sheet-payarea>span{flex:none;color:#000000}.sheet-payarea>strong{flex:1;text-align:var(--field-align,start);--size:.16;color:#000000}
.sheet-amount-box{top:calc(1.08*var(--inch));right:calc(.4*var(--inch));width:calc(1.38*var(--inch));height:calc(.4*var(--inch));display:flex;align-items:center;gap:calc(.06*var(--inch));padding-block:0;border:1.5px solid #000000}
.sheet-amount-box>span{padding-left:calc(.06*var(--inch));font-size:calc(.18*var(--inch))!important;color:#000000}.sheet-amount-box>strong{flex:1;padding-right:calc(.04*var(--inch));text-align:var(--field-align,start);--size:.155;color:#000000}
.sheet-words{top:calc(1.65*var(--inch));left:calc(.4*var(--inch));right:calc(.4*var(--inch));height:calc(.31*var(--inch));display:flex;align-items:end;gap:calc(.08*var(--inch));padding-bottom:calc(.04*var(--inch));border-bottom:1.5px solid #000000}
.sheet-words>strong{flex:1;text-align:var(--field-align,start);--size:.13;color:#000000}.sheet-words>span{flex:none;color:#000000}
.sheet-words.has-trailing-filler>.print-words{flex:0 1 auto}
.sheet-words.has-trailing-filler::after{content:'';flex:1;min-width:calc(.15*var(--inch));align-self:center;border-top:1px dashed #000000}
.sheet-words.has-trailing-filler>span{order:1}
.print-payment-condition{margin:0 0 calc(.055*var(--inch));font:inherit;font-size:calc(.085*var(--inch)*var(--text-scale));font-weight:var(--field-weight,400);line-height:1.3;white-space:normal;overflow-wrap:anywhere;max-height:calc(.221*var(--inch)*var(--text-scale));overflow:hidden;color:#000000}
.sheet-memo{left:calc(.4*var(--inch));bottom:calc(.66*var(--inch));width:calc(3.6*var(--inch));height:calc(.24*var(--inch));display:flex;align-items:end;gap:calc(.07*var(--inch));padding-bottom:calc(.03*var(--inch));border-bottom:1.5px solid #000000}
.sheet-memo>span{color:#000000}.sheet-memo>strong{flex:1;text-align:var(--field-align,start);--size:.13;color:#000000}
.sheet-signature{right:calc(.4*var(--inch));bottom:calc(.66*var(--inch));width:calc(2.6*var(--inch));display:flex;flex-direction:column;align-items:stretch;text-align:var(--field-align,center);overflow:visible}
.sheet-signature .print-signature{min-height:calc(.24*var(--inch)*var(--sig-scale,1));height:auto;font-family:'Great Vibes','Alex Brush','Brush Script MT','Segoe Script',cursive!important;font-size:calc(.22*var(--inch)*var(--text-scale)*var(--sig-scale,1))!important;font-weight:400!important;line-height:1;color:#000000}.signature-line{display:block;width:100%;height:0;border-bottom:1.5px solid #000000}.sheet-signature small{font-size:calc(.075*var(--inch)*var(--text-scale));margin-top:calc(.025*var(--inch));font-weight:500;letter-spacing:.02em;color:#000000}
.personal-bank{left:calc(.25*var(--inch));top:calc(1.69*var(--inch));width:calc(3.5*var(--inch));height:calc(.2*var(--inch));display:flex;align-items:center;justify-content:var(--field-align,start);gap:calc(.06*var(--inch));text-align:var(--field-align,start)}.personal-bank strong{--size:.115;color:#000000}
.sheet-logo{width:calc(.7*var(--inch)*var(--logo-scale,1));height:calc(.5*var(--inch)*var(--logo-scale,1));display:flex;align-items:center;justify-content:center}.sheet-logo[data-placement="payer"]{top:calc(.2*var(--inch));left:calc(.4*var(--inch));width:calc(.7*var(--inch)*var(--logo-scale,1));height:calc(.5*var(--inch)*var(--logo-scale,1))}.sheet-logo[data-placement="bank"]{top:calc(.26*var(--inch));left:calc(3.5*var(--inch));width:calc(1.15*var(--inch)*var(--logo-scale,1));height:calc(.28*var(--inch)*var(--logo-scale,1))}.sheet-logo[data-placement="top-center"]{top:calc(.2*var(--inch));left:calc(3.9*var(--inch));width:calc(.7*var(--inch)*var(--logo-scale,1));height:calc(.5*var(--inch)*var(--logo-scale,1))}.check-logo{display:block;width:100%;height:100%;object-fit:contain}
.has-payer-logo .sheet-payer{left:calc(1.24*var(--inch));width:calc(2.25*var(--inch))}.has-bank-logo .sheet-bank{left:calc(4.85*var(--inch));width:calc(2*var(--inch))}
.check-background{position:absolute;z-index:0;top:0;left:0;width:100%;height:calc(100% - .625*var(--inch));object-fit:cover;opacity:.55;pointer-events:none}.micr-clear-band{position:absolute;z-index:1;inset:auto 0 0;height:calc(.625*var(--inch));background:#fff;pointer-events:none}
.check-face .sheet-micr{z-index:3;left:calc(.25*var(--inch));right:calc(.25*var(--inch));bottom:calc(.1875*var(--inch));height:calc(.25*var(--inch));display:flex;align-items:center;justify-content:var(--field-align,center);text-align:var(--field-align,center);overflow:visible;white-space:pre;line-height:1;letter-spacing:0;color:#000000;font-family:"Checkethical MICR";font-size:calc(.125*var(--inch));font-weight:400;font-synthesis:none}.micr-content{display:block;flex:none;font:inherit;white-space:pre;letter-spacing:0;color:#000000}.micr-overflow{outline:2px solid #b65c32!important}
.personal-check .sheet-payer,.wallet-check .sheet-payer{left:calc(.25*var(--inch));top:calc(.17*var(--inch));width:calc(3.65*var(--inch))}
.personal-check .sheet-number-block,.wallet-check .sheet-number-block{right:calc(.25*var(--inch));top:calc(.16*var(--inch))}
.personal-check .sheet-date,.wallet-check .sheet-date{right:calc(.25*var(--inch));top:calc(.64*var(--inch));width:calc(1.7*var(--inch))}
.personal-check .sheet-payarea,.wallet-check .sheet-payarea{left:calc(.25*var(--inch));right:calc(1.54*var(--inch));top:calc(1.01*var(--inch));height:calc(.28*var(--inch));gap:calc(.06*var(--inch));padding-bottom:calc(.025*var(--inch))}.personal-check .sheet-payarea>strong,.wallet-check .sheet-payarea>strong{--size:.14}
.personal-check .sheet-amount-box,.wallet-check .sheet-amount-box{right:calc(.25*var(--inch));top:calc(.99*var(--inch));width:calc(1.15*var(--inch));height:calc(.31*var(--inch))}.personal-check .sheet-amount-box>strong,.wallet-check .sheet-amount-box>strong{--size:.14}
.personal-check .sheet-words,.wallet-check .sheet-words{left:calc(.25*var(--inch));right:calc(.25*var(--inch));top:calc(1.39*var(--inch));height:calc(.23*var(--inch));padding-bottom:calc(.025*var(--inch))}.personal-check .sheet-words>strong,.wallet-check .sheet-words>strong{--size:.115}
.personal-check .sheet-memo,.wallet-check .sheet-memo{left:calc(.25*var(--inch));bottom:calc(.64*var(--inch));width:calc(2.75*var(--inch));height:calc(.18*var(--inch));padding-bottom:calc(.025*var(--inch))}
.personal-check .sheet-signature,.wallet-check .sheet-signature{right:calc(.25*var(--inch));bottom:calc(.64*var(--inch));width:calc(1.8*var(--inch));overflow:visible}.personal-check .sheet-signature .print-signature,.wallet-check .sheet-signature .print-signature{min-height:calc(.19*var(--inch)*var(--sig-scale,1));--size:.14}
.personal-check .sheet-micr,.wallet-check .sheet-micr{justify-content:var(--field-align,center)}
.personal-check.has-payer-logo .sheet-payer,.wallet-check.has-payer-logo .sheet-payer{left:calc(1.05*var(--inch));width:calc(2.85*var(--inch))}
.personal-check .sheet-logo[data-placement="payer"],.wallet-check .sheet-logo[data-placement="payer"]{top:calc(.17*var(--inch));left:calc(.25*var(--inch));width:calc(.7*var(--inch)*var(--logo-scale,1));height:calc(.5*var(--inch)*var(--logo-scale,1))}.personal-check .sheet-logo[data-placement="bank"]{top:calc(1.55*var(--inch));left:calc(.25*var(--inch));width:calc(1.1*var(--inch)*var(--logo-scale,1));height:calc(.24*var(--inch)*var(--logo-scale,1))}.wallet-check .sheet-logo[data-placement="bank"]{top:calc(1.56*var(--inch));left:calc(.25*var(--inch));width:calc(1.1*var(--inch)*var(--logo-scale,1));height:calc(.16*var(--inch)*var(--logo-scale,1))}.personal-check .sheet-logo[data-placement="top-center"],.wallet-check .sheet-logo[data-placement="top-center"]{top:calc(.17*var(--inch));left:calc(2.65*var(--inch));width:calc(.7*var(--inch)*var(--logo-scale,1));height:calc(.5*var(--inch)*var(--logo-scale,1))}.personal-check.has-bank-logo .personal-bank,.wallet-check.has-bank-logo .personal-bank{left:calc(1.52*var(--inch));width:calc(2.2*var(--inch))}
/* The personal payee rule begins after the two-line label, beneath the name only. */
.personal-check .sheet-payarea,.wallet-check .sheet-payarea{align-items:flex-end;border-bottom:0;padding-bottom:0}
.personal-check .sheet-payarea>.print-payee,.wallet-check .sheet-payarea>.print-payee{border-bottom:1.5px solid #000000;padding-bottom:calc(.025*var(--inch))}
/* Give the bank/logo a separate row, with 0.10 inch of space before Memo. */
.personal-check .sheet-words{top:calc(1.27*var(--inch))}
.personal-check .personal-bank{top:calc(1.55*var(--inch));height:calc(.24*var(--inch))}
.personal-check .sheet-memo{bottom:calc(.65*var(--inch))}
.wallet-check .sheet-words{top:calc(1.32*var(--inch))}.wallet-check .personal-bank{top:calc(1.59*var(--inch))}.wallet-check.has-bank-logo .sheet-logo{top:calc(1.59*var(--inch))}.wallet-check .sheet-signature{bottom:calc(.66*var(--inch))}
.voucher-stub{position:relative;flex:none;width:100%;aspect-ratio:8.5/3.5;padding:3.5cqw 4.7cqw;background:white;border-bottom:1px dashed #b7beb4;color:#283329}.voucher-stub>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:1.4cqw;border-bottom:1px solid #c5cbc2;font-size:1.4cqw}.stub-company{display:flex;flex-direction:column;gap:.4cqw;margin-top:2cqw;font-size:1.6cqw}.stub-company .print-address{font-size:1.3cqw}.stub-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:2cqw;margin-top:3cqw;padding:2cqw 0;border-block:1px solid #e0e4de}.stub-grid>div{display:flex;min-width:0;flex-direction:column;gap:.8cqw}.stub-grid span{font-size:1cqw}.stub-grid strong{font-size:1.3cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stub-grid i{font-style:normal}.voucher-stub>footer{display:flex;justify-content:space-between;margin-top:2cqw;font-size:1cqw;color:#697268}
.wallet-stub{min-width:0;overflow:hidden;padding:2.2cqw 2cqw;background:#fff;color:#30382f}.wallet-stub header{display:flex;justify-content:space-between;border-bottom:1px solid #cbd0c8;padding-bottom:1cqw}.wallet-stub header strong{font-size:1.1cqw}.wallet-stub>div{display:flex;flex-direction:column;gap:.4cqw;margin-top:1.2cqw}.wallet-stub span{font-size:1cqw}.wallet-stub strong{font-size:1.3cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-stub i{font-style:normal}.wallet-stub-split{display:grid!important;grid-template-columns:1fr 1fr;gap:1cqw}.wallet-stub p{display:flex;flex-direction:column;margin:0}.voucher-stub .print-date,.wallet-stub .print-date{position:static;inset:auto;border:0;padding:0;font-size:inherit}
.paper-stack [hidden]{display:none!important}.wallet-stub[hidden],.voucher-stub[hidden]{display:block!important;visibility:hidden}
/* Tool controls and the live estimate. */
.group-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.group-title h2{margin:0}.price-badge{background:#eef5e8;color:#416545;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:600}.settings-group .upload-choice{display:flex!important;align-items:center;font-size:11px!important;padding:12px 10px;margin:15px 0 8px!important;gap:7px}.upload-choice span{margin:0!important;font-size:inherit!important;letter-spacing:0!important;color:inherit!important}.upload-choice b{margin-left:auto;font-size:10px}.upload-choice:focus-within{outline:2px solid #527d58}.gallery-label{font-size:10px;font-weight:600;margin:20px 0 10px;color:#64715e}
.asset-gallery{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.asset-choice{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:9px;border:1px solid #dfe5da;border-radius:9px;background:#fff;color:#34432f;font:inherit;font-size:10px;text-align:left;cursor:pointer}.asset-choice img{width:100%;height:35px;object-fit:contain}.asset-choice>span{display:flex;justify-content:space-between;gap:4px;line-height:1.4}.asset-choice small{font-size:9px;color:#718368}.asset-choice[aria-pressed=true]{border-color:#527d58;box-shadow:0 0 0 1px #527d58;background:#f4f8ef}.asset-choice:hover{border-color:#527d58}.background-gallery{grid-template-columns:1fr}.background-gallery .asset-choice img{height:70px;object-fit:cover;border-radius:4px}.text-action{display:block;text-align:left;border:0;line-height:1.4}
.editor-estimate{flex:none;background:#fff;border-top:1px solid #dfe5da;padding:14px 16px;color:#24352a}.estimate-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px}.estimate-heading strong{font-size:20px;letter-spacing:-.7px}.price-row{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.5;margin-top:4px;color:#5d6d57}.editor-estimate small{display:block;margin-top:8px;color:#788371;font-size:9px}.review-price{margin-top:16px;border-block:1px solid #e0e5dc;padding:12px 0}.review-price .price-row{font-size:12px}.review-price .estimate-heading{font-size:13px;margin-top:12px}.reset-positions{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:10px}.reset-positions svg{width:15px;height:15px}
.preview-only .check-face [data-drag-key]{outline:0!important;cursor:default;touch-action:auto}.preview-only #editor-preview-button:after{content:none}.preview-only .paper-stack.personal-paper{width:min(100%,760px)}.canvas-actions button:disabled{opacity:.35;cursor:default}.print-warning{padding:9px 12px;background:#fff4dc;color:#7d5020;font-size:11px;line-height:1.4}.print-warning[hidden]{display:none}
@media(max-width:1000px) and (min-width:761px){.canvas-scroll{padding-inline:12px}.reference-editor-layout{grid-template-columns:60px 228px minmax(0,1fr) 52px}}
@media(max-width:760px){.canvas-scroll{height:min(100vw,510px);padding:16px 12px;overflow:auto!important}.paper-stack{min-width:0}.canvas-scroll .paper-stack{gap:0}.settings-group .setting-input{font-size:12px;height:36px}.settings-group>label:not(.element-toggle),.setting-row label{font-size:11px}.settings-content{max-height:300px}.dynamic-group{display:block}.dynamic-group>.setting-input{width:100%}.editor-estimate{padding:10px 14px}.estimate-heading{margin:0}.editor-estimate #price-items{display:flex;flex-wrap:wrap;column-gap:14px}.editor-estimate .price-row{gap:6px}.editor-estimate small{margin-top:5px}.background-gallery{grid-template-columns:1fr 1fr}.preview-only .preview-button{width:auto;padding-inline:10px}.workspace-footer #format-spec{font-size:9px;line-height:1.4}.workspace-footer{align-items:center}.editor-toast{bottom:75px}.tool-settings.settings-collapsed{display:none}.preview-only .canvas-scroll{overflow:auto!important}.reference-editor-header .editor-back{display:none}}
.preview-only .canvas-toolbar #zoom-out,.preview-only .canvas-toolbar #zoom-in,.preview-only .canvas-toolbar #zoom-value{display:flex!important;align-items:center;justify-content:center}
.preview-only .paper-workspace.expanded-preview .paper-stack{transform:scale(var(--zoom,1))!important}
.reference-editor-header{min-width:0}
@media(min-width:761px) and (max-width:1050px){.reference-editor-header{padding-inline:12px;gap:12px}.reference-editor-header .save-state,.reference-editor-header .editor-back,.template-select-label>span{display:none}.reference-editor-header .template-select-label{margin-left:auto;min-width:0}.template-select-label select{max-width:210px;min-width:0}.reference-editor-header>.editor-logo{flex-shrink:0;width:145px}}
.wallet-check .personal-bank{top:calc(1.56*var(--inch));height:calc(.16*var(--inch))}.wallet-check .sheet-logo[data-placement="bank"]{top:calc(1.56*var(--inch));height:calc(.16*var(--inch))}
@media(max-width:760px){.settings-group .setting-input{font-size:16px}}
.settings-group .upload-choice:has(+input:focus-visible){outline:2px solid #527d58;outline-offset:2px}
@media(max-width:430px){.template-select-label select{width:175px;max-width:calc(100vw - 180px);font-size:10px}}
@page{size:letter portrait;margin:0}
@media print{html,body.editor-page{margin:0!important;padding:0!important;width:8.5in;min-height:0;height:auto;overflow:visible}.workspace-footer,.editor-estimate,.editor-toast,.review-dialog,.auth-dialog,.print-warning{display:none!important}.paper-stack,.paper-stack.personal-paper,.preview-only .paper-stack.personal-paper{width:8.5in!important;height:11in!important;max-width:none!important;aspect-ratio:auto;margin:0!important;padding:0!important;outline:0;border:0;box-shadow:none;transform:none!important;overflow:hidden;display:flex;align-items:flex-start;break-inside:avoid}.personal-check{width:6in;height:2.75in}.business-check{width:8.5in;height:3.5in}.wallet-row{width:8.5in;height:2.625in}.wallet-check{width:6in;height:2.625in}.voucher-stub{width:8.5in;height:3.5in}.check-face,.wallet-row,.wallet-check,.voucher-stub{border:0}.check-face [data-drag-key]{outline:0!important}.check-background,.check-logo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.signature-image{display:block;max-width:calc(100% * var(--sig-scale,1));max-height:calc(.35*var(--inch)*var(--sig-scale,1));object-fit:contain;margin:0 auto calc(-.04*var(--inch));pointer-events:none}
.sig-mode-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:12px 0 14px}
.sig-mode-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 8px;border-radius:7px;border:1px solid #d2d9cf;background:#fff;font-size:11px;font-weight:600;color:#354437;cursor:pointer;transition:all .15s}
.sig-mode-btn.is-active{background:#233827;color:#fff;border-color:#233827}
.sig-canvas-wrap{position:relative;border:1.5px solid #d2d9cf;border-radius:8px;background:#fbfdfa;overflow:hidden;touch-action:none}
.sig-canvas-wrap canvas{display:block;width:100%;height:140px;cursor:crosshair;touch-action:none}
.sig-canvas-hint{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);font-size:9.5px;color:#859083;pointer-events:none}
.sig-draw-controls{display:flex;justify-content:space-between;gap:8px;margin-top:10px}
.sig-preview-card{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #d2d9cf;border-radius:8px;background:#fbfdfa;margin-top:10px}
.sig-preview-img-wrap{width:70px;height:45px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px dashed #cbd2c7;border-radius:6px;overflow:hidden}
.sig-preview-img-wrap img{max-width:100%;max-height:100%;object-fit:contain}
.sig-preview-actions{display:flex;flex-direction:column;gap:6px;flex:1}
.action-btn-sm{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 11px;border-radius:6px;border:1px solid #c2cbbd;background:#fff;font-size:11px;font-weight:600;color:#283a2c;cursor:pointer;transition:all .15s}
.action-btn-sm:hover{background:#f1f5ee;border-color:#9eab99}
.action-btn-sm:disabled{opacity:.45;cursor:not-allowed}
.action-btn-sm.editor-primary-sm{background:#2e4732;color:#fff;border-color:#2e4732}
.action-btn-sm.editor-primary-sm:hover{background:#233827}
.text-action-danger{background:none;border:0;color:#b23b2e;font-size:11px;font-weight:600;padding:0;text-align:left;cursor:pointer}
.text-action-danger:hover{text-decoration:underline}
.logo-slot-actions{display:flex;gap:8px;align-items:center;margin-top:8px}

/* Remitter line */
.sheet-remitter{position:absolute;left:calc(.4*var(--inch));bottom:calc(.66*var(--inch));width:calc(3.6*var(--inch));height:calc(.24*var(--inch));display:flex;align-items:end;gap:calc(.07*var(--inch));padding-bottom:calc(.03*var(--inch));border-bottom:1.5px solid #000000;color:#000000}
.sheet-remitter>span{font-size:calc(.08*var(--inch)*var(--text-scale));font-weight:600;letter-spacing:.04em;white-space:nowrap;color:#000000}
.sheet-remitter>strong{flex:1;text-align:var(--field-align,start);--size:.13;font-size:calc(var(--size)*var(--inch)*var(--text-scale));font-weight:var(--field-weight,500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#000000}

/* Payroll Stub styles */
.payroll-stub .payroll-meta-grid{display:grid;grid-template-columns:1.5fr 1.5fr 1fr 1.2fr 1fr;gap:1.5cqw;margin-top:1.8cqw;padding-bottom:1.5cqw;border-bottom:1px solid #d4dad0;font-size:1.1cqw}
.payroll-meta-grid>div{display:flex;flex-direction:column;gap:.3cqw;min-width:0}
.payroll-meta-grid span{font-size:.95cqw;color:#596457;font-weight:600}
.payroll-meta-grid strong{font-size:1.2cqw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.payroll-stub .payroll-table-wrap{margin-top:1.5cqw}
.payroll-stub-table{width:100%;border-collapse:collapse;font-size:1.1cqw}
.payroll-stub-table th{background:#eef3eb;text-align:left;padding:4px 8px;font-size:1cqw;font-weight:700;color:#283a2c;border:1px solid #c8d1c5}
.payroll-stub-table td{padding:5px 8px;border:1px solid #dbe2d8;color:#202a22}
.payroll-stub-table i{font-style:normal}
.payroll-total-row{background:#f8faf6;font-weight:700}
.payroll-total-row td{border-top:1.5px solid #283a2c}

/* Custom Text Blocks */
.sheet-custom-text{position:absolute;left:calc(1.5*var(--inch));top:calc(1*var(--inch));z-index:4;cursor:grab;touch-action:none;user-select:none;transform:translate(calc(var(--dx, 0)*var(--inch)), calc(var(--dy, 0)*var(--inch)));transform-origin:left top;display:inline-block;white-space:nowrap;padding:2px 4px;border-radius:3px;outline:1px dashed transparent;transition:outline .15s}
.sheet-custom-text:hover{outline-color:rgba(82,125,88,.5)}
.sheet-custom-text.is-selected{outline:1.5px solid #2d6b38;background:rgba(82,125,88,.08)}
.sheet-custom-text.is-dragging{cursor:grabbing}
.sheet-custom-text .print-custom-text{display:inline-block;font-family:var(--field-font,Arial,sans-serif);font-size:calc(.12*var(--inch)*var(--text-scale,1));font-weight:var(--field-weight,400)!important;text-align:var(--field-align,start);color:var(--field-color,#000000);font-style:var(--field-italic,normal);text-decoration:var(--field-underline,none);text-transform:var(--field-transform,none);white-space:pre-wrap;line-height:1.25}
.sheet-custom-text strong{font-family:inherit;font-size:inherit;font-weight:var(--field-weight,inherit)!important;color:inherit;font-style:inherit;text-decoration:inherit;text-transform:inherit}
@media print{.sheet-custom-text{outline:none!important;background:none!important}}


