/* § 40 — « Évolution sur l'année » (Yoann 17/11/2026) : reprend sa mise en forme mensuelle (photos 838/839).
   Feuille UNIQUE : liée par index.php pour l'écran, recopiée en ligne dans la page A4 de l'export (export_tdb.php). */
.evo { background: #fff; color: #1d1d1f; border-radius: 10px; padding: 22px 26px 0; margin: 0 0 18px;
  box-shadow: 0 1px 3px rgba(33, 80, 98, .12); font-family: Arial, Helvetica, sans-serif; overflow: hidden; }
.evo-titre { margin: 0; font-size: 26px; font-weight: 800; color: #1f3b57; letter-spacing: .01em; }
.evo-sous { margin: 6px 0 14px; font-size: 14px; color: #2d2d30; }
.evo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.evo-kpi { border: 1px solid #c9cfd6; border-radius: 9px; padding: 10px 16px 9px; background: #fbfbfc; }
.evo-kpi-t { font-size: 15px; font-weight: 700; color: #1d1d1f; }
.evo-kpi-v { font-size: 34px; font-weight: 800; color: #1f3b57; line-height: 1.15; }
.evo-kpi-v.evo-prod { color: #8e1b2a; }
.evo-kpi-d { font-size: 13px; color: #2d2d30; }
.evo-bas { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: 22px; align-items: start; }
.evo-h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 800; color: #1f3b57; letter-spacing: .01em; }
.evo-h3-n { text-transform: none; }
.evo-svg { width: 100%; height: auto; display: block; }
.evo-svg text { font-family: Arial, Helvetica, sans-serif; }
.evo-leg { font-size: 13px; fill: #1d1d1f; }
.evo-mois { font-size: 13px; fill: #2d2d30; text-anchor: middle; }
.evo-val { font-size: 13px; font-weight: 700; }
.evo-grille { stroke: #d5d9de; stroke-width: 1; }
.evo-axe { stroke: #8a9099; stroke-width: 1.2; }
.evo-table-scroll { overflow-x: auto; }
.evo-table { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: 13px; }
.evo-table thead th { background: #1f3b57; color: #fff; font-weight: 700; padding: 5px 6px; text-align: center; white-space: nowrap; }
.evo-table thead th:first-child { text-align: left; }
.evo-table tbody th { background: #e3e8ed; color: #1d1d1f; text-align: left; font-weight: 700; padding: 5px 6px; white-space: nowrap; }
.evo-table th, .evo-table td { border-bottom: 0; }
.evo-table td { text-align: center; padding: 5px 4px; background: #eef1f4; font-variant-numeric: tabular-nums; }
.evo-table td.evo-c-haut { background: #f4d4da; }
.evo-table td.evo-c-bas { background: #dce8e2; }
.evo-table .evo-cumul { background: #c9d3dc; font-weight: 800; }
.evo-table thead th.evo-cumul { background: #1f3b57; color: #fff; }
.evo-legende { margin: 4px 0 12px; font-size: 12.5px; color: #2d2d30; }
.evo-retenir { border: 1px solid #d9a66b; border-radius: 9px; background: #fcf4ea; padding: 10px 14px; }
.evo-retenir-t { font-size: 16px; font-weight: 700; color: #1d1d1f; margin-bottom: 3px; }
.evo-retenir p { margin: 0; font-size: 14px; line-height: 1.4; color: #6b3a10; }
.evo-pied { margin: 12px 0 10px; font-size: 12px; color: #2d2d30; }
.evo-bandeau { display: flex; justify-content: space-between; align-items: center; margin: 0 -26px;
  background: linear-gradient(90deg, #1d4d70, #2a6189); color: #fff; padding: 10px 26px; min-height: 52px; }
.evo-bandeau-t { font-size: 24px; letter-spacing: .01em; }
.evo-bandeau-d { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.evo-logo { height: 38px; width: auto; }
@media (max-width: 1100px) { .evo-bas { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .evo { padding: 16px 16px 0; }
  .evo-kpis { grid-template-columns: minmax(0, 1fr); }
  .evo-titre { font-size: 20px; }
  .evo-bandeau { margin: 0 -16px; padding: 10px 16px; }
  .evo-bandeau-t { font-size: 18px; }
}
@media print { .evo { box-shadow: none; break-inside: avoid; page-break-inside: avoid; } }
