/* Scoped chart refinements only: SYSTEMS 3.0 / Historik 1.9 */
#historik .history19-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 8px;color:#b6cad9;font-size:12px}
#historik .history19-legend-item{display:inline-flex;align-items:center;gap:7px;min-width:0}
#historik .history19-legend-item i{display:inline-block;width:11px;height:11px;border-radius:50%;flex-shrink:0}
#historik .history19-detail{font-size:12px;color:#9fc4d8;min-height:18px;line-height:1.55;margin:6px 0 8px;overflow-wrap:anywhere}
#historik #history-chart{display:block;width:100%;height:auto;touch-action:pan-y;overflow:visible}
#historik .chartbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
#historik .chartbar .tabs{display:flex;flex-wrap:wrap;gap:5px}
#historik .chart-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
#historik #chart-meta{overflow-wrap:anywhere}
@media(max-width:650px){#historik .chartbar{align-items:stretch}#historik .chartbar .tabs{max-width:100%}#historik .chartbar button{white-space:nowrap}#historik .chart-card{min-width:0}#historik .chart-title{align-items:flex-start}#historik #history-chart{min-height:160px}#historik .history19-legend{gap:8px 12px}}
