.standard-signatures{display:grid;grid-template-columns:repeat(var(--signature-columns,2),minmax(0,1fr));gap:18px 30px;margin:18px 0 8px;font-size:11px}
.standard-signature-group{min-width:0}
.standard-signature-group>h3{font-size:11px;letter-spacing:0;margin:0 0 20px}
.standard-signature-row{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px;align-items:end;min-height:18px;margin:20px 0 0;line-height:1.45}
.standard-signature-row>b{font-size:11px}
.standard-signature-row>span{display:block;min-height:18px;border-bottom:1px solid #000;white-space:pre-wrap;overflow-wrap:anywhere}
.standard-signature-row.signature-no-line>span{border:0}
.document-closing-summary{margin:10px 0 22px}
.document-closing-summary p{margin:8px 0}
.extended-paper[data-type="receipt"] .extended-section>h3,.extended-paper[data-type="material"] .extended-section>h3{border-bottom:0;padding-bottom:0}
.extended-paper[data-type="door_schedule"] .extended-section>h3{border-bottom:0;padding-bottom:0}
.extended-paper[data-type="material"] .extended-closing .extended-section{margin:0 0 24px}
.extended-paper[data-type="material"] .extended-closing .extended-section:last-child{margin-bottom:0}
.extended-paper[data-type="material"] .extended-closing .extended-section>h3{margin:0 0 20px}
.extended-paper[data-type="material"] .extended-closing .ext-pair{margin:18px 0}
.extended-paper[data-type="material"] .extended-closing .ext-print-field{min-height:20px;align-items:baseline}
.extended-paper[data-type="material"] .extended-closing .ext-signatures{gap:18px 35px;margin:18px 0 8px;font-size:11px}
.extended-paper[data-type="material"] .extended-closing .ext-signature-line{height:20px}
.extended-paper[data-type=material] .ext-print-table .col-description{width:75%}
.extended-paper[data-type=material] .ext-print-table .col-quantity{width:20%}
.paper .door-print-table th{background:#dce3f2!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none;white-space:nowrap!important}
@media screen and (max-width:650px){.standard-signatures{grid-template-columns:1fr}}
@media print{.standard-signatures{gap:18px 30px}.standard-signature-row{break-inside:avoid}}


@media screen{
.business-paper:is([data-business-type="production"],[data-business-type="petty"])>.business-closing{margin-bottom:0!important}
.business-paper:is([data-business-type="production"],[data-business-type="petty"])>.business-closing+.document-contact-footer{margin-top:8mm!important}
.business-paper:is([data-business-type="production"],[data-business-type="petty"])>.business-closing .standard-signatures:last-child{margin-bottom:0}
.extended-paper:is([data-type="material"],[data-type="receipt"],[data-type="door_schedule"])>.extended-closing{margin-bottom:0!important}
.extended-paper:is([data-type="material"],[data-type="receipt"],[data-type="door_schedule"])>.extended-closing+.document-contact-footer{margin-top:8mm!important}
.extended-paper:is([data-type="material"],[data-type="receipt"],[data-type="door_schedule"])>.extended-closing .standard-signatures:last-child{margin-bottom:0}
.delivery-paper:not(.business-paper):not(.extended-paper):not(.proforma-paper)>.handover{margin-bottom:0!important}
.delivery-paper:not(.business-paper):not(.extended-paper):not(.proforma-paper)>.handover+.document-contact-footer{margin-top:8mm!important}
.delivery-paper:not(.business-paper):not(.extended-paper):not(.proforma-paper)>.handover .standard-signatures:last-child{margin-bottom:0}
.extended-paper:is([data-type="material"],[data-type="receipt"],[data-type="door_schedule"]) .extended-closing .extended-section:last-child,.extended-paper:is([data-type="material"],[data-type="receipt"],[data-type="door_schedule"]) .extended-closing .ext-signatures:last-child{margin-bottom:0}
.delivery-paper:not(.business-paper):not(.extended-paper):not(.proforma-paper)>.handover p:last-child{margin-bottom:0}
.business-paper[data-business-type="payment"] .business-signatures h3{margin:0 0 20px}
.business-paper[data-business-type="payment"] .business-signatures p.signature-line{min-height:20px;margin:18px 0;padding:2px 0}
.business-paper[data-business-type="payment"] .business-signatures p.signature-line:last-child{margin-bottom:0}
.business-paper[data-business-type="payment"]>.business-closing{margin-bottom:0!important}
.business-paper[data-business-type="payment"]>.business-closing+.document-contact-footer{margin-top:8mm!important}
}

.extended-paper[data-type="hr_letter"] .delivery-page-number{visibility:hidden!important}
