/* Rapports */
.rap-periode{gap:12px;align-items:flex-end}
.rap-periode .field{flex-direction:row;align-items:center;gap:6px}
.rap-periode .field input{width:auto}
.rap-kpis{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.rap-delta{font-weight:700;font-size:.78rem;white-space:nowrap}
.rap-delta.bon{color:var(--ok)}
.rap-delta.mauvais{color:var(--bad)}
.kpi.hero .rap-delta.bon,.kpi.hero .rap-delta.mauvais,.kpi.hero .rap-delta{color:var(--hero-hi)}
.rap-types{display:flex;flex-direction:column;gap:14px}
.rap-type{display:flex;flex-direction:column;gap:5px}
.rap-type .gauge i{background:var(--copper)}
.rap-sous td{background:var(--panel2);font-size:.82rem;color:var(--muted)}
.rap-courbe svg{width:100%;height:auto;display:block;overflow:visible}
.rap-courbe text{font-size:11px;fill:var(--muted);font-family:var(--f-num)}
.rap-courbe .grille{stroke:var(--line);stroke-width:1}
.rap-courbe .aire{fill:var(--copper-soft);stroke:none}
.rap-courbe .trait{fill:none;stroke:var(--copper);stroke-width:2.2;stroke-linejoin:round}
.rap-courbe .point{fill:var(--copper);stroke:var(--panel);stroke-width:2}
/* Impression du rapport */
.rap-imp{font-size:12px;gap:12px}
.rap-imp .rap-imp-h{margin:8px 0 2px;font-size:13px}
.rap-imp table td,.rap-imp table th{padding:5px 8px}
.rap-imp td.r,.rap-imp th.r{text-align:right}
/* Papier toujours blanc, même en mode nuit (lignes alternées très claires, lisibles en noir et blanc) */
.rap-imp table tr td,.rap-imp table tr th{background:#ffffff!important;color:#1c2428!important}
.rap-imp table tbody tr:nth-child(even) td{background:#f3f4f5!important}
@media (max-width:600px){.rap-periode .seg{width:100%}.rap-periode .field{flex:1}}
