:root {
  color-scheme: light dark;
  --line: #8883;
  --dim: color-mix(in srgb, currentColor 55%, transparent);
  --bar: #4c8dff;
}
body {
  font:
    14px/1.5 ui-sans-serif,
    system-ui,
    sans-serif;
  margin: 0;
  padding: 24px;
  max-width: 1100px;
}
h1 {
  font-size: 18px;
  margin: 0 0 4px;
}
h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin: 28px 0 10px;
}
a {
  color: inherit;
}
.dim {
  color: var(--dim);
}
.sub {
  color: var(--dim);
  margin-bottom: 20px;
}
select {
  padding: 6px 8px;
  font: inherit;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  font-weight: 600;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.stat {
  min-width: 120px;
}
.stat b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat span {
  color: var(--dim);
  font-size: 12px;
}
.note {
  color: var(--dim);
  font-size: 12px;
  margin-top: 8px;
}
.empty {
  padding: 24px 0;
  color: var(--dim);
}
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  margin-bottom: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bar) 40%, transparent) var(--pct),
    color-mix(in srgb, currentColor 7%, transparent) var(--pct)
  );
}
.bar span {
  flex: 1;
}
.bar b {
  font-variant-numeric: tabular-nums;
}
.bar i {
  font-style: normal;
  color: var(--dim);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 2;
  text-align: right;
}
.charts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.chart {
  flex: 1 1 300px;
  margin: 0;
  min-width: 0;
}
.chart svg {
  width: 100%;
  height: auto;
}
.chart .grid {
  stroke: var(--line);
  stroke-dasharray: 2 3;
}
.chart .pt text {
  opacity: 0.85;
}
.chart .pt:hover circle {
  r: 5;
}
.legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--dim);
  justify-content: center;
  margin-top: 4px;
}
.legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  background: var(--c);
  vertical-align: middle;
  margin-right: 6px;
}
