/* Impression : un chapitre par page, un en-tete avec la version, l'avertissement en pied. */

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

.bandeau, .onglets, .doc-som, .actions, .verrou, #doc-outils, .replier,
.jour-bandeau, .sans-impression { display: none !important; }

body {
  font-size: 10.5pt;
  line-height: 1.4;
  padding: 0;
  background: #FFFFFF;
}

.enveloppe { max-width: none; padding: 0; }
main.enveloppe { padding: 0; }
.doc-page { display: block; }
.doc { max-width: none; }

/* Un en-tete par chapitre plutot qu'un en-tete flottant : un element en
   position fixe se superpose au texte dans l'impression du navigateur.
   Chaque chapitre commençant sur une page neuve, la version se lit sur
   chaque feuille de debut de chapitre. */
.impr-entete, .impr-pied { display: none !important; }
.impr-ligne {
  display: block;
  font-size: 8pt;
  color: #4B5563;
  border-bottom: 1px solid #D6DBE1;
  padding-bottom: 2mm;
  margin: 0 0 5mm;
}

.doc .chapitre, .feuille-export {
  page-break-before: always;
  break-before: page;
}
.doc .garde { page-break-after: always; break-after: page; }
.doc h2 { margin-top: 0; border-top: 0; padding-top: 0; font-size: 15pt; }
.doc h3 { font-size: 11.5pt; }

h1 { font-size: 22pt; }
h2 { font-size: 15pt; }
h3 { font-size: 11.5pt; }

table { font-size: 8.5pt; page-break-inside: auto; }
th, td { border: 1px solid #9AA2A2; padding: 2pt 3pt; }
tr { page-break-inside: avoid; }
thead { display: table-header-group; }
.tab-boite { overflow: visible; }
.tab-boite.large table { min-width: 0; }

a { color: #1B2430; text-decoration: none; }
.avert, .src, .mini { font-size: 8.5pt; }

.etat-ecart { font-weight: 800; color: #C2410C; }
.etat-cible { color: #15803D; }
