:root {
  --docs-accent: #5ed5d9;
  --docs-accent-dark: #237c8f;
  --docs-border: #dce3ea;
  --docs-header: #10264d;
  --docs-header-deep: #0b1c3a;
  --docs-muted: #607086;
  --docs-sidebar: #f6f8fa;
  --docs-surface: #ffffff;
  --docs-text: #253247;
  --docs-header-height: 72px;

}

html {
  scroll-padding-top: 96px;
}

body {
  min-height: 100%;
  height: auto;
  margin: 0;
  padding-top: 0;
  overflow-x: clip;
  background: var(--docs-surface);
  color: var(--docs-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  background:
    radial-gradient(circle at 82% -120%, rgb(94 213 217 / 55%), transparent 48%),
    linear-gradient(115deg, var(--docs-header-deep), var(--docs-header));
  box-shadow: 0 8px 28px rgb(12 30 60 / 18%);
  color: #fff;
}

.docs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 32px;
}

.docs-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
}

.docs-brand__logo {
  display: inline-flex;
  align-items: center;
}

.docs-brand__logo:hover,
.docs-brand__logo:focus {
  color: #fff;
  text-decoration: none;
}

.docs-brand img {
  width: auto;
  max-width: 190px;
  height: 32px;
}

.docs-brand__label {
  padding-left: 18px;
  border-left: 1px solid rgb(255 255 255 / 35%);
  color: rgb(255 255 255 / 78%);
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: translateY(1px);
}

.docs-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.docs-header__search form {
  margin: 0;
}

.docs-header__search .form-control {
  width: clamp(180px, 24vw, 320px);
  height: 40px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 8px;
  font-family: sans-serif;
  background: rgb(255 255 255 / 12%);
  box-shadow: none;
  color: #fff;
  font-size: 14px;
}

.docs-header__search .form-control::placeholder {
  color: rgb(255 255 255 / 68%);
}

.docs-header__search .form-control:focus {
  border-color: var(--docs-accent);
  background: rgb(255 255 255 / 18%);
  box-shadow: 0 0 0 3px rgb(94 213 217 / 20%);
}

.docs-menu {
  position: relative;
}

.docs-menu summary {
  display: inline-flex;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--docs-accent);
  border-radius: 8px;
  background: var(--docs-accent);
  box-shadow: 0 3px 10px rgb(3 17 40 / 24%);
  color: var(--docs-header-deep);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
  user-select: none;
}

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

.docs-menu summary:hover,
.docs-menu summary:focus-visible,
.docs-menu[open] summary {
  border-color: #8ce9ec;
  background: #8ce9ec;
  box-shadow: 0 4px 14px rgb(3 17 40 / 32%);
  outline: none;
}

.docs-menu__label {
  transform: translateY(1px);
}

.docs-menu__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.docs-menu[open] .docs-menu__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.docs-toc-toggle,
.docs-toc-backdrop {
  display: none;
}


.docs-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 104px);
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--docs-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(12 30 60 / 24%);
  color: var(--docs-text);
}

.docs-menu__panel > ul {
  margin: 2px 0 0;
  padding: 0;
  column-count: 2;
  column-gap: 8px;
  list-style: none;
}

.docs-menu__panel ul ul {
  display: none;
}

.docs-menu__panel li {
  min-width: 0;
  margin: 0;
  display: inline-block;
  width: 100%;
  break-inside: avoid;
}

.docs-menu__panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--docs-text);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.docs-menu__panel a:hover,
.docs-menu__panel a:focus-visible {
  background: #edf7f8;
  color: #155d6c;
  outline: none;
  text-decoration: none;
}

.docs-menu__panel li.current > a,
.docs-menu__home.current {
  background: #dff6f7;
  color: #104d5a;
  font-weight: 700;
}

.docs-menu__home {
  font-weight: 700;
}

div.related.top {
  margin: 0 0 0 280px;
  padding: 18px 56px 0;
  background: var(--docs-surface);
  font-size: 13px;
}

#breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 6px;
  list-style: none;
}

#breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

#breadcrumbs li::after {
  margin-left: 6px;
  color: #9aa7b8;
  content: "/";
}

#breadcrumbs li:last-child::after {
  content: none;
}

#breadcrumbs a {
  color: var(--docs-muted);
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
}

#breadcrumbs a:hover,
#breadcrumbs a:focus-visible {
  color: var(--docs-accent-dark);
  text-decoration: underline;
}

