/* Documentation uses the existing site's typography, surfaces, and header. */
.run-page { --text-muted: #a19f97; }
:root[data-theme="light"] .run-page { --text-muted: #706e69; }
.docs-layout { width: min(1120px, 100% - 48px); margin: 64px auto 80px; display: grid; grid-template-columns: 210px minmax(0, 740px); gap: 64px; }
.contents { align-self: start; position: sticky; top: 102px; }
.contents p, .eyebrow { font: 500 .875rem/1.6 var(--mono); color: var(--text-muted); }
.contents p { margin: 0 0 16px; }
.contents a { display: block; padding: 8px 0 8px 16px; border-left: 1px solid var(--border); color: var(--text-secondary); text-decoration: none; font-size: 1rem; }
.contents a:hover, .contents a:focus-visible { border-color: var(--accent); color: var(--text-primary); }
.docs-content { min-width: 0; }
.docs-intro { padding-bottom: 30px; }
.eyebrow { margin: 0 0 12px; }
.docs-intro h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; margin: 0 0 20px; }
.docs-intro .intro { font-size: 1.3rem; line-height: 1.55; color: var(--text-secondary); }
.docs-intro .source { font-size: 1rem; color: var(--text-muted); }
.docs-content section { border-top: 1px solid var(--border); padding: 32px 0 36px; scroll-margin-top: 100px; }
.docs-content h2 { font-size: 1.65rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 22px; }
.docs-content h2 a { color: inherit; text-decoration: none; }
.step { font: 400 .875rem var(--mono); color: var(--text-muted); margin-right: 16px; vertical-align: middle; }
.docs-content p { font-size: 1.0625rem; line-height: 1.75; margin: 16px 0; color: var(--text-secondary); }
.docs-content a:not(h2 a) { text-underline-offset: 4px; }
.docs-content code { font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere; }
.docs-content p code { background: var(--surface-2); color: var(--text-primary); padding: 2px 5px; border-radius: 4px; }
.command { border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; background: var(--surface-1); margin: 20px 0; }
.command-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 7px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); font: .875rem/1.5 var(--mono); }
.copy-button { font: inherit; color: var(--text-secondary); background: transparent; border: 1px solid var(--border); padding: 3px 10px; border-radius: 5px; cursor: pointer; }
.copy-button:hover { background: var(--surface-3); color: var(--text-primary); }
.command pre { margin: 0; padding: 20px; overflow-x: auto; font: 1rem/1.8 var(--mono); }
.command pre code { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; overflow-wrap: normal; }
.note { padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--surface-2); margin: 24px 0 0; }
.note > strong { font-size: 1.0625rem; font-weight: 600; }
.note p { margin: 8px 0 0; }
.docs-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-top: 28px; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--surface-1); color: var(--text-primary); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) { .docs-layout { gap: 32px; grid-template-columns: 180px minmax(0, 1fr); } }
@media (max-width: 760px) { .docs-layout { display: block; width: calc(100% - 36px); margin-top: 36px; } .contents { position: static; margin-bottom: 32px; } .contents nav { display: flex; flex-wrap: wrap; gap: 4px 18px; } .contents p { flex-basis: 100%; margin-bottom: 4px; } .contents a { border: 0; padding: 4px 0; font-size: .9375rem; } .run-page .site-header .site-nav a[href="../#index"], .run-page .site-header .site-nav a[href="../blog/"], .run-page .site-header .site-nav a.is-active { display: inline-flex; } .run-page .site-header #navGithub, .run-page .site-header #navArxiv, .run-page .site-header #navContact { display: none; } }
@media (max-width: 480px) { .run-page .site-header .header-inner { height: auto; min-height: 62px; flex-wrap: wrap; padding-block: 10px; gap: 6px; } .run-page .site-header .brand { margin-right: auto; } .run-page .site-header .site-nav { order: 3; width: 100%; margin-left: 0; } .docs-content section { scroll-margin-top: 140px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .contents, .copy-button, .docs-footer { display: none; } .docs-layout { display: block; width: 100%; margin: 0; } .command pre { white-space: pre-wrap; } }

.provider-examples { margin: 24px 0; border-top: 1px solid var(--border); }
.provider-example { padding: 16px 0; border-bottom: 1px solid var(--border); }
.provider-example summary { cursor: pointer; font-size: 1.0625rem; font-weight: 600; }
.provider-example[open] summary { margin-bottom: 16px; }
