/* Academic Project Page Template adaptation, CC BY-SA 4.0. */
:root {
  color-scheme: light;
  --ink: #363636;
  --muted: #747474;
  --link: #287bb5;
  --rule: #e6e6e6;
  --wash: #f5f5f5;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #155987; text-decoration: underline; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #79b7e1;
  outline-offset: 4px;
}
button { font: inherit; cursor: pointer; }
strong { font-weight: 700; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.container.is-max-desktop { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden, .result-panel[role="tabpanel"] h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; top: -70px; left: 15px; z-index: 20; background: #fff; padding: 8px 15px; }
.skip-link:focus { top: 10px; }

.hero { text-align: center; }
.hero-body { padding: 55px 0 37px; }
.title { font-size: 32px; font-weight: 600; line-height: 1.3; text-align: center; margin-bottom: 25px; }
.publication-title { font-size: 44px; line-height: 1.18; font-weight: 700; margin: 0 auto 27px; text-wrap: balance; }
.publication-authors { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 19px; font-size: 19px; line-height: 1.75; margin-bottom: 11px; }
.author-block { white-space: nowrap; }
.author-break { flex-basis: 100%; height: 0; }
sup { font-size: .65em; vertical-align: super; line-height: 0; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 17px; font-size: 16px; line-height: 1.75; }
.author-notes { font-size: 13px; color: var(--muted); margin: 10px 0 17px; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.publication-links a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 6px 19px; min-height: 41px; border: 1px solid var(--ink); border-radius: 24px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1.7; }
.publication-links a:hover { background: #505050; border-color: #505050; text-decoration: none; }
.publication-links img { width: 17px; height: 17px; flex: 0 0 auto; filter: invert(1); }

.section { padding: 46px 0 12px; }
.content p + p { margin-top: 18px; }
.content h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.teaser { padding: 2px 0 44px; }
figure a { display: block; cursor: zoom-in; }
figure img { display: block; width: 100%; height: auto; }
figcaption { text-align: center; font-size: 18px; line-height: 1.6; margin: 17px auto 0; max-width: 940px; }
.abstract-band { background: var(--wash); padding: 39px 0 35px; }
.abstract-band .container { max-width: 820px; }
.abstract-copy { text-align: justify; }
.method-details .columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 19px; border-block: 1px solid var(--rule); }
.method-details .stage-label { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.method-details h3 { margin-bottom: 10px; }
.figure-intro { margin: 0 0 18px; }
.protocol-note { color: #626262; font-size: 15px; line-height: 1.6; }
.content .protocol-note { margin-top: 16px; }

.result-tabs { display: flex; justify-content: center; gap: 28px; margin-top: 24px; border-bottom: 1px solid var(--rule); }
.result-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 2px; min-height: 48px; color: var(--muted); font-size: 18px; white-space: nowrap; }
.result-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.result-tabs button:hover { color: var(--link); }
.result-panel { padding-top: 8px; }
.result-panel h3 { font-size: 23px; margin: 24px 0 12px; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; container-type: inline-size; }
.results-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.perma-table { min-width: 650px; }
.results-table caption { width: 100cqw; text-align: left; color: #626262; font-size: 15px; line-height: 1.6; padding: 12px 0 18px; }
.results-table th, .results-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--rule); }
.results-table thead th { font-weight: 600; border-block: 1px solid #aaa; white-space: nowrap; }
.results-table th:first-child { text-align: left; width: 32%; }
.results-table tbody th { font-weight: 400; white-space: nowrap; }
.results-table th span { font-size: 14px; color: var(--muted); }
.results-table .group-start > * { border-top: 1px solid #aaa; }
.results-table .rpmem-row > * { background: #edf4f1; }
.results-table tbody tr:last-child > * { border-bottom-color: #aaa; }
figure.generalization-figure, figure.dynamics-figure { margin-top: 26px; }
.ablation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.ablation-study { min-width: 0; }
.ablation-study h3 { font-size: 22px; font-weight: 600; text-align: center; }
.ablation-table { min-width: 440px; font-size: 16px; }
.ablation-table th, .ablation-table td { padding: 10px 8px; }
.ablation-table caption { min-height: 80px; }
.ablation-table th:first-child { width: 40%; }
.ablation-table tbody th { white-space: normal; }
.study-takeaway { margin-top: 18px; font-size: 16px; }
#deployment .table-scroll { margin-top: 24px; }
.efficiency-table { min-width: 850px; }
.efficiency-table th:first-child { width: auto; }
.efficiency-table tbody th { white-space: normal; }
.efficiency-table thead tr:first-child th:first-child { width: 25%; text-align: left; }
.efficiency-table thead tr:first-child th { text-align: center; vertical-align: middle; }
.measurement-note, .dynamics-takeaway { margin-top: 20px; }

.citation-band { padding-bottom: 45px; }
.citation-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.citation-heading h2.title { text-align: left; margin: 0; }
.copy-citation { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #ddd; border-radius: 4px; background: #fff; }
.copy-citation:hover { background: var(--wash); }
pre.bibtex { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--wash); padding: 26px 22px; margin: 0; font-size: 13px; line-height: 1.65; }
pre.bibtex code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.copy-status { min-height: 22px; font-size: 13px; color: var(--link); margin-top: 8px; }
.acknowledgements { margin-top: 28px; }
.acknowledgements h3 { margin-bottom: 12px; }
.acknowledgements p { font-size: 16px; }
.acknowledgements p + p { margin-top: 8px; }
.footer { background: #fafafa; padding: 27px 0; font-size: 13px; color: #888; text-align: center; }
.footer p + p { margin-top: 6px; }

@media (max-width: 1000px) {
  .ablation-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ablation-table caption { min-height: 0; }
}
@media (max-width: 900px) {
  .publication-title { font-size: 37px; }
  .publication-authors { font-size: 17px; column-gap: 16px; }
  .affiliations { font-size: 14px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container.is-max-desktop { width: calc(100% - 36px); }
  .hero-body { padding: 34px 0 29px; }
  .publication-title { font-size: 30px; line-height: 1.2; margin-bottom: 22px; }
  .publication-authors { font-size: 15px; gap: 2px 12px; margin-bottom: 12px; }
  .author-break { display: none; }
  .affiliations { display: block; font-size: 13px; }
  .affiliations span { display: block; }
  .author-notes { font-size: 11px; margin: 9px 0 17px; }
  .publication-links a { font-size: 14px; padding: 6px 15px; gap: 7px; }
  .title { font-size: 27px; margin-bottom: 20px; }
  .title.publication-title { font-size: 30px; margin-bottom: 22px; }
  .section { padding: 34px 0 7px; }
  .teaser { padding-top: 2px; padding-bottom: 32px; }
  figcaption { font-size: 15px; margin-top: 14px; }
  .abstract-band { padding-block: 30px; }
  .abstract-copy { text-align: left; }
  .method-details .columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .content h3, .ablation-study h3 { font-size: 21px; }
  .protocol-note { font-size: 14px; }
  .result-tabs { gap: 22px; }
  .result-tabs button { font-size: 16px; }
  .results-table { font-size: 15px; }
  .results-table th, .results-table td { padding: 10px; }
  .results-table caption { font-size: 14px; }
  .ablation-table { min-width: 100%; font-size: 14px; }
  .ablation-table th, .ablation-table td { padding: 10px 6px; }
  .ablation-table thead th { white-space: normal; }
  .study-takeaway { font-size: 15px; }
  .citation-band { padding-bottom: 32px; }
  pre.bibtex { font-size: 11px; padding-inline: 15px; }
  .footer { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
