/* Frise « Historique » d'un appareil (commune PC et mobile). */
.histo-filtres { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.histo-groupe { display: flex; flex-wrap: wrap; gap: 6px; }
.histo-filtre { border: 1px solid var(--border-strong, #cbd5e1); background: var(--surface, #fff); color: var(--text-muted, #475569); border-radius: 99px; padding: 6px 12px; min-height: 36px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.histo-filtre[aria-pressed="true"] { background: var(--navy, #0b2545); border-color: var(--navy, #0b2545); color: #fff; }
.histo-filtre:focus-visible, .histo-corps.histo-lien:focus-visible { outline: 3px solid var(--primary, #5b3df0); outline-offset: 2px; }
.histo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.histo-kpi { background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 12px; padding: 10px; }
.histo-kpi b { display: block; font-size: 18px; color: var(--navy, #0b2545); }
.histo-kpi span { font-size: 12px; color: var(--text-muted, #475569); line-height: 1.25; display: block; }
.histo-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--text-dim, #64748b); }
.histo-frise { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--border, #e2e8f0); display: flex; flex-direction: column; gap: 8px; }
.histo-ligne { position: relative; }
.histo-ligne::before { content: ''; position: absolute; left: -23px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #64748b); border: 2px solid var(--bg, #f4f6fa); }
.histo-corps { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 12px; padding: 10px 12px; color: var(--text, #0f172a); font: inherit; text-decoration: none; }
.histo-corps.histo-lien { cursor: pointer; border-color: var(--border-strong, #cbd5e1); }
.histo-corps.histo-lien:hover { border-color: var(--primary, #5b3df0); }
.histo-haut { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.histo-pastille { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--c, #64748b); border-radius: 99px; padding: 1px 8px; }
.histo-date { font-size: 12px; color: var(--text-dim, #64748b); font-variant-numeric: tabular-nums; }
.histo-titre { font-weight: 700; font-size: 14px; }
.histo-detail { font-size: 13px; color: var(--text-muted, #475569); }
.histo-auteur { font-size: 12px; color: var(--text-dim, #64748b); }
.histo-vide { padding: 14px; color: var(--text-dim, #64748b); background: var(--surface, #fff); border-radius: 12px; border: 1px dashed var(--border-strong, #cbd5e1); }
.h-panne { --c: #b91c1c; } .h-inter { --c: #1d4ed8; } .h-audit { --c: #5b3df0; } .h-nc { --c: #b45309; } .h-doc { --c: #047857; } .h-etat { --c: #475569; }
