/* CBS Statistik-Leseprobe 0.9.5: nur Statistiken, keine Berechnungs-/Datenänderung. */
body[data-page="statistics"] .theme-preview-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;margin:0 0 18px;border:1px solid #445349;border-radius:12px;background:#1c2924}
body[data-page="statistics"] .theme-preview-copy{display:flex;flex-direction:column;gap:2px}
body[data-page="statistics"] .theme-preview-copy strong{font-size:13px;color:#f2f0e8}
body[data-page="statistics"] .theme-preview-copy span{font-size:11px;color:#c0c9c2}
body[data-page="statistics"] .theme-preview-actions{display:flex;gap:7px;flex-wrap:wrap}
body[data-page="statistics"] .theme-preview-actions button{border:1px solid #647467;padding:9px 13px;border-radius:8px;background:#293c34;color:#f1f1e8;font-size:12px;font-weight:700}
body[data-page="statistics"] .theme-preview-actions button[aria-pressed="true"]{border-color:#e1bd7e;background:#e1bd7e;color:#16241f}
/* Variante 1: Helle, tintenfarbene Tabellen bei unveränderter dunkler Navigation. */
body[data-page="statistics"][data-stat-preview="light"] .matrix-section{background:#f4f1e8;border-color:#c8d0c7;box-shadow:0 5px 24px #00000016}
body[data-page="statistics"][data-stat-preview="light"] .matrix-section .panel-heading{background:#f7f5ee;border-bottom:1px solid #cbd3cc}
body[data-page="statistics"][data-stat-preview="light"] .matrix-section .panel-heading h3{color:#1c322d}
body[data-page="statistics"][data-stat-preview="light"] .matrix-section .panel-heading .eyebrow{color:#597067}
body[data-page="statistics"][data-stat-preview="light"] .matrix-section .muted-tag{color:#405b50;background:#e7ece5;border-color:#bdc9bf}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table{color:#243b33;font-size:13px}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table th,body[data-page="statistics"][data-stat-preview="light"] .matrix-table td{border-bottom:1px solid #d5ddd5;padding-top:13px;padding-bottom:13px}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table thead th{background:#e0e8e0;color:#294538;border-bottom:2px solid #bccbc0}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table thead th small{color:#526e61;font-weight:600}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody tr{background:#f9f8f2}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody tr:nth-child(even){background:#edf2ec}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody tr:hover{background:#dfe9dc}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table th.sticky-name{background:#e0e8e0;color:#203b30;box-shadow:3px 0 9px #3f55401d}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody th.sticky-name{background:#f1f3eb}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody tr:nth-child(even) th.sticky-name{background:#e6eee5}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table tbody tr:hover th.sticky-name{background:#dfe9dc}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table code{background:#deeadf;color:#1f4b39;border:1px solid #bbd4c2;font-size:12px;font-weight:800}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table .muted-cell{color:#6d8376;opacity:1}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table td.negative{color:#a03d3b;font-weight:700}
body[data-page="statistics"][data-stat-preview="light"] .matrix-section .qualification-note{color:#40594c}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table .qualification-tag{background:#f7e6c7;color:#64440e}
body[data-page="statistics"][data-stat-preview="light"] .wide-stat{scrollbar-color:#9eafa1 #e8eee5}
body[data-page="statistics"][data-stat-preview="light"] .chart-wrap{background:#f7f7f1;border-color:#d5ddd5}
body[data-page="statistics"][data-stat-preview="light"] .chart-wrap svg text{fill:#4b6258}
body[data-page="statistics"][data-stat-preview="light"] .chart-wrap svg path{stroke:#cdd6ca}
body[data-page="statistics"][data-stat-preview="light"] .chart-legend span{color:#31483a}

/* Zahlenwerte in den hellen Verlaufstabellen erhalten dieselbe visuelle Kapselung wie Ergebniscodes. */
body[data-page="statistics"][data-stat-preview="light"] .matrix-table .stat-number-badge{
  display:inline-block;
  padding:4px 8px;
  min-width:40px;
  border-radius:6px;
  border:1px solid #b7d0be;
  background:#dbe9dc;
  color:#194632;
  font-size:12px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1.35;
  text-align:center;
}
body[data-page="statistics"][data-stat-preview="light"] .matrix-table td.negative .stat-number-badge{
  color:#8c302d;
  border-color:#e0b6af;
  background:#f9e9e5;
}
