/* Modelos municipais: regras limitadas ao balancete e à identidade do QR Code. */
.municipal-identity{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:#1e4957}
.municipal-identity .municipal-crest{display:block;width:88px;height:94px;object-fit:contain;margin:0;background:transparent;border-radius:0;padding:0;max-width:100%}
.municipal-identity.company-identity .municipal-crest{width:240px;height:76px}
.municipal-identity-title{font-size:17px;font-weight:750;line-height:1.3;overflow-wrap:normal;word-break:normal}
.term-qr-page .municipal-identity{margin-bottom:12px}
.term-qr-page .qr-location-head{padding:0 0 10px}
#municipalConsultHeader{display:flex;justify-content:center;background:white;padding:22px 16px}
#municipalConsultHeader .municipal-crest{width:88px;height:94px}
#municipalConsultHeader .company-identity .municipal-crest{width:240px;height:76px}
#reportDialog.balance-report .report-sheet{background:#fff;color:#172f39;padding:24px;line-height:1.25;font-family:Arial,Helvetica,sans-serif}
#reportDialog.balance-report .municipal-report-head{position:relative;margin-bottom:10px;padding-bottom:10px;border-bottom:2px solid #1e4957}
#reportDialog.balance-report .municipal-identity{flex-direction:row;justify-content:flex-start;text-align:left;gap:14px;margin-bottom:8px}
#reportDialog.balance-report .municipal-crest{width:54px;height:60px}
#reportDialog.balance-report .company-identity .municipal-crest{width:170px;height:56px}
#reportDialog.balance-report .municipal-identity-title{font-size:16px}
#reportDialog.balance-report .municipal-report-head h1{font-size:15px;letter-spacing:.04em;margin:8px 0 4px}
#reportDialog.balance-report .municipal-report-head p{font-size:11px;margin:0;color:#31444e}
#reportDialog.balance-report .balance-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse;margin:0 0 10px;font-size:10px;color:#172f39}
#reportDialog.balance-report .balance-table th,#reportDialog.balance-report .balance-table td{width:auto;padding:5px 4px;border:1px solid #c7d1d5;vertical-align:middle;overflow-wrap:normal;word-break:normal;hyphens:none;line-height:1.25}
#reportDialog.balance-report .balance-table th{background:#e8edef;text-align:center;font-weight:700;font-size:10px}
#reportDialog.balance-report .balance-table .balance-section th{text-align:left;background:#dce6e9;font-size:12px;padding:6px}
#reportDialog.balance-report .balance-table td:nth-child(2){text-align:left;white-space:normal}
#reportDialog.balance-report .balance-table td small{display:block;color:#50616a;font-size:8px;margin-top:2px;line-height:1.3;white-space:normal}
#reportDialog.balance-report .balance-table td:nth-child(n+3){white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
#reportDialog.balance-report .balance-table tfoot th,#reportDialog.balance-report .balance-table tbody th{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
#reportDialog.balance-report .balance-table tfoot th[colspan],#reportDialog.balance-report .balance-table tbody th[colspan]{white-space:normal;text-align:left}
#reportDialog.balance-report .balance-table .balance-partial{display:block;margin:0;line-height:1.1;font-weight:400;font-size:8px;text-align:right;color:#50616a}
#reportDialog.balance-report .balance-table tfoot{display:table-row-group}
#reportDialog.balance-report .report-note{margin:8px 0;font-size:10px;line-height:1.35;color:#40535b}
#reportDialog.balance-report .balance-signatures{gap:16px;margin-top:28px;font-size:10px;line-height:1.4;break-inside:avoid}
#reportDialog.balance-report .balance-signatures>div{flex:1}
#reportDialog.balance-report #reportContent{overflow-x:auto}
@page municipal-landscape{size:A4 landscape;margin:8mm}
@media print{
 body.print-report:has(#reportDialog.balance-report){background:#fff;page:municipal-landscape}
 body.print-report:has(#reportDialog.balance-report) #appShell>.site-footer{display:none!important}
 body.print-report #reportDialog.balance-report,body.print-report #reportDialog.balance-report .report-sheet{page:municipal-landscape}
 body.print-report #reportDialog.balance-report{overflow:visible!important;max-width:none!important;width:100%!important}
 #reportDialog.balance-report .report-sheet{padding:0!important;background:#fff!important;color:#172f39;overflow:visible!important}
 #reportDialog.balance-report .municipal-report-head{break-inside:avoid;margin-bottom:2mm;padding-bottom:2mm}
 #reportDialog.balance-report .municipal-crest{width:13mm;height:15mm}
 #reportDialog.balance-report .municipal-identity-title{font-size:11pt}
 #reportDialog.balance-report .municipal-report-head h1{font-size:10pt;margin:2mm 0 1mm}
 #reportDialog.balance-report .municipal-report-head p{font-size:7.5pt}
 #reportDialog.balance-report .balance-table{width:100%;min-width:0!important;margin-bottom:2.5mm;font-size:7pt}
 #reportDialog.balance-report .balance-table th,#reportDialog.balance-report .balance-table td{padding:1.1mm .8mm;font-size:7pt;line-height:1.2;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #reportDialog.balance-report .balance-table td small,#reportDialog.balance-report .balance-table .balance-partial{font-size:6pt}
 #reportDialog.balance-report .balance-table .balance-section th{font-size:8pt;padding:1.3mm}
 #reportDialog.balance-report .balance-table thead{display:table-header-group}
 #reportDialog.balance-report .balance-table tr{break-inside:avoid;page-break-inside:avoid}
 #reportDialog.balance-report .report-note{font-size:6.8pt;line-height:1.3;margin:2mm 0}
 #reportDialog.balance-report .balance-signatures{font-size:7pt;margin-top:7mm}
 .term-qr-page .municipal-crest{width:24mm;height:26mm}
 .term-qr-page .company-identity .municipal-crest{width:65mm;height:20mm}
 .term-qr-page .municipal-identity-title{font-size:14pt}
}

/* Assinatura institucional no rodapé da folha de QR Code. */
.term-qr-brand-footer{display:flex;justify-content:center;border-top:1px solid #d3d3d4;margin-top:18px;padding-top:10px;break-inside:avoid}
.term-qr-brand-footer .term-color-logo{width:190px;height:46px;max-width:60%;margin:0;object-fit:contain}
@media print{.term-qr-brand-footer{margin-top:4mm;padding-top:2mm}.term-qr-brand-footer .term-color-logo{width:48mm;height:12mm}.term-qr-page .term-issued{text-align:center;break-before:avoid}}

/* Paisagem exclusiva para balancete, depreciação e listagem. */
#pdfGeneratedFooter{display:none}
.report-print-frame{width:100%;border:0;border-collapse:collapse;table-layout:fixed}
.report-print-frame>.report-print-content,.report-print-frame>tbody>tr>.report-print-content{padding:0;border:0;vertical-align:top}
.report-print-frame>tfoot>tr>.report-generated-note{padding:12px 0 0;border:0;border-top:1px solid #c7d1d5;text-align:center;font:11px Arial,Helvetica,sans-serif;line-height:1.4;color:#40535b}
@page report-portrait{size:A4 portrait;margin:15mm 15mm 20mm}
@page report-landscape{size:A4 landscape;margin:10mm 10mm 18mm}
@media print{
 .report-print-frame>tbody{display:table-row-group}
 .report-print-frame>tbody>tr{break-inside:auto!important;page-break-inside:auto!important}
 .report-print-frame>tfoot{display:table-footer-group}
 .report-print-frame>tfoot>tr{break-inside:avoid}
 .report-print-frame>tfoot>tr>.report-generated-note{padding:3mm 0 0;font-size:7pt;white-space:normal}
 body.print-report,body.print-report #reportDialog,body.print-report #reportDialog .report-sheet{page:report-portrait}
 body.print-term:has(#termDialog[data-print-mode="list"]),body.print-term #termDialog[data-print-mode="list"],body.print-term #termDialog[data-print-mode="list"] .term-sheet{page:report-portrait}
 body.print-report:has(#reportDialog.landscape-report),body.print-report:has(#reportDialog.landscape-report) #appShell,body.print-report #reportDialog.landscape-report,body.print-report #reportDialog.landscape-report .report-sheet{page:report-landscape!important}
 body.print-report #reportDialog,body.print-report #reportContent{width:100%!important;max-width:none!important;overflow:visible!important}
 body.print-report .report-sheet,body.print-term .term-sheet{background:#fff!important;color:#172f39}
 body.print-report .site-footer,body.print-term .site-footer{display:none!important}
 body.print-report .municipal-report-table{min-width:0!important}
 body.print-report .inventory-table th,body.print-report .inventory-table td{word-break:normal;overflow-wrap:normal;hyphens:none}
 body.print-report .inventory-table td:last-child{white-space:nowrap;text-align:right}
 body.print-report #pdfGeneratedFooter,body.print-term #pdfGeneratedFooter{display:block!important;position:fixed;bottom:-11mm;left:0;right:0;text-align:center;border-top:1px solid #c7d1d5;padding-top:2mm;color:#40535b;font:7pt Arial,Helvetica,sans-serif;line-height:1.3;white-space:nowrap}
 body.print-term #termDialog[data-print-mode="list"] .term-issued{display:none!important}
}

/* Faixa fornecida pela DinizCont, alinhada à largura útil do documento. */
.term-qr-brand-footer{justify-content:stretch}
.term-qr-brand-footer .term-qr-footer-banner{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin:0}
.term-qr-page .term-issued{text-align:left;line-height:1.4}
@media print{.term-qr-brand-footer .term-qr-footer-banner{width:100%;height:auto}.term-qr-page .term-issued{text-align:left}}
