.doc-hero {
  border-bottom: 1px solid var(--color-border);
  padding-top: 82px;
  padding-bottom: 72px;
}

.doc-hero .reading {
  max-width: 920px;
}

.doc-hero h1 {
  max-width: 820px;
}

.doc-lead {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 19px;
  line-height: 1.8;
}

.doc-badges {
  margin-top: 28px;
}

.doc-guide-link {
  margin-top: 32px;
}

.doc-guide-link a,
.manual-body a {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.manual-frame {
  padding-top: 34px;
  padding-bottom: var(--section-space);
}

.manual-frame > .toc-tabs {
  top: 0;
  margin-bottom: 0;
  border-right: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.manual-body {
  max-width: 900px;
  margin-inline: auto;
}

.manual-section {
  padding-top: 94px;
  padding-bottom: 18px;
}

.manual-section + .manual-section {
  border-top: 1px solid var(--color-border);
}

.manual-section h2 {
  margin-top: 10px;
  scroll-margin-top: var(--toc-offset);
}

.manual-section h3 {
  margin-top: 38px;
  font-size: 24px;
}

.manual-section p {
  color: var(--color-text);
}

.manual-section > p:not(.mono-label) {
  line-height: 1.86;
}

.manual-section .callout {
  margin-top: 30px;
  margin-bottom: 30px;
}

.manual-section .callout p {
  color: var(--color-text-muted);
}

.manual-section .callout-title {
  color: var(--color-accent-strong);
}

.manual-section .table-scroll {
  margin-top: 30px;
  margin-bottom: 34px;
}

.manual-section pre {
  margin-top: 18px;
  margin-bottom: 24px;
}

.ticket-template {
  margin-top: 30px;
  margin-bottom: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  padding: 22px;
}

.ticket-template pre {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .doc-hero {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .doc-lead {
    font-size: 17px;
  }

  .manual-frame {
    padding-top: 24px;
  }

  .manual-section {
    padding-top: 74px;
  }

  .manual-section h3 {
    margin-top: 32px;
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .doc-hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .doc-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-badges .badge {
    width: 100%;
  }

  .manual-frame > .toc-tabs {
    margin-inline: 0;
  }

  .manual-section {
    padding-top: 64px;
  }

  .ticket-template {
    padding: 16px;
  }
}