/* Graphiques en barres (CSS pur). */
.chart { margin: .5rem 0 0; padding: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 .5rem; font-size: .9rem; }
.key::before { content: ""; display: inline-block; width: .9rem; height: .9rem; margin-right: .4rem; vertical-align: -.1rem; border-radius: .2rem; }
.key.a::before, .bar.a { background: #e2b24a; }
.key.b::before, .bar.b { background: var(--steel); }
.chart-row { padding: .7rem 0; border-top: 1px solid var(--line-soft); }
.chart-head strong, .chart-head small { display: block; }
.chart-head small { margin-bottom: .35rem; overflow-wrap: anywhere; }
.bar-line { display: flex; align-items: center; gap: .6rem; margin: .2rem 0; }
.track { flex: 1; min-width: 0; height: 1rem; background: var(--bg-deep); border-radius: .3rem; overflow: hidden; }
.bar { display: block; height: 100%; border-radius: .3rem; }
.bar.b { background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(0, 0, 0, .25) 5px 8px); }
.val { flex: none; min-width: 3.2rem; text-align: right; font-variant-numeric: tabular-nums; }
.trend-note { display: block; font-weight: 600; font-size: .9rem; }
.chart-row.better .trend-note { color: #5fd08e; }
.chart-row.worse .trend-note { color: #f0997e; }
.chart-row.same .trend-note { color: var(--muted); }
.fictional { margin: .75rem 0 0; padding: .5rem .75rem; border: 1px dashed var(--gold); border-radius: .4rem; color: var(--gold-hi); font-size: .95rem; overflow-wrap: anywhere; }
