/* /data/history/: the History API reference. The site shell above, Redoc below, in the site's palette. */
.api-reference main { display:block; }
.api-heading { padding-bottom:48px; }
.api-heading .eyebrow { margin-bottom:18px; }
.api-heading .intro-copy { max-width:520px; }
.api-facts { margin-top:26px; }
.api-facts dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 28px; margin:0; padding:20px 0 0; border-top:1px solid var(--line); }
.api-facts dt { color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; }
.api-facts dd { margin:6px 0 0; font-size:13px; line-height:1.55; }
.api-heading .intro-link { margin-top:26px; }
.api-doc { border-top:1px solid var(--line); background:#fff; }
.api-doc-mount { min-height:60vh; }
.api-noscript { padding:40px 0; color:var(--muted); font-size:14px; }
.api-noscript a { text-decoration:underline; text-underline-offset:3px; }
/* Redoc 3 renders into #redoc and marks components with data-component-name. Hide what the page does not want:
   the search trigger (search is disabled), the sidebar actions (its own dark-mode and layout toggles would fight the
   site's theme) and the attribution line, whose logo comes from redocly.com and is blocked by the CSP anyway. */
#redoc { font-family:"Inter","Helvetica Neue",Arial,sans-serif; }
#redoc :is(button,div,label):has(> [data-component-name="icons/SearchIcon/SearchIcon"]) { display:none !important; }
#redoc [data-component-name="Sidebar/SidebarActions"], #redoc :is(div,span):has(> [data-testid="color-mode-switcher"]), #redoc [data-testid="color-mode-switcher"] { display:none !important; }
#redoc a[href*="redocly.com"], #redoc span:has(> a[href*="redocly.com"]), #redoc a[href*="redoc.ly"] { display:none !important; }
#redoc table th, #redoc table td { font-size:13px; }
@media(max-width:700px) {
  .api-heading { padding-bottom:32px; }
  .api-facts dl { grid-template-columns:1fr; gap:14px; }
}

/* /data/agent/: doors, a request, MCP setup and citation rules above the Redoc reference. */
.agent-setup { padding-bottom:24px; max-width:860px; }
.agent-setup h2 { font-size:1.35rem; font-weight:500; margin:36px 0 12px; }
.agent-setup p, .agent-setup li { line-height:1.6; }
.agent-doors, .agent-rules { padding-left:1.1em; margin:0 0 8px; }
.agent-doors li span { color:#596771; }
.agent-code { margin:14px 0; }
.agent-code figcaption { font-size:.85rem; color:#596771; margin-bottom:6px; }
.agent-code pre { background:#0f1b28; color:#f8f8f4; padding:14px 16px; border-radius:6px; overflow-x:auto; font-size:13px; line-height:1.5; margin:0; }
.agent-setup code { overflow-wrap:anywhere; }
