:root {
  --docs-ink: #17213b;
  --docs-muted: #63708a;
  --docs-line: #dfe4ee;
  --docs-paper: #ffffff;
  --docs-wash: #f6f7fb;
  --docs-accent: #4e55d8;
  --docs-accent-soft: #eef0ff;
  --docs-code: #111827;
}

.docs-page {
  color: var(--docs-ink);
  margin-top: .75rem;
}

.docs-container {
  max-width: 1440px;
}

.docs-breadcrumbs {
  align-items: center;
  color: var(--docs-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .8125rem;
  gap: .5rem;
  margin: 0 0 1.5rem;
}

.docs-breadcrumbs a {
  color: var(--docs-muted);
}

.docs-layout {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: 220px minmax(0, 760px) 190px;
  justify-content: center;
}

.docs-sidebar,
.docs-toc {
  max-height: calc(100vh - 7.5rem);
  overflow: auto;
  position: sticky;
  top: 6.25rem;
}

.docs-nav-group + .docs-nav-group {
  margin-top: 1.6rem;
}

.docs-nav h2,
.docs-toc h2 {
  color: #69758d;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  margin: 0 0 .55rem;
  text-transform: uppercase;
}

.docs-nav ul,
.docs-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav a {
  align-items: center;
  border-left: 1px solid transparent;
  color: var(--docs-muted);
  display: flex;
  font-size: .84rem;
  gap: .45rem;
  line-height: 1.35;
  margin-left: 0;
  min-height: 36px;
  padding: .45rem .75rem;
}

.docs-nav a:hover,
.docs-nav a.is-active {
  color: var(--docs-accent);
  text-decoration: none;
}

.docs-nav a.is-active {
  background: linear-gradient(90deg, var(--docs-accent-soft), rgba(238, 240, 255, 0));
  border-left-color: var(--docs-accent);
  font-weight: 600;
}

.docs-article {
  min-width: 0;
}

.docs-markdown {
  color: #2b3650;
  font-size: 1rem;
  line-height: 1.72;
}

.docs-markdown h1,
.docs-markdown h2,
.docs-markdown h3,
.docs-markdown h4 {
  color: var(--docs-ink);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
  scroll-margin-top: 7rem;
}

.docs-markdown h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  margin: 0 0 1.2rem;
}

.docs-markdown h2 {
  border-top: 1px solid var(--docs-line);
  font-size: 1.55rem;
  margin: 3.2rem 0 1rem;
  padding-top: 2rem;
}

.docs-markdown h3 {
  font-size: 1.17rem;
  margin: 2.1rem 0 .75rem;
}

.docs-heading-anchor {
  color: #b2b9ca;
  font-size: .8em;
  margin-left: .45rem;
  opacity: 0;
}

.docs-markdown h2:hover .docs-heading-anchor,
.docs-markdown h3:hover .docs-heading-anchor,
.docs-heading-anchor:focus {
  opacity: 1;
}

.docs-markdown a {
  color: var(--docs-accent);
  text-decoration: underline;
  text-decoration-color: #bdc0f3;
  text-underline-offset: .18em;
}

.docs-markdown pre {
  background: var(--docs-code);
  border-radius: .55rem;
  color: #e5e7eb;
  font-size: .84rem;
  line-height: 1.65;
  margin: 1.25rem 0;
  overflow: auto;
  padding: 1.15rem 1.25rem;
  position: relative;
}

.docs-markdown code {
  background: var(--docs-wash);
  border: 1px solid #e8eaf0;
  border-radius: .25rem;
  color: #8b2f74;
  font-size: .875em;
  padding: .1rem .3rem;
}

.docs-markdown pre code {
  background: transparent;
  border: 0;
  color: inherit;
  display: block;
  padding: 0;
}

.docs-markdown pre.has-copy-control code {
  padding-right: 3.75rem;
}

.docs-markdown pre.has-run-control code {
  padding-right: 7.9rem;
}

