/* 4.99 — Synthèse admin (bilan de la période à imprimer). Couleurs réservées aux usines : non utilisées ici. */
#sec-synthese .sy-note{font-size:12px;color:#667;margin:6px 0;line-height:1.45;}
#sec-synthese .sy-raccourcis{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px;}
.sy-doc{font-size:13.5px;line-height:1.5;color:#1e2b24;}
.sy-doc h2{font-size:16px;margin:16px 0 6px;color:#2c503e;border-bottom:2px solid #2ecc71;padding-bottom:3px;}
.sy-doc h3{font-size:13.5px;margin:10px 0 4px;color:#2c503e;}
.sy-doc .sy-resume{font-size:14.5px;line-height:1.55;margin:8px 0 12px;padding:10px 14px;background:#f1f8f4;border-left:5px solid #27995a;border-radius:8px;}
.sy-doc .sy-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin:8px 0 12px;}
.sy-doc .sy-kpi{border:1px solid var(--line,#ddd);border-left:5px solid #27995a;border-radius:10px;padding:9px 12px;background:#fff;display:flex;flex-direction:column;gap:2px;}
.sy-doc .sy-kpi b{font-size:23px;color:#1e2b24;}
.sy-doc .sy-kpi b small{font-size:12px;font-weight:600;color:#566573;}
.sy-doc .sy-kpi .l{font-size:12px;font-weight:700;}
.sy-doc .sy-kpi .d{font-size:11px;color:#667;}
.sy-doc table,.sy-print table{min-width:0 !important;}
.sy-doc table{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:12.5px;}
.sy-doc th,.sy-doc td{border:1px solid #ddd;padding:5px 8px;text-align:left;vertical-align:middle;}
.sy-doc th{background:#f2f4f4;color:#2c503e;font-size:11.5px;}
.sy-doc td.n,.sy-doc th.n{text-align:right;white-space:nowrap;}
#sec-synthese .table-wrap,.sy-doc .table-wrap{overflow-x:auto;}
.sy-doc tr.sy-ss td{background:#eef6f1;font-weight:700;}
.sy-doc tr.sy-tot td{background:#dff0e6;font-weight:800;border-top:2px solid #27995a;}
.sy-doc td.sy-ind{padding-left:22px;}
.sy-doc .sy-bar{display:flex;align-items:center;gap:8px;min-width:120px;}
.sy-doc .sy-bar i{display:block;height:12px;border-radius:4px;background:#27995a;}
.sy-doc .sy-bar span.fond{flex:1;background:#eef2ef;border-radius:4px;height:12px;display:block;}
.sy-doc .sy-ok{color:#1e8449;font-weight:700;}
.sy-doc .sy-att{color:#8d54ce;font-weight:700;}
.sy-doc .sy-err{color:#c0392b;font-weight:700;}
.sy-doc .sy-signature{margin-top:14px;font-size:11px;color:#667;border-top:1px solid #ddd;padding-top:6px;}
.sy-doc ul.sy-liste{padding-left:20px;margin:6px 0;}
@media (max-width:640px){
  .sy-doc .sy-kpi b{font-size:20px;}
  .sy-doc .table-wrap{overflow-x:auto;}
}
@page synth{size:A4 portrait;margin:10mm;}
@media print{
  .sy-print{page:synth;}
  .sy-print .sy-doc,.sy-print.sy-doc{font-size:11.5px;}
  .sy-print .sy-kpis{grid-template-columns:repeat(3,1fr);gap:8px;}
  .sy-print .sy-kpi{page-break-inside:avoid;padding:6px 9px;}
  .sy-print .sy-kpi b{font-size:18px;}
  .sy-print table{font-size:10.5px !important;table-layout:auto !important;}
  .sy-print th,.sy-print td{font-size:10.5px !important;padding:3px 5px !important;line-height:1.25 !important;}
  .sy-print tr{page-break-inside:avoid;}
  .sy-print h2{page-break-after:avoid;font-size:14px !important;}
  .sy-print .sy-bloc{page-break-inside:avoid;}
  .sy-print .sy-resume{font-size:12.5px;}
  .sy-print .sy-saut{page-break-before:always;}
  .sy-print *{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}
