:root {
  --white: #fff;
  --navy: #15244d;
  --text: #172b4d;
  --muted: #5c6c86;
  --green: #347955;
  --line: #d7dfeb;
  --blue-wash: #f2f5fa;
  --green-wash: #e9f1e2;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--navy); text-underline-offset: 4px; }
button { color: var(--navy); }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #347955; outline-offset: 5px; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 12px; padding: 8px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 31px; font-weight: 700; line-height: 1; text-decoration: none; letter-spacing: -.7px; }
.wordmark img { width: 36px; height: 36px; flex: 0 0 auto; }
nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
nav a { text-decoration: none; padding-block: 14px; }
nav a:hover { color: var(--green); }
.hero { text-align: center; padding-top: 44px; padding-bottom: 62px; }
.hero-brand { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 24px); }
.hero-icon { width: clamp(66px, 7vw, 104px); flex: 0 0 auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { color: var(--navy); font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(66px, 7vw, 104px); letter-spacing: -4px; line-height: 1.12; }
.paper-subtitle { font-family: var(--serif); color: var(--navy); font-size: clamp(24px, 2.5vw, 35px); font-weight: 700; line-height: 1.3; margin-top: 10px; letter-spacing: -.65px; }
.mobile-break { display: none; }
.author-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 0; list-style: none; padding: 0; margin: 24px auto 0; max-width: 990px; font-size: 17px; line-height: 1.8; color: #405376; }
.author-list li { white-space: nowrap; }
.author-list li:not(:last-child)::after { content: ","; margin-right: 9px; }
.author-list sup { font-size: .7em; margin-left: 2px; color: var(--green); }
.author-list a { color: inherit; text-decoration: none; }
.author-list a:hover { text-decoration: underline; }
.affiliation { max-width: 1000px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.affiliation + .affiliation { margin-top: 4px; }
.affiliation sup { color: var(--green); font-size: .75em; }
.corresponding-note { margin-top: 7px; color: var(--muted); font-size: 12px; }
.contact-note { margin-top: 2px; color: var(--muted); font-size: 12px; }
.corresponding-note a, .contact-note a { color: inherit; }
.contact-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px 18px; margin-top: 8px; }
.contact-details p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 45px; padding: 9px 24px; border: 1px solid #607493; border-radius: 4px; background: var(--white); color: var(--navy); font: 500 14px/1.5 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.button:hover { border-color: var(--navy); background: #f2f5fa; }
.button-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button-primary:hover { background: #253d70; color: #fff; }
.button svg { width: 17px; height: 17px; }
.button.resource-button { border-color: var(--resource-color); border-radius: 999px; background: var(--resource-color); color: #fff; font-weight: 600; letter-spacing: 0; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.resource-button--arxiv { --resource-color: #6941a5; --resource-hover: #56308e; }
.resource-button--paper { --resource-color: #4c5fac; --resource-hover: #3d4e94; }
.resource-button--code { --resource-color: #316598; --resource-hover: #245481; }
.resource-button--models { --resource-color: #147c85; --resource-hover: #096771; }
.button.resource-button:hover { background: var(--resource-hover); border-color: var(--resource-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 3px 8px #15244d12; }
.hero-actions .resource-button { min-width: 112px; min-height: 42px; padding: 8px 17px; gap: 8px; }
.hero-actions .resource-button svg { width: 18px; height: 18px; stroke-width: 1.8; }
.hero-actions .resource-brand-icon { width: 24px; height: 24px; }
.hero-actions .resource-brand-icon--github { width: 19px; height: 19px; }
.resource-brand-icon { filter: brightness(0) invert(1); }
.resource-row .resource-button { font-size: 13px; letter-spacing: 0; }
.institution-strip { display: flex; align-items: center; justify-content: center; max-width: 960px; margin: 20px auto 15px; gap: 30px; }
.institution { display: flex; align-items: center; justify-content: center; flex: 0 1 var(--institution-width); min-width: 0; min-height: 58px; color: var(--navy); text-decoration: none; border-radius: 4px; }
.institution--xjtu { --institution-width: 185px; }
.institution--iair { --institution-width: 298px; }
.institution--cai { --institution-width: 174px; }
.institution--laboratory { --institution-width: 138px; }
.institution--xjtu img { width: 100%; height: auto; }
.institution-mark { display: block; position: relative; flex: 0 0 auto; overflow: hidden; width: 100%; }
.institution-mark img { position: absolute; top: 0; max-width: none; height: auto; filter: brightness(0); opacity: .82; }
.institution-mark--iair { aspect-ratio: 508 / 70; }
.institution-mark--iair img { width: 163.5827%; left: 0; }
.institution-mark--cai { aspect-ratio: 296 / 70; }
.institution-mark--cai img { width: 280.7432%; left: -180.7432%; }
.institution-mark--hai { aspect-ratio: 600 / 237; }
.institution-mark--hai img { width: 100%; left: 0; filter: none; opacity: 1; }
.institution-name { display: none; }
.stats { display: grid; grid-template-columns: 1fr 1.15fr 1fr; max-width: 1000px; margin: 36px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { padding: 0 24px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dd { color: var(--green); font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.stats dd span { font-size: .85em; }
.stats dt { margin-top: 3px; color: #405376; font-family: var(--serif); font-size: 17px; }
.stats-note { max-width: 900px; margin: 14px auto 0; color: var(--muted); font-size: 12px; }
.section { padding-block: 60px; scroll-margin-top: 24px; }
.section-label { color: var(--green); font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
h2 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -1.2px; }
h3 { font-family: var(--serif); font-size: 23px; line-height: 1.3; font-weight: 700; color: var(--navy); }
h3 span { margin-inline: 3px; }
.abstract-section { padding-top: 0; }
.abstract-content { max-width: 920px; }
.abstract-content h2 { text-align: center; font-size: 36px; }
.abstract-content p { margin-top: 24px; font-size: 17px; line-height: 1.85; }
.method-section { background: var(--blue-wash); }
.system-descriptions { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 27px; }
.system-descriptions p { margin-top: 10px; color: #405376; font-size: 16px; line-height: 1.7; max-width: 490px; }
.framework-figure { margin-top: 29px; }
.figure-button { display: block; position: relative; border: 0; padding: 0; width: 100%; background: transparent; cursor: zoom-in; }
.figure-button > img { width: 100%; }
.framework-figure img { border-radius: 9px; }
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; position: absolute; bottom: 10px; right: 10px; padding: 5px 9px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 3px; color: var(--navy); font: 500 12px/1.4 var(--sans); opacity: 0; transition: opacity .15s; }
.zoom-hint svg { width: 15px; height: 15px; }
.figure-button:hover .zoom-hint, .figure-button:focus-visible .zoom-hint { opacity: 1; }
figcaption { color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 12px; }
details { margin-top: 24px; border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 17px; color: var(--navy); font: 500 15px/1.6 var(--sans); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 17px; height: 17px; transition: transform .15s; }
details[open] summary svg { transform: rotate(180deg); }
details > p { margin-block: 18px; font-size: 15px; color: var(--muted); }
.training-details .figure-button { max-width: 560px; margin: 20px auto 0; }
.results-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; margin-top: 33px; align-items: start; }
.tradeoff-figure { max-width: 590px; }
.results-copy { min-width: 0; padding-top: 5px; }
.results-copy > p { margin-bottom: 17px; line-height: 1.7; }
.results-copy .scope-note { font-size: 14px; color: var(--muted); line-height: 1.7; }
.table-scroll { width: 100%; overflow-x: auto; margin-top: 22px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 0 0 10px; font-size: 14px; font-weight: 600; }
caption span { color: var(--muted); font-weight: 400; }
th, td { border: 1px solid var(--line); padding: 8px 13px; white-space: nowrap; text-align: center; }
thead th { background: var(--green-wash); font-family: var(--serif); font-size: 16px; font-weight: 700; }
tbody th { text-align: left; font-weight: 400; }
tbody td:first-of-type { color: #2f684f; font-weight: 600; }
tbody tr:nth-child(even) { background: #fafbfd; }
.outside-summary th span { color: var(--muted); }
.text-button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 13px 0 7px; font: 500 13px/1.5 var(--sans); cursor: pointer; }
.text-button svg { width: 15px; height: 15px; }
.text-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.table-note { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.scaling-details { margin-top: 30px; }
.scaling-details figure { margin-top: 24px; }
.resources-section { border-top: 1px solid var(--line); }
.resource-list { margin-top: 30px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.resource-row { display: grid; grid-template-columns: 30px 225px 1fr 190px; gap: 16px; align-items: center; padding: 16px 22px; scroll-margin-top: 36px; }
.resource-row + .resource-row { border-top: 1px solid var(--line); }
.resource-row:nth-child(even) { background: #fafbfd; }
.resource-icon { width: 27px; height: 27px; color: #405a87; }
.resource-row h3 { font: 500 15px/1.6 var(--sans); }
.resource-row p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.resource-action { min-height: 38px; padding: 7px 15px; }
.resource-status { display: block; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.5; }
.resource-note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.citation-section { padding-top: 10px; padding-bottom: 48px; }
.citation-box { margin-top: 27px; border: 1px solid var(--line); border-radius: 5px; padding: 18px 20px 15px; }
.citation-line { display: flex; gap: 18px; align-items: flex-start; }
.citation-line code { flex: 1; min-width: 0; background: #f7f9fc; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; font: 13px/1.6 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.citation-line .button { min-height: 39px; padding: 8px 22px; flex: 0 0 auto; }
.citation-box > p { color: var(--muted); font-size: 12px; margin-top: 12px; }
.citation-box .copy-feedback:empty { display: none; }
.citation-box .copy-feedback { color: var(--green); }
.site-footer { border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: #6b7d9c; padding-block: 22px; }
.site-footer span { margin-inline: 5px; }
dialog { border: 0; border-radius: 7px; padding: 22px; width: min(1500px, 95vw); max-height: 94vh; overflow: auto; color: var(--text); }
dialog::backdrop { background: rgba(15,27,48,.68); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.dialog-header h2 { font-size: 25px; letter-spacing: -.5px; }
.dialog-header .button { min-height: 37px; padding: 7px 14px; }
#dialog-image { max-height: 73vh; width: 100%; object-fit: contain; }
.dialog-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
body.dialog-open { overflow: hidden; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .resource-row { grid-template-columns: 26px 170px 1fr 165px; gap: 12px; padding-inline: 16px; }
  .results-layout { gap: 30px; }
  .system-descriptions { gap: 40px; }
  .paper-subtitle { font-size: 28px; }
}
@media (min-width: 1001px) {
  .author-list { display: grid; grid-template-columns: repeat(5, max-content); gap: 4px 12px; width: max-content; max-width: none; }
  .author-list li:not(:last-child)::after { margin-right: 0; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 25px; }
  .container { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 4px; padding-block: 15px 9px; }
  .wordmark { font-size: 27px; }
  .wordmark img { width: 30px; height: 30px; }
  nav { width: 100%; justify-content: center; gap: 24px; font-size: 12px; }
  nav a { padding-block: 8px; }
  .hero { padding-top: 39px; padding-bottom: 38px; }
  .hero-brand { gap: 10px; }
  .hero-icon { width: clamp(44px, 12vw, 68px); }
  h1 { font-size: clamp(44px, 13vw, 76px); letter-spacing: -2.6px; }
  .paper-subtitle { font-size: clamp(17px, 5.5vw, 24px); letter-spacing: -.4px; margin-top: 12px; line-height: 1.4; }
  .mobile-break { display: block; }
  .author-list { font-size: 14px; margin-top: 20px; line-height: 1.7; max-width: 340px; }
  .author-list li:not(:last-child)::after { margin-right: 7px; }
  .affiliation { font-size: 12px; line-height: 1.7; margin-top: 14px; }
  .corresponding-note { font-size: 11px; }
  .contact-note { font-size: 11px; }
  .contact-details { gap: 2px 14px; margin-top: 7px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 300px; margin: 18px auto 0; }
  .hero-actions .resource-button { min-width: 0; min-height: 42px; padding: 8px 13px; font-size: 13px; gap: 7px; }
  .hero-actions .resource-button svg { width: 17px; height: 17px; }
  .hero-actions .resource-brand-icon { width: 24px; height: 24px; }
  .hero-actions .resource-brand-icon--github { width: 18px; height: 18px; }
  .institution-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 370px; margin: 20px auto 12px; gap: 14px 22px; }
  .institution { flex-direction: column; min-height: 72px; gap: 5px; }
  .institution--xjtu img { max-width: 175px; }
  .institution-mark--iair { width: 100px; aspect-ratio: 145 / 70; }
  .institution-mark--iair img { width: 573.1034%; }
  .institution-mark--cai { width: 48px; aspect-ratio: 1; }
  .institution-mark--cai img { width: 1187.1429%; left: -764.2857%; }
  .institution-mark--hai { width: 132px; }
  .institution-name { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
  .stats { margin-top: 36px; grid-template-columns: 1fr; gap: 22px; }
  .stats div { padding: 0; }
  .stats div + div { border-left: 0; }
  .stats dd { font-size: 31px; }
  .stats dt { font-size: 15px; }
  .section { padding-block: 39px; }
  .abstract-section { padding-top: 0; }
  .abstract-content h2 { font-size: 31px; }
  .abstract-content p { font-size: 15px; margin-top: 18px; line-height: 1.8; }
  .section-label { font-size: 15px; }
  h2 { font-size: 33px; letter-spacing: -.8px; line-height: 1.2; }
  h3 { font-size: 22px; }
  .system-descriptions { grid-template-columns: 1fr; gap: 23px; margin-top: 23px; }
  .system-descriptions p { font-size: 15px; }
  .framework-figure { margin-top: 24px; }
  .zoom-hint { opacity: 1; bottom: 4px; right: 4px; font-size: 10px; padding: 3px 5px; }
  .framework-figure .zoom-hint { position: static; margin-top: 9px; }
  .framework-figure figcaption { margin-top: 8px; }
  figcaption { font-size: 12px; }
  summary { font-size: 13px; gap: 12px; }
  .results-layout { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .tradeoff-figure { max-width: 540px; margin-inline: auto; }
  .results-copy { padding-top: 0; font-size: 16px; }
  .results-copy .scope-note { font-size: 13px; }
  .table-scroll { margin-top: 20px; }
  th, td { padding: 8px 12px; }
  .resource-list { margin-top: 25px; }
  .resource-row { grid-template-columns: 25px 1fr; gap: 7px 12px; padding: 17px 16px; }
  .resource-row p { grid-column: 2; font-size: 13px; }
  .resource-icon { grid-row: 1 / span 2; width: 24px; height: 24px; align-self: start; margin-top: 2px; }
  .resource-action, .resource-status { grid-column: 2; justify-self: start; margin-top: 4px; }
  .resource-action { min-width: 130px; }
  .resource-status { text-align: left; font-size: 12px; }
  .resource-note { font-size: 12px; }
  .citation-section { padding-top: 4px; padding-bottom: 34px; }
  .citation-box { padding: 15px; margin-top: 23px; }
  .citation-line { flex-direction: column; align-items: stretch; gap: 12px; }
  .citation-line code { font-size: 12px; }
  .citation-line .button { align-self: flex-start; min-width: 125px; }
  dialog { padding: 15px; width: calc(100vw - 20px); }
  .dialog-header { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .dialog-header h2 { font-size: 21px; }
  .dialog-header .button { padding-inline: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
