@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --body: "DM Sans", Arial, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
  --text: #4a4a4a;
  --title: #363636;
  --blue: #245f89;
  --line: #dce2e5;
  font-family: var(--body);
  background: #fff;
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: #fff; margin: 0; }
body, button { font-family: var(--body); }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #27659a; outline-offset: 4px; }
figure, h1, h2, h3, p { margin: 0; }
svg, img { max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -6rem; left: 1rem; padding: .75rem 1rem; background: white; z-index: 1; }
.skip:focus { top: .6rem; }
.masthead { text-align: center; padding: clamp(2.4rem,5.1vw,4.5rem) 1.3rem 0; }
.masthead h1 {
  max-width: min(1130px, 100%);
  margin-inline: auto;
  color: var(--title);
  font-size: clamp(2.05rem,3.5vw,3.18rem);
  font-weight: 620;
  line-height: 1.105;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.masthead h1 span { display: block; }
.authors { max-width: 850px; margin: 1.45rem auto 0; font-size: clamp(1.03rem,1.55vw,1.22rem); line-height: 1.62; text-wrap: balance; color: var(--title); }
.authors span, .affiliations span { display: inline-block; }
.authors a { text-decoration: none; }.authors a:hover { text-decoration: underline; }
sup { font-size: .65em; line-height: 0; padding-left: 1px; }
.affiliations { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .15rem 1.4rem; margin: .4rem 0 1rem; font-size: 1.01rem; line-height: 1.45; color: #565656; }
.resources { display: flex; justify-content: center; gap: .5rem; }
.resources a { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .47rem 1.05rem; border-radius: 24px; font-size: 1.01rem; color: #fff; background: var(--title); text-decoration: none; }
.resources a:hover { background: #1e4f72; }
.resources svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.summary, .intro-scene, .article, footer { margin-inline: auto; width: min(calc(100% - 3rem), 800px); }
.summary { margin-top: clamp(2.05rem,4vw,3rem); font-size: clamp(1.1rem,1.8vw,1.32rem); line-height: 1.56; color: #424242; letter-spacing: -.013em; }
.summary strong { color: var(--title); font-weight: 750; }
.intro-scene { width: min(calc(100% - 3rem), 860px); margin-top: 1.6rem; }
.intro-scene .prior-scene { margin: 0; }
.article { padding-bottom: 1.8rem; }
.chapter { padding-top: clamp(2.4rem,5vw,3.75rem); scroll-margin-top: 1rem; }
.chapter h2 { color: var(--title); font-weight: 650; font-size: clamp(1.65rem,3.2vw,2.24rem); line-height: 1.18; letter-spacing: -.04em; margin-bottom: .85rem; text-wrap: balance; }
.chapter h3 { color: var(--title); font-weight: 650; font-size: 1.28rem; line-height: 1.28; letter-spacing: -.02em; margin: 1.5rem 0 .5rem; }
.chapter p { font-size: 1.1rem; line-height: 1.66; }
.chapter p + p { margin-top: .8rem; }
.chapter strong { color: #363636; font-weight: 675; }
.pipeline { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: stretch; column-gap: 1.15rem; border-block: 1px solid var(--line); margin-top: 1.25rem; padding: 1.2rem .55rem; }
.stage-term { display: block; margin-bottom: .3rem; font-size: .83rem; font-weight: 650; color: var(--blue); }
.pipeline strong { font-size: 1.09rem; line-height: 1.3; }
.pipeline p { margin-top: .38rem; font-size: .96rem; line-height: 1.46; }
.connector { align-self: center; }.connector svg { width: 36px; fill: none; stroke: #91a0aa; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.original-plots { margin-block: 1.4rem 1.2rem; }
.plot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plot-pair > div { min-width: 0; }
.plot-pair h3 { text-align: center; font-size: 1rem; margin: 0 0 .5rem; color: #444; }
.plot-pair a { display: block; }.plot-pair img { width: 100%; height: auto; max-height: 252px; object-fit: contain; display: block; }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.1rem; margin-block: .6rem .42rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; }.legend i { width: 16px; height: 3px; }.low { background: #557eaa; }.medium { background: #d79537; }.high { background: #c6584d; }
.chapter .small { font-size: .9rem; color: #58636b; line-height: 1.5; }
.chapter table { width: 100%; border-collapse: collapse; margin-block: .8rem; color: var(--title); font-size: 1rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.chapter caption { font-size: .94rem; text-align: left; font-weight: 650; padding-bottom: .55rem; }
.chapter tr { border-bottom: 1px solid var(--line); }.chapter th, .chapter td { padding: .58rem .7rem; }
.chapter thead { color: #52606b; background: #f1f4f5; font-size: .87rem; }.chapter th { font-weight: 600; }
.chapter tbody th { font-weight: 430; }.chapter th:first-child { text-align: left; }.chapter th:not(:first-child), .chapter td { text-align: right; }
.chapter tfoot { background: #eef3f7; }.chapter .control-table { margin-block: 1rem; }.control-table td { white-space: nowrap; font-weight: 600; }
.control-table tr:last-child { background: #edf3f7; }.control-table tbody td:last-child { color: #254e6e; }
.control-table small { display: block; color: #55626a; font-size: .88rem; line-height: 1.43; }
.chapter .benchmark-table td:last-child { color: #25516f; font-weight: 650; }
.citation { margin-top: 2.9rem; border-top: 1px solid var(--line); padding-top: 1.85rem; }
.citebar { display: flex; align-items: center; justify-content: space-between; padding: .65rem 1rem; background: #f2f4f5; border-radius: 5px 5px 0 0; font: 500 .87rem var(--mono); }
.citebar button { background: #fff; padding: .35rem .6rem; border-radius: 5px; border: 1px solid #abb5ba; cursor: pointer; font: 550 .83rem var(--body); color: var(--title); }
.citation pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f7f8f8; margin: 0; padding: 1rem; border-radius: 0 0 5px 5px; font: .83rem/1.54 var(--mono); }.citation code { font: inherit; }
#copy-status { font-size: .85rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.2rem 2rem; text-align: right; font-size: .9rem; }
@media (max-width: 720px) {
  .masthead h1 span { display: inline; }.masthead h1 { max-width: 590px; font-size: clamp(1.9rem,5.4vw,2.55rem); }
  .authors { margin-top: 1rem; max-width: 44ch; }.affiliations { font-size: .95rem; }
}
@media (max-width: 530px) {
  .masthead { padding: 2.2rem 1rem 0; }.masthead h1 { font-size: clamp(1.65rem,7.1vw,2.25rem); line-height: 1.1; }
  .authors { font-size: .99rem; line-height: 1.55; }.affiliations { gap: .15rem .85rem; font-size: .89rem; }.resources a { font-size: .93rem; min-height: 40px; padding-inline: .84rem; }
  .summary,.article,footer { width: calc(100% - 2.25rem); }.intro-scene { width: calc(100% - 1.75rem); }.summary { margin-top: 1.65rem; font-size: 1.09rem; line-height: 1.53; }.intro-scene { margin-top: 1.25rem; }
  .chapter p { font-size: 1.02rem; line-height: 1.6; }.chapter .small { font-size: .88rem; }
  .pipeline { grid-template-columns: 1fr; gap: .6rem; padding-inline: .35rem; }.pipeline p { font-size: .94rem; }
  .connector { width: 18px; height: 19px; overflow: hidden; }.connector svg { width: 18px; transform: rotate(90deg); }
  .plot-pair { gap: 1rem; grid-template-columns: 1fr; }.plot-pair img { max-height: 230px; }.plot-pair h3 { margin-bottom: .2rem; }
  .chapter table { font-size: .9rem; }.chapter th,.chapter td { padding: .47rem .36rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .resources,footer,.skip,.citebar button { display: none; }.masthead { padding-top: 0; }.chapter { padding-top: 1.5rem; }.summary,.intro-scene,.article { width: 100%; } }
