/* /developers — open API docs: each section = h2 on its own row, the body under it on cols 1–9; built on base.css. */
.dvp{display:flex;flex-direction:column;gap:96px;min-width:0}
@media (max-width:767px){.dvp{gap:64px}}
.dv{display:flex;flex-direction:column;gap:24px;scroll-margin-top:32px}

/* «On this page»: the six section heads. ≥ 1024 a sticky rail in cols 10–12 (like /faq); below, one wrapped row above the sections.
   The link of the section in view is t-1 (aria-current, developers.js). */
.dv__nav{display:flex;flex-direction:column}
.dv__nav > a{display:flex;align-items:center;min-height:44px;color:var(--t-2)}
.dv__nav > a:hover,.dv__nav > a[aria-current]{color:var(--t-1)}
@media (max-width:1023px){
  .pg__g > .dv__rail{order:-1}
  .dv__nav{flex-direction:row;flex-wrap:wrap;column-gap:24px}
  .dv__nav > a{min-width:44px;justify-content:center}
}

/* code role (tokens «code», gate lock fe7499bb): the one hook for every code block, endpoint path and field name on this page.
   Red Hat Mono 400 14/1.5 at every width; words in mono outside pre / code / .code still fail gate rule 9. */
.dvp :is(pre,code,.code){font:400 14px/1.5 var(--mono);letter-spacing:0;font-variant-ligatures:none}

/* endpoints: method chip + path on one line, what it gives under it; hairlines between. Paths without a parameter open the live JSON. */
.ep{display:flex;flex-direction:column}
.ep__i{display:flex;flex-direction:column;gap:8px;padding-block:24px;box-shadow:inset 0 1px 0 var(--line-1)}
.ep__i:last-child{box-shadow:inset 0 1px 0 var(--line-1),inset 0 -1px 0 var(--line-1)}
.ep__i[hidden]{display:none}
.ep__h{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ep__m{padding:4px 8px;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--up)}   /* the method is code (14 px), not a 13 px caps label */
.ep__p{display:inline-flex;align-items:center;min-height:44px;min-width:0}
.ep__p code{overflow-wrap:anywhere}

/* code blocks: caption + Copy over a dark well; long lines scroll inside the well only, the page keeps its vertical scroll.
   While a block has more to the right, its right edge fades out (developers.js sets data-more) — the hint that it scrolls. */
.cb{display:flex;flex-direction:column;gap:16px;min-width:0}
.cb__h{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cb__h > .t-small{flex:1;min-width:0}
.cb__h .btn[data-copy]{min-width:128px;justify-content:center}
.cb__w{background:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line-1);min-width:0;max-width:100%}
.cb__pre{margin:0;padding:24px;color:var(--t-1);
  white-space:pre;tab-size:2;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;max-width:100%}
.cb__pre code{color:inherit}
.cb__pre--wrap{white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:hidden}
.cb__pre[data-more]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent)}
.cb__pre[data-more]:focus-visible{-webkit-mask-image:none;mask-image:none}
/* phone: the examples keep their indentation and scroll sideways inside the well (fade on the right while there is more); from 768
   they fit (≤ 67 chars). Only the agent block, which is prose, wraps. */
@media (max-width:767px){.cb__pre{padding:16px}}

/* before you build: four lines with hairlines */
.ln{display:flex;flex-direction:column}
.ln__i{padding-block:24px;box-shadow:inset 0 1px 0 var(--line-1)}
.ln__i:last-child{box-shadow:inset 0 1px 0 var(--line-1),inset 0 -1px 0 var(--line-1)}
.ln__i[hidden]{display:none}

/* fields: three groups (a pair, an alert, a settled hour), each a <dl>. Phone: name over its meaning. From 768 a two-column definition
   grid: the mono name in a fixed 240 px column (the longest name, «key, sym, cls, long, short», is 218 px and never wraps), the meaning
   in the rest on the same baseline, at most 32em (≤ 75 characters a line). Rows keep the full body width, so the hairlines end on the
   column line; every row is at least 56 tall, the one with ticker marks included. */
.fdgs{gap:64px}
.fdg{display:flex;flex-direction:column;gap:24px}
.fdg[hidden]{display:none}
.fd{display:flex;flex-direction:column}
.fd__i{display:flex;flex-direction:column;gap:8px;padding-block:12px;min-height:56px;box-shadow:inset 0 1px 0 var(--line-1)}
.fd__i:last-child{box-shadow:inset 0 1px 0 var(--line-1),inset 0 -1px 0 var(--line-1)}
.fd__i[hidden]{display:none}
.fd__n{min-width:0;white-space:nowrap}
.fd dd{max-width:30em}
@media (min-width:768px){
  .fd__i{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:24px;align-items:baseline}
  .fd dd{max-width:32em}
}
/* code inside a field line: kept whole on its line (inline-block), broken only if it is longer than the line */
.fd dd code,.fdg__h code{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:var(--t-1)}
.fd__tk{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap}

.dv__gh{gap:8px;align-self:flex-start}
