.reference-heading {
  margin-bottom: 32px;
}

.reference-heading h1 {
  margin-block: 16px;
}

.reference-heading p {
  margin-bottom: 0;
}

.config-reference .toc {
  gap: 4px;
  padding-block: 8px;
}

.config-reference .toc a {
  padding-inline: 12px;
  font-size: var(--size-small);
}

.config-reference .prose > section {
  scroll-margin-top: 60px;
}

.config-reference .prose pre,
.config-reference .prose .table-scroll {
  margin-block: 24px;
}

.config-reference .table-scroll table {
  display: table;
  overflow: visible;
}

.config-reference .data-table tbody th {
  background: var(--bg);
}

.config-reference .data-table tbody tr:last-child th {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .reference-heading {
    margin-bottom: 24px;
  }

  .config-reference .toc a {
    padding-inline: 10px;
  }
}