:root {
  color-scheme: dark;
  --page: #111111;
  --header: #171717;
  --sidebar: #1b1b1b;
  --panel: #191919;
  --panel-2: #202020;
  --border: #303030;
  --border-soft: #272727;
  --text: #e8e8e8;
  --body: #b9b9b9;
  --muted: #878787;
  --dim: #686868;
  --active: #f3f3f3;
  --header-height: 70px;
  --sidebar-width: 260px;
  font-family: "Satoshi", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { min-width: 320px; margin: 0; background: var(--page); color: var(--body); font-size: 15px; line-height: 1.8; }
::selection { background: #e8e8e8; color: #111; }
a { color: #dedede; text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
#main-wrapper { min-height: 100vh; background: var(--page); }
.container { width: 100%; max-width: 1170px; margin: 0 auto; }

.docs-skip-link { position: fixed; z-index: 200; top: 10px; left: 12px; padding: 8px 13px; background: #fff; color: #111; transform: translateY(-160%); }
.docs-skip-link:focus { transform: translateY(0); }

#header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); display: grid; grid-template-columns: minmax(270px, 1fr) minmax(300px, 500px) minmax(420px, 1fr); align-items: center; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--border); background: var(--header); box-shadow: 0 1px 8px rgba(0,0,0,.28); }
.docs-brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.docs-brand-logo { width: 29px; height: 29px; overflow: hidden; }
.docs-brand-logo img { width: 29px; height: 29px; object-fit: contain; }
.docs-brand-name { font-size: 15px; font-weight: 700; }
.docs-brand-divider { width: 1px; height: 25px; margin: 0 2px; background: #3b3b3b; }
.docs-brand strong { font-size: 14px; font-weight: 500; color: #aaa; }

.docs-search { position: relative; height: 40px; display: flex; align-items: center; border: 1px solid #383838; border-radius: 4px; background: #121212; }
.docs-search:focus-within { border-color: #777; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.docs-search > svg { width: 17px; height: 17px; margin-left: 12px; fill: none; stroke: #777; stroke-width: 1.8; }
.docs-search input { width: 100%; min-width: 0; padding: 0 68px 0 9px; border: 0; outline: 0; background: transparent; color: #ddd; }
.docs-search input::placeholder { color: #737373; }
.docs-search kbd { position: absolute; right: 8px; padding: 1px 6px; border: 1px solid #3b3b3b; border-radius: 3px; background: #1c1c1c; color: #777; font: 10px inherit; }
.docs-search-results { position: absolute; top: calc(100% + 8px); right: 0; left: 0; max-height: min(520px, 70vh); overflow-y: auto; padding: 5px; border: 1px solid #363636; border-radius: 4px; background: #1a1a1a; box-shadow: 0 20px 55px rgba(0,0,0,.5); }
.docs-search-results button { width: 100%; display: flex; flex-direction: column; gap: 0; padding: 9px 11px; border: 0; border-radius: 2px; background: transparent; text-align: left; cursor: pointer; }
.docs-search-results button:hover, .docs-search-results button:focus-visible { outline: 0; background: #282828; }
.docs-search-results span { color: #767676; font-size: 11px; }
.docs-search-results strong { overflow: hidden; color: #ddd; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.docs-search-no-results { margin: 0; padding: 12px; color: #999; font-size: 13px; }

.docs-top-actions { justify-self: end; display: flex; align-items: center; gap: 19px; white-space: nowrap; }
.docs-top-actions > a { color: #a0a0a0; font-size: 13px; font-weight: 500; }
.docs-top-actions > a:hover { color: #fff; }
.docs-top-actions .docs-console-link { padding: 7px 11px; border: 1px solid #444; border-radius: 4px; background: #202020; color: #ddd; }
.docs-header-socials { display: flex; gap: 5px; }
.docs-social-link { width: 27px; height: 27px; display: grid; place-items: center; color: #737373; }
.docs-social-link:hover { color: #ddd; }
.docs-social-link svg { width: 14px; height: 14px; fill: currentColor; }
.docs-mobile-menu { display: none; width: 38px; height: 38px; padding: 8px; border: 1px solid #3c3c3c; border-radius: 3px; background: #1b1b1b; cursor: pointer; }
.docs-mobile-menu svg { fill: none; stroke: #ddd; stroke-linecap: round; stroke-width: 1.8; }

#content { min-height: 100vh; padding-top: var(--header-height); }
.idocs-navigation { position: fixed; z-index: 60; top: var(--header-height); bottom: 0; left: 0; width: var(--sidebar-width); overflow: hidden; border-right: 1px solid #2d2d2d; background: var(--sidebar); transition: transform .25s; }
.docs-sidebar-inner { height: 100%; overflow-y: auto; padding: 25px 0 34px; scrollbar-width: thin; scrollbar-color: #474747 transparent; }
.docs-nav-group, .docs-nav-links { margin: 0; padding: 0; list-style: none; }
.docs-nav-section { position: relative; margin: 0; }
.docs-nav-heading { position: relative; width: 100%; min-height: 37px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 6px 30px; border: 0; background: transparent; color: rgba(250,250,250,.82); font-size: 14px; font-weight: 600; line-height: 25px; text-align: left; cursor: pointer; }
.docs-nav-heading:hover { color: #fff; }
.docs-nav-heading svg { width: 11px; height: 11px; fill: none; stroke: #777; stroke-width: 1.6; transition: transform .2s; }
.docs-nav-section.is-open > .docs-nav-heading { color: #fff; font-weight: 700; }
.docs-nav-section.is-open > .docs-nav-heading svg { transform: rotate(90deg); }
.docs-nav-links { display: none; margin: 0 0 6px; }
.docs-nav-section.is-open > .docs-nav-links { display: block; }
.docs-nav-links .nav-item { position: relative; }
.docs-nav-links .nav-link { position: relative; width: 100%; display: block; overflow: hidden; padding: 4px 26px 4px 45px; color: rgba(250,250,250,.57); font-size: 13px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.docs-nav-links .nav-link::after { content: ""; position: absolute; top: 0; bottom: 0; left: 30px; width: 1px; background: #3a3a3a; }
.docs-nav-links .nav-link:hover { color: rgba(255,255,255,.88); }
.docs-nav-links .nav-link.is-active { color: #fff; font-weight: 600; }
.docs-nav-links .nav-link.is-active::after { width: 2px; background: #eee; }
.docs-nav-subheading { padding: 9px 25px 2px 45px; color: #717171; font-size: 9px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.docs-sidebar-support { margin: 26px 24px 0 30px; padding-top: 17px; border-top: 1px solid #333; }
.docs-sidebar-support strong { color: #cfcfcf; font-size: 13px; }
.docs-sidebar-support p { margin: 3px 0 7px; color: #777; font-size: 12px; line-height: 1.55; }
.docs-sidebar-support a { color: #aaa; font-size: 12px; }
.docs-nav-overlay { display: none; }

.idocs-content { position: relative; min-height: 750px; margin-left: var(--sidebar-width); padding: 0 50px 50px; transition: margin .25s; }
.docs-hero, .docs-content, .docs-footer { width: 100%; max-width: 1080px; margin-inline: auto; }
.docs-hero { padding: 58px 0 56px; border-bottom: 1px solid var(--border); }
.docs-hero-kicker { margin-bottom: 11px; color: #7b7b7b; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.docs-hero h1 { margin: 0; color: #f1f1f1; font-size: 43px; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; }
.docs-hero > p { max-width: 810px; margin: 14px 0 0; color: #aaa; font-size: 17px; line-height: 1.8; }
.docs-hero-meta { display: flex; gap: 25px; margin-top: 22px; color: #717171; font-size: 12px; }
.docs-hero-meta span + span { position: relative; }
.docs-hero-meta span + span::before { content: ""; position: absolute; top: 50%; left: -14px; width: 3px; height: 3px; border-radius: 50%; background: #555; }

.docs-section { padding: 55px 0 0; }
.docs-section + .docs-section { margin-top: 64px; border-top: 1px solid var(--border); }
.docs-section-header { margin-bottom: 37px; }
.docs-section-header h2 { margin: 0 0 8px; color: #ededed; font-size: 31px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.docs-section-header p { max-width: 850px; margin: 0; color: #a4a4a4; font-size: 16px; }
.docs-article, .docs-event { margin: 0 0 52px; scroll-margin-top: 105px; }
.docs-article + .docs-article, .docs-event + .docs-event, .docs-article + .docs-event, .docs-event + .docs-article { padding-top: 49px; border-top: 1px solid var(--border-soft); }
.docs-article h3 { margin: 0 0 16px; color: #e9e9e9; font-size: 23px; font-weight: 600; line-height: 1.45; }
.docs-article h4, .docs-event h4 { margin: 27px 0 11px; color: #ddd; font-size: 18px; font-weight: 600; }
.docs-event > h4 { margin-top: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 19px; }
.docs-event > h4 a { color: #e4e4e4; }
.docs-article p, .docs-event p { max-width: 900px; margin: 0 0 17px; color: var(--body); }
.docs-article strong, .docs-event strong { color: #e2e2e2; font-weight: 600; }
.docs-article ul, .docs-event ul { margin: 0 0 23px; padding-left: 22px; color: #b6b6b6; }
.docs-article li, .docs-event li { margin-top: 9px; padding-left: 3px; }
.docs-article li::marker, .docs-event li::marker { color: #777; }
.docs-article :not(pre) > code, .docs-event :not(pre) > code, .docs-table code { padding: 2px 5px; border: 1px solid #363636; border-radius: 3px; background: #1c1c1c; color: #ddd; font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

.docs-procedure { margin: 23px 0 26px; padding: 0; list-style: none; counter-reset: procedure; }
.docs-procedure li { position: relative; min-height: 32px; margin: 0 0 15px; padding: 1px 0 0 44px; counter-increment: procedure; color: #b8b8b8; }
.docs-procedure li::before { content: counter(procedure); position: absolute; top: 0; left: 0; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #494949; border-radius: 50%; background: #1d1d1d; color: #ddd; font-size: 11px; font-weight: 700; }
.docs-procedure li::after { content: ""; position: absolute; top: 29px; bottom: -14px; left: 13px; width: 1px; background: #333; }
.docs-procedure li:last-child::after { display: none; }

.docs-callout { margin: 24px 0; padding: 16px 19px; border-left: 4px solid #8b8b8b; background: #1c1c1c; }
.docs-callout strong { display: block; margin-bottom: 3px; color: #e2e2e2; }
.docs-callout p { margin: 0; color: #aaa; }
.docs-callout.is-warning { border-left-color: #aaa; background: #202020; }
.docs-callout.is-warning strong { color: #e2e2e2; }

.docs-code { overflow: hidden; margin: 24px 0 27px; border: 1px solid #333; border-radius: 4px; background: #0c0c0c; }
.docs-code-header { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px 0 14px; border-bottom: 1px solid #2c2c2c; background: #1b1b1b; color: #777; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.docs-copy { padding: 4px 8px; border: 1px solid #3d3d3d; border-radius: 3px; background: #242424; color: #aaa; font-size: 10px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.docs-copy:hover { border-color: #666; color: #eee; }
.docs-code pre { max-height: 680px; overflow: auto; margin: 0; padding: 18px 19px; scrollbar-width: thin; scrollbar-color: #444 #111; }
.docs-code code { display: block; min-width: max-content; color: #c8c8c8; font: 12.5px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; }

.docs-table-wrap { overflow-x: auto; margin: 24px 0 27px; border: 1px solid #353535; border-radius: 4px; }
.docs-table { width: 100%; min-width: 580px; border-collapse: collapse; color: #b5b5b5; font-size: 13.5px; }
.docs-table th { padding: 11px 14px; border-bottom: 1px solid #3b3b3b; background: #202020; color: #dedede; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; }
.docs-table td { padding: 12px 14px; border-bottom: 1px solid #292929; vertical-align: top; }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table tbody tr:nth-child(even) { background: #171717; }

.docs-event-badge, .docs-api-operation { display: inline-flex; min-height: 22px; align-items: center; margin: 0 0 13px; padding: 1px 7px; border: 1px solid #444; border-radius: 3px; background: #1f1f1f; color: #b8b8b8; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.docs-api-operation.is-write, .docs-api-operation.is-read { border-color: #444; background: #1f1f1f; color: #b8b8b8; }
.docs-api-event-meta { display: flex; gap: 9px; margin-bottom: 13px; }
.docs-api-notes { margin-top: 21px; }
.docs-event-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 23px 0; }
.docs-event-index > div { min-width: 0; padding: 14px; border: 1px solid #303030; border-radius: 3px; background: #181818; }
.docs-event-index strong { display: block; margin-bottom: 7px; color: #ddd; font-size: 12px; }
.docs-event-index a { display: block; overflow: hidden; padding: 3px 0; color: #aaa; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.docs-event-index a:hover { color: #fff; }
.docs-event-index a code { padding: 0; border: 0; background: none; color: inherit; }

.docs-footer { display: grid; grid-template-columns: minmax(240px,1fr) auto auto; gap: 28px; margin-top: 55px; padding: 38px 0 20px; border-top: 1px solid #333; color: #777; }
.docs-footer-brand { color: #ddd; font-size: 17px; font-weight: 700; }
.docs-footer p { margin: 3px 0 0; font-size: 12px; }
.docs-footer nav { display: flex; gap: 17px; }
.docs-footer nav a { color: #888; font-size: 12px; }
.docs-footer-socials { display: flex; gap: 4px; }
.docs-footer small { grid-column: 1/-1; font-size: 11px; }
.docs-back-to-top { position: fixed; z-index: 55; right: 20px; bottom: 20px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #444; border-radius: 3px; background: #222; opacity: 0; visibility: hidden; transform: translateY(8px); cursor: pointer; transition: .2s; }
.docs-back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.docs-back-to-top:hover { background: #303030; }
.docs-back-to-top svg { width: 18px; fill: none; stroke: #ccc; stroke-width: 1.8; }

@media (max-width: 1280px) {
  #header { grid-template-columns: minmax(235px,1fr) minmax(260px,430px) minmax(350px,1fr); gap: 15px; padding-inline: 20px; }
  .docs-header-socials { display: none; }
  .idocs-content { padding-inline: 38px; }
}
@media (max-width: 1079px) {
  :root { --header-height: 65px; }
  #header { grid-template-columns: auto minmax(180px,1fr) auto; }
  .docs-mobile-menu { display: block; }
  .docs-brand { display: none; }
  .docs-top-actions > a:not(.docs-console-link) { display: none; }
  .idocs-navigation { width: min(310px,86vw); transform: translateX(-102%); box-shadow: 16px 0 45px rgba(0,0,0,.5); }
  .docs-nav-open .idocs-navigation { transform: none; }
  .docs-nav-overlay { position: fixed; z-index: 50; inset: var(--header-height) 0 0; display: block; background: rgba(0,0,0,.7); opacity: 0; visibility: hidden; transition: .2s; }
  .docs-nav-open .docs-nav-overlay { opacity: 1; visibility: visible; }
  .docs-nav-open { overflow: hidden; }
  .idocs-content { margin-left: 0; }
}
@media (max-width: 700px) {
  #header { grid-template-columns: auto minmax(0,1fr); padding-inline: 13px; }
  .docs-search kbd, .docs-top-actions { display: none; }
  .docs-search input { padding-right: 9px; }
  .idocs-content { padding: 0 17px 35px; }
  .docs-hero { padding: 47px 0 44px; }
  .docs-hero h1 { font-size: 36px; line-height: 1.2; }
  .docs-hero > p { font-size: 16px; }
  .docs-hero-meta { flex-direction: column; gap: 1px; }
  .docs-hero-meta span + span::before { display: none; }
  .docs-section { padding-top: 48px; }
  .docs-section + .docs-section { margin-top: 52px; }
  .docs-section-header h2 { font-size: 28px; }
  .docs-article h3 { font-size: 21px; }
  .docs-event > h4 { overflow-wrap: anywhere; font-size: 17px; }
  .docs-event-index { grid-template-columns: 1fr; }
  .docs-code { margin-inline: -3px; }
  .docs-footer { grid-template-columns: 1fr; gap: 17px; }
  .docs-footer small { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
