.paper-body {
  color: #27272a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.paper-body h1 {
  display: none;
}

.paper-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  color: #09090b;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
}

.paper-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: #09090b;
  font-size: 1.3rem;
  font-weight: 900;
}

.paper-body p,
.paper-body ul,
.paper-body ol,
.paper-body blockquote,
.paper-body pre,
.paper-body table {
  margin-top: 1rem;
}

.paper-body ul,
.paper-body ol {
  padding-left: 1.35rem;
  break-inside: auto;
}

.paper-body ul {
  list-style: disc;
  list-style-position: outside;
}

.paper-body ol {
  list-style: decimal;
  list-style-position: outside;
}

.paper-body li {
  display: list-item;
  margin-top: 0.35rem;
  padding-left: 0.15rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.paper-body li::marker {
  color: #0f766e;
  font-weight: 800;
}

.paper-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.paper-body thead {
  display: table-row-group;
}

.paper-body tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.paper-body th,
.paper-body td {
  border: 1px solid #d4d4d8;
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.paper-body th {
  background: #f4f4f5;
  color: #18181b;
  font-weight: 900;
}

.paper-body code {
  border-radius: 0.25rem;
  background: #f4f4f5;
  padding: 0.1rem 0.28rem;
  color: #134e4a;
  font-size: 0.92em;
}

.paper-body pre {
  overflow-x: auto;
  border: 1px solid #d4d4d8;
  border-radius: 0.5rem;
  background: #18181b;
  padding: 1rem;
  color: #fafafa;
}

.paper-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

@media print {
  body {
    background: white;
  }

  .paper-body h2,
  .paper-body h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .paper-body table {
    font-size: 0.9rem;
  }

  header,
  a[href="../../"],
  a[href^="../../dist"] {
    display: none;
  }
}
