/* Generated by scripts/generate-api-docs.mjs. Do not edit by hand. */
/* API reference: the site's theme for the Scalar bundle. The page loads the site
   stylesheet and docs.css into the "site" layer, which Scalar's rules always beat. */
@layer stow-scalar-reset {
  .scalar-app, .scalar-app :not(svg, svg *, img, video, canvas, iframe) { all: revert; }
  /* "revert" would also drop the presentation attributes these elements rely on (an icon's
     d, fill and stroke, an image's width), so they only lose the site's img/svg display and
     max-width; its height: auto keeps an icon's viewBox ratio. */
  .scalar-app :is(svg, img, video, canvas, iframe) { display: revert; max-width: revert; }
  /* the one browser hint "revert" drops from Scalar's contenteditable inputs */
  .scalar-app [contenteditable]:not([contenteditable="false"]) { overflow-wrap: break-word; }
  /* A top-level Scalar root (the reference and the portals Scalar adds to <body>) starts from
     the browser's 16px and normal line height, as on a bare page, not the site body's 17px/1.6. */
  .scalar-app:not(.scalar-app *) { font-size: medium; line-height: normal; }
}

/* Scalar's base layer (body { line-height: inherit }) outranks the site layer, so the site's
   line height is set again for the header, docs bar and footer. */
body { line-height: 1.6; }

/* Scalar locks scrolling behind its API client with body { overflow: hidden }. The site clips
   horizontal overflow on <html>, which would keep that lock off the viewport, so this page
   clips on <body>, whose overflow the viewport takes over. */
html { overflow-x: visible; }
body { overflow-x: clip; }

/* Scalar scrolls to sections itself; the sticky site header (and its dotted border) sits above it. */
html { scroll-behavior: auto; }
:root { --scalar-custom-header-height: calc(var(--topbar-h) + 2px); }
/* Scalar offsets tags and operations by that height, but not models or the intro headings */
.scalar-app :is(.collapsible-section-trigger, .introduction-description-heading)[id] { scroll-margin-top: calc(var(--refs-viewport-offset, var(--scalar-custom-header-height)) + 14px); }

/* Scalar is forced to light mode, which puts .light-mode on <body> */
.light-mode {
  --scalar-font: var(--font-body);
  --scalar-font-code: var(--font-mono);
  --scalar-radius: 6px;
  --scalar-radius-lg: 10px;
  --scalar-radius-xl: 14px;

  --scalar-background-1: var(--bg);
  --scalar-background-2: var(--surface);
  --scalar-background-3: var(--oat-2);
  --scalar-background-accent: color-mix(in srgb, var(--brand-glow) 14%, transparent);
  --scalar-border-color: var(--line);
  --scalar-scrollbar-color: rgba(92, 58, 33, .28);

  --scalar-color-1: var(--ink);
  --scalar-color-2: var(--ink-2);
  --scalar-color-3: var(--ink-3);
  --scalar-color-accent: var(--brand);
  --scalar-link-color: var(--brand);
  --scalar-link-color-hover: var(--brand-strong);
  --scalar-link-color-visited: var(--brand);

  /* HTTP methods and statuses, dark enough for AA on oat, paper and the sidebar's hover and active rows */
  --scalar-color-green: #335A22;
  --scalar-color-red: #86342B;
  --scalar-color-yellow: #5F4A00;
  --scalar-color-blue: #264F75;
  --scalar-color-orange: #80400C;
  --scalar-color-purple: #5A3F80;
  --scalar-color-alert: #8A5300;
  --scalar-color-danger: var(--err);
  --scalar-background-alert: color-mix(in srgb, #8A5300 10%, transparent);
  --scalar-background-danger: color-mix(in srgb, #9C3F34 10%, transparent);

  --scalar-button-1: var(--brand-btn);
  --scalar-button-1-color: var(--paper);
  --scalar-button-1-hover: var(--brand-btn-hover);
  --scalar-tooltip-background: var(--ink);
  --scalar-tooltip-color: var(--ink-inv);

  --scalar-sidebar-background-1: var(--bg-alt);
  --scalar-sidebar-border-color: var(--line);
  --scalar-sidebar-color-1: var(--ink);
  --scalar-sidebar-color-2: var(--ink-2);
  --scalar-sidebar-color-active: var(--brand-strong);
  --scalar-sidebar-item-hover-background: rgba(92, 58, 33, .08);
  --scalar-sidebar-item-hover-color: var(--ink);
  --scalar-sidebar-item-active-background: color-mix(in srgb, var(--brand-glow) 18%, transparent);
  --scalar-sidebar-search-background: var(--surface);
  --scalar-sidebar-search-border-color: var(--line-strong);
  --scalar-sidebar-search-color: var(--ink-3);
}

/* Scalar draws each operation's request example as a dark card (.dark-mode): the site's espresso code block */
.dark-mode {
  --scalar-background-1: #1A0F0A;
  --scalar-background-2: #22140E;
  --scalar-background-3: #2F1E15;
  --scalar-background-accent: color-mix(in srgb, var(--brand-bright) 16%, transparent);
  --scalar-border-color: rgba(243, 233, 218, .12);
  --scalar-scrollbar-color: rgba(243, 233, 218, .25);
  --scalar-color-1: #EDE2D1;
  --scalar-color-2: rgba(237, 226, 209, .76);
  --scalar-color-3: rgba(237, 226, 209, .6);
  --scalar-color-accent: var(--brand-bright);
  --scalar-color-green: #A9C98C;
  --scalar-color-red: #FF8A7A;
  --scalar-color-yellow: #E3C77A;
  --scalar-color-blue: var(--brand-bright);
  --scalar-color-orange: #E8A665;
  --scalar-color-purple: var(--crema);
  --scalar-button-1: var(--brand-btn);
  --scalar-button-1-color: var(--paper);
  --scalar-button-1-hover: var(--brand-btn-hover);
}

/* Headings in the site's slab face */
.scalar-app :is(.section-header-label, .markdown h1, .markdown h2, .markdown h3) { font-family: var(--font-head); letter-spacing: -.01em; }
