@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #30343b;
  --muted: #68717c;
  --accent: #078d87;
  --accent-dark: #06746f;
  --link: #177e91;
  --line: #e0e4e8;
  --soft: #f7f8f9;
  --blue: #426ee2;
  --sans: "Manrope", "Noto Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #8acbc7; outline-offset: 4px; }
::selection { color: #164a49; background: #d7eeeb; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button { border: 0; }
[hidden] { display: none !important; }
main { min-width: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 30; padding: 10px 18px; border-radius: 5px; color: #fff; background: #30343b; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.noscript-note { padding: 16px 24px; background: #fff6e6; color: #6a542c; font-size: 14px; text-align: center; }

/* Academic project header: the complete paper title leads the page. */
.paper-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 27px; min-height: 59px; padding: 15px 24px 12px; color: #68717c; font-size: 13px; }
.paper-nav nav, .paper-nav .nav-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 22px; }
.paper-nav a { color: #68717c; }
.paper-nav a:hover { color: var(--accent-dark); }
.home-link { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.home-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.language-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; padding: 3px 10px; border: 1px solid #dce2e5; border-radius: 5px; background: #fff; color: #57626a; font-size: 12px; line-height: 1.6; }
.language-toggle:hover { border-color: #85bdb8; color: var(--accent-dark); }
.paper-header { width: min(1060px, calc(100% - 48px)); margin: 0 auto; padding: 29px 0 22px; text-align: center; }
.paper-title { max-width: 1000px; margin-inline: auto; color: #34383e; font-family: var(--sans); font-size: 48px; font-weight: 650; font-style: normal; line-height: 1.22; letter-spacing: -1.7px; }
.paper-title .title-brand, .paper-title .brand, .paper-title .paper-brand, .paper-title strong { color: var(--accent); font-weight: 700; }
.paper-title em { color: inherit; font-style: normal; }
.paper-subtitle { max-width: 850px; margin: 19px auto 0; color: #68717c; font-size: 18px; font-weight: 400; line-height: 1.65; }
.author-block { max-width: 960px; margin: 25px auto 0; }
.author-list { display: flex; flex-direction: column; gap: 9px; margin: 0 auto 18px; font-size: 19px; line-height: 1.6; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 23px; }
.author { min-width: 0; }
.author-name { color: var(--accent-dark); white-space: nowrap; }
.author-name sup { margin-left: 3px; font-size: 11px; }
.author-affiliations { font-size: 14px; color: #56616b; line-height: 1.85; }
.author-affiliations p { margin: 0; }
.author-affiliations sup { margin-right: 3px; font-size: 10px; color: var(--accent-dark); }
.affiliation-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 19px; }
.author-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 10px 0 0; font-size: 13px; }
.author-contacts a { color: var(--accent-dark); }
.corresponding-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 9px 0 0; font-size: 12px; color: var(--muted); }
.author-role { display: inline-block; white-space: nowrap; }
@media (max-width: 650px) {
  .author-row { gap: 5px 13px; }
  .author-affiliations { font-size: 12px; }
  .author-name sup { font-size: 9px; }
  .author-contacts { font-size: 12px; gap: 3px 15px; }
  .corresponding-note { font-size: 11px; gap: 3px 12px; }
}
.paper-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 5px; }
.paper-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 19px; border: 1px solid #383c42; border-radius: 999px; background: #383c42; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; transition: background 150ms ease, border-color 150ms ease; }
.paper-button:hover { color: #fff; background: #565b63; border-color: #565b63; text-decoration: none; }
.paper-button svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.paper-button .icon-fill { fill: currentColor; stroke: none; }
.paper-button span[aria-hidden="true"] { font-size: 17px; line-height: 1; }
.paper-teaser { width: min(1000px, calc(100% - 48px)); margin: 14px auto 0; padding: 0 0 36px; }
.paper-teaser > a { display: block; }
.paper-teaser img, .paper-teaser > svg { width: 100%; max-width: 920px; height: auto; margin-inline: auto; }
.paper-teaser figcaption, .paper-teaser > p { max-width: 920px; margin: 19px auto 0; color: #535b65; font-size: 15px; line-height: 1.8; text-align: center; }
.paper-teaser figcaption strong { color: #323b45; font-weight: 650; }

/* Reading width and typography follow the paper rather than a product grid. */
.paper-section { width: min(1000px, calc(100% - 48px)); margin-inline: auto; padding: 46px 20px; }
.paper-section.narrow { width: min(820px, calc(100% - 48px)); }
.paper-section + .paper-section { border-top: 1px solid #f0f1f3; }
.section-title { margin-bottom: 24px; color: #3c4046; font-family: var(--sans); font-size: 32px; font-weight: 650; font-style: normal; line-height: 1.35; letter-spacing: -.6px; text-align: center; }
.section-title em { color: inherit; font-family: inherit; font-style: normal; font-weight: inherit; }
.paper-section h3 { color: #414750; font-size: 21px; font-weight: 650; line-height: 1.5; letter-spacing: -.25px; }
.paper-section > h3 { margin-top: 32px; margin-bottom: 15px; }
.paper-abstract { color: #505760; font-size: 16px; line-height: 1.95; text-align: justify; text-wrap: pretty; }
.paper-abstract p + p { margin-top: 16px; }
.paper-abstract strong { color: #3a444e; font-weight: 650; }
.paper-highlights { margin: 24px 0 0; padding-left: 22px; color: #535d67; font-size: 16px; line-height: 1.9; }
.paper-highlights li + li { margin-top: 9px; }
.paper-highlights li::marker { color: var(--accent); }
.paper-highlights strong { color: #3e4954; font-weight: 650; }
.section-description { max-width: 900px; margin: 0 auto 26px; color: #5c6570; font-size: 16px; line-height: 1.9; }
.section-description p + p { margin-top: 14px; }
.section-note { margin-top: 17px; color: #68717c; font-size: 13px; line-height: 1.8; }
.section-note strong { color: #5d6670; font-weight: 650; }
.paper-figure { margin-block: 25px 28px; }
.paper-figure img, .paper-figure svg { width: 100%; height: auto; margin-inline: auto; }
.paper-figure figcaption { margin-top: 16px; color: #6b747e; font-size: 14px; line-height: 1.8; text-align: left; }
.paper-figure figcaption strong { color: #515b67; font-weight: 650; }
.method-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 28px 0 22px; }
.method-summary article { min-width: 0; }
.method-summary h3 { margin-bottom: 9px; font-size: 17px; line-height: 1.55; }
.method-summary p { color: #68717a; font-size: 15px; line-height: 1.85; }
.method-summary .step-number { display: inline; margin-right: 6px; color: var(--accent-dark); font-size: 16px; font-weight: 650; }
.paper-equation { margin: 30px 0 18px; color: #424c57; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.8; font-style: italic; text-align: center; }
.paper-equation small { display: block; margin-top: 5px; color: #68717c; font-family: var(--sans); font-size: 13px; font-style: normal; line-height: 1.8; }
.integration-figure { max-width: 820px; margin-inline: auto; }
.interactive-details { margin-top: 28px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.interactive-details > summary { color: #4b6369; font-size: 15px; font-weight: 600; cursor: pointer; }
.interactive-details > summary::marker { color: var(--accent); }
.interactive-details .signal-explorer { margin-top: 0; border-top: 0; }
.interactive-details .result-panel { margin-top: 22px; border: 0; padding-top: 0; padding-bottom: 0; }
.table-scroll:focus-visible, .transfer-table-wrap:focus-visible { outline: 3px solid #8acbc7; outline-offset: 4px; }

/* Optional numerical illustration uses the same reward calculation as before. */
.signal-explorer { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 30px; padding: 28px 0 14px; border-top: 1px solid var(--line); }
.explorer-copy { align-self: center; min-width: 0; }
.explorer-copy h3 { margin-bottom: 12px; font-size: 18px; }
.explorer-copy > p { color: #6a747e; font-size: 15px; line-height: 1.8; }
.formula { margin-block: 20px 12px; color: #3b635e; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-style: italic; line-height: 1.7; }
.small-note, .explorer-copy .small-note { color: #68717c; font-size: 13px; line-height: 1.8; }
.explorer-controls { min-width: 0; }
.control-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; color: #5d6874; font-size: 14px; font-weight: 550; }
.control-heading output { color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.control-help { margin-top: 8px; color: #68717c; font-size: 13px; line-height: 1.7; }
input[type="range"] { width: 100%; height: 4px; margin: 18px 0 8px; border-radius: 4px; background: #d8e5e3; accent-color: var(--accent); cursor: ew-resize; }
.outcome-selector { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; padding: 3px; border: 1px solid #dde4e3; border-radius: 6px; background: #f5f7f7; }
.outcome-selector button { padding: 7px 12px; border-radius: 4px; background: transparent; color: #68717c; font-size: 12px; line-height: 1.5; }
.outcome-selector button[aria-pressed="true"] { background: #e3efec; color: #26766e; }
.signal-chart { position: relative; height: 154px; margin-top: 30px; }
.signal-zero-line { position: absolute; top: 55px; left: 0; right: 0; border-top: 1px solid #d4dedc; }
.signal-bars { position: relative; display: flex; align-items: stretch; justify-content: space-around; height: 140px; padding-inline: 8px; }
.signal-bar-wrap { position: relative; flex: 0 0 35px; width: 35px; height: 140px; }
.signal-bar { position: absolute; left: 4px; width: 28px; border-radius: 3px; background: #4a9b8d; transition: height 220ms ease, top 220ms ease, background 220ms ease; }
.signal-bar.negative { background: var(--accent); }
.signal-bar-value { position: absolute; left: -7px; width: 50px; color: #68717c; font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.5; text-align: center; transition: top 220ms ease; }
.signal-bar-value.negative { color: var(--accent-dark); }
.signal-bar-label { position: absolute; left: -11px; bottom: 0; width: 58px; color: #68717c; font-size: 12px; text-align: center; }
.signal-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 9px; padding-top: 12px; border-top: 1px solid #e2e8e6; color: #68717c; font-size: 13px; line-height: 1.7; }
.signal-summary output { color: var(--accent-dark); font-weight: 650; font-variant-numeric: tabular-nums; }

/* Results retain interactive metric switches within a plain paper-like frame. */
.result-panel { min-width: 0; padding: 25px 0 20px; border-top: 1px solid #d9dfe4; border-bottom: 1px solid #d9dfe4; background: #fff; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.metric-selector { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid #e1e5e8; border-radius: 6px; background: #f7f8f9; }
.metric-selector button { padding: 8px 12px; border-radius: 4px; background: transparent; color: #68717c; font-size: 13px; font-weight: 550; line-height: 1.5; }
.metric-selector button[aria-pressed="true"] { background: #e5eeec; color: #28766d; }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: #68717c; font-size: 13px; line-height: 1.5; }
.chart-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.dot-ppo, .dot-attnsr { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b1bdca; }
.dot-attnsr { background: #3d9b90; }
.chart-caption-row { display: flex; justify-content: space-between; gap: 15px; margin-top: 25px; padding-bottom: 15px; border-bottom: 1px solid #ebedf0; color: #68717c; font-size: 12px; line-height: 1.6; }
.benchmark-chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 29px; padding-block: 27px 24px; }
.benchmark-card { min-width: 0; }
.benchmark-card + .benchmark-card { padding-left: 29px; border-left: 1px solid #e8ecf0; }
.benchmark-card h3 { color: #4d5762; font-size: 16px; font-weight: 650; line-height: 1.5; }
.benchmark-meta { margin-top: 5px; color: #68717c; font-size: 12px; line-height: 1.6; }
.benchmark-bars { display: grid; gap: 18px; margin-top: 22px; }
.benchmark-bar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #68717c; font-size: 12px; }
.benchmark-bar-head strong { color: #68717c; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.benchmark-bar-head .attnsr-value, .attnsr-value { color: #20796e; }
.benchmark-bar-track { overflow: hidden; height: 9px; border-radius: 2px; background: #f0f3f5; }
.benchmark-bar-fill { height: 100%; border-radius: 2px; background: #b7c2cd; transition: width 320ms ease; }
.benchmark-bar-fill.attnsr { background: #4a9f93; }
.benchmark-delta { margin-top: 17px; color: #397a6f; font-size: 12px; line-height: 1.65; }
.benchmark-delta.mixed { color: #896349; }
.chart-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid #e9edf0; color: #68717c; font-size: 12px; line-height: 1.8; }
.chart-bottom a { flex: 0 0 auto; }
.finding-strip { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; color: #68717c; font-size: 14px; line-height: 1.9; }
.finding-marker { flex: 0 0 18px; color: #4d7d72; font-size: 18px; line-height: 1.6; }
.finding-strip strong { color: #56616b; font-weight: 650; }
.loading-message { grid-column: 1 / -1; color: #68717c; font-size: 14px; }

/* Tables stay tables: sensible row spacing, quiet rules, no card wrappers. */
.table-scroll { overflow-x: auto; width: 100%; margin: 26px 0 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.data-table, .transfer-table { width: 100%; border-collapse: collapse; color: #626d79; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.7; }
.data-table caption, .transfer-table caption { margin-bottom: 12px; color: #68717c; font-size: 13px; line-height: 1.7; text-align: left; }
.data-table th, .transfer-table th { padding: 11px 13px; border-top: 1.5px solid #aeb8c3; border-bottom: 1px solid #dce2e8; color: #53606d; font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; }
.data-table td, .transfer-table td { padding: 12px 13px; border-bottom: 1px solid #e6e9ed; text-align: right; }
.data-table tr:last-child td, .transfer-table tr:last-child td { border-bottom: 1.5px solid #aeb8c3; }
.data-table tbody th { border-top: 0; border-bottom: 1px solid #e6e9ed; font-size: inherit; }
.data-table tbody tr:last-child th { border-bottom: 1.5px solid #aeb8c3; }
.data-table th:first-child, .data-table td:first-child, .transfer-table th:first-child, .transfer-table td:first-child { text-align: left; }
.data-table strong, .transfer-table strong, .data-table .enhanced, .transfer-table .enhanced { color: #167e75; font-weight: 650; }
.data-table .group-start td { border-top: 1px solid #bbc6d1; }
.data-table .highlight { background: #f5faf8; }
.transfer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: start; margin-top: 40px; }
.transfer-copy { min-width: 0; }
.transfer-copy h3 { margin-bottom: 13px; }
.transfer-copy p { color: #68717c; font-size: 15px; line-height: 1.85; }
.transfer-copy details { margin-top: 17px; }
.transfer-copy summary { cursor: pointer; color: #416e65; font-size: 14px; line-height: 1.7; }
.transfer-copy details p { margin-top: 12px; font-size: 13px; }
.transfer-table-wrap { min-width: 0; overflow-x: auto; }
.transfer-table th { padding-inline: 9px; font-size: 12px; }
.transfer-table td { padding-inline: 9px; font-size: 14px; }
.transfer-table td small { display: block; margin-top: 2px; color: #68717c; font-size: 12px; }
.transfer-table td:last-child { color: #20796e; }

/* Extended evidence keeps the same paper typography and shared chart colors. */
.results-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: -3px 0 32px; font-size: 13px; }
.results-nav a { color: #4d7776; }
#results > .subsection-title:not(:first-of-type) { margin-top: 48px; padding-top: 24px; border-top: 1px solid #edf0f2; }
.budget-note { margin-top: 6px; }
.method-results-figure { margin: 27px 0 0; }
.method-results-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: #68717c; font-size: 13px; }
.method-comparison-chart { padding: 12px 0 0; }
.method-comparison-chart img { width: 100%; height: auto; }
.scale-note { color: #68717c; font-size: 12px; line-height: 1.8; }
.control-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.control-grid > div { min-width: 0; }
.control-grid .table-scroll { margin-top: 0; }
.control-grid .data-table th, .control-grid .data-table td { padding-inline: 9px; }
.control-grid .data-table tbody th { white-space: normal; }
.control-grid .section-note { margin-top: 13px; }
.trajectory-table .benchmark-group { vertical-align: middle; text-align: left; background: #fff; border-bottom: 1px solid #bfc9d2; }
.benchmark-group small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.trajectory-table th.trajectory-method { text-align: left; font-weight: 500; }
.trajectory-table .group-start th, .trajectory-table .group-start td { border-top: 1px solid #bfc9d2; }
.trajectory-insight { margin-top: 22px; padding: 16px 20px; border-left: 3px solid #7bb6b0; background: #f6f9f9; color: #56636b; font-size: 14px; line-height: 1.85; }
.trajectory-insight strong { color: #416c66; font-weight: 650; }
.supplementary-results { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.supplementary-results > h3 { margin-bottom: 18px; }
.results-tabs { display: flex; gap: 3px; overflow-x: auto; padding: 0 0 1px; border-bottom: 1px solid #d6dee4; scrollbar-width: thin; }
.results-tabs button { flex: 1 0 auto; padding: 11px 15px; border-bottom: 2px solid transparent; background: transparent; color: #68717c; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.results-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent-dark); font-weight: 700; background: #f0f7f6; }
.result-tab-panel { padding: 22px 0 0; }
.result-tab-panel:focus-visible { outline: 2px solid #8acbc7; outline-offset: 6px; }
.paper-section .result-tab-panel h3 { margin: 0 0 12px; font-size: 18px; }
.result-tab-panel .section-description { margin-bottom: 18px; font-size: 14px; line-height: 1.8; }
.result-tab-panel .data-table th, .result-tab-panel .data-table td { padding-block: 8px; }
.result-tab-panel .table-scroll { margin-top: 16px; }
.result-tab-panel .section-note { margin-top: 12px; font-size: 12px; }
.result-tab-panel > .interactive-details { margin-top: 0; padding-top: 0; border: 0; }
.result-tab-panel > .interactive-details > summary { font-size: 14px; }
.result-tab-panel .trajectory-insight { margin-top: 15px; padding: 12px 16px; font-size: 13px; }
#results .paper-highlights { font-size: 14px; line-height: 1.8; }
#results .paper-highlights li + li { margin-top: 5px; }
#results > .section-description { font-size: 15px; line-height: 1.8; margin-bottom: 21px; }
#results .main-table th, #results .main-table td { padding-block: 9px; }

@media (max-width: 720px) {
  .control-grid { grid-template-columns: 1fr; gap: 27px; }
}
@media (max-width: 420px) {
  .results-nav { gap: 7px 18px; font-size: 12px; }
  .method-results-figure figcaption { font-size: 12px; }
}

.curve-selector { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 25px; padding: 3px; border: 1px solid #e0e5e9; border-radius: 6px; background: #f7f8f9; }
.curve-selector button { padding: 9px 16px; border-radius: 4px; background: transparent; color: #68717c; font-size: 14px; line-height: 1.5; }
.curve-selector button[aria-pressed="true"] { color: #246e65; background: #e6efec; }
.learning-figure { margin: 22px 0 0; padding: 0; }
.learning-figure img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.learning-figure figcaption { margin-top: 18px; color: #68717c; font-size: 14px; line-height: 1.8; }
.curve-data-link { display: inline-block; margin-top: 10px; font-size: 13px; }
.research-note { display: flex; gap: 13px; margin-top: 28px; padding: 18px 0 0; border-top: 1px solid #e7ebed; color: #68717c; font-size: 14px; line-height: 1.9; }
.research-note strong { color: #616d78; font-weight: 650; }
.note-icon { flex: 0 0 16px; margin-top: 2px; color: #4d7d72; font-family: Georgia, serif; font-size: 19px; line-height: 1.4; font-style: italic; }

.paper-resources, .resource-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.repository-link { display: block; width: fit-content; max-width: 100%; margin: 22px auto 0; font-size: 15px; text-align: center; }
.citation-note { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.citation-code { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: #46545e; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.citation-code:focus-visible { outline: 3px solid #8acbc7; outline-offset: 4px; }
.citation-code code { font: inherit; }
.paper-footer, footer { width: min(960px, calc(100% - 48px)); margin: 22px auto 0; padding: 28px 0 35px; border-top: 1px solid #eceef1; color: #68717c; font-size: 13px; line-height: 1.8; text-align: center; }
.paper-footer p + p, footer p + p { margin-top: 7px; }
.paper-footer a, footer a { color: #68717c; }
.footer-brand { color: #637674; font-weight: 650; }

html[lang="zh-CN"] { font-feature-settings: normal; }
html[lang="zh-CN"] .paper-title { font-size: 43px; line-height: 1.35; letter-spacing: -.8px; }
html[lang="zh-CN"] .paper-subtitle { font-size: 17px; }
html[lang="zh-CN"] .section-title { font-size: 30px; letter-spacing: 0; }
html[lang="zh-CN"] .paper-abstract { text-align: left; line-height: 2; }
html[lang="zh-CN"] .section-description { line-height: 1.95; }

@media (max-width: 1050px) {
  .paper-title { font-size: 44px; letter-spacing: -1.3px; }
  .paper-header { width: calc(100% - 64px); padding-top: 26px; }
  .paper-teaser { width: calc(100% - 64px); }
  .paper-section { width: calc(100% - 48px); padding-inline: 12px; }
  .benchmark-chart { gap: 22px; }
  .benchmark-card + .benchmark-card { padding-left: 22px; }
}

@media (max-width: 800px) {
  .paper-nav { gap: 12px 21px; }
  .paper-title { font-size: 38px; letter-spacing: -.9px; }
  .paper-header { padding-top: 22px; }
  .paper-subtitle { font-size: 17px; }
  .paper-section, .paper-section.narrow { width: calc(100% - 48px); padding: 38px 0; }
  .section-title { font-size: 29px; }
  .paper-teaser { width: calc(100% - 48px); padding-bottom: 27px; }
  .paper-teaser figcaption, .paper-teaser > p { font-size: 14px; }
  .method-summary { gap: 22px; }
  .method-summary h3 { font-size: 16px; }
  .method-summary p { font-size: 14px; }
  .signal-explorer { gap: 29px; }
  .result-toolbar { align-items: flex-start; flex-direction: column; gap: 17px; }
  .metric-selector { width: fit-content; max-width: 100%; }
  .benchmark-chart { gap: 20px; }
  .benchmark-card + .benchmark-card { padding-left: 20px; }
  .benchmark-card h3 { font-size: 15px; }
  .benchmark-meta { font-size: 11px; }
  .chart-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .transfer-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
  .transfer-copy p { font-size: 16px; }
  .transfer-table th, .transfer-table td { padding-inline: 12px; }
  .transfer-table th { font-size: 13px; }
  html[lang="zh-CN"] .paper-title { font-size: 36px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .paper-nav { min-height: 54px; gap: 8px 16px; padding: 12px 18px 9px; font-size: 12px; }
  .paper-nav nav, .paper-nav .nav-links { gap: 15px; }
  .language-toggle { min-height: 28px; padding: 3px 8px; font-size: 11px; }
  .paper-header { width: calc(100% - 36px); padding-top: 24px; padding-bottom: 17px; }
  .paper-title { font-size: clamp(28px, 7.65vw, 36px); line-height: 1.28; letter-spacing: -.7px; overflow-wrap: break-word; }
  .title-break { display: none; }
  .paper-subtitle { margin-top: 15px; font-size: 16px; line-height: 1.7; }
  .author-list { gap: 5px 13px; margin-top: 18px; font-size: 16px; }
  .paper-links { gap: 8px; margin-top: 22px; }
  .paper-button { min-height: 40px; padding: 9px 15px; font-size: 14px; }
  .paper-button svg { width: 15px; height: 15px; flex-basis: 15px; }
  .paper-teaser { width: calc(100% - 28px); margin-top: 14px; padding-bottom: 24px; }
  .paper-teaser figcaption, .paper-teaser > p { margin-top: 13px; padding-inline: 5px; font-size: 13px; line-height: 1.8; text-align: left; }
  .paper-section, .paper-section.narrow { width: calc(100% - 40px); padding-block: 34px; padding-inline: 0; }
  .section-title { margin-bottom: 20px; font-size: 28px; line-height: 1.35; letter-spacing: -.4px; }
  .paper-abstract { font-size: 16px; line-height: 1.9; text-align: left; }
  .section-description { margin-bottom: 23px; font-size: 16px; line-height: 1.85; }
  .paper-highlights { padding-left: 20px; font-size: 16px; line-height: 1.85; }
  .paper-highlights li + li { margin-top: 13px; }
  .section-note { font-size: 13px; line-height: 1.8; }
  .paper-figure { margin-block: 22px 24px; }
  .paper-figure figcaption { margin-top: 13px; font-size: 13px; line-height: 1.8; }
  .method-summary { grid-template-columns: 1fr; gap: 24px; margin-block: 24px; }
  .method-summary h3 { margin-bottom: 7px; font-size: 18px; }
  .method-summary p { font-size: 16px; line-height: 1.85; }
  .paper-equation { margin-top: 25px; font-size: 22px; letter-spacing: -.15px; }
  .paper-equation small { font-size: 13px; }
  .signal-explorer { grid-template-columns: 1fr; gap: 27px; margin-top: 26px; padding-top: 25px; }
  .explorer-copy h3 { font-size: 19px; }
  .explorer-copy > p { font-size: 16px; }
  .formula { font-size: 23px; }
  .control-heading { font-size: 15px; }
  .control-help, .small-note, .explorer-copy .small-note { font-size: 13px; }
  .outcome-selector button { font-size: 13px; padding: 7px 11px; }
  .signal-bars { padding-inline: 0; }
  .signal-summary { font-size: 13px; }
  .result-panel { padding-top: 20px; padding-bottom: 17px; }
  .result-toolbar { gap: 15px; }
  .metric-selector { width: 100%; }
  .metric-selector button { flex: 1; padding: 8px 7px; font-size: 12px; }
  .chart-legend { gap: 17px; font-size: 13px; }
  .chart-caption-row { flex-direction: column; gap: 5px; margin-top: 21px; padding-bottom: 15px; font-size: 12px; }
  .benchmark-chart { grid-template-columns: 1fr; gap: 24px; padding-block: 23px; }
  .benchmark-card + .benchmark-card { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid #e7ebef; }
  .benchmark-card h3 { font-size: 18px; }
  .benchmark-meta { font-size: 13px; }
  .benchmark-bars { gap: 18px; margin-top: 18px; }
  .benchmark-bar-head { font-size: 14px; }
  .benchmark-bar-head strong { font-size: 16px; }
  .benchmark-bar-track { height: 10px; }
  .benchmark-delta { margin-top: 15px; font-size: 13px; }
  .chart-bottom { font-size: 13px; }
  .finding-strip { gap: 8px; font-size: 14px; }
  .finding-marker { flex-basis: 15px; font-size: 17px; }
  .paper-section h3 { font-size: 20px; }
  .transfer-grid { margin-top: 31px; gap: 21px; }
  .transfer-copy p { font-size: 16px; }
  .transfer-copy details p { font-size: 14px; }
  .transfer-table th, .transfer-table td { padding: 11px 6px; }
  .transfer-table th { font-size: 11px; }
  .transfer-table td { font-size: 13px; }
  .transfer-table td small { font-size: 12px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 11px; }
  .data-table th { font-size: 12px; }
  .data-table caption, .transfer-table caption { font-size: 13px; }
  .curve-selector { width: 100%; margin-bottom: 20px; }
  .curve-selector button { flex: 1; padding: 9px 12px; font-size: 13px; }
  .learning-figure { margin-top: 19px; }
  .learning-figure figcaption { margin-top: 13px; font-size: 13px; }
  .research-note { gap: 10px; margin-top: 24px; font-size: 14px; }
  .note-icon { flex-basis: 14px; }
  .paper-footer, footer { width: calc(100% - 40px); margin-top: 13px; padding-block: 25px 31px; font-size: 13px; }
  html[lang="zh-CN"] .paper-title { font-size: clamp(27px, 7.25vw, 34px); line-height: 1.4; letter-spacing: 0; }
  html[lang="zh-CN"] .paper-subtitle { font-size: 16px; }
  html[lang="zh-CN"] .section-title { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .paper-nav, .paper-links, .skip-link, .curve-selector, .language-toggle { display: none; }
  .paper-header, .paper-teaser, .paper-section, .paper-section.narrow { width: 100%; padding-inline: 0; }
  .paper-header { padding-top: 10px; }
  .paper-title { font-size: 30pt; }
  .paper-section { padding-block: 20px; }
  .section-title { font-size: 22pt; }
  .paper-teaser, .paper-figure, .learning-figure, .data-table, .signal-explorer { break-inside: avoid; }
  .result-panel { box-shadow: none; }
  .table-scroll { overflow: visible; }
  .results-tabs { display: none; }
  .result-tab-panel[hidden] { display: block !important; }
  a { color: inherit; }
}
.walk-teaser { padding-bottom: 8px; }
.walk-teaser .method-walkthrough { margin-top: 0; }
.overview-figure { max-width: 920px; margin-inline: auto; }
