/* Complete released papers share the site's reading surface at both widths. */
.document-title-block, .document-edition {
  width: 100%; min-width: 0; max-width: 76ch; margin-inline: auto;
  color: var(--ink, inherit); overflow-wrap: anywhere;
}
.document-title-block { margin-block: 2rem; padding: 0; border: 0; text-align: left; }
.document-title-block .document-headline { font-size: 1.3rem; line-height: 1.4; text-align: left; }
.document-title-block .author, .document-title-block .affiliation {
  font-size: 1rem; line-height: 1.55; text-align: left;
}
.document-title-block .paper-note { font-size: .95rem; line-height: 1.6; }
.document-publication-details, .document-overview {
  margin-block: 1rem; border-block: 1px solid var(--hairline, currentColor); text-align: left;
}
.document-publication-details summary, .document-overview summary {
  padding-block: .8rem; cursor: pointer; font-family: var(--font-sans, system-ui, sans-serif);
  font-size: max(14px, .95rem); line-height: 1.5;
}
.document-publication-details summary:focus-visible, .document-overview summary:focus-visible {
  outline: 2px solid var(--gold-text, currentColor); outline-offset: 3px;
}
.document-publication-details[open], .document-overview[open] { padding-bottom: 1rem; }
.document-edition {
  font-size: max(17px, 1.0625rem); line-height: 1.65;
  /* Font-dependent mathematical bounds stay readable inside the document.
     The page and its navigation must never become a horizontal scroller. */
  overflow-x: auto; overscroll-behavior-x: contain;
}
.document-edition p { font-size: inherit; text-align: left; hyphens: none; margin-block: .8em; }
.document-edition h2, .document-edition h3, .document-edition h4 {
  line-height: 1.3; color: inherit; scroll-margin-top: 8rem;
}
.document-edition h2 { font-size: 1.5rem; margin-block: 2.4rem 1rem; }
.document-edition h3 { font-size: 1.2rem; margin-block: 1.8rem .75rem; }
.document-edition a { color: var(--gold-text, inherit); text-underline-offset: .18em; }
.document-edition .abstract {
  margin: 1.5rem 0; padding: 1.25rem;
  border: 1px solid var(--hairline, var(--nature-border, currentColor)); border-radius: .5rem;
}
.document-edition .abstract-title { font-weight: 700; font-size: 1.15rem; }
.document-edition #TOC { margin-block: 2rem; padding-block: 1rem; border-block: 1px solid var(--hairline, currentColor); }
.document-edition #TOC ul { list-style: none; margin: 0; padding-left: 0; }
.document-edition #TOC ul ul { padding-left: 1.25rem; }
.document-edition #TOC li { padding-block: .25rem; }
.document-edition .header-section-number { margin-right: .4em; }
.document-edition math { font-family: 'STIX Two Math', 'Cambria Math', math; max-width: 100%; }
.document-edition .equation { display: flex; align-items: center; gap: 1rem; overflow-x: auto; padding-block: .6rem; }
.document-edition .equation math { flex: 1; flex-shrink: 0; }
.document-edition .eqno { white-space: nowrap; margin-left: auto; }
.document-edition figure { margin: 1.8rem 0; max-width: 100%; }
.document-edition img, .document-edition svg { max-width: 100%; height: auto; }
.document-edition figure .figure-image { position: relative; }
.document-edition .linked-figure { display: inline-block; position: relative; max-width: 100%; vertical-align: top; }
/* A whole-figure DOI link must not add a text baseline beneath the image:
   the source-link percentages are measured against the image itself. */
.document-edition .linked-figure > .figure-document-link { display: block; padding: 0; border: 0; line-height: 0; }
.document-edition .linked-figure > img,
.document-edition .linked-figure > .figure-document-link > img { display: block; width: 100%; height: auto; }
.document-edition .figure-source-link {
  position: absolute; display: block; border: 0; box-sizing: border-box;
  padding: 0; margin: 0; min-width: 0; min-height: 0; line-height: 0;
}
.document-edition .figure-source-link:hover, .document-edition .figure-source-link:focus-visible {
  outline: 2px solid currentColor; outline-offset: 1px;
}
.document-edition figcaption, .document-edition caption { font-size: .95rem; text-align: left; line-height: 1.5; }
.document-edition .table-wrap { overflow-x: auto; max-width: 100%; margin-block: 1.5rem; }
.document-edition table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.document-edition th, .document-edition td { white-space: normal; padding: .55rem; vertical-align: top; text-align: left; }
.document-edition th { border-bottom: 2px solid var(--hairline, currentColor); }
.document-edition td { border-bottom: 1px solid var(--hairline, currentColor); }
.document-edition pre { max-width: 100%; overflow-x: auto; padding: 1rem; font-size: .9rem; }
.document-edition .csl-entry { padding-left: 1.5rem; text-indent: -1.5rem; margin-block: .75rem; }
.document-edition .csl-entry a { text-indent: 0; }
.document-edition .footnotes { font-size: .95rem; }
.earlier-section-links { max-width: 76ch; margin-inline: auto; }
.earlier-section-links p { display: none; padding: 1rem; border: 1px solid var(--hairline, currentColor); }
.earlier-section-links:has(.earlier-section-anchor:target) p { display: block; }
.earlier-section-anchor { scroll-margin-top: 8rem; }
.document-tools { max-width: 76ch; margin: 1rem auto; }
.document-cite {
  font: inherit; padding: .65rem 1rem; min-height: 44px; cursor: pointer;
  color: var(--ink, inherit); background: transparent;
  border: 1px solid var(--hairline, currentColor); border-radius: .4rem;
}
.document-cite:focus-visible { outline: 2px solid var(--gold-text, currentColor); outline-offset: 3px; }
@media (max-width: 600px) {
  .document-edition { font-size: max(17px, 1rem); }
  .document-edition .abstract { padding: 1rem; }
  .document-edition th, .document-edition td { min-width: 7rem; }
}
@media print {
  .document-edition { max-width: none; font-size: 10.5pt; line-height: 1.45; }
  .document-edition a { color: inherit; }
  .earlier-section-links { display: none; }
}
