/* ==========================================================================
   RepoCloud documentation (/docs)

   Everything here is scoped under .docs-body (the <body> class of the documentation pages), so nothing leaks into the
   rest of the site, and every colour is a variable of that scope, so the dark theme is a second set of values rather
   than a second set of rules.

   Specificity (why the selectors are as long as they are): the site's dark theme (dark-mode.css, loaded after this
   file) styles bare elements with higher specificity than one class:  html[data-theme="dark"] a:not(.btn) is (0,2,2)
   and its :hover is (0,3,2);  html[data-theme="dark"] p, li, span  is (0,1,2).  A rule here that sets a colour is
   therefore written  .docs-body .docs-<container> .docs-<item>  (0,3,0, and 0,4,0 for :hover), which wins in both
   themes without !important.  The only !important in this file are the two declarations of section 14, each
   answering an !important of dark-mode.css on pre and code.

   Sections: 1 tokens  2 shell and bar  3 layout  4 sidebar  5 article  6 content  7 components  8 code  9 pager and
   footer  10 right panel  11 search  12 404  13 drawers and motion  14 dark theme  15 print.
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
.docs-body {
  --docs-accent: #3f00ff;
  --docs-accent-tint: #efebff;
  --docs-accent-solid: #3f00ff;
  --docs-accent-solid-strong: #3400d1;
  --docs-on-accent: #ffffff;
  --docs-bg: #ffffff;
  --docs-surface: #f6f8fb;
  --docs-surface-strong: #eceff5;
  --docs-border: #e1e6ee;
  --docs-control-border: #7b8798;
  --docs-heading: #151a23;
  --docs-text: #2f3a4a;
  --docs-muted: #566377;
  --docs-link: #3f00ff;
  --docs-link-strong: #3400d1;
  --docs-mark: #fde68a;
  --docs-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.18);
  --docs-scrim: rgba(15, 23, 42, 0.5);
  --docs-code-bg: #f6f8fa;
  --docs-code-header-bg: #eef1f5;
  --docs-code-text: #1f2328;
  --docs-code-inline-bg: #eef1f6;
  --docs-tok-comment: #57606a;
  --docs-tok-keyword: #cf222e;
  --docs-tok-string: #0a3069;
  --docs-tok-number: #0550ae;
  --docs-tok-builtin: #953800;
  --docs-tok-tag: #116329;
  --docs-tok-function: #8250df;
  --docs-tok-variable: #953800;
  --docs-tok-operator: #0550ae;
  --docs-tok-punctuation: #57606a;
  --docs-tok-deleted: #82071e;
  --docs-tok-inserted: #116329;
  --docs-note-bg: #eef4ff;
  --docs-note-border: #b9d0ff;
  --docs-note-icon: #1d4ed8;
  --docs-tip-bg: #ecfdf3;
  --docs-tip-border: #a6e9c1;
  --docs-tip-icon: #047857;
  --docs-warning-bg: #fffaeb;
  --docs-warning-border: #fedf89;
  --docs-warning-icon: #b45309;
  --docs-info-bg: #f4f1ff;
  --docs-info-border: #d4c8ff;
  --docs-info-icon: #5b21b6;
  --docs-success: #047857;
  --docs-bar-row-height: 3rem;
  --docs-bar-height: 3rem;
  --docs-sidebar-width: 15rem;
  --docs-aside-width: 20rem;
  --docs-rail-width: 3rem;
  --docs-gutter: 1.25rem;
  --docs-content-width: 46rem;
  --docs-radius: 0.75rem;
  --docs-font-mono: var(
    --bs-font-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
  );
}

/* 2. Shell and bar -------------------------------------------------------- */
.docs-body .docs-shell {
  position: relative;
  background: var(--docs-bg);
  color: var(--docs-text);
}

/* Fixed to the window, not to the shell: the shell starts below the site header, and that header is taller while its
   menu is open, so a link that hides by moving up from the shell would show itself over the menu. */
.docs-body .docs-shell .docs-skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--docs-accent-solid);
  color: var(--docs-on-accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-300%);
}

.docs-body .docs-shell .docs-skip-link:focus {
  transform: none;
  color: var(--docs-on-accent);
  outline: 2px solid var(--docs-heading);
  outline-offset: 2px;
}

.docs-body .docs-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--docs-bg);
  box-shadow: 0 1px 0 var(--docs-border);
}

.docs-body .docs-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--docs-bar-row-height);
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--shell-pad, var(--docs-gutter));
}

