.docs-head { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.docs-head h1 { max-width: none; font-size: clamp(2.75rem, 6vw, 4.2rem); }
.docs-head p { max-width: 44rem; margin-top: .8rem; color: var(--muted); font-size: 1.125rem; }
.top .nav nav a[aria-current=page] { color: #fff; text-decoration: underline; text-underline-offset: .4em; }
.docs-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2.5rem 4rem; }
.doc-sidebar nav { display: grid; align-content: start; gap: .6rem; position: sticky; top: 1.5rem; border-right: 1px solid var(--line); padding-right: 1rem; }
.doc-sidebar p { margin-bottom: .2rem; font-weight: 700; }
.doc-sidebar a { color: var(--muted); font-size: .9375rem; }
.docs-body { max-width: 49rem; min-width: 0; }
.docs-body section { scroll-margin-top: .75rem; }
.docs-body section + section { margin-top: 2.7rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.docs-body h2 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); }
.docs-body h3 { margin-top: 1.35rem; scroll-margin-top: .75rem; }
.docs-body p { margin-top: .6rem; color: var(--muted); }
.docs-body :not(pre) > code { overflow-wrap: anywhere; }
.doc-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
.doc-options a { display: flex; flex-direction: column; gap: .25rem; padding: .75rem; border: 1px solid var(--line); border-radius: .3rem; text-decoration: none; }
.doc-options a:hover { border-color: var(--accent); background: var(--soft); }
.doc-options span { font-size: .875rem; color: var(--muted); }
.docs-note { margin-top: 1rem; padding: .7rem .85rem; border-left: 2px solid var(--accent); background: var(--soft); }
.docs-note p { margin-top: .25rem; }
.docs-steps { padding-inline-start: 1.4rem; }
.docs-steps li + li { margin-top: .8rem; }
.doc-issues { margin-top: 1rem; }
.doc-issues div { padding-block: .85rem; border-top: 1px solid var(--line); }
.doc-issues dt { font-weight: 700; }
.doc-issues dd { margin-top: .25rem; color: var(--muted); }
@media (max-width: 760px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: 1.25rem; }
  .doc-sidebar nav { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; }
}
@media (max-width: 510px) { .doc-options { grid-template-columns: 1fr; } }

.catalog-table { width: 100%; margin-top: 1rem; border-collapse: collapse; text-align: left; overflow-wrap: anywhere; }
.catalog-table :is(th, td) { border-bottom: 1px solid var(--line); padding: .65rem .6rem; vertical-align: top; }
.catalog-table thead { background: var(--soft); }
.catalog-table thead th { color: var(--muted); font-size: .875rem; }
.catalog-table tbody th { width: 30%; font-weight: 650; }
.catalog-table tbody th code { display: block; color: var(--accent); }
.catalog-table td { font-size: .9375rem; }
.catalog-table td:nth-child(2) { width: 7.5rem; }
@media (max-width: 510px) {
  .catalog-table :is(th, td) { padding-inline: .32rem; }
  .catalog-table td:nth-child(2) { width: 3.7rem; }
}
