:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #363636;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: #1674b8;
  text-decoration: none;
}
a:hover {
  color: #104f7d;
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #1674b8;
  outline-offset: 4px;
}
h1,
h2,
p,
figure {
  margin: 0;
}
h1,
h2 {
  line-height: 1.2;
  font-weight: 600;
}
h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 25px;
}
h3 {
  margin: 30px 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}
p + p {
  margin-top: 16px;
}
strong {
  font-weight: 600;
}
sup {
  font-size: 0.65em;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 8px 16px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  top: 8px;
  opacity: 1;
  pointer-events: auto;
}
.text-width {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}
.figure-width {
  width: min(1000px, calc(100% - 40px));
  margin-inline: auto;
}
.paper-header {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 38px;
  text-align: center;
}
.paper-header h1 {
  font-size: 40px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.project-illustration {
  width: 210px;
  margin: 0 auto 24px;
}
.venue {
  font-size: 21px;
  margin-top: 20px;
  color: #555;
}
.venue span {
  font-weight: 500;
}
.authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 17px;
  font-size: 20px;
}
.authors a {
  white-space: nowrap;
}
.affiliation {
  margin-top: 7px;
  font-size: 19px;
}
.corresponding {
  color: #777;
  font-size: 12px;
  margin-top: 2px;
}
.resource-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 7px 17px;
  border-radius: 22px;
  color: #fff;
  background: #363636;
  font-size: 15px;
  line-height: 1.4;
}
.button:hover {
  color: #fff;
  background: #4a4a4a;
  text-decoration: none;
}
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button .filled-icon {
  fill: currentColor;
  stroke: none;
}
.overview {
  margin-top: 10px;
}
figure > a {
  display: block;
  cursor: zoom-in;
}
figcaption {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}
.paper-section {
  margin-top: 52px;
}
.paper-section > p,
.method-description > p,
.section-copy > p {
  text-align: justify;
}
.method-description {
  margin-top: 24px;
}
.section-copy {
  margin-top: 28px;
}
.section-lead {
  margin-bottom: 28px;
}
.equation {
  margin: 24px 0;
  text-align: center;
  font:
    italic 28px/1.6 Georgia,
    "Times New Roman",
    serif;
}
.equation sub {
  font-size: 0.65em;
}
.figure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.figure-grid figure {
  min-width: 0;
}
.figure-grid figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}
.diagnostic-grid {
  /* Use the image aspect ratios to match Figure 3's equal-height panels. */
  --panel-columns: 1.452273fr 1.501136fr 1.681633fr;
  grid-template-columns: var(--panel-columns);
  gap: 20px;
  align-items: start;
}
.result-figure {
  margin-top: 28px;
}
.result-figure figcaption {
  font-size: 14px;
  text-align: left;
}
.result-figure + .section-copy {
  margin-top: 24px;
}
.compressor-figure > a {
  width: 76%;
  margin-inline: auto;
}
.math {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  white-space: nowrap;
}
.citation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}
.citation-heading h2 {
  margin: 0;
  text-align: left;
}
.copy-button {
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  padding: 6px 12px;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}
.copy-button:hover {
  background: #f5f5f5;
}
pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  background: #f5f5f5;
  font-size: 12px;
  line-height: 1.75;
}
code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.copy-status {
  min-height: 22px;
  color: #666;
  font-size: 12px;
  margin-top: 5px;
}
footer {
  padding: 36px 20px 30px;
  text-align: center;
  font-size: 12px;
  color: #888;
}
@media (max-width: 700px) {
  .paper-header {
    padding-top: 34px;
    padding-bottom: 28px;
  }
  .paper-header h1 {
    font-size: 32px;
  }
  .project-illustration {
    width: 170px;
    margin-bottom: 20px;
  }
  .venue {
    font-size: 19px;
    margin-top: 16px;
  }
  .authors {
    font-size: 18px;
    gap: 3px 17px;
    margin-top: 14px;
  }
  .affiliation {
    font-size: 17px;
  }
  .paper-section {
    margin-top: 38px;
  }
  h2 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  .paper-section > p,
  .method-description > p,
  .section-copy > p {
    text-align: left;
  }
  .paper-section > h2 {
    padding-inline: 10px;
    text-wrap: balance;
  }
  h3 {
    margin-top: 26px;
    font-size: 19px;
  }
  .figure-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 480px;
  }
  .diagnostic-grid {
    grid-template-columns: var(--panel-columns);
    gap: 8px;
    max-width: none;
  }
  .diagnostic-grid figcaption {
    min-height: 3.3em;
    margin-top: 8px;
    font-size: 10px;
  }
  .equation {
    font-size: 25px;
  }
  figcaption {
    font-size: 13px;
    margin-top: 12px;
  }
  pre {
    font-size: 11px;
    padding: 16px;
  }
}
@media (max-width: 400px) {
  .paper-header h1 {
    font-size: 28px;
  }
  .authors {
    font-size: 16px;
    gap: 3px 14px;
  }
  .button {
    font-size: 14px;
    padding-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .resource-links,
  .copy-button,
  footer {
    display: none;
  }
  .paper-header {
    padding-top: 0;
  }
  .text-width,
  .figure-width {
    width: 100%;
  }
  .paper-header h1 {
    font-size: 28px;
  }
  .paper-section {
    margin-top: 24px;
  }
  pre {
    white-space: pre-wrap;
  }
  a {
    color: inherit;
  }
}
