:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #28332d;
  --muted: #68736c;
  --green: #356b58;
  --green-dark: #244e3e;
  --purple: #8b77a2;
  --baseline: #c4b8d2;
  --line: #dfe3dc;
  --width: 1160px;
  --reading-width: 780px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
sub { font-size: .68em; line-height: 0; vertical-align: -.25em; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 40; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { height: 61px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 650; letter-spacing: -.5px; white-space: nowrap; }
.brand img { width: 29px; height: 29px; }
.nav-links { display: flex; gap: 25px; color: var(--muted); font-size: 12px; }
.nav-links a { padding-block: 19px; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="location"] { color: var(--green-dark); }
.nav-links a[aria-current="location"]::after { content: ""; position: absolute; height: 2px; background: var(--green); bottom: 0; inset-inline: 0; }
.hero { padding-block: 45px 28px; text-align: center; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(32px, 3.35vw, 48px); line-height: 1.24; letter-spacing: -1.3px; }
.title-line { display: block; }
.title-line > img { display: inline-block; width: .92em; height: .92em; vertical-align: -.1em; margin-right: .2em; }
.paper-name { color: var(--green); white-space: nowrap; }
.paper-name > span { color: var(--purple); }
.hero-lead { font-size: 18px; line-height: 1.5; color: var(--muted); margin-top: 18px; }
.paper-credits { margin-top: 25px; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 25px; list-style: none; padding: 0; margin: 0; font-size: 18px; line-height: 1.75; }
.author-row li { white-space: nowrap; }
.paper-credits sup { font-size: .67em; line-height: 0; vertical-align: super; margin-left: 2px; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; max-width: 900px; padding: 0; margin: 15px auto 0; list-style: none; font-size: 14px; line-height: 1.6; color: #535f56; }
.affiliations li { white-space: nowrap; }
.author-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 25px; color: var(--muted); font-size: 12px; margin-top: 9px; }
.author-emails { display: grid; gap: 6px; margin: 20px auto 0; color: var(--green-dark); font-size: clamp(12px, 3.5vw, 16px); font-weight: 500; line-height: 1.8; }
.author-emails p { display: flex; justify-content: center; gap: clamp(12px, 3vw, 24px); }
.author-emails a { white-space: nowrap; text-decoration: underline; text-decoration-color: #98b5a8; text-underline-offset: 4px; }
.author-emails a:hover { color: var(--green); text-decoration-color: currentColor; }
.institution-logos { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 23px; }
.institution-logo { display: flex; align-items: center; justify-content: center; width: 65px; height: 56px; }
.institution-logo img { width: auto; height: 55px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.institution-nus, .institution-ntu { width: 153px; }
.institution-nus img, .institution-ntu img { width: 100%; height: auto; max-height: 56px; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.resource { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 16px; border: 1px solid #cad3c7; background: transparent; border-radius: 4px; color: #405346; font-size: 12px; font-weight: 600; opacity: 1; }
.resource svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.availability { padding-left: 9px; border-left: 1px solid var(--line); font-weight: 400; font-size: 10px; color: var(--muted); }
.demo-section { margin-block: 8px 20px; }
#demo-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f5f3ee; border: 1px solid var(--line); border-radius: 4px; }
.demo-section figcaption { margin-top: 9px; font-size: 12px; color: var(--muted); text-align: center; }
.section { padding-block: 50px; }
.section + .section { border-top: 0; }
.section-heading { width: min(var(--reading-width), 100%); margin: 0 auto 30px; text-align: left; }
h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.18; font-weight: 400; letter-spacing: -.65px; text-wrap: pretty; }
.section-intro { margin: 17px 0 0; font-size: 18px; line-height: 1.72; text-align: left; color: #3e4c42; }
.section-intro p + p { margin-top: 11px; }
.section-intro strong { color: var(--ink); }
.paper-figure { min-width: 0; }
.figure-link { position: relative; display: block; padding: 0; background: white; border: 0; cursor: zoom-in; }
.figure-link img { width: 100%; }
.paper-figure figcaption { display: block; width: min(var(--reading-width), 100%); margin: 13px auto 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.figure-note { display: block; font-size: 12px; margin-top: 3px; }
.back-to-top:hover { text-decoration: underline; text-underline-offset: 3px; }
.equation-note { min-width: 0; }
.equation { max-width: 100%; overflow-x: auto; padding-block: 5px; }
.equation math { font-family: math; font-size: 23px; }
.equation-note p { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 5px; }
.inline-math { font-family: Georgia, "Times New Roman", serif; font-style: italic; white-space: nowrap; }
.detail-content { max-width: 780px; margin-inline: auto; padding-block: 4px 18px; }
.detail-content h3 { font-size: 15px; margin-block: 13px 8px; }
.detail-content p { font-size: 13px; line-height: 1.75; margin-block: 10px; }
.detail-content .equation math { font-size: 21px; }
.benchmark-panel { padding: 16px 8px 0; background: #fff; }
.benchmark-panel + .benchmark-panel { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.benchmark-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 12px; }
.benchmark-heading h3 { font-size: 26px; font-weight: 550; line-height: 1.3; letter-spacing: -.4px; }
.benchmark-heading > div p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.legend { display: flex; justify-content: center; gap: 19px; color: #556152; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend span::before { content: ""; width: 12px; height: 12px; background: var(--baseline); border-radius: 1px; }
.legend .ours-key::before { background: #215d43; }
.benchmark-charts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; padding-top: 16px; }
.backbone-chart { min-width: 0; text-align: center; }
.backbone-chart h4 { font-size: 18px; font-weight: 650; }
.backbone-summary { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.backbone-summary strong { font-size: 23px; font-weight: 600; color: var(--green-dark); letter-spacing: -.5px; }
.backbone-summary b { padding: 1px 6px; font-size: 12px; font-weight: 650; color: var(--green-dark); background: #ebf1e8; border-radius: 3px; }
.score-arrow { font-size: 12px; color: #8c978a; }
.mean-label { color: var(--muted); font-size: 10px; margin: 0 0 13px; }
.benchmark-chart, .ablation-chart { display: block; width: 100%; height: auto; overflow: visible; font-family: Arial, Helvetica, sans-serif; }
.chart-gridline { stroke: #e3e7de; stroke-width: 1; }
.axis-title { fill: #65725f; font-size: 10px; }
.tick-label { fill: #65725f; font-size: 10px; }
.suite-highlight { fill: #f4f6ee; }
.bar-baseline { fill: var(--baseline); stroke: #a99ab8; stroke-width: .6; }
.bar-ours { fill: #215d43; }
.bar-value { font-size: 11px; fill: #786688; font-variant-numeric: tabular-nums; }
.ours-value { fill: var(--green-dark); font-weight: 650; }
.gain-bg { fill: #eaf1e6; }
.negative-bg { fill: #f5eee9; }
.neutral-bg { fill: #f0f2ed; }
.gain-label { font-size: 12px; font-weight: 650; fill: var(--green-dark); }
.negative-label { fill: #976955; font-weight: 400; }
.neutral-label { fill: #6e7d65; font-weight: 400; }
.suite-label { font-size: 12px; fill: #3f4f40; }
.benchmark-finding { font-size: 14px; line-height: 1.7; padding-block: 12px 17px; margin-top: 8px; color: #405941; }
.chart-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 13px; }
.results-details, .method-detail { border-top: 1px solid var(--line); }
.results-details summary, .method-detail summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 12px; list-style: none; font-size: 12px; font-weight: 500; color: var(--green-dark); cursor: pointer; }
.results-details summary::-webkit-details-marker, .method-detail summary::-webkit-details-marker { display: none; }
.results-details summary > span, .method-detail summary > span { font-size: 21px; line-height: 1; }
.results-details[open] summary > span, .method-detail[open] summary > span { transform: rotate(45deg); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-hint { display: none; }
.results-table { width: 100%; min-width: 730px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; font-size: 11px; color: var(--muted); padding: 7px 12px 10px; }
.results-table th, .results-table td { text-align: right; white-space: nowrap; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.results-table thead th { font-size: 11px; color: var(--muted); font-weight: 600; background: #f0f3ec; }
.results-table th:first-child, .results-table .method-cell { text-align: left; }
.results-table .backbone-cell { font-size: 15px; background: white; }
.results-table .method-cell { font-weight: 500; }
.results-table .ours-row { background: #edf3e9; }
.results-table .mean-cell { background: rgb(53 107 88 / 4%); }
.results-table .variance-cell { font-size: 11px; color: var(--muted); }
.results-table tbody tr:last-child > * { border-bottom: 0; }
.results-table tbody + tbody { border-top: 1px solid var(--line); }
.protocol { font-size: 11px; line-height: 1.75; color: var(--muted); margin-block: 14px 18px; }
.variant-description { display: block; font-size: 10px; line-height: 1.6; color: var(--muted); font-weight: 400; }
.ablation-table th:first-child { width: 40%; white-space: normal; font-weight: 550; }
.ablation-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ablation-chart-panel { min-width: 0; padding: 14px 0 0; background: white; }
.ablation-chart-panel h3 { font-size: 19px; font-weight: 550; text-align: left; padding-left: 6%; margin-bottom: 16px; }
.ablation-chart .axis-title, .ablation-chart .tick-label { font-size: 12px; }
.ablation-value { font-size: 15px; fill: #786688; }
.ablation-value.ours-value { fill: var(--green-dark); }
.variant-label { font-size: 13px; fill: #55634f; }
.variant-label.ours-value { fill: var(--green-dark); }
.ablation-legend { margin-top: 15px; }
.diagnostic-lead { max-width: 990px; margin-inline: auto; }
.diagnostic-notes { max-width: var(--reading-width); margin: 20px auto 0; font-size: 16px; line-height: 1.75; color: #465647; }
.diagnostic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 32px; }
.diagnostic-grid > div { min-width: 0; }
.diagnostic-grid h3 { font-size: 20px; font-weight: 550; margin-bottom: 14px; text-align: left; }
.diagnostic-grid .figure-link { padding: 0; }
.figure-reading { font-size: 14px; line-height: 1.75; color: #566452; margin-top: 14px; }
.task-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.task-card { min-width: 0; }
.task-image { position: relative; display: block; cursor: zoom-in; }
.task-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 3px; }
.task-body { padding: 13px 2px 0; }
.task-index { display: flex; justify-content: space-between; font-size: 10px; color: #7a8775; }
.task-index span { color: var(--green); font-size: 13px; font-weight: 600; }
.task-card h3 { font-size: 19px; font-weight: 550; margin-top: 3px; letter-spacing: -.4px; }
.task-description { font-size: 13px; line-height: 1.7; color: #57645a; min-height: 70px; margin-top: 7px; }
.task-score { display: grid; grid-template-columns: 60px 1fr 32px; gap: 6px; align-items: center; font-size: 11px; margin-top: 5px; color: #786688; }
.task-score b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 550; }
.task-track { height: 6px; background: #edf0e8; }
.task-track i { display: block; height: 100%; background: var(--baseline); }
.task-score.ours { color: var(--green-dark); }
.task-score.ours i { background: var(--green); }
.watch-trial { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-block: 9px; border-top: 1px solid var(--line); font-size: 12px; color: var(--green-dark); }
.watch-trial > span:last-child { margin-left: auto; font-size: 15px; }
.watch-trial:hover { color: var(--purple); }
.play-icon { font-size: 8px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 25px; padding-block: 24px; }
.site-footer .brand { font-size: 18px; color: var(--ink); }
.site-footer p { font-size: 10px; line-height: 1.6; }
.back-to-top { margin-left: auto; color: var(--green); font-size: 11px; white-space: nowrap; }
.figure-dialog, .video-dialog { position: fixed; width: min(1500px,calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 24px 100px #0b211f44; }
.figure-dialog::backdrop, .video-dialog::backdrop { background: rgb(19 32 25 / 70%); backdrop-filter: blur(5px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.dialog-toolbar h2 { font-family: inherit; font-size: 15px; letter-spacing: -.25px; font-weight: 550; }
.dialog-actions { display: flex; gap: 6px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 35px; height: 35px; background: white; border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-size: 25px; }
.icon-button:hover, .icon-button[aria-pressed="true"] { background: #edf1e9; }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dialog-canvas { display: flex; justify-content: center; align-items: center; overflow: auto; height: min(70dvh,880px); background: white; overscroll-behavior: contain; }
.dialog-canvas img { width: auto; height: auto; max-width: 100%; max-height: 100%; flex-shrink: 0; cursor: zoom-in; }
.dialog-canvas.is-zoomed { display: block; }
.dialog-canvas.is-zoomed img { width: var(--zoom-width); max-width: none; max-height: none; margin-inline: auto; cursor: zoom-out; }
.dialog-hint { font-size: 10px; color: var(--muted); text-align: center; padding: 8px 16px; border-top: 1px solid var(--line); }
.video-dialog { width: min(1040px,calc(100% - 48px)); }
.video-dialog video { display: block; width: 100%; max-height: 70dvh; aspect-ratio: 16 / 9; object-fit: contain; background: #f5f3ee; }
.video-dialog-caption { padding: 13px 16px; font-size: 12px; }
.video-dialog-caption p + p { color: var(--muted); font-size: 10px; margin-top: 4px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero h1 { font-size: 39px; }
  .author-row { font-size: 17px; gap: 4px 20px; }
  .affiliations { font-size: 13px; gap: 3px 17px; }
  .benchmark-panel { padding-inline: 14px; }
  .benchmark-charts { gap: 9px; }
  .backbone-summary { gap: 5px; font-size: 12px; }
  .backbone-summary strong { font-size: 21px; }
  .backbone-summary b { font-size: 11px; }
  .task-gallery { gap: 15px; }
  .task-card h3 { font-size: 18px; }
  .task-description { min-height: 83px; }
}
@media (max-width: 760px) {
  .nav-links { gap: 17px; font-size: 11px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 34px; letter-spacing: -.8px; }
  .hero-lead { font-size: 16px; }
  .author-row { font-size: 15px; gap: 3px 17px; }
  .affiliations { font-size: 12px; }
  .affiliations li { white-space: normal; }
  .institution-logos { gap: 25px; }
  .institution-logo { width: 48px; height: 46px; }
  .institution-logo img { height: 44px; }
  .institution-nus, .institution-ntu { width: 125px; }
  .institution-nus img, .institution-ntu img { height: auto; max-height: 46px; }
  h2 { font-size: 34px; }
  .benchmark-charts { grid-template-columns: 1fr; gap: 22px; max-width: 470px; margin-inline: auto; }
  .backbone-chart + .backbone-chart { padding-top: 19px; border-top: 1px solid var(--line); }
  .backbone-chart h4 { font-size: 19px; }
  .backbone-summary { font-size: 15px; }
  .backbone-summary strong { font-size: 25px; }
  .backbone-summary b { font-size: 13px; }
  .benchmark-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .benchmark-heading h3 { font-size: 24px; }
  .ablation-charts { grid-template-columns: 1fr; gap: 22px; max-width: 600px; margin-inline: auto; }
  .diagnostic-grid { grid-template-columns: 1fr; gap: 23px; }
  .task-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 20px; }
  .task-description { min-height: 62px; }
}
@media (max-width: 520px) {
  html { scroll-padding-top: 100px; }
  .wrap { width: calc(100% - 32px); }
  .nav { height: auto; padding-top: 9px; flex-direction: column; align-items: flex-start; gap: 0; }
  .brand { font-size: 18px; }
  .brand img { width: 26px; height: 26px; }
  .nav-links { width: 100%; overflow-x: auto; scrollbar-width: none; gap: 20px; overscroll-behavior-inline: contain; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding-block: 8px 10px; }
  .hero { padding-top: 25px; }
  .hero h1 { font-size: 29px; line-height: 1.25; letter-spacing: -.55px; }
  .title-line { display: inline; }
  .title-line + .title-line::before { content: " "; }
  .hero-lead { font-size: 14px; line-height: 1.7; margin-top: 16px; }
  .paper-credits { margin-top: 20px; }
  .author-row { font-size: 14px; line-height: 1.8; gap: 2px 15px; }
  .affiliations { margin-top: 14px; font-size: 11px; gap: 4px 14px; }
  .author-notes { font-size: 10px; gap: 6px 18px; margin-top: 9px; }
  .institution-logos { gap: 13px; margin-top: 18px; }
  .institution-logo { width: 38px; height: 34px; }
  .institution-logo img { height: 33px; }
  .institution-nus, .institution-ntu { width: 90px; }
  .institution-nus img, .institution-ntu img { height: auto; max-height: 34px; }
  .resource-links { margin-top: 19px; gap: 9px; }
  .resource { padding-inline: 11px; font-size: 11px; }
  .availability { font-size: 9px; padding-left: 7px; }
  .demo-section { margin-block: 0 5px; }
  .demo-section figcaption { font-size: 10px; }
  .section { padding-block: 31px; }
  h2 { font-size: 31px; letter-spacing: -.4px; }
  .section-heading { margin-bottom: 22px; }
  .section-intro { font-size: 16px; line-height: 1.75; margin-top: 15px; }
  .figure-link { padding: 0; }
  .paper-figure figcaption { font-size: 12px; }
  .figure-note { font-size: 11px; }
  .equation math { font-size: 22px; }
  .detail-content .equation math { font-size: 18px; }
  .benchmark-panel { padding: 15px 0 0; }
  .benchmark-heading { padding: 0 5px 15px; }
  .benchmark-heading > div p { font-size: 10px; line-height: 1.65; }
  .legend { font-size: 10px; gap: 15px; }
  .legend span { gap: 6px; }
  .legend span::before { width: 10px; height: 10px; }
  .mean-label { font-size: 10px; }
  .benchmark-charts { gap: 16px; }
  .benchmark-finding { font-size: 12px; margin-inline: 4px; }
  .results-details summary, .method-detail summary { font-size: 11px; }
  .results-details summary { margin-inline: 4px; }
  .table-hint { display: block; font-size: 10px; color: var(--green); margin-bottom: 8px; }
  .protocol { font-size: 10px; }
  .chart-note { font-size: 10px; }
  .ablation-chart-panel { padding-inline: 0; }
  .ablation-chart-panel h3 { font-size: 17px; margin-bottom: 15px; }
  .ablation-chart .axis-title, .ablation-chart .tick-label { font-size: 17px; }
  .ablation-value { font-size: 20px; }
  .variant-label { font-size: 17px; }
  .diagnostic-notes { font-size: 14px; }
  .diagnostic-grid h3 { font-size: 18px; }
  .figure-reading { font-size: 13px; }
  .task-gallery { gap: 20px 14px; }
  .task-card h3 { font-size: 17px; }
  .task-description { font-size: 11px; min-height: 78px; }
  .task-score { grid-template-columns: 53px 1fr 27px; gap: 4px; font-size: 9px; }
  .watch-trial { font-size: 10px; gap: 5px; }
  .watch-trial > span:last-child { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 14px; padding-block: 20px; }
  .site-footer p { order: 3; width: 100%; font-size: 9px; }
  .figure-dialog, .video-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .dialog-toolbar { padding: 9px; gap: 8px; }
  .dialog-toolbar h2 { font-family: inherit; font-size: 12px; }
  .icon-button { width: 31px; height: 31px; }
  .video-dialog-caption { padding: 11px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.axis-break { fill: none; stroke: #65725f; stroke-width: 1.3; }
.change-link { stroke: #215d43; fill: none; stroke-width: 1.15; }
.negative-link { stroke: #976955; }
.gain-bg.largest-gain { fill: #215d43; }
.gain-label.largest-gain { fill: #fff; font-weight: 700; }

.policy-equation { max-width: var(--reading-width); margin: 22px auto 28px; padding: 13px 0; }
.math-derivation { width: min(var(--reading-width), 100%); margin: 30px auto 24px; }
.math-derivation h3, .diagnostic-math h3 { font-size: 20px; font-weight: 550; line-height: 1.45; margin-bottom: 14px; }
.math-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 17px 30px; }
.math-grid > div { min-width: 0; }
.math-grid .equation math { font-size: 21px; }
.math-caption { color: #566653; font-size: 14px; line-height: 1.7; margin-top: 12px; }
.low-rank-equation { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; align-items: center; padding-block: 14px; margin-top: 18px; }
.low-rank-equation p { margin: 0; font-size: 12px; }
.coupling-math { padding-top: 20px; }
.math-intro { font-size: 16px; color: #425340; line-height: 1.7; }
.coupling-main { margin-block: 14px 10px; }
.coupling-main math { font-size: 24px; }
.route-equations { max-width: 830px; margin-inline: auto; }
.route-label { font-size: 12px; color: var(--green); text-align: center; margin-top: 6px; }
.diagnostic-math { width: min(var(--reading-width), 100%); margin: 0 auto 26px; padding-block: 14px; }
@media (max-width: 760px) {
  .math-grid { grid-template-columns: 1fr; gap: 19px; }
  .low-rank-equation { grid-template-columns: 1fr; gap: 8px; }
  .math-derivation h3, .diagnostic-math h3 { font-size: 18px; }
}
@media (max-width: 520px) {
  .policy-equation { padding: 10px 0; }
  .math-grid .equation math { font-size: 20px; }
  .coupling-main math { font-size: 22px; }
  .math-caption { font-size: 13px; }
  .math-intro { font-size: 15px; }
}

.institution-logo { max-width: 100%; }
.institution-sztu { width: 90px; }
@media (max-width: 760px) {
  .institution-logos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 24px; justify-items: center; max-width: 480px; margin-inline: auto; }
  .institution-sztu { width: 66px; }
}
@media (max-width: 520px) {
  .institution-sztu { width: 50px; }
}

.method-detail { width: min(var(--reading-width), 100%); margin-inline: auto; }
.ablation-findings { width: min(var(--reading-width), 100%); margin: 28px auto; font-size: 16px; line-height: 1.75; color: #45543f; }
.ablation-findings p + p { margin-top: 14px; }
.ablation-findings strong { color: #26392b; }
.finding-gain { color: var(--green-dark); font-weight: 650; white-space: nowrap; }
.policy-equation > p { font-size: 13px; line-height: 1.7; }
@media (max-width: 520px) {
  .section { padding-block: 35px; }
  .ablation-findings { font-size: 14px; line-height: 1.75; }
  .policy-equation > p { font-size: 12px; }
  .benchmark-panel + .benchmark-panel { margin-top: 28px; padding-top: 24px; }
}

/* Only the optional SVG highlights are hidden by default; page content is visible. */
.method-motion-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.method-motion-outline, .method-motion-route {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.method-motion-vlm { color: #4d7380; }
.method-motion-features { color: #5e7d6c; }
.method-motion-action { color: #946f55; }
.method-motion-update { stroke-dasharray: 5 6; }
.method-motion-outline { fill: currentColor; fill-opacity: .04; }
.method-motion-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  align-items: baseline;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted, #6b7369);
}
.method-motion-caption [data-method-caption-phase] {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .method-motion-overlay { display: none; }
}
