:root { color-scheme: light; --bg:#f4f7f8; --card:#fff; --ink:#14343e; --muted:#52636b; --line:#dbe7e9; --accent:#0c8176; --code-bg:#edf3f4; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.65 ui-sans-serif, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
.docs-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding: 28px 32px; background: #0d3b44; color: #e8f6f4; }
.docs-header h1 { margin: 4px 0 8px; font-size: 28px; }
.docs-header .eyebrow { margin: 0; letter-spacing: .08em; font-size: 11px; opacity: .75; }
.docs-header .sub { margin: 0; color: #b7d7d3; font-size: 13px; }
.docs-header a { color: #9ef0e4; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-block; padding: 9px 14px; border-radius: 8px; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 650; white-space: nowrap; }
.button.ghost { background: transparent; border: 1px solid #5f9a94; }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; max-width: 1200px; margin: 0 auto; }
.docs-toc { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow: auto; padding: 22px 18px; border-right: 1px solid var(--line); background: #f8fbfb; font-size: 13px; }
.docs-toc strong { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.docs-toc ol { margin: 0; padding-left: 18px; }
.docs-toc li { margin: 6px 0; }
.docs-toc a { color: var(--ink); text-decoration: none; }
.docs-toc a:hover { color: var(--accent); }
.docs-main { padding: 28px 32px 60px; background: var(--card); min-width: 0; }
.docs-main h1 { display: none; }
.docs-main h2 { margin: 36px 0 14px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 22px; scroll-margin-top: 16px; }
.docs-main h2:first-of-type { border-top: 0; margin-top: 0; }
.docs-main h3 { margin: 22px 0 8px; font-size: 17px; scroll-margin-top: 16px; }
.docs-main p, .docs-main li { color: #24353c; }
.docs-main blockquote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: #eef8f6; color: var(--muted); }
.docs-main hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
code { padding: 1px 5px; border-radius: 4px; background: var(--code-bg); color: #185864; font: 850 12.5px/1.4 ui-monospace, monospace; }
pre { overflow: auto; padding: 14px 16px; border-radius: 10px; background: #10262c; color: #d7ece8; }
pre code { padding: 0; background: transparent; color: inherit; font-weight: 400; font-size: 12.5px; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0f5f6; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.docs-footer { padding: 18px 32px 40px; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 900px) {
  .docs-header { flex-direction: column; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
}