.document {
  min-height: calc(100vh - 120px);
  height: auto;
  margin: 0 0 0 280px;
  padding: 28px 56px 72px;
  overflow: visible;
}

.documentwrapper,
.bodywrapper {
  float: none;
  width: auto;
  margin: 0;
}

.body {
  max-width: 1040px;
  color: var(--docs-text);
}

.body h1,
.body h2,
.body h3,
.body h4,
.body h5,
.body h6 {
  color: #17243a;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-transform: none;
}

.body h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.12;
}

.body h2 {
  margin: 52px 0 18px;
  padding-top: 4px;
  font-size: 28px;
  line-height: 1.25;
}

.body h3 {
  margin: 38px 0 14px;
  font-size: 21px;
  line-height: 1.35;
}

.body h4 {
  margin: 30px 0 12px;
  font-size: 17px;
  line-height: 1.4;
}

.body section > p,
.body section > ul,
.body section > ol,
.body section > dl,
.body section > blockquote {
  max-width: 74ch;
}

.body > section > h1 + p {
  max-width: 68ch;
  color: #465970;
  font-size: 18px;
  line-height: 1.7;
}

.body p,
.body li,
.body dd {
  line-height: 1.72;
}

.body p {
  margin: 0 0 18px;
}

.body ul,
.body ol {
  margin-top: 0;
  margin-bottom: 22px;
  padding-left: 1.4em;
}

.body li + li {
  margin-top: 8px;
}

.body a {
  color: var(--docs-accent-dark);
  text-decoration: underline;
  text-decoration-color: rgb(35 124 143 / 35%);
  text-underline-offset: 3px;
}

.body a:hover,
.body a:focus-visible {
  color: #155d6c;
  text-decoration-color: currentColor;
}

.body code {
  padding: 0.12em 0.35em;
  border: 1px solid #dbe4ec;
  border-radius: 4px;
  background: #f4f7f9;
  color: #243047;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.body pre {
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--docs-border);
  border-radius: 10px;
  background: #f7f9fb;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

.body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border: 1px solid var(--docs-border);
  border-radius: 10px;
  border-spacing: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
}

.body table th,
.body table td {
  padding: 12px 14px;
  border-right: 0;
  border-bottom: 1px solid var(--docs-border);
  text-align: left;
}

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

.body table th {
  background: var(--docs-sidebar);
}

.body blockquote {
  margin: 24px 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--docs-accent);
  color: #52647a;
}

.body figure,
.body div.figure {
  margin: 32px 0;
  padding: 0;
  text-align: left;
}

