:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1f2328;
  background: #ffffff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
a { color: #0969da; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #0969da; outline-offset: 4px; }
.site-header, main, footer { width: min(880px, calc(100% - 48px)); margin: 0 auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid #d1d9e0; }
.site-name { font-size: 18px; font-weight: 600; color: #1f2328; }
nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
nav a { color: #59636e; }
.paper-header { text-align: center; padding: 54px 0 36px; }
.venue { margin: 0 0 16px; font-size: 14px; color: #59636e; }
h1 { max-width: 800px; margin: 0 auto 24px; font-size: clamp(26px, 3.1vw, 36px); line-height: 1.28; font-weight: 600; letter-spacing: -0.8px; }
.authors { margin: 0 auto 12px; line-height: 1.9; }
sup { font-size: 0.72em; }
.affiliation { margin: 0; font-weight: 600; }
.lab-name { margin: 5px 0 0; color: #59636e; font-size: 14px; }
.paper-links { display: flex; justify-content: center; gap: 10px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border: 1px solid #d1d9e0; border-radius: 6px; background: #f6f8fa; color: #1f2328; font-size: 14px; font-weight: 500; line-height: 1.5; }
.button:hover { background: #eef1f4; text-decoration: none; }
.button.primary { color: #ffffff; background: #1f2328; border-color: #1f2328; }
.button.primary:hover { background: #32383f; }
section { margin: 0; padding: 28px 0; scroll-margin-top: 24px; }
section:not(.paper-header) { border-top: 1px solid #d1d9e0; }
h2 { font-size: 24px; line-height: 1.3; font-weight: 600; margin: 0 0 18px; letter-spacing: -0.3px; }
h3 { font-size: 18px; font-weight: 600; margin: 30px 0 16px; }
p { margin: 0 0 16px; }
section > p:last-child { margin-bottom: 0; }
figure { margin: 24px 0; }
figure a { display: block; cursor: zoom-in; }
figure img { display: block; width: 100%; height: auto; }
figcaption { color: #59636e; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.overview { max-width: 650px; margin: 0 auto 32px; }
.overview figcaption { text-align: center; }
.view-tabs { display: flex; gap: 16px; border-bottom: 1px solid #d1d9e0; margin: 24px 0 4px; }
.view-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #59636e; padding: 8px 4px; font-size: 14px; }
.view-tabs button[aria-selected="true"] { border-bottom-color: #1f2328; color: #1f2328; font-weight: 600; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
caption { color: #59636e; text-align: left; font-size: 14px; padding-bottom: 10px; }
th, td { padding: 11px 14px; border-bottom: 1px solid #d1d9e0; text-align: right; white-space: nowrap; }
th:first-child { text-align: left; }
thead th { color: #59636e; font-size: 14px; font-weight: 600; }
tbody th { font-weight: 400; }
.ours th, .ours td, .total-row th, .total-row td { font-weight: 600; }
.note { font-size: 13px; color: #59636e; margin-top: 12px; }
details { margin-top: 20px; font-size: 14px; color: #59636e; }
summary { cursor: pointer; color: #1f2328; }
details p { margin: 12px 0 0; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.citation-heading h2 { margin: 0; }
pre { margin: 0; padding: 18px; border: 1px solid #d1d9e0; border-radius: 6px; background: #f6f8fa; overflow-x: auto; font-size: 13px; line-height: 1.65; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
footer { border-top: 1px solid #d1d9e0; padding: 26px 0 34px; color: #59636e; font-size: 13px; }
footer p { margin: 0 0 5px; }
dialog { width: min(1400px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 20px; border: 1px solid #d1d9e0; border-radius: 6px; overflow: auto; color: #1f2328; background: #ffffff; }
dialog::backdrop { background: rgb(0 0 0 / 60%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0; font-size: 18px; }
dialog img { display: block; width: 100%; height: auto; }
body:has(dialog[open]) { overflow: hidden; }
.sr-only { 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; top: -80px; left: 16px; padding: 8px 14px; background: #ffffff; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header, main, footer { width: calc(100% - 36px); }
  .site-header { gap: 14px; padding: 18px 0; }
  .site-name { font-size: 16px; }
  nav { gap: 12px; font-size: 12px; }
  .paper-header { padding: 36px 0 28px; }
  h1 { font-size: 27px; letter-spacing: -0.5px; }
  .authors { font-size: 14px; }
  .desktop-break { display: none; }
  .lab-name { font-size: 12px; }
  .overview { margin-bottom: 24px; }
  h2 { font-size: 22px; }
  section { padding: 24px 0; }
  th, td { padding: 9px 10px; }
  table { font-size: 13px; }
  thead th { font-size: 12px; }
  pre { padding: 14px; font-size: 12px; }
  dialog { padding: 12px; }
}
