/* API reference page (/developers/api/). Redoc styles itself from the theme in
 * api-docs.js; this only sets the page around it, light or dark as the system is set.
 * System fonts only: the page's CSP allows no web fonts. */
html, body { margin: 0; padding: 0; background: #fff; color: #142b25; }
body { font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
/* The heading is the title alone; info.version stays in the document. */
#xrentman-api .api-info > h1 > span { display: none; }
/* Redoc's attribution image never receives its foreign address (api-docs.js); its link text stays. */
#xrentman-api img[alt="redocly logo"] { display: none; }
.xr-loading, noscript p { max-width: 40rem; margin: 4rem auto; padding: 0 1rem; color: #4d5f58; }
/* Redoc 2.5.4 fixes some colours instead of reading the theme. These rules give them the site's
 * values, so every text reads at 4.5:1 (website audit R-2); dev/e2e/smoke.spec.cjs measures the
 * whole page in light and dark and fails when a Redoc update moves them. Code samples sit on the
 * dark right panel in both appearances and take the dark code colours of the theme.json palette. */
#xrentman-api .token.number, #xrentman-api .token.constant, #xrentman-api .token.symbol { color: #d9c97c; }
#xrentman-api .token.property, #xrentman-api .token.tag { color: #6bdfff; }
#xrentman-api .token.boolean { color: #ff7ab2; }
#xrentman-api .token.comment, #xrentman-api .token.prolog, #xrentman-api .token.doctype, #xrentman-api .token.cdata { color: #8c99a6; }
@media (prefers-color-scheme: dark) {
  html, body { background: #000; color: #f5f5f7; }
  .xr-loading, noscript p { color: #a1a1a6; }
  /* Section labels and table captions: fixed rgba(38, 50, 56, .7); the media type in them: black. */
  #xrentman-api h5, #xrentman-api caption { color: #a1a1a6; border-bottom-color: #3a3a3c; }
  #xrentman-api h5 > span { color: inherit; }
  /* Tables in the guides: fixed white rows. */
  #xrentman-api table tr { background-color: #000; border-top-color: #272727; }
  #xrentman-api table tr:nth-child(2n) { background-color: #181818; }
  #xrentman-api table th, #xrentman-api table td { border-color: #3a3a3c; }
  /* The selected sample tab is a light chip on the dark panel. */
  #xrentman-api li.react-tabs__tab--selected { color: #111; }
  /* Pattern labels: fixed #0e7c86 (4.3:1 on black); the class is the pinned bundle's component id. */
  #xrentman-api .sc-bypJrT { color: #7cc4b0; }
}
