/* The source and its measured outcomes are the visual anchor. No remote assets. */
:root {
  color-scheme: dark;
  --bg: #0b141c;
  --surface: #101d27;
  --code: #091219;
  --line: #263943;
  --text: #e8eff3;
  --muted: #a0b3bf;
  --faint: #6d8798;
  --accent: #73d9c1;
  --warning: #e4c186;
  --error: #efa9a7;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
select,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  transition:
    color 0.16s,
    background 0.16s,
    border-color 0.16s;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
button:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.accent {
  color: var(--accent);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 30;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 18px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1460px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  gap: 50px;
  align-items: center;
  height: 100%;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 21px;
  letter-spacing: -0.6px;
  font-weight: 650;
  min-height: 44px;
  white-space: nowrap;
}
.brand img {
  object-fit: contain;
}
.brand-rule {
  height: 23px;
  width: 1px;
  background: var(--line);
}
.site-header nav {
  display: flex;
  gap: 29px;
  align-items: center;
}
.site-header nav a,
.portfolio-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  gap: 8px;
}
.site-header a:hover,
.site-footer a:hover {
  color: var(--accent);
}
.portfolio-link {
  margin-left: auto;
}
main {
  max-width: 1460px;
  padding: 0 40px;
  margin: auto;
  min-width: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 46px 0 30px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.6;
  font-weight: 600;
}
h1 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1.5px;
  line-height: 1.2;
  font-weight: 560;
  margin: 10px 0 12px;
}
.lede {
  font-size: 13px;
  color: var(--muted);
  max-width: 680px;
}
.publication-status {
  text-align: right;
  flex: none;
}
.publication-status p {
  font: 10px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 8px;
}
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  font: 11px/1.6 var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.status-label:before {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-label.measured,
.status-label.solved {
  color: var(--accent);
}
.status-label.partial,
.status-label.unavailable,
.status-label.failed {
  color: var(--warning);
}
.study-strip {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.study-strip > div + div {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
dt {
  color: var(--muted);
  font-size: 10px;
}
dd {
  margin: 0;
}
.study-strip dd {
  font: 19px/1.6 var(--mono);
  margin-top: 5px;
  letter-spacing: -0.6px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 48px;
  padding: 32px 0 30px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.section-heading h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin-top: 6px;
  line-height: 1.35;
}
.section-heading .annotation {
  max-width: 220px;
  text-align: right;
}
.annotation {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.cost-figure {
  min-width: 0;
}
.cost-figure .section-heading h2 {
  font-size: 19px;
}
.chart-space {
  min-height: 244px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: var(--code);
  border-radius: 3px;
}
.chart-space svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 310px;
  overflow: visible;
}
.chart-space .empty-copy {
  max-width: 330px;
  text-align: center;
  padding: 38px 24px;
}
.chart-grid {
  stroke: #223641;
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.chart-axis {
  stroke: #43606e;
  stroke-width: 1;
}
.chart-tick,
.chart-label {
  fill: var(--muted);
  font: 10px var(--mono);
}
.chart-label {
  font-size: 10px;
}
.chart-point {
  stroke: var(--code);
  stroke-width: 2;
  fill: var(--accent);
}
.chart-point-label {
  fill: var(--bg);
  font: 600 10px var(--mono);
  text-anchor: middle;
  dominant-baseline: central;
}
.chart-point-group {
  outline: none;
}
.chart-point-group:hover .chart-point,
.chart-point-group:focus .chart-point {
  stroke: var(--text);
  stroke-width: 3;
}
.chart-point-group:focus .point-ring {
  stroke: var(--text);
}
.point-ring {
  fill: none;
  stroke: transparent;
  stroke-width: 2;
}
.cost-figure figcaption {
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 10px;
}
.chart-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 10px;
}
.chart-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-number {
  font: 10px var(--mono);
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #42665f;
  border-radius: 50%;
  color: var(--accent);
}
.study-context {
  padding: 4px 0 0 30px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.study-context h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.35px;
  margin-top: 8px;
}
.coverage-copy {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}
.context-list {
  margin: 20px 0 4px;
}
.context-list > div {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.context-list dt {
  font-size: 10px;
  margin-bottom: 4px;
}
.context-list dd {
  font-size: 11px;
  color: #c3d3dd;
  overflow-wrap: anywhere;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 11px;
  color: var(--accent);
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.table-heading {
  padding: 8px 0 18px;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-color: #34505f var(--bg);
  scrollbar-width: thin;
}
.leaderboard {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.leaderboard th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  padding: 12px 14px;
}
.leaderboard td {
  font: 11px var(--mono);
  border-top: 1px solid var(--line);
  padding: 18px 14px;
  color: #d0dee7;
}
.leaderboard td:first-child {
  font-family: var(--sans);
  min-width: 190px;
  font-weight: 550;
}
.leaderboard td:first-child small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.leaderboard .unmeasured td {
  color: var(--faint);
}
.leaderboard tr.adaptive td:first-child {
  color: var(--accent);
}
.table-note {
  font-size: 10px;
  color: var(--muted);
  padding: 13px 0 0;
  line-height: 1.8;
}
.explorer-section {
  padding: 54px 0 0;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 170px;
  gap: 18px;
  margin: 24px 0 20px;
}
.filters > div,
.run-selector {
  min-width: 0;
}
.filters label,
.run-selector label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
input,
select {
  border: 1px solid #344953;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-size: 12px;
  padding: 0 12px;
}
input::placeholder {
  color: #8aa0af;
}
select {
  padding-right: 28px;
  text-overflow: ellipsis;
}
input:hover,
select:hover {
  border-color: var(--muted);
}
.task-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e1922;
}
.task-sidebar {
  border-right: 1px solid var(--line);
  min-width: 0;
}
.list-count {
  font: 10px var(--mono);
  color: var(--muted);
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
}
.task-list {
  max-height: 664px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #34505f var(--bg);
}
.task-option {
  display: block;
  position: relative;
  width: 100%;
  min-height: 78px;
  padding: 16px 18px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #22333e;
  background: transparent;
  color: var(--text);
}
.task-option:hover {
  background: #142630;
}
.task-option[aria-current="true"] {
  background: #17312f;
  box-shadow: inset 2px 0 0 var(--accent);
}
.task-option strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.task-option small {
  display: block;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 6px;
}
.task-detail {
  min-width: 0;
  max-width: 100%;
  padding: 23px 26px;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
}
.detail-heading h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin-top: 8px;
}
.detail-heading .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.detail-heading .status-label {
  flex: none;
  font-size: 10px;
  margin-top: 3px;
}
.task-description {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  max-width: 790px;
}
.criterion {
  border-left: 2px solid #385c58;
  padding-left: 14px;
  margin: 19px 0 21px;
}
.criterion h4 {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.criterion p {
  font-size: 11px;
  line-height: 1.8;
  color: #c1d2dc;
  overflow-wrap: anywhere;
}
.file-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  padding: 7px 12px;
  border: 1px solid var(--line);
}
.file-toolbar label {
  font-size: 10px;
  color: var(--muted);
}
.file-toolbar select {
  width: auto;
  max-width: 65%;
  font: 11px var(--mono);
  min-height: 36px;
  border-color: transparent;
  background: transparent;
}
.source-code,
.diff-code,
.event-data {
  margin: 0;
  tab-size: 4;
  white-space: pre;
  overflow: auto;
  max-width: 100%;
  font: 11px/1.85 var(--mono);
  color: #c3d6e0;
  scrollbar-color: #34505f var(--code);
  scrollbar-width: thin;
}
.source-code {
  min-height: 170px;
  max-height: 265px;
  background: var(--code);
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 0;
}
.source-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 9px 0 0;
  overflow-wrap: anywhere;
}
.visible-checks {
  margin-top: 13px;
}
.visible-checks summary {
  min-height: 44px;
  display: list-item;
  padding: 11px 0;
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
}
.visible-checks summary span {
  float: right;
  font: 10px var(--mono);
  color: var(--accent);
  padding-top: 3px;
}
.visible-checks ul {
  padding: 0 0 10px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.visible-checks li {
  padding: 4px 0;
  overflow-wrap: anywhere;
}
.run-workspace {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
}
.run-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 26px 17px;
  align-items: center;
}
.run-heading h3 {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin-top: 6px;
}
.run-heading p:last-child {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.run-selector {
  width: 340px;
  max-width: 43%;
  flex: none;
}
.run-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px 20px;
}
.run-metrics {
  display: flex;
  margin: 0;
  gap: 30px;
}
.run-metrics dt {
  font-size: 9px;
}
.run-metrics dd {
  font: 14px/1.7 var(--mono);
  margin-top: 4px;
}
.inspector-tabs {
  display: flex;
  gap: 18px;
  padding: 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: auto;
  scrollbar-width: thin;
}
.inspector-tabs button {
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 11px;
  min-height: 49px;
  white-space: nowrap;
  padding: 0 1px;
  flex: none;
}
.inspector-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.inspector-tabs button:hover {
  color: var(--text);
}
#event-count {
  font: 9px var(--mono);
  margin-left: 3px;
}
.inspector-panel {
  min-height: 190px;
  background: var(--code);
  padding: 20px 26px;
  animation: arrive 0.16s ease-out;
}
.trace-note {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 13px;
}
.trajectory {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 560px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #34505f var(--code);
}
.trace-event {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid #21323d;
}
.trace-number {
  font: 10px var(--mono);
  color: var(--faint);
  padding-top: 2px;
}
.trace-event-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.trace-event-heading h4 {
  font-size: 12px;
  font-weight: 550;
}
.trace-event-heading time {
  font: 9px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.trace-event p {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.event-details summary {
  font-size: 10px;
  color: var(--accent);
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
}
.event-data {
  max-height: 330px;
  padding: 13px;
  background: #11202a;
  border-left: 1px solid #3b555f;
  font-size: 10px;
}
.trace-event.error .trace-event-heading h4 {
  color: var(--error);
}
.trace-event.decision .trace-event-heading h4 {
  color: var(--accent);
}
.diff-code {
  max-height: 560px;
  min-height: 170px;
}
.diff-line {
  display: block;
  min-width: max-content;
  min-height: 1.85em;
  padding: 0 10px;
}
.diff-line.add {
  color: #a0dfc2;
  background: #153a2a55;
}
.diff-line.remove {
  color: #e5aba9;
  background: #42283155;
}
.diff-line.hunk {
  color: #a6c1d8;
  background: #18314766;
}
.diff-line.file {
  color: var(--text);
}
.test-group + .test-group {
  margin-top: 25px;
}
.test-group h4 {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 8px;
  gap: 15px;
}
.test-group h4 span {
  font: 11px var(--mono);
  color: var(--muted);
}
.test-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid #23343e;
  font-size: 11px;
  align-items: center;
}
.test-row p {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.test-row span {
  flex: none;
  font: 10px var(--mono);
}
.test-row .passed {
  color: var(--accent);
}
.test-row .failed {
  color: var(--error);
}
.test-note {
  font-size: 10px;
  color: var(--muted);
  padding: 9px 0;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30px;
  margin: 0;
}
.detail-metrics > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #273943;
  padding: 11px 0;
}
.detail-metrics dd {
  font: 11px/1.7 var(--mono);
  text-align: right;
  overflow-wrap: anywhere;
}
.detail-metrics dt {
  font-size: 10px;
}
.failure-analysis {
  padding-top: 24px;
}
.failure-analysis h4 {
  font-size: 11px;
  font-weight: 550;
}
.failure-analysis p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.failure-analysis .annotation {
  font-size: 10px;
}
.run-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 11px 26px;
  border-top: 1px solid var(--line);
}
.run-footer p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.run-footer > div {
  display: flex;
  gap: 20px;
  flex: none;
}
.protocol-section {
  padding: 54px 0 48px;
}
.protocol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  margin-top: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.protocol-grid h3 {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 550;
  margin-bottom: 9px;
}
.protocol-grid p + h3 {
  margin-top: 25px;
}
.protocol-grid p,
.protocol-grid li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.protocol-grid ul {
  margin: 0 0 24px;
  padding-left: 17px;
}
.protocol-grid li + li {
  margin-top: 8px;
}
.provenance {
  margin: 0;
  font-size: 10px;
}
.provenance > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.provenance dt {
  font-size: 10px;
}
.provenance dd {
  font: 10px/1.8 var(--mono);
  color: #c2d2de;
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1460px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 40px 26px;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.site-footer > div:first-child > a {
  color: var(--text);
}
.empty-copy {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding: 26px 18px;
}
.notice {
  padding: 13px 17px;
  margin-bottom: 18px;
  background: #30231e66;
  border-left: 2px solid var(--warning);
  color: var(--warning);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.notice.error {
  border-left-color: var(--error);
  color: var(--error);
}
.run-workspace > .notice {
  margin: 0 26px 18px;
}
@keyframes arrive {
  from {
    opacity: 0.2;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1450px) {
  .chart-space {
    min-height: 275px;
  }
  .task-workspace {
    grid-template-columns: 330px minmax(0, 1fr);
  }
  .task-description {
    font-size: 13px;
  }
  .source-code {
    font-size: 12px;
  }
  .task-list {
    max-height: 706px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 28px;
  }
  .comparison-grid {
    gap: 30px;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  }
  .study-context {
    padding-left: 24px;
  }
  .cost-figure .section-heading {
    display: block;
  }
  .cost-figure .annotation {
    display: block;
    text-align: left;
    max-width: none;
    margin-top: 7px;
  }
  .chart-space {
    min-height: 230px;
  }
  .task-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .task-detail,
  .run-heading {
    padding-left: 22px;
    padding-right: 22px;
  }
  .detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .run-metrics {
    gap: 23px;
  }
  .protocol-grid {
    gap: 40px;
  }
  .publication-status {
    max-width: 220px;
  }
  .filters {
    grid-template-columns: minmax(0, 1fr) 180px 160px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    padding: 0 24px;
    gap: 25px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  main {
    padding: 0 24px;
  }
  .page-heading {
    padding: 32px 0 25px;
    display: block;
  }
  .publication-status {
    margin-top: 18px;
    text-align: left;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .publication-status p {
    margin: 0;
  }
  .study-strip > div + div {
    padding-left: 19px;
  }
  .study-strip dd {
    font-size: 17px;
  }
  .comparison-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .cost-figure .section-heading {
    display: flex;
  }
  .cost-figure .annotation {
    text-align: right;
    max-width: 160px;
  }
  .chart-space {
    min-height: 250px;
  }
  .study-context {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
  .context-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  .context-list > div:last-child {
    grid-column: 1/-1;
  }
  .study-context h2 {
    font-size: 18px;
  }
  .coverage-copy {
    margin-top: 9px;
  }
  .table-heading .annotation {
    max-width: 140px;
  }
  .task-workspace {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .task-detail {
    padding: 20px 18px;
  }
  .detail-heading {
    display: block;
  }
  .detail-heading h3 {
    font-size: 20px;
  }
  .detail-heading .status-label {
    margin-top: 9px;
  }
  .task-option {
    padding: 14px;
  }
  .task-option strong {
    font-size: 11px;
  }
  .run-heading {
    align-items: start;
    gap: 20px;
  }
  .run-selector {
    max-width: 44%;
  }
  .run-heading h3 {
    font-size: 20px;
  }
  .run-summary {
    padding-left: 22px;
    padding-right: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .run-metrics {
    justify-content: space-between;
    width: 100%;
    gap: 14px;
  }
  .run-metrics dd {
    font-size: 15px;
  }
  .inspector-tabs {
    padding: 0 22px;
  }
  .inspector-panel {
    padding: 18px 22px;
  }
  .run-footer {
    padding: 11px 22px;
    display: block;
  }
  .run-footer > div {
    gap: 25px;
  }
  .protocol-grid {
    gap: 30px;
  }
  .provenance > div {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .site-footer {
    padding: 20px 24px;
  }
  .filters {
    grid-template-columns: minmax(0, 1fr) 155px 135px;
    gap: 12px;
  }
}
@media (max-width: 620px) {
  html {
    scroll-padding-top: 121px;
  }
  .site-header {
    height: 106px;
  }
  .header-inner {
    padding: 9px 18px 0;
    gap: 0;
    align-content: start;
    flex-wrap: wrap;
    position: relative;
  }
  .brand {
    font-size: 21px;
    gap: 10px;
    height: 44px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    height: 52px;
    gap: 28px;
  }
  .site-header nav a {
    min-height: 48px;
    font-size: 11px;
  }
  .portfolio-link {
    position: absolute;
    right: 18px;
    top: 9px;
    font-size: 11px;
  }
  .header-inner .portfolio-link span {
    font-size: 15px;
  }
  main {
    padding: 0 18px;
  }
  .page-heading {
    padding: 27px 0 23px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .lede {
    font-size: 12px;
    line-height: 1.8;
  }
  .publication-status {
    gap: 8px 20px;
    margin-top: 17px;
  }
  .publication-status p {
    font-size: 9px;
  }
  .study-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
  .study-strip > div {
    padding: 15px 0;
  }
  .study-strip > div + div {
    padding-left: 0;
    border-left: 0;
  }
  .study-strip > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .study-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .study-strip dd {
    font-size: 18px;
  }
  .comparison-grid {
    padding-top: 26px;
  }
  .cost-figure .section-heading {
    display: block;
  }
  .cost-figure .annotation {
    text-align: left;
    max-width: none;
  }
  .cost-figure .section-heading h2 {
    font-size: 19px;
  }
  .chart-space {
    min-height: 190px;
  }
  .chart-space svg {
    min-height: 190px;
  }
  .chart-tick,
  .chart-label {
    font-size: 10px;
  }
  .chart-legend {
    gap: 8px 14px;
    font-size: 9px;
  }
  .context-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 17px;
  }
  .context-list > div:last-child {
    grid-column: auto;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading {
    gap: 13px;
  }
  .section-heading .annotation {
    font-size: 9px;
    max-width: 135px;
  }
  .table-heading {
    align-items: end;
  }
  .table-heading h2 {
    font-size: 20px;
  }
  .table-heading .annotation {
    max-width: 105px;
  }
  .leaderboard th,
  .leaderboard td {
    padding-left: 12px;
    padding-right: 12px;
  }
  .leaderboard td:first-child {
    min-width: 172px;
  }
  .explorer-section,
  .protocol-section {
    padding-top: 36px;
  }
  .explorer-section > .section-heading {
    display: block;
  }
  .explorer-section > .section-heading .annotation {
    display: block;
    margin-top: 8px;
    text-align: left;
    max-width: none;
    font-size: 10px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
  }
  .search-control {
    grid-column: 1/-1;
  }
  .filters select {
    font-size: 11px;
  }
  .task-workspace {
    grid-template-columns: 1fr;
  }
  .task-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .task-list {
    max-height: 204px;
  }
  .task-option {
    padding: 12px 16px;
    min-height: 66px;
  }
  .task-option strong {
    font-size: 12px;
  }
  .task-option small {
    margin-top: 4px;
    font-size: 9px;
  }
  .list-count {
    padding: 12px 16px;
    min-height: 43px;
  }
  .task-detail {
    padding: 22px 16px;
  }
  .detail-heading h3 {
    font-size: 21px;
  }
  .task-description {
    font-size: 12px;
  }
  .file-toolbar {
    padding: 5px 9px;
    gap: 10px;
  }
  .file-toolbar label {
    font-size: 9px;
    max-width: 40%;
  }
  .file-toolbar select {
    font-size: 10px;
    max-width: 60%;
    min-height: 44px;
  }
  .source-code {
    font-size: 10px;
    padding: 13px;
    min-height: 160px;
    max-height: 260px;
  }
  .run-workspace {
    margin-top: 23px;
  }
  .run-heading {
    display: block;
    padding: 21px 16px 17px;
  }
  .run-selector {
    width: 100%;
    max-width: none;
    margin-top: 18px;
  }
  .run-selector select {
    font-size: 11px;
  }
  .run-heading h3 {
    font-size: 20px;
  }
  .run-summary {
    padding: 0 16px 18px;
  }
  .run-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .run-metrics dd {
    font-size: 16px;
  }
  .run-metrics dt {
    font-size: 10px;
  }
  .inspector-tabs {
    padding: 0 16px;
    gap: 19px;
  }
  .inspector-tabs button {
    font-size: 10px;
  }
  .inspector-panel {
    padding: 16px;
    min-height: 175px;
  }
  .trace-event {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }
  .trace-event-heading {
    display: block;
  }
  .trace-event-heading time {
    display: block;
    margin-top: 4px;
  }
  .trace-event-heading h4 {
    font-size: 11px;
  }
  .trace-event p {
    font-size: 10px;
  }
  .event-data {
    font-size: 9px;
    padding: 10px;
  }
  .detail-metrics {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-metrics dt,
  .detail-metrics dd {
    font-size: 11px;
  }
  .run-footer {
    padding: 10px 16px;
  }
  .run-footer .text-link {
    font-size: 10px;
  }
  .run-workspace > .notice {
    margin: 0 16px 16px;
  }
  .protocol-section > .section-heading {
    display: block;
  }
  .protocol-section > .section-heading > .text-link {
    margin-top: 8px;
  }
  .protocol-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 10px;
  }
  .protocol-grid aside {
    border-top: 1px solid var(--line);
    padding-top: 25px;
  }
  .provenance > div {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .site-footer {
    padding: 17px 18px;
    display: block;
  }
  .site-footer > div {
    justify-content: space-between;
    gap: 14px;
  }
  .site-footer > div:first-child {
    font-size: 9px;
  }
  .site-footer > div:last-child {
    justify-content: start;
    gap: 26px;
  }
}
@media (max-width: 360px) {
  .header-inner,
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .portfolio-link {
    right: 14px;
    font-size: 10px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .site-header nav {
    gap: 24px;
  }
  .site-header nav a {
    font-size: 10px;
  }
  h1 {
    font-size: 27px;
  }
  .inspector-tabs {
    gap: 17px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .inspector-tabs button {
    font-size: 9px;
  }
  .task-detail,
  .run-heading,
  .run-summary,
  .inspector-panel {
    padding-left: 13px;
    padding-right: 13px;
  }
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-footer > div:first-child {
    gap: 9px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

#episode-split {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font: 400 0.7rem/1.5 var(--sans);
  overflow-wrap: anywhere;
}
.provenance-full {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}
.provenance-full summary {
  cursor: pointer;
  padding: 0.65rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.provenance-full pre {
  max-height: 22rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.7rem;
  line-height: 1.6;
}
.artifact-downloads {
  margin-top: 1.5rem;
}
.artifact-downloads a {
  display: block;
  padding: 0.65rem 0;
}
