* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f8fa;
  color: #253245;
  font:
    17px/1.75 system-ui,
    -apple-system,
    sans-serif;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1120px) / 2));
  background: #102639;
  color: #f4f8fb;
}
header a,
footer a {
  color: #f4f8fb;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  font-size: 25px;
  font-weight: 750;
  text-decoration: none;
}
.brand span {
  font-size: 13px;
  font-weight: 400;
  color: #a9c4d5;
}
main {
  max-width: 1040px;
  margin: auto;
  padding: 45px 32px 75px;
  background: white;
  min-height: 70vh;
}
h1,
h2,
h3 {
  line-height: 1.25;
  color: #102639;
  scroll-margin-top: 25px;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -0.045em;
}
h2 {
  margin-top: 2.3em;
}
a {
  color: #086578;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid #db8e24;
  outline-offset: 4px;
}
pre {
  padding: 22px;
  background: #102639;
  color: #e5edf3;
  border-radius: 10px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.65;
}
code {
  font-family: ui-monospace, monospace;
}
p code,
li code,
td code {
  background: #edf2f5;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}
table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  font-size: 15px;
}
td,
th {
  padding: 12px 16px;
  border-bottom: 1px solid #dbe3ea;
  text-align: left;
}
th {
  background: #edf2f5;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  border-left: 4px solid #168a90;
  margin-left: 0;
  padding: 8px 22px;
  background: #eff8f8;
}
footer {
  font-size: 13px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.k,
.kd,
.kn {
  color: #7de5c4;
}
.s,
.s1,
.s2 {
  color: #f7cb83;
}
.c,
.c1,
.cm {
  color: #a5bac9;
}
.nf,
.nc {
  color: #91c8fc;
}
@media (max-width: 650px) {
  header,
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .brand span {
    display: none;
  }
  main {
    padding: 28px 20px;
  }
  h1 {
    font-size: 2rem;
  }
  nav {
    gap: 16px;
  }
}

/* One curated navigation, available on every documentation page without JavaScript. */
.documentation-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.doc-sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
  padding: 30px 22px;
}
.doc-version {
  margin: 0 0 18px;
  color: #526375;
  font-size: 13px;
  font-weight: 650;
}
.doc-navigation {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}
.doc-navigation section + section { margin-top: 22px; }
.doc-navigation h2 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #526375;
}
.doc-navigation ul { list-style: none; padding: 0; margin: 0; }
.doc-navigation a {
  display: block;
  padding: 7px 9px;
  border-radius: 5px;
  text-decoration: none;
}
.doc-navigation a:hover { background: #e8f0f3; text-decoration: underline; }
.doc-navigation a[aria-current="page"] {
  background: #dfeff0;
  color: #064c59;
  font-weight: 700;
  border-left: 3px solid #086578;
}
.documentation-shell main { min-width: 0; width: 100%; margin: 0; }
.breadcrumbs { font-size: 13px; gap: 10px; margin: 0 0 24px; }
.page-tools {
  border-top: 1px solid #dbe3ea;
  margin-top: 48px;
  padding-top: 20px;
  font-size: 14px;
}
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .documentation-shell { display: block; }
  .doc-sidebar { display: none; }
  .mobile-menu {
    display: block;
    margin: 0 0 26px;
    padding: 12px 16px;
    background: #f0f5f6;
    border-radius: 8px;
  }
  .mobile-menu summary { cursor: pointer; color: #086578; font-weight: 650; }
  .mobile-menu[open] summary { margin-bottom: 22px; }
  .mobile-menu .doc-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .mobile-menu .doc-navigation section + section { margin-top: 0; }
}
@media (max-width: 480px) {
  .mobile-menu .doc-navigation { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  header, footer, .doc-sidebar, .mobile-menu, .page-tools, .skip { display: none; }
  .documentation-shell { display: block; }
  main { padding: 0; max-width: none; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}

.on-this-page { margin: 26px 0; padding: 14px 18px; border: 1px solid #dbe3ea; border-radius: 8px; }
.on-this-page summary { cursor: pointer; color: #086578; font-weight: 650; }
.on-this-page[open] summary { margin-bottom: 12px; }
.on-this-page ul { margin-bottom: 0; }