.docs-body .docs-sections {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

.docs-body .docs-sections-list {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-body .docs-sections-list::-webkit-scrollbar {
  display: none;
}

.docs-body .docs-sections-list[data-overflow="end"] {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
}

.docs-body .docs-sections-list[data-overflow="start"] {
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(to left, #000 calc(100% - 2rem), transparent);
}

.docs-body .docs-sections-list[data-overflow="both"] {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}

.docs-body .docs-sections-item {
  flex: 0 0 auto;
}

.docs-body .docs-sections .docs-sections-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.875rem;
  border-bottom: 2px solid transparent;
  color: var(--docs-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.docs-body .docs-sections .docs-sections-link:hover {
  color: var(--docs-heading);
  border-bottom-color: var(--docs-border);
}

.docs-body .docs-sections .docs-sections-link.is-active,
.docs-body .docs-sections .docs-sections-link.is-active:hover {
  color: var(--docs-heading);
  border-bottom-color: var(--docs-accent);
  font-weight: 600;
}

.docs-body .docs-sections .docs-sections-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -4px;
  border-radius: 0.5rem;
}

.docs-body .docs-bar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.docs-body .docs-search-trigger,
.docs-body .docs-bar-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  padding: 0 0.625rem;
  border: 1px solid var(--docs-control-border);
  border-radius: 0.5rem;
  background: var(--docs-surface);
  color: var(--docs-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

.docs-body .docs-search-trigger {
  min-width: 11rem;
}

.docs-body .docs-search-trigger-text {
  flex: 1 1 auto;
  text-align: left;
}

.docs-body .docs-kbd {
  padding: 0.125rem 0.375rem;
  border: 1px solid var(--docs-border);
  border-radius: 0.375rem;
  background: var(--docs-bg);
  color: var(--docs-muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
}

.docs-body .docs-search-trigger:hover,
.docs-body .docs-bar-button:hover {
  border-color: var(--docs-heading);
  color: var(--docs-heading);
}

.docs-body .docs-bar-button.docs-ask-trigger {
  border-color: var(--docs-accent-solid);
  background: var(--docs-accent-solid);
  color: var(--docs-on-accent);
}

.docs-body .docs-bar-button.docs-ask-trigger:hover {
  border-color: var(--docs-accent-solid-strong);
  background: var(--docs-accent-solid-strong);
  color: var(--docs-on-accent);
}

.docs-body .docs-search-trigger:focus-visible,
.docs-body .docs-bar-button:focus-visible,
.docs-body .docs-menu-trigger:focus-visible,
.docs-body .docs-icon-button:focus-visible,
.docs-body .docs-ask-page:focus-visible,
.docs-body .docs-aside-tab:focus-visible,
.docs-body .docs-tab-button:focus-visible,
.docs-body .docs-code-copy:focus-visible,
.docs-body .docs-heading-copy:focus-visible,
.docs-body .docs-heading-link:focus-visible,
.docs-body .docs-assistant-link:focus-visible,
.docs-body .docs-assistant-action:focus-visible,
.docs-body .docs-assistant-nojs-link:focus-visible,
.docs-body .docs-assistant-context-remove:focus-visible,
.docs-body .docs-assistant-newchat:focus-visible,
.docs-body .docs-assistant-send:focus-visible,
.docs-body .docs-assistant-stop:focus-visible,
.docs-body .docs-assistant-notice-action:focus-visible,
.docs-body .docs-assistant-disclaimer-link:focus-visible,
.docs-body .docs-starter:focus-visible,
.docs-body .docs-turn-action:focus-visible,
.docs-body .docs-turn-retry:focus-visible,
.docs-body .docs-source:focus-visible,
.docs-body .docs-answer-link:focus-visible,
.docs-body .docs-trace-summary:focus-visible,
.docs-body .docs-missing-search:focus-visible,
.docs-body .docs-missing-home:focus-visible,
.docs-body .docs-suggestion-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
}

.docs-body .docs-mobilebar {
  display: none;
}

/* 3. Layout --------------------------------------------------------------- */
.docs-body .docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: 1920px;
  margin-inline: auto;
}

.docs-body .docs-main {
  min-width: 0;
  padding: 2rem var(--docs-gutter) 4rem;
}

.docs-body .docs-main:focus {
  outline: none;
}

.docs-body .docs-article {
  max-width: var(--docs-content-width);
  margin-inline: auto;
  container-type: inline-size;
  container-name: docs-article;
}

/* 4. Sidebar -------------------------------------------------------------- */
.docs-body .docs-drawer-head {
  display: none;
}

.docs-body .docs-sidebar-scroll {
  position: relative;
  padding: 1.25rem 0.75rem 2rem var(--shell-pad, var(--docs-gutter));
}

.docs-body .docs-sidebar-group {
  margin: 0 0 0.5rem;
}

.docs-body .docs-sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--docs-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.docs-body .docs-sidebar-heading::-webkit-details-marker {
  display: none;
}

.docs-body .docs-sidebar-heading::after {
  content: "";
  flex: 0 0 auto;
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 2px solid var(--docs-muted);
  border-bottom: 2px solid var(--docs-muted);
  transform: rotate(-45deg);
}

.docs-body .docs-sidebar-group[open] > .docs-sidebar-heading::after {
  transform: rotate(45deg);
}

.docs-body .docs-sidebar-heading:hover {
  background: var(--docs-surface);
}

.docs-body .docs-sidebar-heading:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-sidebar .docs-sidebar-link {
  display: block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--docs-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
}

.docs-body .docs-sidebar .docs-sidebar-link:hover {
  background: var(--docs-surface);
  color: var(--docs-heading);
}

.docs-body .docs-sidebar .docs-sidebar-link.is-active,
.docs-body .docs-sidebar .docs-sidebar-link.is-active:hover {
  background: var(--docs-accent-tint);
  color: var(--docs-accent);
  font-weight: 600;
}

.docs-body .docs-sidebar .docs-sidebar-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

/* 5. Article -------------------------------------------------------------- */
.docs-body .docs-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--docs-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.docs-body .docs-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.docs-body .docs-title {
  margin: 0;
  color: var(--docs-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.docs-body .docs-ask-page {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
  height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--docs-control-border);
  border-radius: 999px;
  background: var(--docs-bg);
  color: var(--docs-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

.docs-body .docs-ask-page:hover {
  border-color: var(--docs-accent);
  background: var(--docs-accent-tint);
  color: var(--docs-accent);
}

.docs-body .docs-lede {
  margin: 0.75rem 0 0;
  color: var(--docs-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.docs-body .docs-content {
  margin-top: 2rem;
  color: var(--docs-text);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

/* 6. Content: prose ------------------------------------------------------- */
.docs-body .docs-content > :first-child {
  margin-top: 0;
}

/* The renderer gives no class to a paragraph, list or list item of the prose, and a class to every one that belongs
   to a component (a card group, the steps, a tab title). :where() keeps the specificity of these rules at (0,2,1), so
   a component's own rule (0,2,0 or more) never loses to them and their last-child rules (0,3,0) never lose either. */
.docs-body .docs-content p:where(:not([class])),
.docs-body .docs-content ul:where(:not([class])),
.docs-body .docs-content ol:where(:not([class])) {
  margin: 0 0 1.25rem;
}

.docs-body .docs-content ul:where(:not([class])),
.docs-body .docs-content ol:where(:not([class])) {
  padding-left: 1.5rem;
}

.docs-body .docs-content li:where(:not([class])) {
  margin-bottom: 0.375rem;
}

.docs-body .docs-content li > ul:where(:not([class])),
.docs-body .docs-content li > ol:where(:not([class])) {
  margin: 0.375rem 0 0.5rem;
}

.docs-body .docs-content li:where(:not([class]))::marker {
  color: var(--docs-muted);
}

.docs-body .docs-content strong {
  color: var(--docs-heading);
  font-weight: 600;
}

.docs-body .docs-content [id] {
  scroll-margin-top: calc(var(--docs-bar-height) + 1rem);
}

.docs-body .docs-heading {
  position: relative;
  margin: 2.75rem 0 1rem;
  padding-right: 1.875rem;
  color: var(--docs-heading);
  font-weight: 600;
  line-height: 1.3;
}

.docs-body .docs-content h2.docs-heading {
  font-size: 1.5rem;
}

.docs-body .docs-content h3.docs-heading {
  margin-top: 2rem;
  font-size: 1.1875rem;
}

.docs-body .docs-content h4.docs-heading {
  margin-top: 1.75rem;
  font-size: 1rem;
}

.docs-body .docs-heading .docs-heading-link {
  color: inherit;
  text-decoration: none;
}

.docs-body .docs-heading-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.375rem;
  margin-right: -1.875rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--docs-muted);
  font-size: 0.9375rem;
  line-height: 1;
  vertical-align: middle;
  opacity: 0;
}

@media (hover: none) {
  .docs-body .docs-heading-copy {
    opacity: 0.65;
  }
}

.docs-body .docs-heading:hover .docs-heading-copy,
.docs-body .docs-heading-copy:focus-visible,
.docs-body .docs-heading-copy.is-copied {
  opacity: 1;
}

.docs-body .docs-heading-copy:hover {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-content .docs-heading-copy.is-copied {
  color: var(--docs-success);
}

.docs-body .docs-content a:not([class]),
.docs-body .docs-callout-body a:not([class]) {
  color: var(--docs-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.docs-body .docs-content a:not([class]):hover,
.docs-body .docs-callout-body a:not([class]):hover {
  color: var(--docs-link-strong);
  text-decoration-thickness: 2px;
}

.docs-body .docs-content a:not([class]):focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
  border-radius: 0.125rem;
}

.docs-body .docs-content :not(pre) > code {
  padding: 0.15em 0.4em;
  border-radius: 0.375rem;
  background: var(--docs-code-inline-bg);
  color: var(--docs-code-text);
  font-family: var(--docs-font-mono);
  font-size: 0.875em;
  overflow-wrap: break-word;
}

.docs-body .docs-content a code {
  color: inherit;
}

.docs-body .docs-hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--docs-border);
  opacity: 1;
}

.docs-body .docs-blockquote {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--docs-border);
  color: var(--docs-muted);
}

.docs-body .docs-blockquote > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-table-wrap {
  margin: 0 0 1.5rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  overflow-x: auto;
}

.docs-body .docs-table-wrap:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
}

.docs-body .docs-table {
  width: 100%;
  min-width: 30rem;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.docs-body .docs-table th,
.docs-body .docs-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--docs-border);
  vertical-align: top;
}

.docs-body .docs-table thead th {
  border-top: 0;
  background: var(--docs-surface);
  color: var(--docs-heading);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.docs-body .docs-table .docs-align-left {
  text-align: left;
}

.docs-body .docs-table .docs-align-center {
  text-align: center;
}

.docs-body .docs-table .docs-align-right {
  text-align: right;
}

/* A short body cell ("Tier 1", "16 GB") or a short code span (an identifier) stays on one line: a table too narrow for
   its cells scrolls in its wrapper. */
.docs-body .docs-table .docs-nowrap {
  white-space: nowrap;
}

/* A table of four or more columns is set a size smaller, with tighter cells and header labels that may wrap, so that
   it fits the column left beside the right panel. */
.docs-body .docs-table-dense {
  font-size: 0.875rem;
}

.docs-body .docs-table-dense th,
.docs-body .docs-table-dense td {
  padding-right: 0.625rem;
  padding-left: 0.625rem;
}

.docs-body .docs-table-dense thead th {
  white-space: normal;
}

/* A long address or path in a cell may break anywhere when its table is too narrow for it: `anywhere`, unlike
   `break-word`, also lowers the width the cell asks for, so the table does not grow past its column. Only the spans
   the renderer marks (an unbroken run of 22 or more characters) carry the class: lowering the width an identifier asks
   for would split it even where there is room. */
.docs-body .docs-table .docs-code-long {
  overflow-wrap: anywhere;
}

.docs-body .docs-table td p:last-child,
.docs-body .docs-table td ul:last-child,
.docs-body .docs-table td ol:last-child {
  margin-bottom: 0;
}

/* 7. Components ----------------------------------------------------------- */
.docs-body .docs-callout {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--docs-note-border);
  border-radius: var(--docs-radius);
  background: var(--docs-note-bg);
  color: var(--docs-text);
}

.docs-body .docs-callout-icon {
  flex: 0 0 auto;
  color: var(--docs-note-icon);
  font-size: 1.125rem;
  line-height: 1.55;
}

.docs-body .docs-callout-body {
  flex: 1 1 auto;
  min-width: 0;
}

.docs-body .docs-callout-body > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-callout-tip {
  border-color: var(--docs-tip-border);
  background: var(--docs-tip-bg);
}

.docs-body .docs-callout-tip .docs-callout-icon {
  color: var(--docs-tip-icon);
}

.docs-body .docs-callout-warning {
  border-color: var(--docs-warning-border);
  background: var(--docs-warning-bg);
}

.docs-body .docs-callout-warning .docs-callout-icon {
  color: var(--docs-warning-icon);
}

.docs-body .docs-callout-info {
  border-color: var(--docs-info-border);
  background: var(--docs-info-bg);
}

.docs-body .docs-callout-info .docs-callout-icon {
  color: var(--docs-info-icon);
}

.docs-body .docs-card-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-card-item {
  display: flex;
  margin: 0;
}

@container docs-article (min-width: 34rem) {
  .docs-body .docs-card-group-cols-2,
  .docs-body .docs-card-group-cols-3,
  .docs-body .docs-card-group-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container docs-article (min-width: 44rem) {
  .docs-body .docs-card-group-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .docs-body .docs-card-group-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.docs-body .docs-card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  gap: 0.875rem;
  padding: 1.125rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  background: var(--docs-bg);
}

.docs-body .docs-card-linked:hover {
  border-color: var(--docs-accent);
  box-shadow: 0 0 0 1px var(--docs-accent);
}

.docs-body .docs-card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: var(--docs-accent-tint);
  color: var(--docs-accent);
  font-size: 1.125rem;
}

.docs-body .docs-card-content {
  flex: 1 1 auto;
  min-width: 0;
}

.docs-body .docs-card-title {
  margin: 0 0 0.25rem;
  color: var(--docs-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.docs-body .docs-card .docs-card-link {
  color: var(--docs-heading);
  text-decoration: none;
}

.docs-body .docs-card .docs-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--docs-radius);
}

.docs-body .docs-card .docs-card-link:focus-visible {
  outline: none;
}

.docs-body .docs-card .docs-card-link:focus-visible::after {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
}

.docs-body .docs-card-body {
  color: var(--docs-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.docs-body .docs-card-body > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: docs-step;
}

.docs-body .docs-step {
  position: relative;
  min-height: 2rem;
  margin: 0;
  padding: 0 0 1.5rem 2.75rem;
  counter-increment: docs-step;
}

.docs-body .docs-step::before {
  content: counter(docs-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
  font-size: 0.8125rem;
  font-weight: 600;
}

.docs-body .docs-step::after {
  content: "";
  position: absolute;
  top: 2.375rem;
  bottom: 0.5rem;
  left: 0.9375rem;
  width: 1px;
  background: var(--docs-border);
}

.docs-body .docs-step:last-child {
  padding-bottom: 0;
}

.docs-body .docs-step:last-child::after {
  display: none;
}

.docs-body .docs-step-title {
  margin: 0 0 0.375rem;
  color: var(--docs-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.875rem;
}

.docs-body .docs-step-body > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-accordion-group {
  margin: 1.5rem 0;
}

.docs-body .docs-accordion {
  margin: 0 0 0.75rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  background: var(--docs-bg);
}

.docs-body .docs-accordion-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--docs-radius);
  color: var(--docs-heading);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.docs-body .docs-accordion-summary::-webkit-details-marker {
  display: none;
}

.docs-body .docs-accordion-summary::before {
  content: "";
  flex: 0 0 auto;
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 2px solid var(--docs-muted);
  border-bottom: 2px solid var(--docs-muted);
  transform: rotate(-45deg);
}

.docs-body .docs-accordion[open] > .docs-accordion-summary::before {
  transform: rotate(45deg);
}

.docs-body .docs-accordion-summary:hover {
  background: var(--docs-surface);
}

.docs-body .docs-accordion-summary:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-accordion-icon {
  flex: 0 0 auto;
  color: var(--docs-accent);
}

.docs-body .docs-accordion-body {
  padding: 0.25rem 1rem 1rem 2.4rem;
  color: var(--docs-text);
}

.docs-body .docs-accordion-body > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-tabs,
.docs-body .docs-code-group {
  margin: 1.5rem 0;
}

.docs-body .docs-tab-title {
  margin: 1.25rem 0 0.5rem;
  color: var(--docs-heading);
  font-weight: 600;
}

.docs-body .docs-tabs.is-enhanced .docs-tab-title {
  display: none;
}

.docs-body .docs-tablist {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--docs-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-body .docs-tablist::-webkit-scrollbar {
  display: none;
}

.docs-body .docs-tab-button {
  flex: 0 0 auto;
  margin-bottom: -1px;
  padding: 0.625rem 0.875rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--docs-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.docs-body .docs-tab-button:hover {
  color: var(--docs-heading);
}

.docs-body .docs-tab-button[aria-selected="true"] {
  border-bottom-color: var(--docs-accent);
  color: var(--docs-heading);
  font-weight: 600;
}

.docs-body .docs-tab-body > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-frame {
  margin: 1.5rem 0;
  padding: 0.5rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  background: var(--docs-surface);
}

.docs-body .docs-frame img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* 8. Code ----------------------------------------------------------------- */
.docs-body .docs-code {
  position: relative;
  margin: 0 0 1.5rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  background: var(--docs-code-bg);
  overflow: hidden;
}

.docs-body .docs-code-group .docs-code {
  margin-bottom: 0;
}

.docs-body .docs-code-header {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  z-index: 1;
}

.docs-body .docs-code[data-language] .docs-code-header,
.docs-body .docs-code[data-title] .docs-code-header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.375rem 0.5rem 0.375rem 1rem;
  border-bottom: 1px solid var(--docs-border);
  background: var(--docs-code-header-bg);
}

.docs-body .docs-code-label {
  min-width: 0;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.docs-body .docs-code-pre {
  display: block;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--docs-code-text);
  font-family: var(--docs-font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  tab-size: 4;
  overflow: auto;
}

.docs-body .docs-code:not([data-language]):not([data-title]) .docs-code-pre {
  padding-right: 5.5rem;
}

.docs-body .docs-code-pre:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-code-content {
  padding: 0;
  background: transparent;
  color: var(--docs-code-text);
  font-family: inherit;
  font-size: inherit;
  white-space: pre;
  word-break: normal;
}

.docs-body .docs-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--docs-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.docs-body .docs-code-copy:hover {
  border-color: var(--docs-border);
  background: var(--docs-bg);
  color: var(--docs-heading);
}

.docs-body .docs-code-copy.is-copied {
  color: var(--docs-success);
}

.docs-body .docs-code-group.is-enhanced .docs-code-label {
  display: none;
}

.docs-body .docs-code-group.is-enhanced .docs-tablist {
  margin: 0;
  padding-inline: 0.5rem;
  border: 1px solid var(--docs-border);
  border-bottom: 0;
  border-radius: var(--docs-radius) var(--docs-radius) 0 0;
  background: var(--docs-code-header-bg);
}

.docs-body .docs-code-group.is-enhanced .docs-code {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.docs-body .docs-code-group.is-enhanced .docs-code-pre {
  padding-right: 5.5rem;
}

.docs-body .docs-code-group.is-enhanced .docs-code-header {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.docs-body .docs-code .tok-c,
.docs-body .docs-code .tok-ch,
.docs-body .docs-code .tok-cm,
.docs-body .docs-code .tok-cp,
.docs-body .docs-code .tok-cpf,
.docs-body .docs-code .tok-c1,
.docs-body .docs-code .tok-cs {
  color: var(--docs-tok-comment);
  font-style: italic;
}

.docs-body .docs-code .tok-k,
.docs-body .docs-code .tok-kc,
.docs-body .docs-code .tok-kd,
.docs-body .docs-code .tok-kn,
.docs-body .docs-code .tok-kp,
.docs-body .docs-code .tok-kr,
.docs-body .docs-code .tok-kt,
.docs-body .docs-code .tok-ow {
  color: var(--docs-tok-keyword);
}

.docs-body .docs-code .tok-s,
.docs-body .docs-code .tok-sa,
.docs-body .docs-code .tok-sb,
.docs-body .docs-code .tok-sc,
.docs-body .docs-code .tok-dl,
.docs-body .docs-code .tok-sd,
.docs-body .docs-code .tok-s1,
.docs-body .docs-code .tok-s2,
.docs-body .docs-code .tok-sh,
.docs-body .docs-code .tok-sx,
.docs-body .docs-code .tok-sr,
.docs-body .docs-code .tok-ss,
.docs-body .docs-code .tok-l,
.docs-body .docs-code .tok-l-Scalar,
.docs-body .docs-code .tok-l-Scalar-Plain,
.docs-body .docs-code .tok-ld {
  color: var(--docs-tok-string);
}

.docs-body .docs-code .tok-se,
.docs-body .docs-code .tok-si,
.docs-body .docs-code .tok-ni {
  color: var(--docs-tok-builtin);
}

.docs-body .docs-code .tok-m,
.docs-body .docs-code .tok-mb,
.docs-body .docs-code .tok-mf,
.docs-body .docs-code .tok-mh,
.docs-body .docs-code .tok-mi,
.docs-body .docs-code .tok-il,
.docs-body .docs-code .tok-mo {
  color: var(--docs-tok-number);
}

.docs-body .docs-code .tok-nb,
.docs-body .docs-code .tok-bp,
.docs-body .docs-code .tok-no,
.docs-body .docs-code .tok-nc,
.docs-body .docs-code .tok-nd,
.docs-body .docs-code .tok-ne,
.docs-body .docs-code .tok-nn {
  color: var(--docs-tok-builtin);
}

.docs-body .docs-code .tok-nt,
.docs-body .docs-code .tok-na,
.docs-body .docs-code .tok-py,
.docs-body .docs-code .tok-nl {
  color: var(--docs-tok-tag);
}

.docs-body .docs-code .tok-nf,
.docs-body .docs-code .tok-fm {
  color: var(--docs-tok-function);
}

.docs-body .docs-code .tok-nv,
.docs-body .docs-code .tok-vc,
.docs-body .docs-code .tok-vg,
.docs-body .docs-code .tok-vi,
.docs-body .docs-code .tok-vm {
  color: var(--docs-tok-variable);
}

.docs-body .docs-code .tok-o {
  color: var(--docs-tok-operator);
}

.docs-body .docs-code .tok-p,
.docs-body .docs-code .tok-pm {
  color: var(--docs-tok-punctuation);
}

.docs-body .docs-code .tok-gd {
  color: var(--docs-tok-deleted);
}

.docs-body .docs-code .tok-gi {
  color: var(--docs-tok-inserted);
}

.docs-body .docs-code .tok-ge {
  font-style: italic;
}

.docs-body .docs-code .tok-gs,
.docs-body .docs-code .tok-gh,
.docs-body .docs-code .tok-gu {
  font-weight: 700;
}

.docs-body .docs-code .tok-go,
.docs-body .docs-code .tok-gp {
  color: var(--docs-tok-comment);
}

.docs-body .docs-code .tok-gr,
.docs-body .docs-code .tok-gt {
  color: var(--docs-tok-keyword);
}

.docs-body .docs-code .tok-ges {
  font-style: italic;
  font-weight: 700;
}

/* What a lexer could not read keeps a visible mark that does not rely on colour alone. */
.docs-body .docs-code .tok-err {
  color: var(--docs-tok-deleted);
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

/* Plain text (names, whitespace, escapes, anything a lexer leaves unclassified) takes the colour of the block. */
.docs-body .docs-code .tok-n,
.docs-body .docs-code .tok-nx,
.docs-body .docs-code .tok-w,
.docs-body .docs-code .tok-x,
.docs-body .docs-code .tok-g,
.docs-body .docs-code .tok-esc {
  color: inherit;
}

/* 9. Pager and footer ----------------------------------------------------- */
.docs-body .docs-article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--docs-border);
  color: var(--docs-muted);
  font-size: 0.875rem;
}

.docs-body .docs-article-footer p {
  margin: 0;
}

.docs-body .docs-article-footer .docs-footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  color: var(--docs-muted);
  text-decoration: none;
}

.docs-body .docs-article-footer .docs-footer-link:hover {
  color: var(--docs-heading);
  text-decoration: underline;
}

.docs-body .docs-article-footer .docs-footer-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.docs-body .docs-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.docs-body .docs-pager .docs-pager-link {
  display: flex;
  flex: 1 1 14rem;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  color: var(--docs-heading);
  text-decoration: none;
}

.docs-body .docs-pager .docs-pager-next {
  align-items: flex-end;
  margin-left: auto;
  text-align: right;
}

.docs-body .docs-pager .docs-pager-link:hover {
  border-color: var(--docs-accent);
  color: var(--docs-accent);
}

.docs-body .docs-pager .docs-pager-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
}

.docs-body .docs-pager-label {
  color: var(--docs-muted);
  font-size: 0.8125rem;
}

.docs-body .docs-pager-title {
  font-weight: 600;
  line-height: 1.4;
}

/* 10. Right panel --------------------------------------------------------- */
.docs-body .docs-aside-rail {
  display: none;
}

.docs-body .docs-aside-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--docs-bg);
}

.docs-body .docs-aside-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--docs-border);
}

.docs-body .docs-aside-tabs {
  display: flex;
  gap: 0.25rem;
  min-width: 0;
}

.docs-body .docs-aside-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.docs-body .docs-aside-tab:hover {
  background: var(--docs-surface);
  color: var(--docs-heading);
}

.docs-body .docs-aside-tab[aria-selected="true"] {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-icon-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--docs-muted);
  font-size: 1rem;
  line-height: 1;
}

.docs-body .docs-icon-button:hover {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-pane {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.docs-body .docs-pane:focus {
  outline: none;
}

.docs-body .docs-pane-title {
  margin: 0 0 0.75rem;
  color: var(--docs-heading);
  font-size: 0.875rem;
  font-weight: 600;
}

.docs-js .docs-body .docs-pane-title {
  display: none;
}

.docs-body .docs-toc-list {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--docs-border);
  list-style: none;
}

.docs-body .docs-toc-item {
  margin: 0;
}

.docs-body .docs-toc .docs-toc-link {
  display: block;
  margin-left: -1px;
  padding: 0.3125rem 0.75rem;
  border-left: 2px solid transparent;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.docs-body .docs-toc .docs-toc-level-3 .docs-toc-link {
  padding-left: 1.5rem;
}

.docs-body .docs-toc .docs-toc-level-4 .docs-toc-link {
  padding-left: 2.25rem;
}

.docs-body .docs-toc .docs-toc-link:hover {
  color: var(--docs-heading);
  border-left-color: var(--docs-control-border);
}

.docs-body .docs-toc .docs-toc-link.is-active,
.docs-body .docs-toc .docs-toc-link.is-active:hover {
  border-left-color: var(--docs-accent);
  color: var(--docs-accent);
  font-weight: 600;
}

.docs-body .docs-toc .docs-toc-link:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-toc-empty {
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.875rem;
}

.docs-body .docs-assistant {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.docs-body .docs-assistant-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--docs-heading);
  font-size: 1rem;
  font-weight: 600;
}

.docs-body .docs-assistant-title i {
  color: var(--docs-accent);
}

.docs-body .docs-assistant-text {
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.docs-body .docs-assistant-link {
  align-self: flex-start;
  padding: 0.375rem 0;
  border: 0;
  background: transparent;
  color: var(--docs-link);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.docs-body .docs-assistant-link:hover {
  color: var(--docs-link-strong);
}

.docs-body .docs-assistant .docs-assistant-action {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  background: var(--docs-accent-solid);
  color: var(--docs-on-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.docs-body .docs-assistant .docs-assistant-action:hover {
  background: var(--docs-accent-solid-strong);
  color: var(--docs-on-accent);
}

.docs-body .docs-assistant-nojs {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--docs-border);
  color: var(--docs-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.docs-body .docs-assistant-nojs .docs-assistant-nojs-link {
  color: var(--docs-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.docs-body .docs-assistant-nojs .docs-assistant-nojs-link:hover {
  color: var(--docs-link-strong);
}

/* The conversation: the pane becomes a column whose log scrolls while the question field stays in view. */
.docs-body .docs-pane-chat {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.docs-body .docs-pane-chat > .docs-assistant {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
}

.docs-body .docs-assistant-chat {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.docs-body .docs-assistant-log {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1rem 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.docs-body .docs-assistant-log:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-assistant-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-body .docs-starters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-starters-item {
  margin: 0;
}

.docs-body .docs-starter {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--docs-border);
  border-radius: 0.625rem;
  background: var(--docs-surface);
  color: var(--docs-text);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
}

.docs-body .docs-starter:hover:not(:disabled) {
  border-color: var(--docs-control-border);
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-starter:disabled {
  color: var(--docs-muted);
  cursor: not-allowed;
}

.docs-body .docs-turns {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-turn {
  min-width: 0;
  margin: 0;
}

.docs-body .docs-turn-question {
  width: fit-content;
  max-width: 92%;
  margin: 0 0 0.75rem auto;
  padding: 0.5rem 0.75rem;
  border-radius: 0.875rem 0.875rem 0.25rem 0.875rem;
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.docs-body .docs-turn-question .docs-turn-question-text {
  color: var(--docs-heading);
}

.docs-body .docs-turn-reply {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
  color: var(--docs-text);
  font-size: 0.875rem;
  line-height: 1.6;
}

.docs-body .docs-turn-working {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.8125rem;
}

.docs-body .docs-turn-working span {
  color: var(--docs-muted);
}

.docs-body .docs-trace {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-trace-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.docs-body .docs-trace-item i {
  flex: 0 0 auto;
  margin-top: 0.1em;
  color: var(--docs-success);
}

.docs-body .docs-trace-item.is-wait i {
  color: var(--docs-muted);
}

.docs-body .docs-trace-item.is-failed i {
  color: var(--docs-warning-icon);
}

.docs-body .docs-trace-item .docs-trace-text {
  min-width: 0;
  color: var(--docs-muted);
  overflow-wrap: anywhere;
}

.docs-body .docs-trace-toggle {
  color: var(--docs-muted);
  font-size: 0.8125rem;
}

.docs-body .docs-trace-toggle[open] > .docs-trace {
  margin-top: 0.375rem;
}

.docs-body .docs-trace-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
  color: var(--docs-muted);
  cursor: pointer;
  list-style: none;
}

.docs-body .docs-trace-summary::-webkit-details-marker {
  display: none;
}

.docs-body .docs-trace-summary::before {
  content: "";
  flex: 0 0 auto;
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.docs-body .docs-trace-toggle[open] > .docs-trace-summary::before {
  transform: rotate(45deg);
}

.docs-body .docs-trace-summary:hover {
  color: var(--docs-heading);
}

.docs-body .docs-answer {
  min-width: 0;
  color: var(--docs-text);
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.docs-body .docs-answer > :first-child {
  margin-top: 0;
}

.docs-body .docs-answer > :last-child {
  margin-bottom: 0;
}

.docs-body .docs-answer.is-none {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--docs-info-border);
  border-radius: 0.625rem;
  background: var(--docs-info-bg);
}

.docs-body .docs-answer p {
  margin: 0 0 0.75rem;
}

.docs-body .docs-answer ul,
.docs-body .docs-answer ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.docs-body .docs-answer ul {
  list-style: disc;
}

.docs-body .docs-answer ul ul {
  list-style: circle;
}

.docs-body .docs-answer ol {
  list-style: decimal;
}

.docs-body .docs-answer li {
  margin: 0 0 0.25rem;
}

.docs-body .docs-answer li > p {
  margin-bottom: 0.25rem;
}

.docs-body .docs-answer strong {
  color: var(--docs-heading);
  font-weight: 600;
}

.docs-body .docs-answer .docs-answer-heading {
  margin: 1rem 0 0.5rem;
  color: var(--docs-heading);
}

.docs-body .docs-answer blockquote {
  margin: 0 0 0.75rem;
  padding: 0.25rem 0 0.25rem 0.75rem;
  border-left: 3px solid var(--docs-border);
  color: var(--docs-muted);
}

.docs-body .docs-answer hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid var(--docs-border);
}

.docs-body .docs-answer code {
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: var(--docs-code-inline-bg);
  color: var(--docs-code-text);
  font-family: var(--docs-font-mono);
  font-size: 0.8125rem;
}

.docs-body .docs-answer .docs-answer-pre {
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--docs-border);
  border-radius: 0.5rem;
  background: var(--docs-code-bg);
  color: var(--docs-code-text);
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

.docs-body .docs-answer .docs-answer-pre code {
  padding: 0;
  background: transparent;
  color: var(--docs-code-text);
  font-size: inherit;
}

.docs-body .docs-answer .docs-answer-link {
  color: var(--docs-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.docs-body .docs-answer .docs-answer-link:hover {
  color: var(--docs-link-strong);
}

.docs-body .docs-answer .docs-answer-link.docs-answer-ref {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 0.375rem;
  background: var(--docs-accent-tint);
  color: var(--docs-accent);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  text-decoration: none;
}

.docs-body .docs-answer .docs-answer-link.docs-answer-external::after {
  content: " \2197";
  content: " \2197" / "";
  font-size: 0.8em;
}

.docs-body .docs-answer .docs-answer-table {
  margin: 0 0 0.75rem;
  border: 1px solid var(--docs-border);
  border-radius: 0.5rem;
  overflow-x: auto;
}

.docs-body .docs-answer .docs-answer-table:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: -2px;
}

.docs-body .docs-answer .docs-answer-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.docs-body .docs-answer .docs-answer-table th,
.docs-body .docs-answer .docs-answer-table td {
  padding: 0.375rem 0.625rem;
  border-bottom: 1px solid var(--docs-border);
  text-align: left;
  vertical-align: top;
}

.docs-body .docs-answer .docs-answer-table th {
  background: var(--docs-surface);
  color: var(--docs-heading);
  font-weight: 600;
  white-space: nowrap;
}

.docs-body .docs-answer .docs-answer-table tr:last-child td {
  border-bottom: 0;
}

.docs-body .docs-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-sources-item {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.docs-body .docs-sources .docs-source {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  max-width: 100%;
  min-height: 1.75rem;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--docs-border);
  border-radius: 999px;
  background: var(--docs-surface);
  color: var(--docs-link);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.docs-body .docs-sources .docs-source:hover {
  border-color: var(--docs-control-border);
  background: var(--docs-surface-strong);
  color: var(--docs-link-strong);
}

.docs-body .docs-sources .docs-source .docs-source-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-body .docs-turn-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0 -0.5rem;
}

.docs-body .docs-turn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

.docs-body .docs-turn-action i {
  font-size: 1rem;
}

.docs-body .docs-turn-action:hover {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-turn-action[aria-pressed="true"] {
  background: var(--docs-accent-tint);
  color: var(--docs-accent);
}

.docs-body .docs-turn-failure {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--docs-warning-border);
  border-radius: 0.625rem;
  background: var(--docs-warning-bg);
  color: var(--docs-text);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.docs-body .docs-turn-failure i {
  flex: 0 0 auto;
  margin-top: 0.1em;
  color: var(--docs-warning-icon);
}

.docs-body .docs-turn-failure span {
  min-width: 0;
  color: var(--docs-text);
  overflow-wrap: anywhere;
}

.docs-body .docs-turn-retry {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.375rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--docs-control-border);
  border-radius: 0.5rem;
  background: var(--docs-bg);
  color: var(--docs-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.docs-body .docs-turn-retry:hover {
  background: var(--docs-surface-strong);
}

.docs-body .docs-assistant-form {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem 0.875rem;
  border-top: 1px solid var(--docs-border);
  background: var(--docs-bg);
}

.docs-body .docs-assistant-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--docs-warning-border);
  border-radius: 0.625rem;
  background: var(--docs-warning-bg);
  color: var(--docs-text);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.docs-body .docs-assistant-notice i {
  flex: 0 0 auto;
  margin-top: 0.1em;
  color: var(--docs-warning-icon);
}

.docs-body .docs-assistant-notice .docs-assistant-notice-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--docs-text);
  overflow-wrap: anywhere;
}

.docs-body .docs-assistant-notice .docs-assistant-notice-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--docs-control-border);
  border-radius: 0.375rem;
  background: var(--docs-bg);
  color: var(--docs-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.docs-body .docs-assistant-notice .docs-assistant-notice-action:hover {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-assistant-status {
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.docs-body .docs-assistant-context {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.25rem 0.25rem 0.625rem;
  border: 1px solid var(--docs-border);
  border-radius: 0.625rem;
  background: var(--docs-accent-tint);
  color: var(--docs-text);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.docs-body .docs-assistant-context .docs-assistant-context-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--docs-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-body .docs-assistant-context .docs-assistant-context-text strong {
  color: var(--docs-heading);
}

.docs-body .docs-assistant-context-remove {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--docs-muted);
  line-height: 1;
}

.docs-body .docs-assistant-context-remove:hover {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-assistant-input {
  display: block;
  width: 100%;
  min-height: 3.5rem;
  max-height: 10rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--docs-control-border);
  border-radius: 0.625rem;
  background: var(--docs-bg);
  color: var(--docs-heading);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-y: auto;
  resize: none;
}

.docs-body .docs-assistant-input::placeholder {
  color: var(--docs-muted);
  opacity: 1;
}

.docs-body .docs-assistant-input:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 1px;
  border-color: var(--docs-accent);
}

.docs-body .docs-assistant-input:disabled {
  background: var(--docs-surface);
  color: var(--docs-muted);
  cursor: not-allowed;
}

.docs-body .docs-assistant-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.docs-body .docs-assistant-count {
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.75rem;
}

.docs-body .docs-assistant-count.is-full {
  color: var(--docs-heading);
  font-weight: 600;
}

.docs-body .docs-assistant-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.docs-body .docs-assistant-newchat,
.docs-body .docs-assistant-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.docs-body .docs-assistant-newchat {
  border: 0;
  background: transparent;
  color: var(--docs-muted);
}

.docs-body .docs-assistant-newchat:hover:not(:disabled) {
  background: var(--docs-surface-strong);
  color: var(--docs-heading);
}

.docs-body .docs-assistant-newchat:disabled,
.docs-body .docs-assistant-stop:disabled {
  color: var(--docs-muted);
  cursor: not-allowed;
}

.docs-body .docs-assistant-stop {
  border: 1px solid var(--docs-control-border);
  background: var(--docs-bg);
  color: var(--docs-heading);
}

.docs-body .docs-assistant-stop:hover:not(:disabled) {
  background: var(--docs-surface-strong);
}

.docs-body .docs-assistant-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--docs-accent-solid);
  color: var(--docs-on-accent);
  font-size: 1rem;
  line-height: 1;
}

.docs-body .docs-assistant-send:hover:not(:disabled) {
  background: var(--docs-accent-solid-strong);
}

.docs-body .docs-assistant-send:disabled {
  background: var(--docs-surface-strong);
  color: var(--docs-muted);
  cursor: not-allowed;
}

.docs-body .docs-assistant-disclaimer {
  margin: 0;
  color: var(--docs-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.docs-body .docs-assistant-disclaimer .docs-assistant-disclaimer-link {
  color: var(--docs-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.docs-body .docs-assistant-disclaimer .docs-assistant-disclaimer-link:hover {
  color: var(--docs-link-strong);
}

/* 11. Search -------------------------------------------------------------- */
.docs-body .docs-search {
  width: min(40rem, calc(100vw - 2rem));
  max-width: none;
  margin: 10vh auto auto;
  padding: 0;
  border: 1px solid var(--docs-border);
  border-radius: 1rem;
  background: var(--docs-bg);
  color: var(--docs-text);
  box-shadow: var(--docs-shadow);
  overflow: hidden;
}

.docs-body .docs-search[open] {
  display: block;
}

.docs-body .docs-search::backdrop {
  background: var(--docs-scrim);
}

.docs-body .docs-search-panel {
  display: flex;
  flex-direction: column;
  max-height: min(34rem, calc(100dvh - 8rem));
}

.docs-body .docs-search-box {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--docs-border);
}

.docs-body .docs-search-icon {
  flex: 0 0 auto;
  color: var(--docs-muted);
  font-size: 1.125rem;
}

.docs-body .docs-search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.25rem 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--docs-heading);
  font-size: 1rem;
  line-height: 1.5;
}

.docs-body .docs-search-input {
  -webkit-appearance: none;
  appearance: none;
}

.docs-body .docs-search-input::-webkit-search-cancel-button,
.docs-body .docs-search-input::-webkit-search-decoration {
  display: none;
}

.docs-body .docs-search-input::placeholder {
  color: var(--docs-muted);
  opacity: 1;
}

.docs-body .docs-search-input:focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 4px;
}

.docs-body .docs-search-results {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.docs-body .docs-search-result {
  display: block;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  cursor: pointer;
}

.docs-body .docs-search-result.is-active {
  background: var(--docs-accent-tint);
}

.docs-body .docs-search-result-title {
  display: block;
  color: var(--docs-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.docs-body .docs-search-result-trail {
  display: block;
  margin-top: 0.125rem;
  color: var(--docs-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.docs-body .docs-search-result-snippet {
  display: block;
  margin-top: 0.25rem;
  color: var(--docs-text);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.docs-body .docs-search-result mark {
  padding: 0 0.125rem;
  border-radius: 0.125rem;
  background: var(--docs-mark);
  color: var(--docs-heading);
}

.docs-body .docs-search-status {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--docs-border);
  color: var(--docs-muted);
  font-size: 0.8125rem;
}

/* 12. Page not found ------------------------------------------------------ */
.docs-body .docs-missing {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 4rem;
}

.docs-body .docs-missing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.docs-body .docs-missing-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--docs-accent-solid);
  border-radius: 0.625rem;
  background: var(--docs-accent-solid);
  color: var(--docs-on-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}

.docs-body .docs-missing-search:hover {
  border-color: var(--docs-accent-solid-strong);
  background: var(--docs-accent-solid-strong);
}

.docs-body .docs-missing .docs-missing-home {
  color: var(--docs-link);
  font-weight: 500;
}

.docs-body .docs-missing-heading {
  margin: 0 0 0.75rem;
  color: var(--docs-heading);
  font-size: 1.0625rem;
  font-weight: 600;
}

.docs-body .docs-suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-body .docs-suggestion {
  padding: 0.5rem 0;
  border-top: 1px solid var(--docs-border);
}

.docs-body .docs-missing .docs-suggestion-link {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  color: var(--docs-link);
  font-weight: 500;
}

.docs-body .docs-suggestion-heading {
  color: var(--docs-muted);
  font-size: 0.875rem;
}

/* 13. Drawers and motion -------------------------------------------------- */
.docs-body .docs-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1039;
  background: var(--docs-scrim);
  opacity: 0;
}

.docs-body .docs-backdrop.is-visible {
  opacity: 1;
}

html.docs-scroll-lock {
  overflow: hidden;
  scrollbar-gutter: stable;
}

/* Below 1024 px the menu is a drawer on the left (scripted pages only; without JavaScript it stays a list). */
@media (max-width: 1023.98px) {
  .docs-body {
    --docs-bar-height: 5.5rem;
  }

  .docs-body .docs-mobilebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 2.5rem;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: var(--shell-pad, var(--docs-gutter));
    border-top: 1px solid var(--docs-border);
  }

  .docs-body .docs-menu-trigger {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--docs-heading);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
  }

  .docs-body .docs-menu-trigger:hover {
    background: var(--docs-surface-strong);
  }

  .docs-body .docs-crumb {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    margin: 0;
    color: var(--docs-muted);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .docs-body .docs-crumb-group,
  .docs-body .docs-crumb-page {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .docs-body .docs-crumb-group {
    flex: 0 1 auto;
  }

  .docs-body .docs-crumb-page {
    flex: 1 1 auto;
    color: var(--docs-heading);
    font-weight: 600;
  }

  .docs-body .docs-crumb-separator {
    flex: 0 0 auto;
    font-size: 0.6875rem;
  }

  .docs-js .docs-body .docs-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: min(20rem, calc(100vw - 3rem));
    border-right: 1px solid var(--docs-border);
    background: var(--docs-bg);
    box-shadow: var(--docs-shadow);
    visibility: hidden;
    transform: translateX(-100%);
  }

  .docs-js .docs-body .docs-sidebar.is-open {
    visibility: visible;
    transform: none;
  }

  .docs-js .docs-body .docs-drawer-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem 0.625rem 1rem;
    border-bottom: 1px solid var(--docs-border);
  }

  .docs-js .docs-body .docs-sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .docs-body .docs-drawer-title {
    margin: 0;
    color: var(--docs-heading);
    font-weight: 600;
  }
}

/* From 1024 px the menu is a column beside the article. */
@media (min-width: 1024px) {
  .docs-body .docs-layout {
    grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr);
  }

  .docs-body .docs-sidebar {
    position: sticky;
    top: var(--docs-bar-height);
    align-self: start;
    height: calc(100vh - max(var(--docs-layout-top, 0px), var(--docs-bar-height)));
    height: calc(100dvh - max(var(--docs-layout-top, 0px), var(--docs-bar-height)));
    border-right: 1px solid var(--docs-border);
  }

  .docs-body .docs-sidebar-scroll {
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .docs-body .docs-menu-trigger {
    display: none;
  }
}

/* Below 1200 px the right panel is a drawer on the right (scripted pages); without JavaScript it is a list under the
   article. */
@media (max-width: 1199.98px) {
  .docs-body .docs-aside {
    grid-column: 1 / -1;
    border-top: 1px solid var(--docs-border);
  }

  .docs-js .docs-body .docs-aside {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    grid-column: auto;
    width: min(24rem, calc(100vw - 2.5rem));
    border-top: 0;
    border-left: 1px solid var(--docs-border);
    background: var(--docs-bg);
    box-shadow: var(--docs-shadow);
    visibility: hidden;
    transform: translateX(100%);
  }

  .docs-js .docs-body .docs-aside.is-open {
    visibility: visible;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .docs-body .docs-layout {
    grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr) var(--docs-aside-width);
  }

  html[data-docs-aside="collapsed"] .docs-body .docs-layout {
    grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr) var(--docs-rail-width);
  }

  .docs-body .docs-aside {
    position: sticky;
    top: var(--docs-bar-height);
    align-self: start;
    height: calc(100vh - max(var(--docs-layout-top, 0px), var(--docs-bar-height)));
    height: calc(100dvh - max(var(--docs-layout-top, 0px), var(--docs-bar-height)));
    border-left: 1px solid var(--docs-border);
  }

  .docs-body .docs-toc-trigger {
    display: none;
  }

  html[data-docs-aside="collapsed"] .docs-body .docs-aside-panel {
    display: none;
  }

  html[data-docs-aside="collapsed"] .docs-body .docs-aside-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.75rem;
  }
}

/* Without JavaScript only the outline shows, as a plain list, and the buttons that need scripts never appear. */
html:not(.docs-js) .docs-body .docs-aside-head,
html:not(.docs-js) .docs-body .docs-pane-ask {
  display: none;
}

/* The outline pane is written `hidden` (the assistant is the pane that shows first). The site theme hides every
   `[hidden]` element with `display: none !important`, which only another `!important` can answer. */
html:not(.docs-js) .docs-body .docs-pane-toc[hidden] {
  display: block !important;
}

.docs-js .docs-body .docs-assistant-nojs {
  display: none;
}

@media (max-width: 767.98px) {
  .docs-body .docs-search-trigger {
    min-width: 0;
    width: 2rem;
    padding: 0;
    justify-content: center;
  }

  .docs-body .docs-search-trigger-text,
  .docs-body .docs-search-trigger .docs-kbd {
    display: none;
  }
}

@media (max-width: 639.98px) {
  .docs-body .docs-bar-button {
    width: 2rem;
    padding: 0;
    justify-content: center;
  }

  .docs-body .docs-bar-button-text {
    display: none;
  }

  .docs-body .docs-title-row {
    flex-direction: column;
  }
}

@media (min-width: 640px) {
  .docs-body .docs-ask-page {
    margin-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.docs-js {
    scroll-behavior: smooth;
  }

  .docs-body .docs-heading-copy,
  .docs-body .docs-sidebar-heading::after,
  .docs-body .docs-accordion-summary::before,
  .docs-body .docs-card,
  .docs-body .docs-ask-page,
  .docs-body .docs-sections .docs-sections-link,
  .docs-body .docs-pager .docs-pager-link {
    transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease,
      color 0.15s ease, box-shadow 0.15s ease;
  }

  .docs-body .docs-backdrop {
    transition: opacity 0.2s ease;
  }

  .docs-body .docs-trace-summary::before {
    transition: transform 0.15s ease;
  }

  .docs-js .docs-body .docs-sidebar,
  .docs-js .docs-body .docs-aside {
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .docs-js .docs-body .docs-sidebar.is-open,
  .docs-js .docs-body .docs-aside.is-open {
    transition: transform 0.2s ease, visibility 0s linear 0s;
  }

  html.docs-ready .docs-body .docs-layout {
    transition: grid-template-columns 0.2s ease;
  }

  /* A window that crosses a breakpoint gets the other layout at once: docs.js sets the class for a moment, and the
     panels jump to their new place instead of sliding (the slide is for a person who opens or closes a drawer). */
  html.docs-js.docs-switching .docs-body .docs-sidebar,
  html.docs-js.docs-switching .docs-body .docs-aside,
  html.docs-js.docs-switching .docs-body .docs-layout {
    transition: none;
  }
}

/* 14. Dark theme ---------------------------------------------------------- */
html[data-theme="dark"] .docs-body {
  --docs-accent: #58a6ff;
  --docs-accent-tint: #172a45;
  --docs-accent-solid: #1f6feb;
  --docs-accent-solid-strong: #1a5fd0;
  --docs-bg: #0d1117;
  --docs-surface: #161b22;
  --docs-surface-strong: #21262d;
  --docs-border: #30363d;
  --docs-control-border: #8b949e;
  --docs-heading: #e6edf3;
  --docs-text: #c9d1d9;
  --docs-muted: #9da7b3;
  --docs-link: #58a6ff;
  --docs-link-strong: #79c0ff;
  --docs-mark: #6b5400;
  --docs-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.6);
  --docs-scrim: rgba(1, 4, 9, 0.7);
  --docs-code-bg: #161b22;
  --docs-code-header-bg: #1c2129;
  --docs-code-text: #e6edf3;
  --docs-code-inline-bg: #21262d;
  --docs-tok-comment: #8b949e;
  --docs-tok-keyword: #ff7b72;
  --docs-tok-string: #a5d6ff;
  --docs-tok-number: #79c0ff;
  --docs-tok-builtin: #ffa657;
  --docs-tok-tag: #7ee787;
  --docs-tok-function: #d2a8ff;
  --docs-tok-variable: #ffa657;
  --docs-tok-operator: #79c0ff;
  --docs-tok-punctuation: #8b949e;
  --docs-tok-deleted: #ffa198;
  --docs-tok-inserted: #7ee787;
  --docs-note-bg: #0e2038;
  --docs-note-border: #1f4a8a;
  --docs-note-icon: #79c0ff;
  --docs-tip-bg: #0c2417;
  --docs-tip-border: #1f6b3a;
  --docs-tip-icon: #56d364;
  --docs-warning-bg: #261c07;
  --docs-warning-border: #7a5a12;
  --docs-warning-icon: #e3b341;
  --docs-info-bg: #1a1431;
  --docs-info-border: #4a3a8a;
  --docs-info-icon: #b392f0;
  --docs-success: #56d364;
}

/* dark-mode.css forces  pre { background, color, border }  and  code { color }  with !important for the whole site
   (its  pre { border-radius }  is not forced, so the plain rule of section 8 wins). A code block of the documentation
   is one box (header and pre) whose frame is the .docs-code element, so the pre must not draw a second frame and the
   code must keep the palette above (the pre's own forced background and colour are the values of that palette
   already). These two declarations are the only !important in this file; tests/test_docs_css.py pins them. */
html[data-theme="dark"] .docs-body .docs-code-pre {
  border: 0 !important;
}

html[data-theme="dark"] .docs-body .docs-code-content {
  color: var(--docs-code-text) !important;
}

/* 15. Print --------------------------------------------------------------- */
@media print {
  .docs-body .docs-bar,
  .docs-body .docs-sidebar,
  .docs-body .docs-aside,
  .docs-body .docs-pager,
  .docs-body .docs-skip-link,
  .docs-body .docs-code-copy,
  .docs-body .docs-heading-copy,
  .docs-body .docs-ask-page,
  .docs-body .docs-search,
  .docs-body .docs-backdrop {
    display: none;
  }

  .docs-body .docs-layout {
    display: block;
  }

  .docs-body .docs-main {
    padding: 0;
  }

  .docs-body .docs-code-pre {
    white-space: pre-wrap;
    overflow: visible;
  }

  .docs-body .docs-content a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* The hidden attribute wins over every display rule above (this rule stays the last one of the file). */
.docs-body [hidden] {
  display: none;
}
