main.doc h2 {
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  font-weight: 600;
  margin: 2.2rem 0 0.75rem;
  line-height: 1.25;
}

main.doc h3 {
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.95;
  font-weight: 600;
  margin: 1.6rem 0 0.55rem;
  line-height: 1.3;
}

main.doc h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.4rem;
}

main.doc article p,
main.doc article li,
main.doc article blockquote {
  max-width: 42rem;
}

main.doc article ul,
main.doc article ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  max-width: 42rem;
}

main.doc article li {
  margin: 0.28rem 0;
}

main.doc article li p {
  margin: 0.15rem 0;
}

main.doc article a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--link-border);
  font-weight: 600;
}

main.doc article a:hover {
  border-bottom-color: currentColor;
}

main.doc article blockquote {
  margin: 0 0 1.1rem;
  padding: 0.1rem 0 0.1rem 0.9rem;
  border-left: 3px solid var(--line);
}

main.doc article pre {
  overflow-x: auto;
  max-width: 100%;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.45;
}

main.doc article pre code {
  font-size: 0.82rem;
}

main.doc .toc {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  max-width: 42rem;
}

main.doc .toc ul {
  margin: 0.35rem 0 0.2rem;
  padding-left: 1.15rem;
}

main.doc .toc > ul {
  margin-top: 0;
}

main.doc .toc a {
  font-weight: 500;
}

main.doc .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 0 0 1.2rem;
}

main.doc th,
main.doc td {
  white-space: normal;
  vertical-align: top;
}

main.doc td code,
main.doc th code {
  overflow-wrap: anywhere;
}

main.doc .table-wrap table {
  width: 100%;
  min-width: 36rem;
  max-width: none;
}

main.doc .hub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  max-width: 42rem;
}

main.doc .hub-list li {
  margin: 0 0 0.85rem;
}

main.doc .gloss {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
}

main.doc .note {
  color: var(--muted);
  font-size: 0.95rem;
}
