.reference-mast {
  max-width: 1080px;
}

.reference-mast > p {
  max-width: 47em;
}

.reference-mast a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.reference-body {
  max-width: 1080px;
  padding-block: var(--gap) var(--section-pad);
}

.reference-chapter {
  padding-block-start: clamp(28px, 5vw, 62px);
}

.reference-chapter + .reference-chapter {
  margin-block-start: clamp(26px, 4vw, 48px);
  border-block-start: 1px solid var(--border);
}

.reference-chapter > h2 {
  margin-block-start: 0;
  text-wrap: pretty;
}

.reference-chapter > :is(p, .table-scroll) {
  margin-block-start: 1em;
}

.reference-chapter > h3 {
  color: var(--accent-dark);
}

.reference-chapter .data-table {
  --table-min: 29rem;
}

.reference-chapter .data-table td {
  white-space: normal;
}