@font-face {
  font-family: "Google Sans";
  src: url("../fonts/GoogleSans-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #333;
  --muted: #61666b;
  --rule: #dedfe1;
  --link: #26679a;
  --title-font: "Google Sans", Arial, sans-serif;
  --body-font: "Noto Sans", Arial, sans-serif;
  --wide: 58rem;
  --prose: 53rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: #424242; background: white; font: 1rem/1.65 var(--body-font); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, strong, b { color: var(--ink); }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #15476d; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 2; inset: .5rem auto auto .5rem; padding: .4rem .75rem; background: white; }
.paper-header, main, footer p { width: min(var(--wide), calc(100% - 2.5rem)); margin-inline: auto; }
.paper-header { padding-block: clamp(2.2rem, 4.8vw, 4.2rem) 2.15rem; text-align: center; font-family: var(--title-font); }
h1 { color: var(--ink); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.title-line { display: block; font-size: clamp(2rem, 3.95vw, 3.15rem); letter-spacing: -.033em; }
.subtitle { display: block; margin-top: .45rem; font-size: clamp(1.28rem, 2.45vw, 1.95rem); letter-spacing: -.022em; font-weight: 500; }
.authors, .affiliation { font-size: clamp(1.08rem, .54rem + .9vw, 1.19rem); }
.authors { margin: 1.3rem auto 0; line-height: 1.5; text-wrap: balance; }
.authors span { display: inline-block; }
.authors span:not(:last-child) { margin-inline-end: .12em; }
.authors a { text-decoration: none; }
.authors a:is(:hover, :focus-visible) { text-decoration: underline; }
.affiliation { line-height: 1.6; }
.resources { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.resource { display: flex; align-items: center; justify-content: center; gap: .32em; padding: .35rem .9rem; border-radius: 2rem; background: #f0f1f2; color: #51555a; font-size: .95rem; font-weight: 500; line-height: 1.55; text-decoration: none; }
.resource-label { display: inline-flex; align-items: center; gap: .35rem; }
.resource-label img { display: block; object-fit: contain; }
.resource small { font-size: .84em; font-weight: 400; }
.resource:not([href]):hover { color: #51555a; }
.resource[href] { background: white; color: var(--ink); box-shadow: inset 0 0 0 1px #a3a6aa; }
.resource[href]:hover { background: #f5f5f5; }
.resource[href] small { display: none; }
.paper-links { margin-top: .55rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .25rem 1.15rem; font-size: .95rem; }
.paper-links a { padding-block: .23rem; text-decoration: none; }
.paper-links a:hover { text-decoration: underline; }
.prose, .teaser, .results { max-width: var(--prose); margin-inline: auto; }
.teaser .paper-figure > img { max-width: 34rem; margin-inline: auto; }
.paper-figure > img { display: block; width: 100%; height: auto; }
figcaption { color: #53575b; font-size: .925rem; line-height: 1.55; margin-top: .85rem; }
figcaption b { font-weight: 600; }
.teaser figcaption { font: 400 1.06rem/1.5 var(--title-font); }
.walkthrough { margin-top: .5rem; font-size: .9rem; }
.walkthrough summary { color: var(--link); width: fit-content; padding-block: .23rem; cursor: pointer; }
.walkthrough summary:hover { text-decoration: underline; }
.example-stage { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr; gap: 1.3rem; align-items: center; padding-block: 1rem .25rem; }
.example-stage img { display: block; width: 100%; height: auto; }
.stage-switch { display: flex; gap: 1rem; margin-bottom: .5rem; }
.stage-switch button { border: 0; border-bottom: 2px solid transparent; padding: .16rem 0; background: white; color: var(--muted); font-size: .875rem; }
.stage-switch button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.example-stage blockquote { font-family: var(--title-font); font-size: 1.1rem; font-weight: 500; line-height: 1.4; margin-bottom: .35rem; }
.example-caption { line-height: 1.55; }
.section { margin-top: clamp(3rem, 5vw, 4.5rem); }
h2 { margin-bottom: 1.25rem; font-size: clamp(1.65rem, 2.7vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-align: center; }
h3 { font-size: 1.24rem; font-weight: 600; }
.prose p + p { margin-top: .95rem; }
.notes { margin-top: 1.4rem; }
.result-choices { display: flex; justify-content: center; gap: clamp(.5rem, 3vw, 2rem); border-bottom: 1px solid var(--rule); }
.result-choices a { border-bottom: 2px solid transparent; padding: .35rem .1rem .5rem; font-size: .96rem; text-decoration: none; text-align: center; }
.result-choices a[aria-selected="true"] { color: var(--ink); font-weight: 600; border-color: #555; }
.result-panel { margin-top: 1.15rem; }
.result-panel[role="tabpanel"] > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.result-intro { margin-bottom: 1rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; white-space: nowrap; font-size: .94rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
th, td { padding: .42rem .78rem; border-bottom: 1px solid #e6e6e6; }
thead { color: var(--ink); border-block: 1px solid #aaa; }
th { font-weight: 600; }
tbody th { font-weight: 400; }
th:first-child, td:first-child, #efficiency :is(th, td):nth-child(2), #mmeb-v3 :is(th, td):nth-child(2) { text-align: left; }
.dataset-count { color: var(--muted); font-size: .84rem; }
.ours { background: #f4f5f6; color: var(--ink); }
.ours > :first-child, .ours > :last-child { font-weight: 700; }
.group-heading th { white-space: normal; text-align: left; color: #4a4e51; font-size: .88rem; font-weight: 600; padding-top: .8rem; }
.group-divider td { padding: .1rem; }
.table-note { color: var(--muted); font-size: .865rem; margin-top: .7rem; }
.citation-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .8rem; }
.citation-heading h2 { margin: 0; }
#copy { font-size: .875rem; background: transparent; color: var(--link); border: 0; padding: .3rem; text-decoration: underline; text-underline-offset: .18em; }
pre { margin: 0; padding: 1rem 1.15rem; background: #f5f5f5; font: .87rem/1.6 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
footer { margin-top: 3.25rem; padding-block: 1.25rem; border-top: 1px solid #ececec; color: var(--muted); }
footer p { font-size: .84rem; }
@media (max-width: 40rem) {
  .paper-header { padding-bottom: 1.8rem; }
  .paper-links { max-width: 25rem; margin-inline: auto; gap: .3rem .85rem; }
  figcaption, .teaser figcaption { font-size: .95rem; }
  .result-choices a { font-size: .89rem; }
  th, td { padding-inline: .5rem; }
  .example-stage { grid-template-columns: 6.5rem 1fr; gap: .8rem; align-items: start; }
}
@media (max-width: 38rem) {
  .resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 24rem; margin-inline: auto; gap: .32rem; }
  .resource { flex-direction: column; gap: .12rem; padding: .35rem .15rem; line-height: 1.3; }
  .resource small { white-space: nowrap; }
}
@media print {
  body { font-size: 10pt; }
  .paper-header, main, footer p { width: 100%; }
  .paper-header { padding-block: 1rem; }
  .resources, .paper-links, .walkthrough, .result-choices, #copy { display: none; }
  .section { margin-top: 1.7rem; }
  .result-panel[hidden] { display: block !important; }
  .result-panel[role="tabpanel"] > h3 { position: static; width: auto; height: auto; clip-path: none; }
  .paper-figure, tr { break-inside: avoid; }
  .table-scroll { overflow: visible; }
}
