
/* V153: the QR occupies only the upper-right page corner, never body space. */
.sheet .document-barcode,.sheet:not(.white-mode) .document-barcode{position:absolute!important;right:8mm!important;top:7mm!important;left:auto!important;bottom:auto!important;margin:0!important;width:19mm;z-index:7}
#root .sheet .content,#root .sheet:not(.white-mode) .content,.h132-pagination-staging .sheet .content,.h132-pagination-staging .sheet:not(.white-mode) .content{left:max(var(--left),var(--template-left,0mm));bottom:max(var(--bottom),var(--template-bottom,0mm));padding:0}
#letterEditorRoot .sheet .content{padding-bottom:var(--bottom)}
.signature.hendar-letter-signed:not(.has-stamp){padding-right:0;width:67mm;min-height:0}
.h153-electronic-help{flex-basis:100%;font-size:12px;text-align:center;color:#dceaf5}
.h153-electronic-signed{color:#166534;background:#ecfdf5;border:1px solid #86efac;padding:4px 8px;border-radius:6px}
/* On plain paper the existing 18 mm margin is enough when the QR sits in its corner. */
.sheet.white-mode .document-barcode{right:2mm!important;top:2mm!important;width:16mm;gap:.3mm}
.sheet.white-mode .document-barcode .qr{width:15mm;height:15mm;padding:.5mm}
.sheet.white-mode .document-barcode span{display:none}
