:root {
  color-scheme: light;
  --text: #1e1e22;
  --muted: #555560;
  --link: #2869c7;
  --border: #dcdde3;
  --surface: #f5f5f7;
  --reading-width: 660px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.65 "Noto Sans", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
p { margin: 0 0 14px; }
strong { font-weight: 600; }
sup, sub { font-size: .7em; line-height: 0; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; }
h1 { max-width: 850px; margin: 0 auto 22px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
h2 { margin: 0 0 14px; font-size: 24px; font-weight: 700; }
h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 600; }
.first-subheading { margin-top: 20px; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 30; background: white; padding: 8px 12px; }
.skip-link:focus { top: 8px; }
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #ecedf1; }
.topbar-inner { max-width: 1000px; min-height: 48px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 14px; color: var(--text); font-weight: 600; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 2px; }
nav a { font-size: 14px; color: var(--muted); padding: 7px 8px; white-space: nowrap; }
main { max-width: 1000px; margin: 0 auto; padding: 0 20px 36px; }
main > section { padding: 44px 0 8px; }
main > section:not(.hero) { position: relative; }
main > section:not(.hero)::before { content: ""; position: absolute; top: 20px; left: 0; right: 0; border-top: 1px solid #ececf0; }
main > section[id] { scroll-margin-top: -44px; }
main > .hero { padding: 0; }
.hero-inner { padding: 52px 0 28px; text-align: center; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin: 0 auto 6px; font-size: 17px; line-height: 1.8; }
.authors span { white-space: nowrap; }
.affiliation { margin: 0 auto 6px; color: var(--muted); font-size: 14.5px; }
.author-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.author-notes span { white-space: nowrap; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 17px; border: 1px solid var(--text); border-radius: 999px; background: var(--text); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; }
.button:hover { background: #444450; color: #fff; text-decoration: none; }
.button.secondary { background: #fff; color: var(--text); }
.button.secondary:hover { background: var(--surface); }
.tldr { margin-top: 36px; }
.tldr p { margin: 0; }
.figure { margin: 24px 0 0; }
.figure > a { display: block; cursor: zoom-in; }
.figure figcaption { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.source { white-space: nowrap; }
.update-figures, .task-figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.update-figures > figure, .task-figures > figure { min-width: 0; }
.task-figures > figure { width: 100%; max-width: 580px; margin-left: auto; margin-right: auto; }
.single-panel { max-width: 580px; margin-left: auto; margin-right: auto; }
.figure-crop { display: block; position: relative; overflow: hidden; }
.figure-crop img { position: absolute; max-width: none; height: auto; }
/* Display original paper panels separately without changing the source images. */
.density-panel { aspect-ratio: 700 / 818; max-width: 350px; margin: 0 auto; }
.density-panel img { width: 287.7142857%; left: 0; top: 0; }
.rank-panel { aspect-ratio: 1314 / 818; min-width: 580px; }
.rank-panel img { width: 153.2724505%; left: -53.2724505%; top: 0; }
.specialization-panel { aspect-ratio: 530 / 460; }
.specialization-panel img { width: 205.6603774%; left: 0; top: 0; }
.modulation-panel { aspect-ratio: 560 / 460; }
.modulation-panel img { width: 194.6428571%; left: -94.6428571%; top: 0; }
.task-alignment-panel { aspect-ratio: 805 / 701; }
.task-alignment-panel img { width: 100%; left: 0; top: 0; }
.task-transfer-panel { aspect-ratio: 805 / 700; }
.task-transfer-panel img { width: 100%; left: 0; top: -100.1428571%; }
.figure-scroll { overflow-x: auto; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0 8px; }
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid #ecedf1; text-align: right; }
.data-table th:first-child { text-align: left; }
.data-table thead th { background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.45; }
.data-table tbody th { font-weight: 400; }
.data-table td { white-space: nowrap; }
.data-table .emphasis { font-weight: 600; background: #f7f8fa; }
.module-table { min-width: 650px; }
.steering-table { min-width: 600px; }
.table-note { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.result-details { margin: 18px 0 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; }
.result-details summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.result-details summary:hover { color: var(--link); }
.result-details[open] summary { margin-bottom: 12px; }
.result-details p { font-size: 14px; }
.result-details .table-scroll { margin-top: 12px; }
.citation-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.citation-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.citation-actions button { font: inherit; cursor: pointer; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 5px 12px; }
.citation-actions button:hover { background: var(--surface); }
pre { margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-status { margin: 8px 0 0; min-height: 20px; font-size: 13px; color: var(--muted); }
/* Align text, figures, and tables within the same reading column. */
main > section:not(.hero), .tldr {
  max-width: var(--reading-width);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 880px) {
  .brand { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  main { padding-left: 20px; padding-right: 20px; }
  .topbar-inner { padding: 3px 12px; }
  nav { gap: 0; }
  nav a { font-size: 12.5px; padding: 6px 8px; }
  .hero-inner { padding: 36px 0 20px; }
  .title-break { display: none; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .authors { display: grid; grid-template-columns: repeat(2, max-content); font-size: 16px; gap: 0 20px; }
  .affiliation { max-width: 310px; }
  .links { gap: 6px; }
  .button { padding: 8px 12px; font-size: 13px; }
  .tldr { margin-top: 24px; }
  main > section { padding-top: 36px; }
  main > section[id] { scroll-margin-top: -36px; }
  .data-table th, .data-table td { padding: 9px 10px; }
  .data-table { font-size: 13px; }
  .data-table thead th { font-size: 12px; }
  .figure figcaption, .table-note { font-size: 13px; }
  pre { padding: 14px; font-size: 12px; }
}
@media (max-width: 380px) {
  .links { display: grid; grid-template-columns: repeat(2, 96px); gap: 8px; }
}
@media print {
  .topbar, .links, .skip-link, .citation-actions, .copy-status { display: none; }
  main { max-width: none; }
  .hero-inner { padding-top: 0; }
  .figure, .table-scroll { break-inside: avoid; }
}
