.stats-hero{max-width:720px;margin:0 auto;padding:2.5rem 1.5rem 1rem;text-align:left;}
.stats-hero .page-title{margin-bottom:.6rem;}
.stats-hero .page-sub{border-bottom:none;margin-bottom:0;padding-bottom:0;}

.stats-main{max-width:960px;margin:0 auto;padding:0 1.5rem 4rem;}

.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);margin:2rem 0;}
.kpi-card{background:var(--bg);padding:1.1rem 1.2rem;}
.kpi-label{font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--fg-faint);margin-bottom:.35rem;}
.kpi-value{font-family:var(--font-serif);font-size:1.7rem;font-weight:600;line-height:1;color:var(--fg);}
.kpi-sub{font-size:.72rem;color:var(--fg-subtle);margin-top:.35rem;line-height:1.5;}

.stats-section{margin:3rem 0;}
.stats-section-label{font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--accent);margin-bottom:.5rem;}
.stats-section h2{font-family:var(--font-serif);font-size:1.4rem;font-weight:600;margin-bottom:.6rem;line-height:1.3;}
.stats-section p.lead{font-size:.92rem;color:var(--fg-muted);line-height:1.75;max-width:680px;margin-bottom:1.5rem;}

.chart-card{border:1px solid var(--border);background:var(--bg);padding:1.5rem;}
.chart-legend{display:flex;gap:1.2rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.75rem;color:var(--fg-subtle);}
.chart-legend span{display:inline-flex;align-items:center;gap:.4rem;}
.chart-legend i{width:12px;height:3px;display:inline-block;flex-shrink:0;}
.chart-svg{width:100%;height:auto;display:block;}
.chart-svg text{font-family:var(--font-sans);fill:var(--fg-subtle);}
.chart-svg .value-label{font-family:var(--font-serif);font-weight:600;fill:var(--fg);}
.chart-source{font-size:.68rem;color:var(--fg-faint);margin-top:1rem;line-height:1.6;}

.impots-wrap{border:1px solid var(--border);background:var(--bg);padding:1.5rem;}
.impots-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--border);}
.impots-row:last-child{border-bottom:none;}
.impots-row.impots-total{border-top:2px solid var(--fg);border-bottom:none;padding-top:1rem;margin-top:.4rem;}
.impots-row.impots-total .impots-name,.impots-row.impots-total .impots-amt{font-weight:700;}
.impots-name{font-size:.85rem;font-weight:600;}
.impots-name .impots-sub{display:block;font-size:.72rem;font-weight:400;color:var(--fg-faint);margin-top:.1rem;}
.impots-bar-wrap{display:flex;align-items:center;gap:.7rem;}
.impots-bar{height:16px;background:var(--bg-elevated);width:180px;position:relative;overflow:hidden;}
.impots-bar-fill{height:100%;background:var(--fg-ghost);}
.impots-row.impots-highlight .impots-bar-fill{background:var(--accent);}
.impots-row.impots-highlight .impots-name{color:var(--accent);}
.impots-amt{font-family:var(--font-serif);font-size:.95rem;font-weight:600;white-space:nowrap;min-width:52px;text-align:right;}

.levers-table-wrap{overflow-x:auto;border:1px solid var(--border);width:100%;max-width:100%;scrollbar-width:thin;scrollbar-color:var(--fg-ghost) var(--bg-elevated);}
.levers-table-wrap::-webkit-scrollbar{height:8px;}
.levers-table-wrap::-webkit-scrollbar-track{background:var(--bg-elevated);}
.levers-table-wrap::-webkit-scrollbar-thumb{background:var(--fg-ghost);border-radius:0;}
.levers-table-wrap::-webkit-scrollbar-thumb:hover{background:var(--fg-faint);}
table.levers-table{width:100%;border-collapse:collapse;font-size:.8rem;min-width:640px;}
table.levers-table th,table.levers-table td{padding:.65rem .8rem;text-align:left;border-bottom:1px solid var(--border);}
table.levers-table thead th{font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;color:var(--fg-faint);background:var(--bg-elevated);font-weight:600;}
table.levers-table tbody th{font-weight:600;background:var(--bg-elevated);}
table.levers-table td{color:var(--fg-muted);white-space:nowrap;}
table.levers-table td.positive{color:var(--pos);font-weight:600;}
table.levers-table td.negative{color:var(--neg);font-weight:600;}

.country-bars{display:flex;flex-direction:column;gap:.5rem;}
.country-bar-row{display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:.7rem;font-size:.78rem;}
.country-bar-row.is-france .country-name{color:var(--accent);font-weight:700;}
.country-bar-track{height:14px;background:var(--bg-elevated);position:relative;}
.country-bar-fill{height:100%;background:var(--fg-ghost);}
.country-bar-row.is-france .country-bar-fill{background:var(--accent);}
.country-val{font-family:var(--font-serif);font-weight:600;font-size:.82rem;min-width:44px;text-align:right;}

@media(max-width:768px){
  .kpi-grid{grid-template-columns:1fr 1fr;}
  .stats-section h2{font-size:1.2rem;}
  .impots-bar{width:100px;}
  .country-bar-row{grid-template-columns:90px 1fr auto;}
}