.docs-code-actions {
  display: flex;
  gap: .35rem;
  position: absolute;
  right: .55rem;
  top: .55rem;
}

.docs-copy-button,
.docs-run-button {
  align-items: center;
  background: #263146;
  border: 1px solid #44506a;
  border-radius: .3rem;
  color: #d9deea;
  cursor: pointer;
  display: inline-flex;
  font-size: .7rem;
  justify-content: center;
  line-height: 1;
  min-height: 32px;
  padding: .38rem .48rem;
}

.docs-markdown .docs-run-button {
  color: #d9deea;
  text-decoration: none;
}

.docs-copy-button:hover,
.docs-run-button:hover {
  background: #33415b;
  color: #fff;
  text-decoration: none;
}

.docs-markdown .docs-run-button:hover {
  color: #fff;
  text-decoration: none;
}

.docs-copy-button:disabled,
.docs-run-button:disabled {
  cursor: wait;
  opacity: .7;
}

.docs-copy-button:focus-visible,
.docs-run-button:focus-visible,
.docs-run-parameters input:focus-visible {
  outline: 3px solid #9aa2ff;
  outline-offset: 2px;
}

.docs-run-parameters {
  align-items: end;
  background: var(--docs-wash);
  border: 1px solid var(--docs-line);
  border-radius: .5rem .5rem 0 0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1.25rem 0 0;
  padding: .7rem .8rem;
}

.docs-run-parameters + pre {
  border-radius: 0 0 .55rem .55rem;
  margin-top: 0;
}

.docs-run-parameters label {
  color: var(--docs-ink);
  display: grid;
  font-size: .75rem;
  font-weight: 600;
  gap: .3rem;
  margin: 0;
  max-width: 15rem;
  width: 100%;
}

