/* /docs/ — layout fixes (07/10/2026), loaded after docs.css.

   1. Sidebar: docs.css gave <html> scroll-padding-top:64px for native anchors.
      Redoc scrolls a clicked menu item with el.scrollIntoView() and then
      scrollBy(0, 1 - scrollYOffset). The browser honours the padding on the
      first step, so the section landed 64px too low (top at ~119px instead of
      55px). Redoc's scroll-spy only counts a section as reached when its top
      is <= scrollYOffset (56), so it handed the highlight back to the section
      above and the group the reader had just opened closed again. Redoc owns
      the scrolling on these pages: no scroll padding. */
html{scroll-padding-top:0!important}

/* 2. Redoc paints one full-height dark block on the right (the sibling after
      .api-content). Every operation already carries its own dark panel, so the
      block only showed up as an empty slab next to the intro and the text-only
      sections. It stays as an invisible anchor (Redoc controls its width and
      hides it on narrow screens) and carries the Quickstart card, which docs-layout.js
      injects. Without the card (no JS) it is simply not painted. */
.docs-main .redoc-wrap > .api-content + div{
  background:transparent!important;
  height:auto!important;
  bottom:auto!important;
  visibility:hidden;
  pointer-events:none;
}
.docs-main .redoc-wrap > .api-content + div > .docs-qs{visibility:visible;pointer-events:auto}

/* Quickstart card: same surface as Redoc's right panels (rightPanel.backgroundColor,
   codeBlock #070B16, 40px gutters, heading in the page's heading font). */
.docs-qs{
  box-sizing:border-box;
  background:var(--d-code,#0b1020);color:var(--d-code-ink,#e6eaf5);
  padding:40px;font-family:var(--d-font);font-size:15px;line-height:1.6;
}
.docs-qs *{box-sizing:border-box}
.docs-qs-h{margin:0;font:600 26.4px/1.25 var(--d-font-head,var(--d-font));letter-spacing:-.011em;color:var(--d-code-ink,#e6eaf5)}
.docs-qs-sub{margin:6px 0 22px;font-size:13.5px;color:rgba(230,234,245,.7)}
.docs-qs-verb{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:4px;font:700 11px/18px var(--d-font);letter-spacing:.04em;color:#fff;background:#1d5fd1;vertical-align:1px}
.docs-qs-sub code{font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--d-code-ink,#e6eaf5);background:none;padding:0}
.docs-qs-sub a{color:#9dadd8;text-decoration:none;white-space:nowrap}
.docs-qs-sub a:hover{color:#e6eaf5;text-decoration:underline}
.docs-qs-cap{margin:0 0 6px;font:600 12px/1.5 var(--d-font-head,var(--d-font));color:rgba(230,234,245,.7)}
.docs-qs-code{position:relative;margin:0 0 20px;background:#070b16;border-radius:0}
.docs-qs-code:last-child{margin-bottom:0}
.docs-qs-code pre{
  margin:0;padding:20px;max-width:100%;overflow:auto;
  font:13px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#e5eee9;background:#111a17;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.docs-qs-code .t-s{color:#a0fbaa}
.docs-qs-code .t-o{color:#f5b83d}
.docs-qs-code .t-k{color:#9dadd8}
.docs-qs-code .t-n{color:#f5b83d}
.docs-qs-copy{
  position:absolute;top:8px;right:8px;min-height:28px;padding:0 10px;border:0;border-radius:5px;cursor:pointer;
  font:600 12px/1 var(--d-font);color:rgba(230,234,245,.75);background:rgba(11,16,32,.55)
}
.docs-qs-copy:hover{color:#e6eaf5;background:rgba(11,16,32,.85)}
