:root { color-scheme: light; --ink: #2f3337; --muted: #626870; --link: #286a9d; --line: #e1e5e8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; background: white; padding: 10px 16px; z-index: 20; }
.skip-link:focus { top: 12px; }
.publication-header { padding-top: 42px; text-align: center; }
.project-logo { width: 112px; height: auto; margin: 0 auto 21px; }
h1 { font-size: clamp(29px, 3.6vw, 44px); font-weight: 650; line-height: 1.25; letter-spacing: -.9px; text-wrap: balance; max-width: 980px; margin-inline: auto; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 17px; font-size: 17px; margin: 25px auto 0; max-width: 960px; line-height: 1.9; }
.authors span { white-space: nowrap; }
sup { font-size: .64em; margin-left: 2px; vertical-align: super; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 17px; margin-top: 7px; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 24px 0 38px; }
.resource { display: inline-flex; align-items: center; gap: 5px; padding: 6px 18px; border: 1px solid #363636; border-radius: 25px; background: #363636; color: white; font-size: 14px; line-height: 1.7; }
.resource:hover { text-decoration: none; background: #505050; }
.resource[aria-disabled="true"] { background: white; border-color: #d9dee3; color: #737b83; cursor: default; }
.resource small { font-size: 11px; }
.paper-figure { margin-top: 24px; }
.teaser-figure { margin-top: 0; }
.figure-button { width: 100%; border: 0; padding: 0; background: white; display: block; cursor: zoom-in; }
.figure-button img { width: 100%; }
figcaption { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 920px; margin: 14px auto 0; text-align: left; }
figcaption strong { color: #444c54; font-weight: 600; }
.section { padding-top: 64px; padding-bottom: 8px; }
h2 { font-size: 30px; font-weight: 600; line-height: 1.3; text-align: center; margin-bottom: 24px; letter-spacing: -.35px; }
.section > p, .abstract-section > p { max-width: 890px; margin-inline: auto; }
.abstract-section > p { text-align: left; }
.table-scroll { margin-top: 27px; overflow-x: auto; }
.results-table { width: 100%; min-width: 670px; border-collapse: collapse; font-size: 15px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.results-table th, .results-table td { text-align: right; padding: 10px 13px; white-space: nowrap; }
.results-table th:first-child, .results-table td:first-child { text-align: left; padding-left: 8px; }
.results-table thead { background: #f6f7f8; border-top: 1.5px solid #727980; border-bottom: 1px solid #c9cfd4; }
.results-table tbody { border-bottom: 1.5px solid #727980; }
.results-table tbody tr:hover { background: #fafbfc; }
.results-table tr.group-start { border-top: 1px solid #ccc; }
.results-table tbody th { font-weight: 400; }
.results-table tr.proposed { border-top: 1px solid #c1c9d0; background: #f3f6f8; }
.results-table tr.proposed th { font-weight: 650; }
.results-table td.best { font-weight: 750; }
.section > p.table-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 13px; }
details { margin-top: 20px; }
summary { color: var(--link); font-size: 15px; width: fit-content; }
details > p { margin-top: 13px; }
.case-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 27px; border-bottom: 1px solid var(--line); }
.case-switch button { display: flex; align-items: center; justify-content: center; padding: 12px 8px; min-height: 50px; border: 0; border-bottom: 2px solid transparent; font-size: 15px; line-height: 1.5; background: none; color: #666; }
.case-switch button.active { border-bottom-color: var(--link); color: var(--link); }
.case-question-block { padding-bottom: 20px; margin-bottom: 23px; border-bottom: 1px solid #e7eaed; }
#case-question { font-size: 18px; font-weight: 600; line-height: 1.7; }
.case-options { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; row-gap: 10px; list-style: upper-alpha; padding-left: 23px; margin-top: 18px; margin-bottom: 0; font-size: 15px; }
.case-options li { padding: 1px 0 1px 4px; }
.case-options li::marker { font-weight: 600; color: #58636e; }
.case-options li.correct { font-weight: 600; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; row-gap: 20px; margin-top: 26px; }
.answer { font-size: 14px; padding: 2px 0 3px 15px; border-left: 2px solid #d9dfe4; }
.answer strong { display: block; margin-bottom: 6px; font-size: 14px; }
.ours-answer { border-left-color: #6b9f80; }
.ours-answer strong { color: #257147; }
.reasoning-details { margin-top: 27px; padding: 13px 0; border-top: 1px solid #e7eaed; border-bottom: 1px solid #e7eaed; }
.reasoning-details > p { font-size: 15px; line-height: 1.9; max-width: 920px; padding: 0 0 9px; }
.citation-code { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 4px; background: #f6f8fa; font: 13px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.citation-code code { font: inherit; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 55px !important; padding-block: 25px; border-top: 1px solid #eee; font-size: 13px; color: var(--muted); }
.figure-dialog { border: 1px solid #ccc; border-radius: 5px; padding: 0; width: min(95vw, 1700px); max-height: 94dvh; color: var(--ink); background: white; }
.figure-dialog::backdrop { background: #000b; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid #ddd; }
.dialog-toolbar p { font-size: 13px; }
.dialog-controls { display: flex; flex-shrink: 0; gap: 8px; }
.dialog-controls button { border: 1px solid #ccc; border-radius: 3px; background: #fafafa; padding: 4px 10px; font-size: 12px; }
.dialog-image-wrap { overflow: auto; max-height: calc(94dvh - 80px); padding: 12px; }
.dialog-image-wrap img { width: 100%; max-width: none; }
.figure-dialog.actual-size .dialog-image-wrap img { width: auto; }
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.75; }
  .container { width: calc(100% - 32px); }
  .publication-header { padding-top: 27px; }
  .project-logo { width: 95px; margin-bottom: 15px; }
  h1 { font-size: 29px; line-height: 1.26; letter-spacing: -.65px; }
  .authors { font-size: 13px; gap: 2px 13px; margin-top: 20px; }
  .affiliations { font-size: 13px; gap: 5px 20px; margin-top: 10px; }
  .resource-links { gap: 6px; margin: 20px 0 28px; }
  .resource { font-size: 12px; padding: 5px 12px; }
  .resource small { font-size: 10px; }
  .section { padding-top: 39px; }
  h2 { font-size: 26px; margin-bottom: 18px; }
  .abstract-section > p { text-align: left; }
  .paper-figure { margin-top: 19px; }
  figcaption { font-size: 12px; line-height: 1.75; margin-top: 10px; }
  .results-table { font-size: 12px; }
  .results-table th, .results-table td { padding: 8px 10px; }
  .section > p.table-note { font-size: 12px; }
  .case-switch { margin-top: 20px; margin-bottom: 23px; }
  .case-switch button { font-size: 12px; padding: 10px 5px; min-height: 54px; }
  #case-question { font-size: 16px; }
  .case-options { grid-template-columns: 1fr; row-gap: 7px; font-size: 13px; }
  .answer-grid { grid-template-columns: 1fr; gap: 15px; }
  .answer, .reasoning-details > p { font-size: 13px; }
  footer { font-size: 11px; margin-top: 38px !important; }
  .dialog-toolbar { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .dialog-toolbar p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