.docs-run-parameters input {
  background: var(--docs-paper);
  border: 1px solid #bcc4d4;
  border-radius: .35rem;
  color: var(--docs-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  min-height: 42px;
  padding: .45rem .6rem;
  width: 100%;
}

.docs-run-parameters input[aria-invalid='true'] {
  border-color: #b33a3a;
}

.docs-run-parameter-hint {
  color: var(--docs-muted);
  font-size: .75rem;
  line-height: 1.4;
  padding-bottom: .65rem;
  text-align: right;
}

.docs-run-result {
  border: 1px solid var(--docs-line);
  border-radius: .5rem;
  margin: -.45rem 0 1.5rem;
  overflow: hidden;
}

.docs-run-status {
  align-items: center;
  background: var(--docs-wash);
  color: var(--docs-muted);
  display: flex;
  font-size: .75rem;
  justify-content: space-between;
  min-height: 38px;
  padding: .55rem .75rem;
}

.docs-run-status.is-success {
  color: #216742;
}

.docs-run-status.is-error {
  color: #8a2d2d;
}

.docs-run-result pre {
  border-radius: 0;
  margin: 0;
  max-height: 26rem;
}

.docs-table-wrap {
  margin: 1.4rem 0;
  max-width: 100%;
}

.docs-markdown table {
  border-collapse: collapse;
  font-size: .875rem;
  margin: 0;
  table-layout: auto;
  width: 100%;
}

.docs-markdown th,
.docs-markdown td {
  border: 1px solid var(--docs-line);
  padding: .65rem .75rem;
  text-align: left;
  vertical-align: top;
}

.docs-markdown td,
.docs-markdown td code,
.docs-markdown th {
  overflow-wrap: anywhere;
}

.docs-markdown th {
  background: var(--docs-wash);
  color: var(--docs-ink);
  font-weight: 600;
}

.docs-markdown blockquote {
  background: var(--docs-accent-soft);
  border: 1px solid #d9dcfa;
  border-radius: .35rem;
  color: #39436b;
  margin: 1.5rem 0;
  padding: .85rem 1rem;
}

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

.docs-toc a {
  color: var(--docs-muted);
  display: block;
  font-size: .78rem;
  line-height: 1.4;
  padding: .3rem 0;
}

.docs-toc a:hover {
  color: var(--docs-accent);
  text-decoration: none;
}

.docs-toc a.is-active {
  color: var(--docs-accent);
  font-weight: 600;
}

.docs-toc-nested {
  padding-left: .65rem;
}

.docs-source-actions {
  border-top: 1px solid var(--docs-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
}

.docs-resource-link {
  color: var(--docs-accent);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #bdc0f3;
  text-underline-offset: .2em;
}

.docs-resource-link:hover {
  color: #363dc4;
}

.docs-pagination {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
}

.docs-pagination-link {
  border: 1px solid var(--docs-line);
  border-radius: .45rem;
  color: var(--docs-ink);
  display: flex;
  flex-direction: column;
  min-height: 5.5rem;
  padding: .85rem 1rem;
}

.docs-pagination-link:hover {
  border-color: #a9aff0;
  color: var(--docs-accent);
  text-decoration: none;
}

.docs-pagination-link span {
  color: var(--docs-muted);
  font-size: .7rem;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.docs-pagination-next {
  text-align: right;
}

.docs-mobile-nav {
  display: none;
}

@media (max-width: 1199.98px) {
  .docs-layout {
    gap: 2.2rem;
    grid-template-columns: 210px minmax(0, 760px);
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .docs-breadcrumbs {
    margin-bottom: 1rem;
  }

  .docs-layout {
    display: block;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-mobile-nav {
    background: var(--docs-wash);
    border: 1px solid var(--docs-line);
    border-radius: .45rem;
    display: block;
    margin-bottom: 1.5rem;
    padding: 0 .75rem;
  }

  .docs-mobile-nav summary {
    align-items: center;
    color: var(--docs-ink);
    cursor: pointer;
    display: flex;
    font-weight: 600;
    min-height: 44px;
  }

  .docs-mobile-nav[open] {
    padding-bottom: .75rem;
  }

  .docs-mobile-nav .docs-nav {
    margin-top: 1rem;
  }

  .docs-mobile-nav .docs-nav a {
    align-items: center;
    min-height: 44px;
  }

  .docs-copy-button,
  .docs-run-button {
    min-height: 40px;
  }

  .docs-run-parameters {
    align-items: stretch;
    display: grid;
    gap: .55rem;
  }

  .docs-run-parameters label {
    max-width: none;
  }

  .docs-run-parameters input {
    font-size: 1rem;
    min-height: 44px;
  }

  .docs-run-parameter-hint {
    padding: 0;
    text-align: left;
  }

  .docs-markdown h1 {
    font-size: 2.1rem;
  }

  .docs-markdown h2 {
    font-size: 1.35rem;
  }

  .docs-markdown {
    font-size: .95rem;
  }

  .docs-markdown table,
  .docs-markdown tbody,
  .docs-markdown tr,
  .docs-markdown td {
    display: block;
    width: 100%;
  }

  .docs-markdown thead {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .docs-markdown table {
    border-collapse: separate;
  }

  .docs-markdown tr {
    border: 1px solid var(--docs-line);
    border-radius: .5rem;
    overflow: hidden;
  }

  .docs-markdown tr + tr {
    margin-top: .8rem;
  }

  .docs-markdown td {
    border: 0;
    display: grid;
    gap: .7rem;
    grid-template-columns: minmax(6.75rem, 36%) minmax(0, 1fr);
    padding: .7rem .8rem;
  }

  .docs-markdown td + td {
    border-top: 1px solid var(--docs-line);
  }

  .docs-markdown td::before {
    color: var(--docs-muted);
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .docs-pagination {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 379.98px) {
  .docs-markdown td {
    display: block;
  }

  .docs-markdown td::before {
    display: block;
    margin-bottom: .25rem;
  }

  .docs-markdown pre.has-run-control code {
    padding-right: 7.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
