/* Data pages only. styles.css is over the 1,500-line cap, so this lives apart. */
.data-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.data-table thead .num {
  white-space: normal;
}
.data-table tbody th {
  white-space: nowrap;
}
.data-total th,
.data-total td {
  background: var(--accent-soft);
}
.data-total + .data-total th,
.data-total + .data-total td {
  font-weight: 400;
}
.data-total:first-of-type th,
.data-total:first-of-type td {
  font-weight: 650;
}
.data-figure {
  margin: 8px 0 30px;
}
.data-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--ink);
}
.chart-key span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 2px;
}
.chart-key-a::before {
  background: #c2630a;
}
.chart-key-b::before {
  background: #0d7a58;
}
.chart-scroll {
  overflow-x: auto;
}
.chart-scroll svg {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
}
.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}
.chart-mark {
  stroke: var(--line-2);
  stroke-width: 1;
}
.chart-axis {
  font-size: 12px;
  fill: var(--muted);
}
.chart-end {
  font-size: 12px;
  font-weight: 650;
  fill: var(--ink);
}
.chart-series-a,
.chart-series-b {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-series-a {
  stroke: #c2630a;
}
.chart-series-b {
  stroke: #0d7a58;
}
.chart-series-a-dot,
.chart-series-b-dot {
  stroke: #fff;
  stroke-width: 2;
  paint-order: stroke;
}
.chart-series-a-dot {
  fill: #c2630a;
}
.chart-series-b-dot {
  fill: #0d7a58;
}
.chart-hit {
  fill: transparent;
}
.chart-hit:hover {
  fill: rgba(32, 43, 38, 0.05);
}
.data-sources {
  padding-left: 22px;
  font-size: 0.92rem;
}
.data-sources li {
  margin-bottom: 8px;
}
