.paper-width {
  width: min(100% - 2 * var(--rc-margin), 860px);
  margin-inline: auto;
}
.white-paper {
  font-size: max(16px, var(--rc-fs-read));
  overflow-wrap: break-word;
}
.white-paper .paper-head,
.white-paper .paper-controls {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rc-line);
}
.white-paper .paper-head nav,
.white-paper .paper-controls nav,
.paper-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.white-paper [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.white-paper .paper-controls {
  font-size: .875em;
  margin-bottom: 2.5rem;
}
.paper-downloads a {
  text-decoration: underline;
  text-underline-offset: .22em;
}
.white-paper article {
  padding-bottom: 4rem;
}
.white-paper h1 {
  font-size: clamp(1.8rem, 5vw, 3.25rem);
  line-height: 1.2;
  font-weight: 500;
}
.white-paper h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  margin: 2.4rem 0 .75rem;
}
.white-paper h3 {
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  line-height: 1.45;
  margin: 1.7rem 0 .6rem;
}
.white-paper article :is(p, .table-scroll, ul, ol) {
  margin-block: .8em;
}
.white-paper article a {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
.white-paper article ul {
  list-style: disc;
  padding-inline-start: 1.35em;
}
.white-paper article ol {
  list-style: decimal;
  padding-inline-start: 1.35em;
}
.white-paper li + li {
  margin-top: .35em;
}
.white-paper figure {
  margin: 1.5rem 0;
}
.white-paper figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  margin-inline: auto;
  object-fit: contain;
}
.white-paper figcaption {
  margin-top: .6em;
  color: var(--rc-fg-sub);
  font-size: .88em;
  line-height: 1.55;
}
.white-paper .table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.white-paper table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9em;
}
.white-paper :is(th, td) {
  border-top: 1px solid var(--rc-line);
  padding: .6em .7em;
  vertical-align: top;
  text-align: start;
}
.white-paper th {
  font-weight: 600;
}
.white-paper th:first-child,
.white-paper td:first-child {
  min-width: 6em;
}

@page {
  size: A4;
  margin: 16mm 17mm 18mm;
  @bottom-right {
    content: counter(page) " / " counter(pages);
    color: #5d5d5d;
    font: 8pt Arial, sans-serif;
  }
}
@media print {
  html,
  .white-paper {
    background: white;
    color: #161616;
    color-scheme: light;
    --rc-line: #b2b2b2;
    --rc-fg-sub: #444;
  }
  .white-paper {
    font-size: 10.5pt;
    font-weight: 400;
    line-height: 1.5;
  }
  .paper-width {
    width: 100%;
  }
  .white-paper .paper-head,
  .white-paper .paper-controls {
    display: none;
  }
  .white-paper article {
    padding-bottom: 0;
  }
  .paper-volume article + article {
    break-before: page;
  }
  .white-paper h1 {
    font-size: 28pt;
  }
  .white-paper h2 {
    font-size: 17pt;
    margin: 1.4em 0 .5em;
  }
  .white-paper h3 {
    font-size: 12.5pt;
    margin: 1.2em 0 .42em;
  }
  .white-paper :is(h1, h2, h3) {
    break-after: avoid;
  }
  .white-paper figure {
    break-inside: avoid;
    margin: 1em 0;
  }
  .white-paper figure img {
    max-height: 94mm;
  }
  .white-paper :is(p, li) {
    orphans: 2;
    widows: 2;
  }
  .white-paper .table-scroll {
    overflow: visible;
  }
  .white-paper tr {
    break-inside: avoid;
  }
}
