.documentation { max-width: 78ch; padding-block: 2rem 4rem; line-height: 1.65; overflow-wrap: anywhere; }
.documentation h1, .documentation h2, .documentation h3 { line-height: 1.25; margin-top: 1.8em; scroll-margin-top: 1rem; }
.documentation pre { overflow-x: auto; overflow-wrap: normal; padding: 1rem; border: 1px solid currentColor; }
.documentation table { display: block; overflow-x: auto; overflow-wrap: normal; border-collapse: collapse; }
.documentation th, .documentation td { border: 1px solid currentColor; padding: .5rem; text-align: left; }
.documentation img { max-width: 100%; height: auto; }
.documentation a { text-decoration: underline; }

.docs-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.docs-layout { display: grid; gap: 2.133rem; align-items: start; }
.docs-layout > * { min-width: 0; }
.docs-layout .documentation { max-width: 76ch; padding-top: 0; }
.docs-contents { padding: .8rem; background: var(--base-800); border: 1px solid var(--line-700); border-radius: var(--r-panel); }
.docs-contents summary { cursor: pointer; min-height: 32px; }
.docs-contents ul { list-style: none; padding: 0; }
.docs-contents a { display: block; padding: .533rem; min-height: 32px; overflow-wrap: anywhere; }
.docs-contents a[aria-current="page"] { font-weight: 700; background: var(--base-700); }
.docs-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.067rem; margin-top: 1.6rem; }
.docs-pagination a { padding: .8rem; border: 1px solid var(--line-700); min-height: 32px; }
.docs-layout .documentation :not(pre) > code { font: inherit; color: inherit; padding: 0; background: none; border: 0; border-radius: 0; }
.documentation pre { background: var(--base-700); padding: .8rem; border-color: var(--line-700); }
.documentation pre code { font-family: var(--font-mono); padding: 0; border: 0; background: none; }
.documentation h1 { max-width: none; font-size: 2rem; }
.documentation p + p, .documentation h2, .documentation h3 { margin-top: 1.6rem; }
@media (min-width: 64rem) {
  .docs-layout { grid-template-columns: 14.933rem minmax(0, 1fr); }
  .docs-desktop { display: block; }
  details.docs-contents { display: none; }
}
@media (max-width: 48rem) { .docs-pagination { grid-template-columns: 1fr; } }
.docs-group { padding: .533rem; font-weight: 700; color: var(--text-300); }
.docs-desktop { display: none; }
@media (min-width: 64rem) { .docs-desktop { display: block; } }
.docs-bar a, .docs-bar span { display: inline-block; min-height: 32px; }
.docs-contents a:hover, .docs-pagination a:hover { color: var(--text-100); background: var(--base-600); }
