@font-face {
  font-family: DM Sans;
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url("fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("fonts/pixelify-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #1d2426;
  --muted: #566366;
  --brand-blue: #3aa4c1;
  --brand-button: #186b83;
  --brand-button-hover: #12556a;
  --teal: #19758f;
  --teal-dark: #155c72;
  --teal-pale: #e8f5f9;
  --hair: #d8e1e3;
  --mono: "IBM Plex Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(22px, 4.6vw, 82px);
}
* {
  box-sizing: border-box;
}
html {
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.masthead {
  margin-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.masthead {
  height: 78px;
  border-bottom: 1px solid var(--hair);
  flex: none;
}
.identity {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 610;
  letter-spacing: -1.05px;
}
.brand-mark {
  width: 37px;
  height: 34px;
  color: var(--teal-dark);
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 520;
}
.masthead nav button {
  padding: 9px 0;
}
.masthead nav a,
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.masthead nav a {
  border-left: 1px solid var(--hair);
  padding: 4px 0 4px 28px;
}
.masthead .ico {
  width: 14px;
  height: 14px;
}
.masthead nav a:hover,
.masthead nav button:hover,
.source-link:hover {
  color: var(--teal);
}
main {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.79fr) minmax(0, 1.21fr);
  align-items: center;
  gap: clamp(20px, 2.5vw, 54px);
  width: 100%;
  max-width: 1920px;
  margin: auto;
  padding: clamp(22px, 3.5vh, 44px) var(--gutter) clamp(23px, 3.2vh, 44px);
}
.intro {
  padding: 10px 0 13px;
  align-self: center;
}
.kicker,
.plot-caption,
.trace-line {
  font-family: var(--mono);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  line-height: 1.4;
}
.kicker-rule {
  width: 24px;
  height: 1px;
  background: var(--teal);
}
h1 {
  font-size: clamp(65px, 6.6vw, 117px);
  font-weight: 470;
  letter-spacing: -0.076em;
  line-height: 0.97;
  margin: 25px 0 25px;
}
h1 em {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.15em;
  line-height: 0.93;
  font-weight: 400;
  letter-spacing: -0.047em;
  color: var(--teal-dark);
  margin-left: -0.025em;
  margin-top: 0.035em;
}
.lede {
  font-size: clamp(16px, 1.28vw, 21px);
  line-height: 1.58;
  color: var(--muted);
  max-width: 24em;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--teal-dark);
  color: white;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--teal-dark);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 550;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.primary:hover {
  background: #113d49;
  box-shadow: 0 3px 10px #155c7218;
}
.primary .ico {
  width: 17px;
}
.atlas {
  justify-self: stretch;
  margin: 0;
  min-width: 0;
}
.plot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--hair);
  padding: 8px 0 1px;
}
.map-caption, .map-tools, .replay-control {
  display: flex;
  align-items: center;
}
.map-caption {
  flex-wrap: wrap;
  gap: 3px 12px;
}
.map-tools {
  gap: 3px;
}
.connection-count {
  color: var(--teal);
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.replay-control {
  white-space: nowrap;
  gap: 6px;
  min-height: 34px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0;
}
.replay-control:hover {
  background: var(--teal-pale);
}
.replay-control .ico {
  width: 13px;
  height: 13px;
}
.expand,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.expand:hover,
.icon-button:hover,
.playback button:hover {
  background: var(--teal-pale);
}
.expand .ico {
  width: 17px;
  height: 17px;
}
.plot-area {
  display: grid;
  place-items: center;
  isolation: isolate;
}
.stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 100%;
  background: white;
}
.plot-area .stage {
  width: min(100%, clamp(410px, calc(100svh - 281px), 800px));
}
.stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stage svg {
  overflow: visible;
}
.player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hair);
  min-height: 66px;
  gap: 12px;
  padding: 9px 0 1px;
}
.trace-info {
  min-width: 0;
}
.trace-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.005em;
}
.trace-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.trace-slash {
  color: #a5b0b3;
}
.trace-info strong {
  display: block;
  font-weight: 530;
  font-size: clamp(17px, 1.45vw, 22px);
  letter-spacing: -0.035em;
  margin-top: 3px;
}
.playback {
  display: flex;
  align-items: center;
  gap: 3px;
}
.playback button {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}
.playback .ico {
  width: 15px;
  height: 15px;
}
#toggle {
  border: 1px solid var(--hair);
  width: 38px;
  height: 38px;
}
dialog {
  border: 1px solid var(--hair);
  color: var(--ink);
  background: #fff;
  padding: 0;
  max-width: calc(100vw - 28px);
  border-radius: 12px;
  box-shadow: 0 24px 100px #10242a20;
}
dialog::backdrop {
  background: rgba(19,31,34, 0.28);
}
.sheet {
  width: 540px;
  max-height: min(76svh, 720px);
  padding: 22px 24px 20px;
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
}
.dialog-heading,
.zoom-bar,
.zoom-bar > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dialog-heading h2 {
  font-size: 27px;
  font-weight: 490;
  letter-spacing: -0.06em;
  margin: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hair);
  border-radius: 5px;
  margin: 19px 0 11px;
  padding: 0 12px;
  color: var(--muted);
}
.search-field:focus-within {
  border-color: var(--teal);
}
.search-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 1px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 15px;
}
.search-field input:focus-visible {
  outline: 0;
}
.index-list {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 6px 0 0;
}
.query-group {
  border-top: 1px solid var(--hair);
  margin-top: 12px;
  padding-top: 10px;
}
.query-group h3 {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 5px;
}
.query-option {
  width: 100%;
  text-align: left;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  border-radius: 3px;
  line-height: 1.25;
}
.query-option:hover,
.query-option[aria-current="true"] {
  background: var(--teal-pale);
}
.query-option .ico {
  width: 14px;
  height: 14px;
}
.query-option:focus-visible {
  outline-offset: -2px;
}
.about p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0 0;
}
.source-link {
  font-size: 14px;
  font-weight: 550;
  color: var(--teal);
  margin-top: 20px;
}
.source-link .ico {
  width: 14px;
  height: 14px;
}
#no-results {
  font-size: 14px;
  color: var(--muted);
}
.zoom-dialog {
  width: min(97vw, 1400px);
  height: 94svh;
  max-height: 94svh;
}
.zoom-dialog[open] {
  display: flex;
  flex-direction: column;
}
.zoom-bar {
  padding: 9px 15px;
  border-bottom: 1px solid var(--hair);
  min-height: 52px;
}
.zoom-bar strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 530;
}
#zoom-size {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zoom-scroller {
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
}
.zoom-host {
  width: min(100%, calc(94svh - 56px));
  margin-inline: auto;
}
.zoom-host.enlarged {
  width: max(130%, 980px);
  max-width: 2400px;
}
.zoom-scroller:has(.enlarged) {
  display: block;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1800px) {
  .masthead {
    width: calc(1920px - 2 * var(--gutter));
    max-width: calc(100% - 2 * var(--gutter));
    margin-inline: auto;
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .hero {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 18px;
  }
  .lede {
    font-size: 16px;
  }
  .masthead {
    height: 66px;
  }
  h1 {
    font-size: clamp(55px, 7.1vw, 68px);
  }
  .kicker {
    font-size: 9px;
  }
  .plot-area .stage {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .masthead {
    height: 62px;
  }
  .identity {
    font-size: 19px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 29px;
  }
  .masthead nav {
    gap: 15px;
    font-size: 12px;
  }
  .masthead nav a {
    padding-left: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 23px;
  }
  .intro {
    padding: 0;
  }
  .kicker {
    font-size: 9px;
  }
  h1 {
    font-size: clamp(58px, 11.9vw, 80px);
    margin: 18px 0 19px;
    line-height: 0.94;
  }
  h1 em {
    font-size: 1.12em;
  }
  .lede {
    font-size: 16px;
    line-height: 1.5;
    max-width: 28em;
    margin-bottom: 19px;
  }
  .primary {
    height: 43px;
    font-size: 13px;
    gap: 18px;
  }
  .plot-area .stage {
    width: 100%;
  }
  .player {
    min-height: 62px;
  }
  .trace-line {
    font-size: 9px;
  }
  .plot-caption {
    font-size: 9px;
  }
  .zoom-bar { padding-inline: 9px; }
  .zoom-bar > div { flex: none; gap: 2px; }
  .zoom-bar .icon-button { width: 30px; }
  .sheet {
    padding: 18px;
    max-height: 84svh;
  }
}
@media (max-width: 390px) {
  :root {
    --gutter: 17px;
  }
  .hero {
    padding-top: 32px;
  }
  .map-caption { flex-direction: column; align-items: flex-start; }
  .masthead nav {
    gap: 10px;
  }
  .masthead nav a {
    padding-left: 10px;
  }
  .identity {
    font-size: 17px;
  }
  .primary {
    padding: 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* The drawing uses its own coordinate system for each available width. */
.stage { aspect-ratio: var(--assessment-aspect, 740 / 496); }
.plot-area .stage { width: 100%; margin-block: 12px; }
.zoom-host { width: min(100%, 1120px); }
.zoom-host.enlarged { width: max(130%, 980px); }
.assessment-map [role=button]:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.player { border-top: 0; padding: 11px 0 14px; align-items: center; }
.playback { flex: none; }
.trace-info strong { max-width: 32ch; }
.evidence-bar {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--hair); padding-top: 10px; gap: 10px;
  font: 10px/1.5 var(--mono); color: var(--muted);
}
.evidence-bar button { font: 550 13px/1.4 var(--sans); padding: 6px 0 6px 10px; color: var(--teal); }
.evidence-bar button:hover { text-decoration: underline; }
.evidence-bar button span { margin-left: 3px; }
.criteria { max-width: 322px; margin: 34px 0 0; padding: 15px 0 0; border-top: 1px solid var(--hair); }
.criteria h2 { margin: 0 0 15px; font: 10px/1.4 var(--mono); color: var(--teal); text-transform: uppercase; letter-spacing: .075em; }
.limit-heading, .criteria dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.limit-heading { font-size: 14px; font-weight: 550; }
.limit-heading output { font: 13px/1.3 var(--mono); color: var(--teal); font-variant-numeric: tabular-nums; }
#limit-control { display: block; width: 100%; margin: 4px 0 9px; height: 23px; cursor: pointer; accent-color: var(--teal); }
.criteria dl { margin: 0; }
.criteria dl > div { padding: 4px 0; font-size: 13px; }
.criteria dt { color: var(--muted); }
.criteria dd { margin: 0; font: 11px/1.4 var(--mono); }
.evidence-sheet { width: min(620px,93vw); }
#evidence-query { color: var(--muted); font-size: 14px; margin: 12px 0; }
#evidence-records { overflow: auto; overscroll-behavior: contain; }
.evidence-record { border-top: 1px solid var(--hair); padding: 14px 0; }
.evidence-record header { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.evidence-record h3 { margin:0; font-size:16px; font-weight:550; }
.verdict-label { font: 11px/1.5 var(--mono); }
.evidence-record table { width:100%; margin-top:9px; text-align:left; border-collapse:collapse; font-size:13px; }
.evidence-record thead th { font: 10px/1.4 var(--mono); color:var(--muted); }
.evidence-record th, .evidence-record td { padding:5px 8px 4px 0; vertical-align:top; }
.evidence-record tbody th { font-weight:500; }
.evidence-record small { display:block; color:var(--muted); font:11px/1.5 var(--mono); }
.evidence-record [data-status="fit"], .evidence-record [data-status="pass"] { color:var(--teal); }
.evidence-record [data-status="miss"], .evidence-record [data-status="fail"] { color:#875532; }
.evidence-record [data-status="unknown"], .evidence-record [data-status="pending"] { color:var(--muted); }
.miss-reason { margin:6px 0 0; color:#805035; font-size:12px; }
@media (max-width:700px) {
  .hero { padding-top:28px; gap:22px; }
  .criteria { max-width:100%; margin-top:22px; padding-top:12px; }
  .criteria h2 { margin-bottom:8px; }
  .criteria dl { display:flex; flex-wrap:wrap; gap:4px 20px; }
  .criteria dl > div { gap:7px; }
  .criteria dl > div, .limit-heading { font-size:12px; }
  .criteria dt, .criteria dd { font-size:11px; }
  .plot-area .stage { margin-block:8px; }
  .evidence-bar { font-size:9px; }
  .evidence-bar button { font-size:12px; }
  .player { min-height:62px; padding-block:9px; }
}

