/* data-charts.css: the ranked bar charts and number tables of components/PressCharts.jsx.
   Shared by /pers/<slug> (imported by pers.css) and the kennisbank data articles,
   so a chart looks the same on the data page and in the article. */
:root {
  --prs-navy: #0F1F5C;
  --prs-body: #5a6a8a;
  --prs-muted: #7a87b0;
  --prs-line: #e8eaf5;
  --prs-bg: #f5f6fa;
}
.prs-chart { margin-top: 18px; }
.prs-bars { display: grid; }
.prs-bar-row {
  display: grid; grid-template-columns: minmax(140px, 36%) minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 6px 8px; margin: 0 -8px; border-radius: 8px;
}
.prs-bar-row:hover { background: var(--prs-bg); }
.prs-chart-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.prs-chart-name { font-size: 13.5px; font-weight: 700; color: var(--prs-navy); line-height: 1.35; }
.prs-chart-note { display: block; font-size: 12px; color: var(--prs-muted); line-height: 1.4; }
.prs-bar-track { display: flex; align-items: center; min-width: 0; }
.prs-bar { display: block; height: 14px; min-width: 2px; border-radius: 0 4px 4px 0; flex: none; }
.prs-bar-value { margin-left: 8px; font-size: 13px; font-weight: 800; color: var(--prs-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prs-bar-row.is-muted .prs-bar { opacity: 0.4; }
.prs-bar-row.is-muted .prs-bar-value { color: var(--prs-muted); }
.prs-bar-row.is-context .prs-chart-name { font-weight: 500; color: var(--prs-body); }
.prs-bar-row.is-context .prs-bar-value { font-weight: 600; color: var(--prs-muted); }
.prs-bar-row.is-highlight .prs-chart-name { font-weight: 800; }
.prs-bar-row { overflow: hidden; } /* the zero line runs through the row padding, not past the list */
.prs-table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--prs-line); border-radius: 12px; }
.prs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prs-table th {
  text-align: left; font-size: 11.5px; font-weight: 800; color: var(--prs-muted); letter-spacing: 0.02em;
  background: var(--prs-bg); padding: 9px 12px; border-bottom: 1px solid var(--prs-line); white-space: nowrap;
}
.prs-table td { padding: 8px 12px; border-bottom: 1px solid var(--prs-line); color: var(--prs-navy); }
.prs-table tr:last-child td { border-bottom: 0; }
.prs-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 760px) {
  .prs-bar-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
