.docs-toolbar {
  position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:12px max(16px,calc((100vw - 1180px)/2)); background:var(--surface); border-bottom:1px solid var(--line);
}
.docs-brand { display:flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; }
.docs-layout { display:grid; grid-template-columns:265px minmax(0,1fr); gap:32px; max-width:1220px; padding:28px 20px; margin:auto; }
.docs-sidebar { position:sticky; top:90px; align-self:start; overflow:auto; max-height:calc(100dvh - 100px); }
.docs-sidebar nav a { min-height:36px; }
.docs-article { padding:24px clamp(16px,4vw,48px) 40px; border-radius:16px; border:1px solid var(--line); background:var(--surface); }
.docs-kicker { color:var(--accent); font-weight:700; margin-bottom:8px; }
.docs-article h1 { margin-bottom:24px; }
.docs-article h2 { font-size:23px; }
.docs-article section { scroll-margin-top:84px; border-top:1px solid var(--line); padding-top:22px; margin-bottom:24px; }
.docs-article p,.docs-article li { line-height:1.65; }
.docs-article li+li { margin-top:8px; }
.docs-article code { padding:2px 4px; border-radius:4px; background:var(--button); overflow-wrap:anywhere; }
.docs-article th,.docs-article td { text-align:start; white-space:normal; }
.docs-article td { min-width:128px; }
@media(max-width:820px) {
  .docs-layout { grid-template-columns:1fr; gap:14px; padding:12px; }
  .docs-sidebar { position:static; max-height:none; }
  .docs-sidebar nav { display:flex; }
}
