.cert-print{display:none}
@page{size:A4;margin:10mm}
@media print{
html,body{margin:0!important;padding:0!important;background:#fff!important;color:#152531!important;font:10pt/1.35 system-ui,sans-serif!important}
body:has(#cert-print)>:not(#cert-print){display:none!important}
.cert-print{display:block!important;width:100%;color:#152531;font:10pt/1.35 system-ui,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.cert-mast{display:flex;align-items:center;gap:12px;border-bottom:2pt solid #183c56;padding:0 0 3mm;margin:0 0 3mm}
.cert-logo{width:20mm;height:18mm;object-fit:contain}.cert-identity{flex:1;min-width:0}.cert-business{font-size:10pt;font-weight:700;color:#183c56;text-transform:uppercase;letter-spacing:.045em}.cert-title{font-size:19pt!important;line-height:1.1;margin:1mm 0!important;color:#152531}.cert-ref{border:1px solid #183c56;padding:2mm;max-width:47mm;overflow-wrap:anywhere;min-width:36mm}.cert-ref strong{font-size:10pt}
.cert-section{margin:0 0 2.5mm;border:1px solid #526475;border-radius:0;overflow:visible;break-inside:auto}
.cert-section-title{font:700 10pt/1.25 system-ui,sans-serif!important;margin:0!important;padding:1.7mm 2.4mm!important;color:#fff!important;background:#183c56!important;break-after:avoid}
.cert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0}.cert-cols-1{grid-template-columns:minmax(0,1fr)}.cert-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cert-field{padding:1.7mm 2.3mm;min-width:0;border-bottom:1px solid #9aa7b1;border-right:1px solid #9aa7b1;break-inside:avoid;min-height:11mm}.cert-wide{grid-column:1/-1}.cert-label{font-size:7.5pt;color:#354957;font-weight:700;line-height:1.2}.cert-value{margin-top:1mm;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9.5pt;line-height:1.35}
.cert-parties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;break-inside:avoid}.cert-party{min-width:0;border-right:1px solid #526475}.cert-party:last-child{border-right:0}.cert-party h3,.cert-appliance h3{margin:0!important;background:#e7edf1!important;color:#183c56;font-size:9pt!important;padding:1.6mm 2.3mm;border-bottom:1px solid #8796a1;break-after:avoid}
.cert-check-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9pt}.cert-check-table thead{display:table-header-group}.cert-check-table th,.cert-check-table td{padding:1.6mm 2mm;border:1px solid #9aa7b1;text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.cert-check-table th{background:#e7edf1!important;font-weight:700;font-size:8pt}.cert-check-table th:nth-child(1){width:47%}.cert-check-table th:nth-child(2){width:21%}.cert-check-result{font-weight:700}.cert-check-table tr{break-inside:avoid}.cert-appliance{break-inside:auto}.cert-signature{display:block;max-width:100%;height:auto;max-height:23mm;object-fit:contain}.cert-end{border-top:1px solid #526475;padding:2mm 0;font-size:8pt;color:#354957}
}