.docs-layout { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 264px minmax(0,1fr) 224px; }
.docs-sidebar { position: sticky; top: var(--header); height: calc(100dvh - var(--header)); overflow-y: auto; padding: 24px 16px 32px 24px; border-right: 1px solid var(--line); scrollbar-width: thin; view-transition-name: docs-sidebar; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 500; color: var(--subtle); margin: 0 0 18px 2px; }
.back-link .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.back-link:hover { color: var(--text); }
.plugin-switcher { margin-bottom: 22px; }
.switcher-button { anchor-name: --plugin-switcher; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--fill); color: var(--text); text-align: left; box-shadow: inset 0 1px 0 rgb(255 255 255 / .03); }
.switcher-button:hover, .switcher-button[aria-expanded=true] { background: var(--fill-hover); border-color: var(--line-strong); }
.switcher-icon { width: 30px; height: 30px; flex: none; border-radius: 8px; box-shadow: 0 0 0 1px rgb(255 255 255 / .06); }
.switcher-label { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.switcher-name { font-size: .875rem; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.switcher-meta { font-size: .75rem; color: var(--subtle); }
.switcher-button>.icon { width: 16px; height: 16px; color: var(--subtle); }
.switcher-menu { position: fixed; inset: auto; top: calc(anchor(bottom) + 6px); left: anchor(left); position-anchor: --plugin-switcher; position-try-fallbacks: flip-block; width: 288px; width: max(anchor-size(width), 288px); max-height: min(70dvh, 480px); margin: 0; padding: 6px; overflow: auto; overscroll-behavior: contain; border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; background: rgb(31 33 41 / .94); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); color: var(--text); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 24px 60px -12px rgb(0 0 0 / .8); opacity: 0; translate: 0 -4px; transition: opacity .15s, translate .15s, overlay .15s allow-discrete, display .15s allow-discrete; }
.switcher-menu:popover-open { opacity: 1; translate: 0; }
@starting-style { .switcher-menu:popover-open { opacity: 0; translate: 0 -4px; } }
.switcher-heading { margin: 4px 8px 6px; font-size: .75rem; font-weight: 600; line-height: 1.5; color: var(--subtle); }
.switcher-menu ul { list-style: none; margin: 0; padding: 0; }
.switcher-menu a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; }
.switcher-menu a:hover, .switcher-menu a:focus-visible { background: var(--fill-hover); outline: 0; }
.switcher-menu a:focus-visible { box-shadow: inset 0 0 0 1px oklch(.78 .12 258 / .5); }
.switcher-menu a[aria-current] { background: var(--accent-soft); }
.switcher-menu img { width: 28px; height: 28px; flex: none; border-radius: 7px; }
.switcher-item { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.switcher-item>span { font-size: .875rem; font-weight: 500; }
.switcher-item small { font-size: .75rem; color: var(--subtle); }
.switcher-menu a>.icon { width: 16px; height: 16px; color: var(--accent); }
.sidebar-group { margin: 22px 0; }
.sidebar-group h2 { font-family: var(--font); font-size: .75rem; font-weight: 600; letter-spacing: 0; color: var(--subtle); margin: 0 10px 6px; }
.sidebar-group a { display: flex; align-items: center; padding: 6px 10px; margin: 1px 0; border-radius: 8px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.sidebar-group a:hover { color: var(--text); background: var(--fill); }
.sidebar-group a[aria-current] { background: var(--accent-soft); color: var(--accent-strong); font-weight: 500; }
.sidebar-support { border-top: 1px solid var(--line); padding: 18px 10px 4px; }
.sidebar-support a { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.sidebar-support .icon { width: 13px; height: 13px; }
.sidebar-support a:hover { color: var(--text); }
.doc-main { min-width: 0; padding: 36px 56px 80px; }
.breadcrumbs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; color: var(--subtle); font-size: .8125rem; line-height: 1.6; }
.breadcrumbs .icon { width: 12px; height: 12px; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs>span { color: var(--muted); }
.doc-heading { border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 36px; }
.doc-heading .eyebrow { font-size: .8125rem; font-weight: 500; line-height: 1.6; color: var(--accent); }
.doc-heading h1 { font-size: clamp(2.25rem, 3.4vw, 3rem); letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 18px; overflow-wrap: anywhere; }
.doc-plugin-icon { display: block; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 16px; box-shadow: 0 10px 28px -10px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .06); }
.doc-lead { font-size: 1.125rem; color: var(--muted); line-height: 1.6; margin: -4px 0 22px; max-width: 62ch; }
.doc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.doc-meta>a, .doc-meta>span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--fill); color: var(--muted); font-size: .75rem; }
.doc-meta>a { font-family: var(--mono); }
.doc-meta>a:hover { color: var(--text); border-color: var(--line-strong); }
.doc-meta .compatibility li { display: flex; align-items: center; height: 26px; padding-block: 0; color: var(--accent-strong); background: var(--accent-soft); border-color: oklch(.78 .12 258 / .25); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.fab-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: .875rem; font-weight: 500; color: var(--accent); }
.fab-link .icon { width: 15px; height: 15px; }
.fab-link:hover { background: var(--accent-soft); color: var(--accent-strong); }
.prose { font-size: 1rem; color: #c6c8d0; line-height: 1.75; overflow-wrap: anywhere; }
.prose p { margin: 1.1em 0; line-height: 1.75; }
.prose p:first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; color: var(--text); margin: 2.3em 0 .7em; scroll-margin-top: calc(var(--header) + 25px); }
.prose h3 { font-size: 1.1875rem; line-height: 1.4; letter-spacing: -.015em; color: var(--text); margin: 1.9em 0 .6em; }
.prose h4 { font-size: 1rem; line-height: 1.5; color: var(--text); margin: 1.6em 0 .6em; }
.prose strong { font-weight: 600; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { padding-left: 4px; margin: 7px 0; }
.prose li::marker { color: var(--subtle); }
.prose ul ul, .prose ol ul, .prose ul ol, .prose ol ol { margin-block: 8px; }
.prose input[type=checkbox] { appearance: none; width: 15px; height: 15px; margin: 0 7px 0 0; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--fill); vertical-align: -2px; position: relative; }
.prose input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.prose input[type=checkbox]:checked:after { content: ''; position: absolute; top: 2px; left: 4px; width: 4px; height: 7px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: oklch(.78 .12 258 / .35); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose code { font-family: var(--mono); font-size: .85em; color: #e4e6ec; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .06); border-radius: 6px; padding: .12em .4em; }
.code-block { border: 1px solid var(--line); border-radius: 14px; margin: 24px 0; overflow: hidden; background: #111318; }
.code-toolbar { padding: 6px 8px 6px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--fill); color: var(--subtle); font-family: var(--mono); font-size: .75rem; }
.copy-code { display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; min-height: 28px; font-size: .75rem; border: 0; background: transparent; color: var(--muted); border-radius: 7px; }
.copy-code:hover { background: var(--fill-hover); color: var(--text); }
.copy-code .icon { width: 14px; height: 14px; }
.prose pre { padding: 18px 20px; margin: 0; max-width: 100%; overflow: auto; font-size: .8125rem; line-height: 1.75; tab-size: 2; scrollbar-width: thin; }
.prose pre code { font-size: inherit; color: #d4d7de; background: transparent; border: 0; padding: 0; white-space: pre; overflow-wrap: normal; }
.table-scroll { max-width: 100%; overflow: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / .012); scrollbar-width: thin; }
.prose table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; line-height: 1.65; }
.prose th { background: var(--fill); color: var(--muted); font-size: .8125rem; font-weight: 500; }
.prose th, .prose td { padding: 11px 16px; min-width: 125px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose td { color: #c6c8d0; }
.prose tbody tr { transition: background-color .15s; }
.prose tbody tr:hover { background: rgb(255 255 255 / .02); }
.prose tr:last-child td { border-bottom: 0; }
.prose td code { white-space: normal; overflow-wrap: anywhere; }
.prose blockquote { margin: 24px 0; padding: 14px 18px; border: 1px solid oklch(.78 .12 258 / .2); border-radius: 14px; background: oklch(.78 .12 258 / .07); color: #d3d7e0; }
.prose blockquote p { margin: .5em 0; }
.prose blockquote p:first-child { margin-top: 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose details { background: var(--fill); border: 1px solid var(--line); padding: 14px 18px; border-radius: 14px; margin: 20px 0; }
.prose summary { font-weight: 500; color: var(--text); cursor: pointer; }
.prose details[open] summary { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.heading-anchor { opacity: 0; color: var(--subtle) !important; font-family: var(--mono); font-weight: 400; padding-left: 10px; font-size: .8em; text-decoration: none !important; }
.prose h2:hover .heading-anchor, .prose h3:hover .heading-anchor, .heading-anchor:focus { opacity: 1; }
.doc-toc { min-width: 0; padding: 40px 24px 30px 0; }
.toc-inner { position: sticky; top: calc(var(--header) + 40px); }
.doc-toc h2 { font-family: var(--font); font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin: 0 0 12px; }
.doc-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); max-height: calc(100dvh - var(--header) - 130px); overflow: auto; scrollbar-width: thin; }
.doc-toc nav a { color: var(--subtle); font-size: .8125rem; line-height: 1.5; padding: 6px 12px; margin-left: -1px; border-left: 1px solid transparent; }
.doc-toc nav a:hover { color: var(--text); }
.doc-toc nav a.active { border-color: var(--accent); color: var(--text); }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.doc-pager a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / .015); }
.doc-pager a:hover { background: var(--fill); border-color: var(--line-strong); }
.doc-pager small { display: inline-flex; align-items: center; gap: 6px; color: var(--subtle); font-size: .75rem; }
.doc-pager small .icon { width: 13px; height: 13px; }
.doc-pager span { font-size: .9375rem; font-weight: 500; color: var(--text); line-height: 1.5; }
.doc-pager a:last-child { align-items: end; text-align: right; }
.doc-help { margin-top: 24px; }
.doc-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--subtle); font-size: .8125rem; }
.doc-help a:hover { color: var(--text); }
.doc-help .icon { width: 13px; height: 13px; }
.docs-menu, .mobile-doc-nav, .mobile-toc { display: none; }
.documentation .site-footer { max-width: 1440px; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: oklch(.78 .12 295); }
.hljs-string, .hljs-attr { color: oklch(.83 .1 165); }
.hljs-number, .hljs-symbol { color: oklch(.83 .11 70); }
.hljs-comment { color: var(--subtle); font-style: italic; }
.hljs-title, .hljs-built_in, .hljs-type { color: oklch(.8 .11 245); }
.hljs-operator, .hljs-punctuation { color: #a8aab3; }
.hljs-meta { color: oklch(.78 .08 230); }

@media(max-width:1200px) {
  .docs-layout { grid-template-columns: 248px minmax(0,1fr); }
  .doc-toc { display: none; }
  .doc-main { padding-inline: 40px; }
  .docs-sidebar { padding-left: 20px; }
  .mobile-toc { display: block; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 32px; background: var(--fill); font-size: .875rem; overflow: hidden; }
  .mobile-toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; color: var(--text); font-weight: 500; padding: 13px 16px; }
  .mobile-toc summary::-webkit-details-marker { display: none; }
  .mobile-toc summary:after { content: ''; width: 7px; height: 7px; margin-right: 4px; border: solid var(--subtle); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
  .mobile-toc[open] summary { border-bottom: 1px solid var(--line); }
  .mobile-toc[open] summary:after { transform: rotate(-135deg) translateY(-2px); }
  .mobile-toc a { display: block; color: var(--muted); font-size: .875rem; padding: 8px 16px; line-height: 1.5; }
  .mobile-toc a:first-of-type { margin-top: 6px; }
  .mobile-toc a:last-child { margin-bottom: 8px; }
  .mobile-toc a:hover { color: var(--text); background: var(--fill); }
}
@media(max-width:760px) {
  .docs-layout { display: block; }
  .docs-sidebar { display: none; }
  .doc-main { padding: 20px 20px 48px; }
  .docs-menu { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; margin-bottom: 24px; border: 1px solid var(--line); background: var(--fill); border-radius: 12px; font-size: .875rem; font-weight: 500; text-align: left; line-height: 1.5; }
  .docs-menu .icon { width: 18px; height: 18px; color: var(--subtle); }
  .docs-menu:hover, .docs-menu[aria-expanded=true] { background: var(--fill-hover); border-color: var(--line-strong); }
  .mobile-doc-nav { display: flex; flex-direction: column; gap: 2px; padding: 6px; margin: -14px 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; max-height: 55vh; overflow: auto; box-shadow: 0 16px 40px -16px rgb(0 0 0 / .7); }
  .mobile-doc-nav a { padding: 9px 12px; border-radius: 8px; font-size: .875rem; color: var(--muted); }
  .mobile-doc-nav a:hover { background: var(--fill); color: var(--text); }
  .mobile-doc-nav a[aria-current] { color: var(--accent-strong); background: var(--accent-soft); font-weight: 500; }
  .breadcrumbs { margin-bottom: 24px; }
  .doc-heading h1 { font-size: 2.25rem; letter-spacing: -.03em; }
  .doc-heading { padding-bottom: 26px; margin-bottom: 30px; }
  .doc-lead { font-size: 1.0625rem; }
  .prose h2 { font-size: 1.375rem; }
  .prose h3 { font-size: 1.125rem; }
  .prose th, .prose td { padding: 10px 13px; }
  .prose pre { padding: 16px; }
  .heading-anchor { opacity: .5; }
  .doc-pager { gap: 10px; }
  .doc-pager a { padding: 14px; }
}
@media(max-width:360px) {
  .doc-main { padding-inline: 16px; }
  .doc-heading h1 { font-size: 2rem; }
  .doc-actions { align-items: stretch; flex-direction: column; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager>span { display: none; }
}
@media print {
  .site-header, .site-footer, .docs-sidebar, .doc-toc, .docs-menu, .mobile-doc-nav, .doc-pager, .doc-help, .mobile-toc, .search-dialog, .copy-code, .skip-link, .doc-actions, .heading-anchor { display: none !important; }
  :root { color-scheme: light; background: white; color: black; }
  body:before, .page-backdrop { display: none; }
  body, .doc-main, .docs-layout { display: block; background: white; color: black; }
  .doc-main { padding: 0; }
  .prose, .prose p, .prose td, .prose strong, .prose h2, .prose h3, .doc-heading h1, .doc-meta>a, .doc-meta>span, .doc-lead, .compatibility li { color: black; }
  .prose a { color: #224576; }
  .prose pre, .prose code, .table-scroll, .prose th, .code-block, .code-toolbar, .compatibility li { background: #f2f4f7; color: black; }
  .prose pre code { color: black; white-space: pre-wrap; }
  .prose table { font-size: .75rem; }
  .table-scroll { overflow: visible; }
  .doc-heading h1 { font-size: 2rem; }
  .breadcrumbs, .doc-meta a { color: #333; }
  .code-block { break-inside: avoid; }
}
