/* Full-text paper page: LaTeX article look. */
body.is-paper main { max-width: 42rem; }
.paper { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; text-align: justify; hyphens: auto; counter-reset: section; }
.paper-nav { display: flex; gap: 1rem; font-size: .82rem; font-family: var(--mono); color: var(--muted); margin-bottom: 2rem; text-align: left; }
.paper-nav a { color: var(--muted); }
.paper header { text-align: center; margin: 1.5rem 0 2rem; }
.paper header .title { font-size: 1.75rem; line-height: 1.25; font-weight: normal; margin: 0 0 .75rem; }
.paper header .byline { font-size: 1.1rem; margin: 0 0 .25rem; }
.paper header .date { margin: 0; color: var(--muted); font-size: .95rem; }
.paper .abstract { margin: 0 2.5rem 2rem; font-size: .92rem; }
.paper .abstract::before { content: "Abstract"; display: block; text-align: center; font-weight: bold; margin-bottom: .4rem; }
.paper .abstract p { margin: 0 0 .5rem; }
@media (max-width: 600px) { .paper .abstract { margin: 0 .5rem 1.5rem; } }

.paper .body h2 { font-size: 1.25rem; font-weight: bold; margin: 1.8rem 0 .6rem; text-align: left; counter-increment: section; counter-reset: subsection; }
.paper .body h2::before { content: counter(section) "\2003"; }
.paper .body h3 { font-size: 1.05rem; font-weight: bold; margin: 1.3rem 0 .4rem; text-align: left; counter-increment: subsection; counter-reset: subsubsection; }
.paper .body h3::before { content: counter(section) "." counter(subsection) "\2003"; }
.paper .body h4 { font-size: 1rem; font-weight: bold; font-style: italic; margin: 1rem 0 .3rem; text-align: left; counter-increment: subsubsection; }
.paper .body h4::before { content: counter(section) "." counter(subsection) "." counter(subsubsection) "\2003"; }
.paper .body h2.footnotes-title, .paper .body h2.footnotes-title::before { counter-increment: none; content: none; }
.paper .body h2.footnotes-title { font-size: 1.1rem; }
.paper .body p { margin: 0 0 .8rem; }
.paper .body p + p { text-indent: 1.5em; margin-top: -.3rem; }
.paper .body blockquote { margin: 1rem 2rem; font-size: .95rem; }
.paper .body ul, .paper .body ol { padding-left: 1.6rem; }
.paper .body li { margin-bottom: .25rem; }
.paper .body table { margin: 1rem auto; border-collapse: collapse; font-size: .92rem; text-align: left; }
.paper .body th, .paper .body td { padding: .3rem .7rem; }
.paper .body thead th { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.paper .body tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }
.paper .body pre { text-align: left; font-size: .8rem; }
.paper .body code { font-size: .86em; }
.paper .body img { max-width: 100%; height: auto; display: block; margin: 1rem auto; }
.paper .body hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem auto; width: 40%; }
.paper .katex-display { overflow-x: auto; overflow-y: hidden; padding: .2rem 0; }
.paper .katex { font-size: 1.05em; }
.paper .footnotes { font-size: .88rem; margin-top: 2.5rem; text-align: left; }
.paper .footnotes-list { padding-left: 1.5rem; }
.paper .footnote-backref { font-size: .8em; margin-left: .25em; }
sup.footnote-ref a { font-size: .8em; }
.paper .colophon { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--muted); text-align: left; }
.paper .colophon .provenance-footer { margin-top: .5rem; }
.paper .colophon .provenance { display: inline-block; vertical-align: top; }
.paper .colophon .model-list { display: inline; }
.paper .colophon .model-list li { display: inline; margin-right: .75rem; }
@media print {
  html { font-size: 11pt; }
  .paper { text-align: justify; }
  .paper .colophon { page-break-inside: avoid; }
  a { color: inherit; }
}
