/* Documentation layout only; shared public theme supplies palette and type. */
.reference-table { width: 100%; table-layout: fixed; }
.reference-table th, .reference-table td { overflow-wrap: anywhere; }
.reference-table th:first-child { width: 25%; }
.docs-main pre { max-width: 100%; overflow-x: auto; }
.docs-main code { overflow-wrap: anywhere; }
.docs-main pre code { overflow-wrap: normal; }
.docs-main li { margin-block: .6em; }
.method-reference { margin-block: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.method-reference h3 { overflow-wrap: anywhere; }
.method-reference summary { cursor: pointer; padding-block: .8rem; }
.method-index { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-block: 1.5rem; }
.method-index a { overflow-wrap: anywhere; max-width: 100%; }
.page-toc { max-height: calc(100vh - 120px); overflow-y: auto; }
.sidebar { max-height: calc(100vh - 95px); overflow-y: auto; }
@media (max-width: 760px) {
  .reference-table { table-layout: auto; }
  .reference-table th:first-child { width: auto; }
  .method-index { flex-direction: column; }
}
