/* Verdict pages (/verdicts/): aggregate counts by state, county and injury.
   The application renders each page's own content; nginx composes it with
   this site's head, navigation and footer (site/_ssi/, built by
   scripts/build_site.py). Everything here reuses DESIGN.md and styles.css:
   the double-rule page header, uppercase section labels with a trailing
   hairline, Puget-blue bars on paper, tabular numbers. No new colours,
   fonts or shadows. Bars are inline SVG rects, so the strict style-src CSP
   needs no inline styles. */

.vp-crumbs ol {
  list-style: none; margin: 0 0 4px; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 15px; line-height: 1.4;
}
.vp-crumbs li { display: inline-flex; align-items: center; color: var(--ink-soft); }
.vp-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--ink-faint); }
.vp-crumbs a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
.vp-crumbs a:hover { text-decoration: underline; }

.vp-facts {
  display: flex; flex-wrap: wrap; gap: 18px 48px;
  margin: 28px 0 0;
}
.vp-facts div { margin: 0; }
.vp-facts dt {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 650; color: var(--accent-ink);
}
.vp-facts dd {
  margin: 4px 0 0; font-size: 22px; font-weight: 650; line-height: 1.25;
  letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.vp-cta { margin: 30px 0 0; }

.vp-sec { padding: 52px 0 0; }

.vp-table {
  width: 100%; max-width: 760px; border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.vp-table th, .vp-table td {
  padding: 10px 0; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--line-soft); font-size: 16px;
}
.vp-table thead th {
  padding-top: 0; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 650; color: var(--ink-soft);
}
.vp-table thead th:last-child { text-align: right; }
.vp-table tbody th, .vp-table tfoot th {
  width: 40%; padding-right: 20px; font-weight: 600; white-space: nowrap;
}
.vp-table tfoot th, .vp-table tfoot td {
  color: var(--ink-soft); font-weight: 500; border-bottom: 0;
}
.vp-meter { display: flex; align-items: center; gap: 14px; }
.vp-bar { display: block; flex: 1 1 auto; min-width: 0; width: 100%; height: 10px; }
.vp-bar-track { fill: var(--line-soft); }
.vp-bar-fill { fill: var(--accent); }
.vp-meter .num { flex: 0 0 auto; min-width: 4ch; text-align: right; font-weight: 650; }
.vp-table tfoot .vp-meter .num { font-weight: 500; }

.vp-years {
  list-style: none; margin: 0; padding: 0; max-width: 760px;
  columns: 2; column-gap: 40px; font-variant-numeric: tabular-nums;
}
.vp-years li {
  break-inside: avoid; display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px;
}
.vp-years .vp-year { flex: 0 0 4.2ch; font-weight: 600; }
.vp-years .vp-undated .vp-year { flex-basis: auto; font-weight: 500; color: var(--ink-soft); }
.vp-years .num { flex: 0 0 auto; min-width: 3ch; text-align: right; font-weight: 650; }

.vp-related {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}
.vp-related.is-stacked { grid-template-columns: minmax(0, 1fr); }
.vp-links { list-style: none; margin: 0; padding: 0; }
.vp-related.is-stacked .vp-links { columns: 3 230px; column-gap: 44px; }
.vp-links li {
  break-inside: avoid; display: flex; align-items: baseline;
  justify-content: space-between; gap: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.vp-links a {
  display: block; padding: 11px 0; font-weight: 600;
  color: var(--accent-ink); text-decoration: none;
}
.vp-links a:hover { text-decoration: underline; }
.vp-links .num { flex: 0 0 auto; color: var(--ink-soft); font-size: 15px; }

.vp-method { padding-bottom: 76px; }
.vp-method details { max-width: 68ch; border-top: 1px solid var(--line); }
.vp-method summary {
  cursor: pointer; padding: 12px 0; min-height: 44px;
  font-weight: 600; color: var(--accent-ink);
}
.vp-method p { margin: 0 0 12px; color: var(--ink-soft); font-size: 16px; }

@media (max-width: 860px) {
  .vp-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .vp-facts { gap: 14px 30px; }
  .vp-facts dd { font-size: 19px; }
  .vp-table tbody th, .vp-table tfoot th { width: auto; padding-right: 14px; }
  .vp-years { column-gap: 24px; }
  .vp-years li { gap: 8px; }
  .vp-cta .btn { display: block; text-align: center; }
}
