/* Collecte ESG — impression des rapports et dossiers de saisie (chargée avec media="print"). */
:root:root,
:root:root[data-theme] {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --surface2: #f4f5f7;
  --ink: #000;
  --muted: #444;
  --line: #bbb;
  --line2: #ddd;
  --field: #888;
  --accent: #1d4ed8;
  --sh: none;
  --sh-lg: none;
}
@page {
  margin: 14mm 12mm;
}
body {
  font-size: 10pt;
  background: #fff;
}
.app {
  display: block;
}
.topbar,
.sidenav,
.skip,
.toasts,
.no-print,
.sx-side,
.sx-mbar,
.btn,
.xb,
.pager,
.tabs,
dialog {
  display: none !important;
}
.body {
  display: block;
}
main {
  padding: 0;
}
.sx {
  display: block;
}
.card,
.sx-sec {
  box-shadow: none;
  border-color: #bbb;
  break-inside: avoid-page;
}
.fr,
tr {
  break-inside: avoid;
}
.sx-sh {
  break-after: avoid;
}
.ig,
input,
select,
textarea {
  border-color: #999 !important;
  background: #fff !important;
}
.tbl-wrap,
.mx-wrap {
  overflow: visible;
}
a {
  color: inherit;
  text-decoration: none;
}
.print-only {
  display: block !important;
}
.view.inactive {
  display: none !important;
}
.sx-sec + .sx-sec {
  content-visibility: visible;
}
.sx-shw {
  position: static;
}

/* Rapports : tableau entier (pas de défilement interne), en-têtes répétés sur chaque page. */
.tbl-wrap.scroll {
  max-block-size: none;
  overflow: visible;
}
.tbl-wrap.scroll thead th,
.tbl-wrap.scroll tbody th:first-child,
table.rep thead th:first-child {
  position: static;
}
table.rep thead {
  display: table-header-group;
}
table.rep th,
table.rep td {
  font-size: 8.5pt;
  padding: 3px 6px;
}
.tb-camp,
.ev-x,
.drop {
  display: none !important;
}