.body figure img,
.body div.figure img {
  border: 1px solid var(--docs-border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgb(20 42 75 / 10%);
}

.body figcaption,
.body p.caption {
  margin-top: 10px;
  color: var(--docs-muted);
  font-size: 14px;
  font-style: normal;
}

.headerlink {
  margin-left: 0.35em;
  color: #8493a7;
  font-size: 0.7em;
  text-decoration: none;
}

div.sphinxsidebar {
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  width: 280px;
  height: auto;
  margin: 0;
  overflow-y: auto;
  border-right: 1px solid #dfe5ec;
  background: linear-gradient(180deg, #f8fafc 0%, #f4f7fa 100%);
  color: var(--docs-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  scrollbar-color: #c4ced9 transparent;
  scrollbar-width: thin;
}

div.sphinxsidebarwrapper {
  padding: 28px 20px 44px;
}

div.sphinxsidebarwrapper > div + div {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dfe5ec;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
  margin: 0 0 10px;
  color: #6a788b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

div.sphinxsidebar h3 a,
div.sphinxsidebar h3 a:hover,
div.sphinxsidebar h3 a:focus-visible {
  display: inline;
  padding: 0;
  background: transparent;
  color: inherit;
}

div.sphinxsidebar ul,
div.sphinxsidebar ul ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

div.sphinxsidebar ul ul {
  margin: 6px 0 0 8px;
  padding-left: 8px;
  border-left: 1px solid #d4dee7;
}

div.sphinxsidebar li {
  margin: 2px 0;
}

div.sphinxsidebar a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: #46586e;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}

div.sphinxsidebar a:hover,
div.sphinxsidebar a:focus-visible {
  background: #e8eef3;
  color: #155d6c;
  outline: none;
  text-decoration: none;
}


div.sphinxsidebar li.section-current > a {
  color: #104d5a;
  font-weight: 700;
}

div.sphinxsidebar li.current > a,
div.sphinxsidebar a.current,
div.sphinxsidebar a.viewport-current {
  background: #dff6f7;
  color: #104d5a;
  font-weight: 700;
}



div.sphinxsidebar p.topless {
  margin: 0;
}

div.sphinxsidebar form {
  display: none;
}

.footer {
  margin: 0 0 0 280px;
  padding: 24px 56px 36px;
  border-top: 1px solid var(--docs-border);
  color: var(--docs-muted);
}

.footer-wrapper {
  max-width: 960px;
  font-size: 13px;
  text-align: left;
}

.footer a {
  color: inherit;
}

@media screen and (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--docs-header-height) + 64px);
  }

  .docs-header__inner {
    min-height: 64px;
    padding: 0 20px;
    gap: 20px;
  }

  .docs-brand img {
    max-width: 160px;
    height: 28px;
  }

  .docs-brand__label {
    display: none;
  }

  div.related.top {
    margin: 0;
    padding: 18px 24px 0;
  }

  .document {
    min-height: auto;
    margin: 0;
    padding: 24px 24px 56px;
    font-size: 16px;
  }

  div.sphinxsidebar {
    position: static;
    width: auto;
    height: auto;
    border-top: 1px solid var(--docs-border);
    border-right: 0;
  }

  div.sphinxsidebarwrapper {
    padding: 28px 24px;
  }

  body.docs-toc-enhanced .docs-toc-toggle {
    position: sticky;
    top: var(--docs-header-height);
    z-index: 980;
    display: grid;
    width: 100%;
    min-height: 49px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 0 24px;
    border: 0;
    border-bottom: 1px solid var(--docs-border);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 6px 18px rgb(12 30 60 / 8%);
    color: var(--docs-text);
    font: inherit;
    text-align: left;
    backdrop-filter: blur(12px);
    cursor: pointer;
    gap: 12px;
  }

  body.docs-toc-enhanced .docs-toc-toggle:hover,
  body.docs-toc-enhanced .docs-toc-toggle:focus-visible,
  body.docs-toc-open .docs-toc-toggle {
    background: #f3fbfb;
    outline: none;
  }

  .docs-toc-toggle__label {
    color: #52647a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .docs-toc-toggle__current {
    overflow: hidden;
    color: #104d5a;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .docs-toc-toggle__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #237c8f;
    border-bottom: 2px solid #237c8f;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
  }

  body.docs-toc-open .docs-toc-toggle__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  body.docs-toc-enhanced div.sphinxsidebar {
    position: fixed;
    z-index: 970;
    top: calc(var(--docs-header-height) + 49px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(380px, 100%);
    height: auto;
    max-height: none;
    overflow-y: auto;
    border-top: 0;
    border-right: 0;
    border-left: 1px solid var(--docs-border);
    box-shadow: -18px 0 48px rgb(12 30 60 / 18%);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  body.docs-toc-open div.sphinxsidebar {
    transform: translateX(0);
    visibility: visible;
  }

  body.docs-toc-enhanced div.sphinxsidebarwrapper > div + div {
    display: none;
  }

  body.docs-toc-enhanced .docs-toc-backdrop {
    position: fixed;
    z-index: 960;
    top: calc(var(--docs-header-height) + 49px);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgb(11 28 58 / 28%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body.docs-toc-open .docs-toc-backdrop {
    opacity: 1;
    visibility: visible;
  }


  .footer {
    margin: 0;
    padding: 24px;
  }
}

@media screen and (max-width: 640px) {
  html {
    scroll-padding-top: calc(var(--docs-header-height) + 64px);
  }

  .docs-header__inner {
    display: grid;
    grid-template-areas:
      "brand menu"
      "search search";
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
    gap: 10px 12px;
  }

  .docs-brand {
    grid-area: brand;
  }

  .docs-brand img {
    max-width: 145px;
    height: 26px;
  }

  .docs-header__actions {
    display: contents;
  }

  .docs-header__search {
    grid-area: search;
  }

  .docs-header__search .form-control {
    width: 100%;
  }

  .docs-menu {
    grid-area: menu;
  }

  .docs-menu__panel {
    position: fixed;
    top: calc(var(--docs-header-height) + 8px);
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 132px);
  }

  .docs-menu__panel > ul {
    column-count: 1;
  }


  .body h1 {
    font-size: 32px;
  }

  .body h2 {
    margin-top: 38px;
    font-size: 23px;
  }
}
