/* bilan : chargé avec l'outil (csirt-styles.php). */
/* Bilan d'activité public ([csirt_bilan]) */
ul.csirt-bilan-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; list-style: none; margin: 1.5rem 0; padding: 0 !important; }
.csirt-tdb-barres td, .csirt-tdb-barres th { vertical-align: middle; }
.csirt-bilan-chiffres li { margin: 0; padding: 1.1rem 1.25rem; background: var(--global-palette8); border-bottom: 3px solid var(--global-palette1); color: var(--global-palette4); }
.csirt-bilan-chiffres span { display: block; font-size: 2rem; font-weight: 700; line-height: 1.2; color: var(--global-palette3); }
.csirt-bilan-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem; margin: 2rem 0 1rem; }
table.csirt-tdb-barres { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.csirt-tdb-barres caption { text-align: left; font-weight: 700; font-size: 1.1rem; color: var(--global-palette3); padding: 0 0 .5rem; }
.csirt-tdb-barres th { text-align: left; font-weight: 400; padding: .4rem .5rem .4rem 0; width: 50%; border: 0; border-bottom: 1px solid var(--global-palette7); }
.csirt-tdb-barres td { border: 0; border-bottom: 1px solid var(--global-palette7); padding: .4rem 0; }
.csirt-tdb-barres .barre span { display: block; height: .65rem; background: var(--global-palette1); min-width: 2px; }
.csirt-tdb-barres .nombre { text-align: right; padding-left: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; width: 6rem; }

/* Chiffres clés ([csirt_chiffres_cles]) : mêmes tuiles que le bilan, une rubrique par titre */
h2.csirt-chiffres-titre { margin: 2rem 0 0; }
.csirt-chiffres > h2.csirt-chiffres-titre:first-child, .csirt-chiffres > .csirt-erreur + h2.csirt-chiffres-titre { margin-top: 1rem; }
.csirt-chiffres ul.csirt-bilan-chiffres { margin-top: 1rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.csirt-chiffres p.csirt-source { margin: 1.5rem 0; }
