/* Docs pages reuse the blog shell (blog.css); this adds the page list and code. */
.docs-nav { display: flex; gap: 8px; margin: 0 0 32px; overflow-x: auto; scrollbar-width: none; }
.docs-nav::-webkit-scrollbar { display: none; }
.docs-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--theme-surface-raised); color: inherit; font-size: 15px; text-decoration: none; }
.docs-nav a:hover { box-shadow: 0 0 0 1px var(--theme-accent-edge); }
.docs-nav a[aria-current="page"] { background: var(--theme-ink); color: var(--bg); }
.docs-page .blog-meta a { color: inherit; text-underline-offset: 3px; }
.docs-prose { font-size: 17px; }
.docs-prose h2, .docs-prose h3 { scroll-margin-top: 140px; }
.docs-prose li + li { margin-top: 8px; }
.docs-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--theme-surface-raised); overflow-wrap: anywhere; }
.docs-prose pre { margin: 0 0 24px; padding: 16px 20px; border-radius: 12px; background: var(--theme-surface-raised); line-height: 1.6; }
.docs-prose h3 code { font-size: 0.78em; line-height: 1.5; }
.docs-prose pre code { padding: 0; background: none; font-size: 14px; overflow-wrap: normal; white-space: pre; }
.docs-platform-toggle { display: flex; gap: 8px; margin: 0 0 20px; }
.docs-platform-toggle button { min-height: 44px; padding: 0 18px; border: 1px solid var(--theme-line); border-radius: 999px; background: none; color: var(--theme-ink-soft); font: inherit; font-size: 15px; cursor: pointer; }
.docs-platform-toggle button:hover { border-color: var(--theme-ink-soft); }
.docs-platform-toggle button[aria-pressed="true"] { border-color: var(--theme-ink); color: var(--theme-ink); font-weight: 600; }
.docs-platform-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 768px) {
  .docs-nav { flex-wrap: wrap; overflow: visible; margin-bottom: 48px; }
  .docs-prose { font-size: 18px; }
}
