body:has(.docs) { background: #0a0a0a; color: #d4d4d4; }
.docs { min-height: 100vh; background: #0a0a0a; color: #d4d4d4; font: 15px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.docs *, .docs *::before, .docs *::after { box-sizing: border-box; }
.docs a { color: #fca5a5; text-decoration: none; }
.docs a:hover { text-decoration: underline; }
.docs :focus-visible { outline: 2px solid #ef4444; outline-offset: 4px; }
.docs [id] { scroll-margin-top: 0; }
.docs-columns { display: grid; grid-template-columns: 264px minmax(0, 1fr); max-width: 1280px; margin: auto; }
.docs-sidebar { position: sticky; top: 0; align-self: start; height: 100dvh; min-height: 0; border-right: 1px solid rgb(255 255 255 / .1); }
.docs-menu { min-height: 0; }
.docs-menu > summary { display: none; }
.docs [data-docs-category-scroll] { height: 100dvh; overflow-y: auto; overscroll-behavior-y: contain; padding: 24px 20px 32px 0; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .22) transparent; }
.docs [data-docs-category-scroll]::-webkit-scrollbar-thumb { background-color: rgb(255 255 255 / .22); }
.docs-search { margin-bottom: 24px; }
.docs-search-field { position: relative; }
.docs-search input { width: 100%; padding: 8px 30px 8px 10px; border: 1px solid rgb(255 255 255 / .22); border-radius: 5px; background: #0a0a0a; color: #fafafa; font: inherit; font-size: 13px; }
.docs-search input::-webkit-search-cancel-button { display: none; }
.docs-search button { position: absolute; right: 8px; top: 6px; border: 0; background: transparent; color: #a3a3a3; cursor: pointer; }
.docs-search p { font-size: 12px; margin-top: 8px; }
.docs nav a { display: block; padding: 5px 10px; color: #a3a3a3; font-size: 13px; line-height: 1.5; border-left: 2px solid transparent; }
.docs nav a:hover { color: #fca5a5; background: #171717; text-decoration: none; }
.docs nav a[aria-current="location"] { color: #fecaca; border-left-color: #ef4444; background: rgb(239 68 68 / .1); }
.docs nav > div { margin-bottom: 16px; }
.docs nav > div > a { font-weight: 600; color: #fafafa; }
.docs [data-docs-nav-children] { margin-left: 10px; padding-left: 5px; border-left: 1px solid rgb(255 255 255 / .1); }
.docs-content { min-width: 0; max-width: 848px; padding: 48px 64px 64px; }
.docs-content h1, .docs-content h2, .docs-content h3 { color: #fafafa; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; }
.docs-content h1 { font-size: 34px; margin: 0 0 16px; }
.docs-content h2 { font-size: 25px; margin: 0 0 16px; }
.docs-content h3 { font-size: 19px; margin: 0 0 10px; }
.docs-content p { margin: 10px 0 16px; }
.docs-content .docs-lead { font-size: 17px; color: #a3a3a3; margin-bottom: 40px; }
.docs-content section + section { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .1); }
.docs-entry { margin: 28px 0; }
.docs-entry .docs-entry { margin: 24px 0; }
.docs-content .docs-label { display: block; color: #a3a3a3; font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.docs-section-heading { margin-bottom: 28px; }
.docs-content figure { margin: 24px 0; }
.docs-content img { display: block; max-width: 100%; height: auto; border: 1px solid rgb(255 255 255 / .1); border-radius: 4px; }
.docs-content figcaption { margin-top: 10px; font-size: 13px; color: #a3a3a3; }
.docs-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.docs-key { flex-shrink: 0; padding: 2px 6px; border: 1px solid rgb(255 255 255 / .1); border-radius: 4px; background: #171717; font: 12px/1.7 ui-monospace, monospace; }
.docs-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / .1); margin-top: 48px; padding-top: 24px; font-size: 14px; }
.docs-skip { position: fixed; left: 16px; top: -100px; z-index: 30; background: #0a0a0a; padding: 8px 16px; }
.docs-skip:focus { top: 8px; }
.docs .docs-cta { display: inline-flex; align-items: center; gap: 16px; padding: 10px 18px; border-radius: 5px; background: #fafafa; color: #171717; font-weight: 600; }
.docs .docs-cta:hover { background: #e5e5e5; text-decoration: none; }
.docs-overview .docs-columns { display: block; }
.docs-overview .docs-content { max-width: none; }
.docs-overview .docs-intro { max-width: 720px; }
.docs-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / .1); }
.docs-directory-grid .docs-directory { margin: 0; padding: 0; border: 0; }
.docs-directory h2 { font-size: 20px; }
.docs-directory a { color: #a3a3a3; }
.docs-directory h2 a { color: #fafafa; }
.docs-directory a:hover { color: #e5e5e5; }
.docs-directory .docs-view-all { display: inline-block; margin-top: 8px; color: #d4d4d4; font-size: 14px; }
.docs-directory ul { list-style: none; padding: 0; margin: 16px 0 0; }
.docs-directory li { break-inside: avoid; margin-bottom: 10px; }
.docs-breadcrumb { color: #a3a3a3; font-size: 13px; }
@media (max-width: 900px) { .docs-columns { grid-template-columns: 240px minmax(0, 1fr); } .docs-content { padding: 36px 28px; } .docs-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .docs-directory-grid { grid-template-columns: 1fr; gap: 32px; }
    .docs-columns { display: block; }
    .docs-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
    .docs-menu > summary { display: list-item; cursor: pointer; padding: 14px 20px; color: #fafafa; font-weight: 600; }
    .docs [data-docs-category-scroll] { height: auto; max-height: 55dvh; padding-top: 8px; }
    .docs-content { padding: 32px 20px 48px; }
    .docs-content h1 { font-size: 29px; }
    .docs-shortcut { flex-wrap: wrap; gap: 6px; }
}
