:root {
  --bg: #fff;
  --ink: #202529;
  --muted: #5b6268;
  --accent: #206b74;
  --accent-dark: #18545c;
  --accent-soft: #edf4f5;
  --line: #e1e5e7;
  --panel: #f7f8f9;
  --aggregate: #f2f3f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.reading-width { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 48px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 18px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; color: white; }
.hero { padding-block: 48px 32px; text-align: center; }
.hero h1 { max-width: 1000px; margin: 0 auto; font-size: 48px; font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 14px; row-gap: 5px; max-width: 1040px; margin: 23px auto 8px; font-size: 20px; font-weight: 500; }
.authors > span { white-space: nowrap; }
.authors a { color: #245e9b; }
.authors a:hover { color: var(--accent); }
.authors sup, .affiliations sup { margin-left: 2px; color: var(--muted); font-size: .63em; vertical-align: super; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 19px; row-gap: 3px; margin: 0; color: var(--muted); font-size: 16.5px; }
.author-note { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.resource-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.resource-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 15.5px; font-weight: 600; line-height: 1.6; transition: background .15s, border-color .15s; }
.resource-link:hover { border-color: var(--accent); background: var(--accent); color: white; text-decoration: none; }
.resource-link:disabled, .resource-link[aria-disabled="true"] { cursor: default; border-color: #edf0f1; background: #edf0f1; color: #596168; }
.resource-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.arxiv-icon { font-family: Georgia, serif; font-size: 17px; line-height: 1; }
.abstract-section { padding-block: 40px 44px; }
.section-heading { margin-bottom: 26px; }
.section-heading h2, .abstract-section h2, .citation-heading h2 { margin: 0 0 14px; font-size: 34px; font-weight: 650; line-height: 1.25; letter-spacing: -.022em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.abstract-section > p { margin-block: 0 18px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.abstract-section > p:last-child { margin-bottom: 0; }
.abstract-section strong, .section-heading strong { color: var(--ink); font-weight: 650; }
.method-section, .results-section, .citation-section { border-top: 1px solid var(--line); }
.method-section > p { color: var(--muted); }
.inline-math { white-space: nowrap; font-family: "Cambria Math", Georgia, serif; }
.equation-line { display: grid; grid-template-columns: max-content max-content; justify-content: center; align-items: center; gap: 14px 20px; margin-block: 26px; padding-block: 10px; overflow-x: auto; color: var(--ink); font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: 25px; line-height: 1.8; }
.equation-line sub, .equation-line sup { font-size: .65em; }
.equation-line math { max-width: none; font-size: 1em; }
.equation-line .equation-label { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; text-align: right; white-space: nowrap; }
.optimization-objective { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-block: 26px; padding-block: 10px; color: var(--ink); font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: 25px; line-height: 1.8; }
.optimization-objective math { max-width: none; font-size: 1em; }
.optimization-constraint { display: flex; align-items: center; gap: 16px; }
.optimization-constraint > span { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; white-space: nowrap; }
.method-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: method; margin: 30px 0 38px; padding: 0; }
.method-flow li { counter-increment: method; padding-top: 12px; border-top: 2px solid var(--line); }
.method-flow li::before { content: counter(method, decimal-leading-zero); display: block; margin-bottom: 5px; color: var(--accent); font-size: 13px; font-weight: 700; }
.method-flow strong { font-size: 17px; font-weight: 650; }
.method-flow p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.method-section > h3 { margin: 30px 0 10px; font-size: 24px; font-weight: 650; line-height: 1.35; }
.theory-note { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.theory-note strong { color: var(--ink); font-weight: 650; }
.utility-visual { margin: 28px auto; }
.utility-visual svg { display: block; width: 100%; height: auto; }
.utility-visual figcaption { max-width: 860px; }
.result-panel + .result-panel { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.result-intro { margin-bottom: 23px; }
.result-intro h3 { margin: 0 0 9px; font-size: 28px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.result-intro p { margin: 0; color: var(--muted); font-size: 17px; }
.table-scroll { position: relative; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; background: white; }
.results-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: right; font-size: 14.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.math-table, .forward-table { min-width: 1040px; }
.method-column { width: 150px; }
.aggregate-column { width: 104px; }
.results-table caption { margin-bottom: 14px; text-align: left; color: var(--muted); font-size: 15px; }
.results-table th, .results-table td { padding: 11px 8px; border-bottom: 1px solid #eceff0; vertical-align: middle; }
.results-table thead th { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: white; color: var(--muted); font-size: 13px; font-weight: 600; white-space: normal; }
.results-table th[scope="row"], .results-table thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; background: white; }
.results-table th[scope="row"] { font-weight: 500; }
.results-table td { white-space: nowrap; }
.results-table .model-group th { padding: 20px 10px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; font-size: 15px; font-weight: 650; }
.results-table .model-name { position: sticky; left: 10px; display: block; width: max-content; max-width: calc(100vw - 54px); white-space: normal; }
.results-table .reference-row { color: var(--muted); }
.results-table .aggregate-col { border-left: 1px solid var(--line); background: var(--aggregate); }
.results-table .score-mean strong { font-weight: 750; }
.results-table .score-std { color: var(--muted); font-size: 11.5px; font-weight: 400; }
.results-table .second-best { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.results-table .fuw-row > * { background: var(--accent-soft); }
.results-table .fuw-row th { color: var(--accent); font-weight: 650; }
.results-table .fuw-row .aggregate-col { background: #e4edef; }
.table-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.table-note strong { color: var(--ink); font-weight: 650; }
.evaluation-details, .implementation-details { margin-top: 29px; border-block: 1px solid var(--line); font-size: 16px; }
.evaluation-details summary, .implementation-details summary { padding: 15px 0; cursor: pointer; font-weight: 600; }
.evaluation-details > div, .implementation-details > div { padding: 0 0 14px; color: var(--muted); }
.evaluation-details p, .implementation-details p { margin: 9px 0; }
.agreement-section { border-top: 1px solid var(--line); }
.paper-figure { margin: 30px 0 0; }
.paper-figure img, .paper-figure svg { display: block; width: 100%; height: auto; background: white; }
figcaption { max-width: 1000px; margin: 12px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
figcaption strong { color: var(--ink); font-weight: 650; }
.citation-section { padding-block: 40px 48px; }
.citation-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 22px; }
.citation-heading h2 { margin: 0; font-size: 30px; }
.copy-button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.copy-button:hover { border-color: var(--accent); color: var(--accent); }
.copy-button:disabled { cursor: wait; }
.citation, pre.citation { margin: 0; padding: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font-size: 14px; line-height: 1.7; }
.citation pre { margin: 0; font-size: inherit; }
.citation code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--ink); }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 23px; }

@media (max-width: 680px) {
  .wrap, .reading-width { width: calc(100% - 34px); }
  .section { padding-block: 36px; }
  .hero { padding-block: 36px 24px; }
  .hero h1 { font-size: 30px; }
  .authors { column-gap: 13px; margin-top: 20px; font-size: 18px; }
  .affiliations { column-gap: 12px; font-size: 16px; }
  .author-note { font-size: 13px; }
  .resource-links { gap: 8px; margin-top: 18px; }
  .resource-link { padding: 9px 13px; font-size: 15px; }
  .abstract-section { padding-block: 32px 36px; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2, .abstract-section h2 { font-size: 26px; }
  .section-heading > p:last-child { font-size: 17px; }
  .equation-line { gap: 12px; font-size: 21px; }
  .equation-line .equation-label { font-size: 13px; }
  .optimization-objective { flex-direction: column; gap: 14px; font-size: 21px; }
  .optimization-constraint { gap: 12px; }
  .optimization-constraint > span { font-size: 13px; }
  .method-flow { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .method-flow li { padding-top: 9px; }
  .method-flow li::before { display: inline-block; margin: 0 10px 0 0; }
  .method-flow p { margin-left: 29px; font-size: 16px; }
  .method-section > h3 { font-size: 21px; }
  .theory-note { font-size: 15px; }
  .result-panel + .result-panel { margin-top: 32px; padding-top: 28px; }
  .result-intro h3 { font-size: 24px; }
  .result-intro p { font-size: 16px; }
  .method-column { width: 96px; }
  .aggregate-column { width: 94px; }
  .results-table .aggregate-col { padding-inline: 4px; }
  .results-table .model-name { left: 9px; max-width: calc(100vw - 52px); }
  figcaption { font-size: 15px; }
  .citation-heading { gap: 10px; }
  .citation-heading h2 { font-size: 26px; }
  .citation, pre.citation { padding: 16px; font-size: 13px; }
  .footer-inner { flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding-block: 24px; }
  .footer-inner > div { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
