/* ORÇUP 13-10-2026 — layout comercial de IMPRESSÃO (A4). Vale por CSS puro, sem depender de eventos de impressão do navegador. */
@media print{
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview{width:190mm!important;max-width:190mm!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11px!important;color:#111!important;box-shadow:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfHead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4mm!important;padding:1mm 0 2mm!important;margin:0!important;border-bottom:1px solid #078fe7!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfCompany{display:flex!important;align-items:center!important;gap:4mm!important;flex:1;min-width:0}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .companyLogo{width:40mm!important;max-width:40mm!important;max-height:16mm!important;flex-shrink:0;object-fit:contain!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfCompanyDetails b{font-size:10px!important;margin:0 0 .5mm!important;line-height:1.25!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfCompanyDetails small{font-size:9px!important;line-height:1.3!important;margin:0!important;color:#222!important;overflow-wrap:anywhere}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfCompanyDetails small:empty{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfOrder{flex-shrink:0;text-align:right!important;white-space:nowrap!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfOrder strong{font-size:13px!important;color:#063a67!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfOrder span{display:block!important;font-size:9.5px!important;margin-top:1mm!important;color:#222!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .issuerBlock{margin:0 0 4mm!important;padding:0!important;border:0!important;background:#fff!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .issuerBlock .blockLabel{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .clientBlock{margin:0 0 3mm!important;border:0!important;background:#fff!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .blockLabel,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .printSectionTitle{padding:1.5mm 2mm!important;border:0!important;border-left:1mm solid #20c568!important;border-bottom:1px solid #b9d8ee!important;background:#fff!important;color:#063a67!important;border-radius:0!important;font-size:10.5px!important;font-weight:800!important;letter-spacing:.07em!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .prepared{padding:1.5mm 1mm!important;margin:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .prepared strong{font-size:13px!important;color:#111!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .prepared>small{font-size:9.5px!important;line-height:1.3!important;color:#222!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .printSection{margin-top:2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #previewItems{margin:2mm 0!important;padding:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductsTable{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;border:1px solid #777!important;margin:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow{display:table-row!important;break-inside:avoid!important;page-break-inside:avoid!important;border:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow>td{padding:1.6mm 1.5mm!important;vertical-align:top!important;border:1px solid #999!important;color:#111!important;overflow-wrap:anywhere;line-height:1.25!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow strong{display:block!important;font-size:11px!important;line-height:1.25!important;color:#111!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow small{display:block!important;font-size:9.5px!important;line-height:1.3!important;margin:0!important;padding:.4mm 0 0!important;color:#222!important;white-space:pre-wrap!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow small strong{font-size:10px!important;margin-bottom:.4mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductAmount{text-align:right!important;white-space:nowrap!important;font-size:11px!important;font-weight:800!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .previewItemObservation{border:0!important;background:#fff!important;margin:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .printValues{margin:3mm 0 0!important;break-inside:avoid!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #summaryRows,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .total{width:110mm!important;margin-left:auto!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #summaryRows .previewLine{padding:1.1mm 1mm!important;font-size:11px!important;line-height:1.3!important;border-bottom:1px solid #dfe8f1!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .total{padding:1.6mm 1mm!important;margin-top:1mm!important;margin-bottom:0!important;border-radius:0!important;background:#fff!important;border-top:1px solid #063a67!important;border-bottom:2px solid #063a67!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .total span{font-size:11px!important;font-weight:800!important;color:#111!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .total strong{font-size:21px!important;color:#063a67!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .paymentBox{border:1px solid #cbd5df!important;border-radius:0!important;padding:2mm!important;margin:3mm 0 2mm!important;background:#fff!important;break-inside:avoid!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .paymentBox>b{font-size:10px!important;color:#063a67!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .paymentBox>span{font-size:11px!important;display:block!important;margin:1mm 0!important;color:#111!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .paymentBox p{font-size:10px!important;line-height:1.3!important;margin:.6mm 0!important;color:#222!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #commercialDocumentInfo{display:block!important;margin-top:2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialFacts{display:block!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialFacts>div,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialNotes,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialTerms,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialApproval{border:1px solid #cbd5df!important;border-left:1mm solid #20c568!important;padding:2mm 3mm!important;background:#fff!important;break-inside:avoid!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialFacts b,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialNotes>b,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialTerms>b,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialApproval>b{display:block!important;font-size:10px!important;margin-bottom:1mm!important;letter-spacing:.04em!important;color:#063a67!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialFacts span,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialNotes p,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialTerms p,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialApproval p{display:block!important;margin:0!important;font-size:9.5px!important;line-height:1.35!important;color:#222!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialNotes,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialTerms,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialApproval{margin-top:2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialNotes.hidden{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .commercialApproval{border-left-color:#078fe7!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .approvalLines{display:flex!important;gap:5mm!important;margin-top:5mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .approvalLines span{flex:1;border-top:1px solid #718096!important;padding-top:1mm!important;text-align:center!important;font-size:8.5px!important;color:#444!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .approvalLines span:first-child{flex:1.4}body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .approvalLines span:nth-child(2){flex:.55}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .nonFiscalNotice{font-size:8px!important;text-align:center!important;margin:2mm 0!important;color:#555!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .validity{position:static!important;display:block!important;break-inside:avoid!important;text-align:center!important;font-size:9px!important;line-height:1.3!important;margin:2mm 0 0!important;padding:0!important;color:#333!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfFooter,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .presentationControls{display:none!important}

body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview :is(#shareStatus,.shareStatus,.documentShareActions,.shareHelp){display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #previewItems{margin:1.5mm 0 2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductsTable{border:1px solid #d3d9df!important;border-collapse:collapse!important;table-layout:fixed!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow>td{border:1px solid #d3d9df!important;padding:1.4mm 1.8mm!important;height:auto!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow>td:empty{padding:0!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow .pdfProductAmount{color:#0b2f4f!important}

body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductsTable{border-collapse:separate!important;border-spacing:0!important;border:0!important;border-top:1px solid #d3d9df!important;border-left:1px solid #d3d9df!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .pdfProductTableRow>td{border:0!important;border-right:1px solid #d3d9df!important;border-bottom:1px solid #d3d9df!important}

/* Estrutura da tabela espelhada (#pdfProductsMirror): sempre existe no DOM, só aparece na impressão. */
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #previewItems{margin:1.5mm 0 2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview.pdfTableReady #previewItems{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #pdfProductsMirror{display:block!important;margin:1.5mm 0 2mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #pdfProductsMirror:empty{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview #shareStatus,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .shareStatus,body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview .documentShareActions{display:none!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview{position:static!important;top:auto!important;min-height:0!important;height:auto!important;width:100%!important;max-width:189mm!important}
body:not(.printingReceipt):not(.printingMonthlyReport) #quote .summary .panel.preview *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
