/* ── statistics.html — page styles (extracted from inline <style>) ── */

.stats-intro { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-width: 820px; margin-bottom: 1.5rem; }
.stats-intro strong { color: var(--text); }
.chart-legend { border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; background: var(--surface); }
.chart-legend-title { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.6rem; }
.chart-legend-row { font-size: 12px; color: var(--text-muted); line-height: 1.9; }
.chart-tier { display: inline-block; font-size: 9px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; vertical-align: middle; }
.chart-tier.t1 { background: #E6F4EA; color: #1E7B34; }
.chart-tier.t2 { background: #FBF3E0; color: #9A6B12; }
.chart-tier.t3 { background: #FBEDE6; color: #B5541E; }
.chart-tier.myth { background: var(--scarlet); color: #fff; }
.dos-section { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin: 1.75rem 0 0.7rem; padding-bottom: 0.45rem; border-bottom: 0.5px solid var(--border); }
.dos-section.first { margin-top: 0.25rem; }
.chart-card { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.35rem; margin-bottom: 1rem; }
.chart-card.cut { background: var(--surface); }
.chart-kicker { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.chart-title { font-size: 16px; color: var(--text); margin-bottom: 5px; }
.chart-q { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.1rem; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bar-label { width: 110px; flex-shrink: 0; font-size: 12px; color: var(--text); }
.bar-group-label { font-size: 11px; font-weight: 600; color: var(--text-dim); margin: 0.95rem 0 0.5rem; }
.bar-group-label:first-of-type { margin-top: 0.2rem; }
.bar-track { flex: 1; background: var(--surface); border: 0.5px solid var(--border); border-radius: 6px; height: 28px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px 0 0 6px; display: flex; align-items: center; justify-content: flex-end; padding-right: 9px; font-size: 12px; font-weight: 600; color: #fff; min-width: 36px; box-sizing: border-box; }
.bar-fill.male { background: #378ADD; }
.bar-fill.fem { background: var(--scarlet); }
.bar-fill.muted { background: #9AA0A6; }
.chart-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; margin-top: 0.85rem; }
.chart-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 14px; margin-top: 0.85rem; padding-top: 0.7rem; border-top: 0.5px solid var(--border); }
.chart-sample { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--text); background: var(--surface); border: 0.5px solid var(--border); border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.chart-sample i { font-size: 12px; color: var(--text-dim); }
.chart-method { flex: 1; min-width: 220px; font-size: 11px; color: var(--text-muted); line-height: 1.55; }
.chart-method .mlabel { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; font-size: 9.5px; font-weight: 700; margin-right: 5px; }
.chart-source { font-size: 11px; color: var(--text-dim); margin-top: 0.55rem; }
