* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 144px;
}
body {
  margin: 0;
  color: #283746;
  background: #fff;
  font:
    15px/1.65 Arial,
    Helvetica,
    sans-serif;
}
button,
input {
  font: inherit;
}
a {
  color: #111;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 20;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.global-header {
  height: 72px;
  border-bottom: 1px solid #e3e8ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #203245;
  letter-spacing: -1px;
  font-size: 27px;
  font-weight: 700;
}
.brand-logo {
  display: block;
  width: 106px;
  height: 43px;
  object-fit: contain;
  object-position: left center;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: #111;
  color: white;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 26px;
  font-weight: 400;
}
.brand small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: #56687a;
  border-left: 1px solid #d8e0e9;
  padding-left: 15px;
}
.top-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.top-links > a {
  font-size: 14px;
  color: #34495c;
}
.top-links .selected {
  font-weight: 700;
  color: #111;
}
.search-trigger {
  display: flex;
  gap: 48px;
  align-items: center;
  border: 1px solid #d8e0e9;
  background: #f7f9fb;
  border-radius: 7px;
  padding: 8px 12px;
  color: #66778a;
  font-size: 13px;
}
.search-trigger kbd {
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 3px;
  font: 11px Arial;
  padding: 2px 5px;
}
.product-bar {
  height: 54px;
  border-bottom: 1px solid #e3e8ee;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0 42px;
  background: #fff;
  position: sticky;
  top: 72px;
  z-index: 4;
  font-size: 14px;
}
.product-icon {
  background: #f1f1f1;
  color: #111;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 18px;
}
.product-bar strong {
  font-weight: 600;
}
.version {
  margin-left: 7px;
  border: 1px solid #dce5ef;
  border-radius: 4px;
  color: #62778c;
  padding: 0 7px;
  font-size: 11px;
}
.product-bar > a {
  margin-left: auto;
  font-size: 13px;
}
.layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
.sidebar {
  height: calc(100vh - 126px);
  position: sticky;
  top: 126px;
  overflow-y: auto;
  padding: 28px 18px 50px 30px;
  border-right: 1px solid #e4e9ee;
}
.nav-label {
  font-size: 13px;
  font-weight: 700;
  color: #2b3e50;
  margin: 27px 0 7px 12px;
}
.nav-label:first-child {
  margin-top: 0;
}
.sidebar a {
  display: block;
  padding: 8px 12px;
  margin: 2px 0;
  font-size: 13px;
  color: #596c7d;
  border-radius: 4px;
  line-height: 1.5;
}
.sidebar a.active {
  background: #f1f1f1;
  color: #111;
  font-weight: 600;
}
.sidebar a:hover {
  background: #f2f5f9;
  text-decoration: none;
}
.nav-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #e4e9ee;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 180px;
  gap: 52px;
  padding: 34px 42px 72px 54px;
  justify-content: center;
}
.breadcrumb {
  color: #7e8c99;
  font-size: 12px;
  margin-bottom: 33px;
}
.breadcrumb span {
  padding: 0 9px;
  color: #a9b4be;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #728392;
  letter-spacing: 1.3px;
  margin: 0 0 8px;
}
h1 {
  color: #203245;
  font-size: 42px;
  line-height: 1.17;
  letter-spacing: -1.3px;
  font-weight: 500;
  margin: 0 0 21px;
}
p {
  margin: 0 0 18px;
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: #5d6e7e;
  max-width: 720px;
  margin-bottom: 26px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #7d8c99;
  margin-bottom: 30px;
}
.divider {
  height: 1px;
  background: #e3e8ee;
  margin: 27px 0;
}
h2 {
  font-size: 25px;
  line-height: 1.3;
  color: #24394b;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 44px 0 17px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  color: #24394b;
  margin: 25px 0 10px;
}
ul,
ol {
  padding-left: 22px;
}
li {
  padding-left: 3px;
  margin: 7px 0;
}
code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  background: #f0f3f6;
  color: #334e69;
  padding: 2px 5px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.callout {
  border: 1px solid #dce8f8;
  border-left: 3px solid #111;
  background: #f8f8f8;
  padding: 17px 20px;
  margin: 24px 0;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  color: #405e7a;
}
.callout strong {
  color: #203e61;
}
.callout p {
  margin: 5px 0 0;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-number {
  width: 28px;
  height: 28px;
  border: 1px solid #cbd9e8;
  color: #111;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.code-block {
  border: 1px solid #dce3eb;
  border-radius: 7px;
  overflow: hidden;
  margin: 20px 0 24px;
  background: #f6f8fa;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafdff;
  border-bottom: 1px solid #e0e6ed;
  min-height: 42px;
  padding: 0 13px;
}
.code-tabs {
  display: flex;
  gap: 20px;
}
.code-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #718397;
  font-size: 12px;
  padding: 11px 0 9px;
}
.code-tabs button[aria-selected="true"] {
  color: #111;
  border-color: #111;
}
.copy-button {
  background: white;
  border: 1px solid #dce3eb;
  color: #596d80;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 11px;
}
.code-label {
  font-size: 12px;
  color: #708294;
}
.code-block pre {
  overflow: auto;
  margin: 0;
  padding: 21px 22px;
  color: #315673;
  font:
    12.5px/1.85 Consolas,
    "Courier New",
    monospace;
  tab-size: 2;
}
.code-block code {
  background: none;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #dce4ee;
  border-radius: 6px;
  background: #f8fafc;
  padding: 14px 16px;
  margin: 24px 0;
  overflow: auto;
}
.endpoint code {
  white-space: nowrap;
  background: none;
  padding: 0;
  font-size: 13px;
}
.method {
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 7px;
  background: #e2f5f0;
  color: #21765b;
}
.method.post {
  background: #e9f1ff;
  color: #2867cb;
}
.method.patch {
  background: #fff3df;
  color: #956411;
}
.scope {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #6a7b8d;
}
.table-scroll {
  overflow: auto;
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
}
th {
  text-align: left;
  background: #f7f9fb;
  color: #52667a;
  font-weight: 600;
}
th,
td {
  padding: 13px 14px;
  border: 1px solid #e2e7ed;
  vertical-align: top;
}
td code {
  font-size: 12px;
}
td small {
  display: block;
  color: #8190a0;
}
.toc {
  position: sticky;
  top: 164px;
  align-self: start;
  border-left: 1px solid #e4e9ee;
  padding-left: 18px;
  margin-top: 8px;
  font-size: 12px;
}
.toc strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #516679;
  display: block;
  margin-bottom: 14px;
}
.toc a {
  display: block;
  color: #7b8b9b;
  padding: 5px 0;
  line-height: 1.5;
}
.toc a.current {
  color: #111;
}
.next-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.next-card {
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  padding: 18px;
  display: block;
  color: #253e56;
  font-size: 14px;
}
.next-card:hover {
  border-color: #90b9ef;
  text-decoration: none;
}
.next-card small {
  display: block;
  font-size: 11px;
  color: #8b98a5;
  margin-bottom: 4px;
}
.next-card span {
  float: right;
  color: #111;
}
.page-footer {
  border-top: 1px solid #e3e8ee;
  margin-top: 50px;
  padding-top: 22px;
  font-size: 12px;
  color: #8895a2;
  display: flex;
  justify-content: space-between;
}
.mobile-menu {
  display: none;
}
dialog {
  border: 1px solid #d6e1ed;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 22px 80px #152d4d33;
  width: min(600px, calc(100% - 28px));
  color: #283746;
}
dialog::backdrop {
  background: #10253e66;
  backdrop-filter: blur(3px);
}
.search-head {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px;
  gap: 12px;
}
.search-head input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 5px;
  outline: none;
}
.search-head button {
  border: 1px solid #dce3eb;
  background: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: #7d8c99;
}
.search-results {
  padding: 14px;
  max-height: 55vh;
  overflow: auto;
}
.search-results a {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-radius: 5px;
  color: #2c4660;
  font-size: 14px;
}
.search-results a:hover {
  background: #f0f6ff;
  text-decoration: none;
}
.search-results small {
  color: #8c9bab;
  font-size: 11px;
}
#search-empty {
  padding: 18px;
  color: #7d8c99;
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1650px) {
  .article-layout {
    gap: 70px;
    padding-top: 44px;
  }
}
@media (max-width: 1200px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 40px;
  }
  .toc {
    display: none;
  }
  .global-header {
    padding: 0 26px;
  }
  .top-links {
    gap: 20px;
  }
  .search-trigger {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .global-header {
    height: 62px;
    padding: 0 20px;
  }
  .brand {
    font-size: 23px;
  }
  .brand small {
    font-size: 12px;
  }
  .top-links > a {
    display: none;
  }
  .search-trigger {
    gap: 0;
  }
  .search-trigger kbd {
    display: none;
  }
  .product-bar {
    top: 62px;
    height: 50px;
    padding: 0 20px;
  }
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    top: 112px;
    left: 0;
    width: min(300px, 85vw);
    height: calc(100vh - 112px);
    background: white;
    z-index: 5;
    box-shadow: 12px 8px 30px #1d365620;
  }
  .sidebar.open {
    display: block;
  }
  .mobile-menu {
    display: block;
    background: none;
    border: 0;
    color: #42617d;
    font-size: 20px;
    padding: 0 5px 0 0;
  }
  .article-layout {
    padding: 27px 22px 50px;
  }
  h1 {
    font-size: 34px;
  }
  .lead {
    font-size: 16px;
  }
  .breadcrumb {
    margin-bottom: 27px;
  }
  .product-bar > a {
    font-size: 12px;
  }
  .next-links {
    grid-template-columns: 1fr;
  }
  .page-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .code-block pre {
    font-size: 12px;
    padding: 18px;
  }
  .scope {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
