.nav-search {
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  background: #f8f8fb;
  padding: 7px 11px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 10px;
  color: #95959d;
  white-space: nowrap;
}
.nav-search kbd {
  font-size: 9px;
  font-family: inherit;
  color: #b0b0b8;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px) 160px;
  gap: 44px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.docs-sidebar {
  position: sticky;
  top: 64px;
  height: calc(100svh - 64px);
  overflow-y: auto;
  padding: 35px 12px 45px 0;
  scrollbar-width: thin;
  scrollbar-color: #e5e5ea transparent;
}
.docs-nav-group {
  margin-bottom: 26px;
}
.docs-nav-group > p {
  margin: 0 0 10px;
  padding-left: 12px;
  color: #4f4f57;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.docs-nav-group > a {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: #898991;
  padding: 7px 12px;
  margin: 2px 0;
  border-radius: 8px;
  transition:
    background 0.15s,
    color 0.15s;
}
.docs-nav-group > a:hover {
  color: #333;
  background: #f7f7f9;
}
.docs-nav-group > a[aria-current="page"] {
  color: #bb7146;
  background: #fff3e9;
  font-weight: 550;
}
.docs-main {
  padding: 43px 0 65px;
  min-width: 0;
}
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  color: #a2a2aa;
  margin-bottom: 34px;
}
.docs-breadcrumb > a {
  color: #777781;
}
.docs-breadcrumb > a:hover {
  color: var(--blue);
}
.docs-page-title .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a68a74;
  margin-bottom: 13px;
  font-weight: 500;
}
.docs-page-title h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}
.docs-page-title > p:last-child {
  font-size: 14px;
  color: #8a8a93;
  line-height: 1.95;
  margin: 18px 0 27px;
}
.docs-preview-notice {
  background: #f7f7fa;
  border: 1px solid #ededf2;
  border-radius: 12px;
  padding: 15px 17px;
  margin-bottom: 37px;
}
.docs-preview-notice > span {
  font-size: 10px;
  font-weight: 600;
  color: #8b7d6e;
}
.docs-preview-notice > p {
  font-size: 11px;
  line-height: 1.9;
  color: #9999a2;
  margin: 5px 0 0;
}
.docs-preview-notice code {
  font-size: 10px;
  color: #909098;
  overflow-wrap: anywhere;
}
.article-body {
  font-size: 14px;
  line-height: 1.95;
  color: #696973;
}
.doc-section {
  margin: 0 0 42px;
  scroll-margin-top: 90px;
}
.doc-section h2 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 560;
  letter-spacing: -0.5px;
  color: #2d2d35;
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 17px;
}
.doc-section h2 > a {
  color: #c4c4cc;
  opacity: 0;
  font-size: 15px;
  font-weight: 400;
}
.doc-section h2:hover > a,
.doc-section h2 > a:focus-visible {
  opacity: 1;
}
.article-body p {
  margin: 14px 0;
}
.article-body a {
  color: var(--blue);
  text-underline-offset: 4px;
}
.article-body a:hover {
  text-decoration: underline;
}
.article-body ul,
.article-body ol {
  padding-left: 23px;
  margin: 14px 0;
}
.article-body li {
  padding-left: 2px;
  margin: 8px 0;
}
.article-body li::marker {
  color: #a9a9b1;
}
.article-body ol li::marker {
  color: #797983;
  font-weight: 500;
}
.article-body p > code,
.article-body li > code,
.article-body td > code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #747482;
  font-size: 0.87em;
  padding: 2px 5px;
  background: #f3f3f7;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.article-body .code-block {
  margin: 20px 0 23px;
}
.article-body pre code {
  font-size: 11px;
  line-height: 1.95;
}
.article-body .code-block-head {
  font-size: 10px;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e9e9ee;
  border-radius: 12px;
  margin: 20px 0 24px;
}
.article-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.8;
  min-width: 360px;
}
.article-body th {
  font-size: 11px;
  font-weight: 550;
  color: #696973;
  background: #f8f8fb;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e9e9ee;
  white-space: nowrap;
}
.article-body td {
  padding: 13px 14px;
  border-bottom: 1px solid #efeff4;
  vertical-align: top;
  color: #81818b;
  min-width: 110px;
}
.article-body tr:last-child td {
  border-bottom: 0;
}
.article-body td:first-child {
  color: #61616c;
  font-size: 11px;
  min-width: 135px;
}
.doc-note {
  padding: 17px 19px;
  background: #fff8f1;
  border-left: 2px solid #edc39f;
  border-radius: 0 10px 10px 0;
  margin: 23px 0;
}
.doc-note > strong {
  font-size: 11px;
  color: #9b7859;
  font-weight: 550;
}
.doc-note > p {
  font-size: 12px;
  line-height: 1.9;
  color: #a18d7b;
  margin: 6px 0 0;
}
.doc-note code {
  background: #f7eadc;
  color: #9d8268;
  font-size: 10px;
}
.docs-toc {
  position: sticky;
  top: 64px;
  padding: 45px 0;
  height: max-content;
  max-height: calc(100svh - 64px);
  overflow: auto;
}
.docs-toc > p {
  font-size: 10px;
  color: #a0a0a9;
  font-weight: 550;
  margin: 0 0 13px;
}
.docs-toc > a {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  padding: 6px 0 6px 13px;
  border-left: 1px solid #e9e9ee;
  color: #a1a1a9;
}
.docs-toc > a:hover,
.docs-toc > a.active {
  color: #ae744e;
  border-left-color: #deb493;
}
.docs-toc .toc-top {
  margin-top: 22px;
  font-size: 9px;
  border-left: 0;
  padding-left: 0;
  color: #b2b2b9;
}
.docs-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid #ededf2;
}
.docs-pagination > a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #eaeaf0;
  border-radius: 12px;
  padding: 15px 17px;
  transition: background 0.2s;
}
.docs-pagination > a:hover {
  background: #fafafb;
}
.docs-pagination > a:last-child {
  text-align: right;
}
.docs-pagination small {
  font-size: 9px;
  color: #a4a4ae;
}
.docs-pagination span {
  font-size: 12px;
  color: #71717c;
  line-height: 1.6;
}
.docs-end-note {
  font-size: 10px;
  color: #aaaab3;
  margin-top: 28px;
}
.docs-mobile-tools {
  display: none;
}
.search-dialog {
  width: min(620px, calc(100% - 28px));
  padding: 0;
  border: 1px solid #ffffff80;
  border-radius: 18px;
  box-shadow: 0 30px 100px #0002;
  color: var(--ink);
  margin-top: 14svh;
}
.search-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 19px;
  border-bottom: 1px solid #ececf1;
}
.search-header > span {
  font-size: 25px;
  color: #aaaab5;
  line-height: 1;
}
.search-header input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 14px;
  color: #51515e;
  background: transparent;
  outline: none;
}
.search-header input::placeholder {
  color: #b1b1ba;
}
.search-header input:focus-visible {
  outline: none;
}
.search-close {
  font-size: 9px;
  border: 1px solid #e8e8ef;
  border-radius: 5px;
  background: #f9f9fc;
  color: #a5a5b0;
  padding: 4px 6px;
}
.search-results {
  padding: 10px;
  max-height: 52svh;
  min-height: 150px;
  overflow: auto;
}
.search-results > p {
  font-size: 12px;
  color: #a0a0aa;
  text-align: center;
  padding: 25px 15px;
  line-height: 1.9;
}
.search-result {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  border-radius: 10px;
}
.search-result:hover,
.search-result:focus-visible {
  background: #f7f7fa;
  outline-offset: -2px;
}
.search-result small {
  font-size: 9px;
  color: #b09b86;
}
.search-result strong {
  font-size: 13px;
  font-weight: 550;
  color: #4c4c59;
}
.search-result span {
  font-size: 10px;
  color: #a2a2ac;
  line-height: 1.8;
}
.search-footer {
  padding: 12px 19px;
  border-top: 1px solid #ececf1;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #aaaab5;
}
.docs-layout + .site-footer .footer-inner {
  max-width: 1192px;
  width: calc(100% - 48px);
}
@media (max-width: 1150px) {
  .docs-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 38px;
    max-width: 1060px;
  }
  .docs-toc {
    display: none;
  }
  .docs-page-title h1 {
    font-size: 38px;
  }
  .nav-search {
    gap: 15px;
  }
  .docs-layout .article-body {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .nav-search {
    display: none;
  }
  .docs-mobile-tools {
    position: sticky;
    top: 58px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    background: #ffffffed;
    border-bottom: 1px solid #eaeaf0;
    backdrop-filter: blur(15px);
  }
  .docs-mobile-tools button {
    font-size: 11px;
    border: 0;
    background: transparent;
    color: #9999a3;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .docs-mobile-tools button span {
    font-size: 14px;
  }
  .docs-layout {
    display: block;
    padding: 0 23px;
  }
  .docs-main {
    padding-top: 28px;
  }
  .docs-sidebar {
    display: none;
    position: fixed;
    z-index: 45;
    top: 100px;
    bottom: 0;
    left: 0;
    width: min(330px, 85vw);
    height: calc(100svh - 100px);
    background: #fffffff9;
    padding: 25px 25px 45px 17px;
    border-right: 1px solid #ebebf0;
    box-shadow: 35px 0 60px #22223a13;
    backdrop-filter: blur(25px);
  }
  .docs-menu-open .docs-sidebar {
    display: block;
  }
  .docs-nav-group > a {
    font-size: 12px;
    padding: 8px 12px;
  }
  .docs-nav-group > p {
    font-size: 12px;
  }
  .docs-breadcrumb {
    font-size: 9px;
    margin-bottom: 25px;
  }
  .docs-page-title h1 {
    font-size: 33px;
    letter-spacing: -1.2px;
  }
  .docs-page-title .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .docs-page-title > p:last-child {
    font-size: 12px;
    line-height: 1.9;
    margin-top: 15px;
  }
  .docs-preview-notice {
    padding: 14px 15px;
    margin-bottom: 30px;
  }
  .docs-preview-notice > p {
    font-size: 10px;
  }
  .docs-preview-notice code {
    font-size: 9px;
  }
  .article-body {
    font-size: 12px !important;
    line-height: 1.95;
  }
  .doc-section {
    margin-bottom: 34px;
    scroll-margin-top: 120px;
  }
  .doc-section h2 {
    font-size: 22px;
  }
  .doc-section h2 > a {
    opacity: 0.5;
    font-size: 13px;
  }
  .article-body .code-block {
    margin: 18px 0;
  }
  .article-body pre code {
    font-size: 10px;
    line-height: 1.9;
    padding: 18px;
  }
  .article-body table {
    font-size: 11px;
    min-width: 430px;
  }
  .article-body th,
  .article-body td {
    padding: 12px;
  }
  .article-body th {
    font-size: 10px;
  }
  .doc-note {
    padding: 15px 16px;
  }
  .doc-note > p {
    font-size: 11px;
  }
  .doc-note > strong {
    font-size: 10px;
  }
  .doc-note code {
    font-size: 9px;
  }
  .docs-pagination {
    gap: 10px;
  }
  .docs-pagination > a {
    padding: 13px;
  }
  .docs-pagination span {
    font-size: 10px;
  }
  .docs-pagination small {
    font-size: 8px;
  }
  .docs-end-note {
    font-size: 9px;
  }
  .search-dialog {
    margin-top: 9svh;
  }
  .search-header {
    padding: 15px;
  }
  .search-header input {
    font-size: 12px;
  }
  .search-close {
    font-size: 8px;
  }
  .search-results {
    max-height: 60svh;
  }
  .search-footer {
    font-size: 8px;
    padding: 11px 15px;
  }
  .docs-layout + .site-footer .footer-inner {
    width: calc(100% - 46px);
  }
}

.doc-example-variant {
  border: 1px solid #e8e8ef;
  border-radius: 12px;
  margin: 13px 0;
  padding: 0 16px;
}
.doc-example-variant > summary {
  cursor: pointer;
  font-size: 12px;
  color: #777782;
  padding: 15px 0;
}
.doc-example-variant .code-block {
  margin-top: 0;
}
