/* Impression A4 du rapport : seule la page du rapport est imprimée, sans l'interface. */

@page { size: A4; margin: 16mm 14mm 18mm; }

html, body { background: #ffffff !important; }
body * { visibility: hidden; }
.rapport, .rapport * { visibility: visible; }
.rapport {
  position: absolute; left: 0; top: 0;
  width: 100%; max-width: none;
  border: 0; border-radius: 0; padding: 0; margin: 0;
  font-size: 10.5pt;
}
.barre, .onglets, .entete-projet, .outils-export, .toasts { display: none !important; }
main { padding: 0 !important; max-width: none !important; }
.rapport h2 { break-after: avoid; page-break-after: avoid; }
.rapport .figure, .rapport tr, .rapport .chiffres-cles, .rapport dl { break-inside: avoid; page-break-inside: avoid; }
.rapport .saut { break-before: page; page-break-before: always; }
.rapport .tableau-defile { overflow: visible; }
.rapport a { color: inherit; text-decoration: none; }
.rapport .chiffres-cles { grid-template-columns: repeat(3, 1fr); }
.rapport .mini-chiffres { grid-template-columns: repeat(4, 1fr); }
