:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172b45;
  background: #f7f8fb;
  line-height: 1.65;
  scroll-behavior: smooth;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #235bd6;
  text-underline-offset: 3px;
}
a:focus-visible,
summary:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid #6a99f1;
  outline-offset: 5px;
  border-radius: 3px;
}
.shell {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: white;
  z-index: 10;
}
.skip:focus {
  top: 15px;
}
.topbar {
  border-bottom: 1px solid #dce3ed;
  background: #fff;
}
.topbar-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 600;
  text-decoration: none;
  color: #172b45;
  letter-spacing: -0.04em;
}
.brand img {
  border-radius: 8px;
}
.brand span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #758297;
  margin-left: 8px;
}
.raw-link {
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #d1dceb;
  padding: 8px 14px;
  border-radius: 7px;
  white-space: nowrap;
}
.raw-link span {
  margin-left: 16px;
}
.intro {
  padding: 66px 0 46px;
  border-bottom: 1px solid #dce3ed;
  max-width: 100%;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #577195;
  margin: 0 0 24px;
}
.eyebrow span {
  display: inline-block;
  background: #e3edfc;
  color: #235bd6;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  margin-left: 10px;
}
h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 600;
  margin: 0 0 15px;
}
.lede {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin: 0 0 15px;
  color: #405a7b;
}
.intro-note {
  font-size: 14px;
  color: #66768c;
  max-width: 630px;
  margin: 0;
}
.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 12px;
  margin-top: 25px;
}
.intro-links a {
  text-decoration: none;
  font-weight: 600;
}
.reference-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 65px;
  padding-top: 48px;
}
.sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding-right: 15px;
}
.sidebar .eyebrow {
  margin-bottom: 19px;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc li {
  margin: 0 0 13px;
}
.toc a {
  font-size: 13px;
  line-height: 1.5;
  display: block;
  text-decoration: none;
  color: #5b6e87;
}
.toc a:hover {
  color: #235bd6;
}
.sidebar-note {
  border-top: 1px solid #dce3ed;
  margin-top: 30px;
  padding-top: 22px;
  font-size: 11px;
  color: #7b889a;
}
.sidebar-note a {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  text-decoration: none;
}
.reference-column {
  min-width: 0;
}
.reference {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.reference > p:first-child {
  margin-top: 0;
}
.reference p {
  margin: 18px 0;
  color: #384b64;
}
.reference h2 {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 60px 0 24px;
  padding-top: 12px;
  border-top: 1px solid #dce3ed;
  scroll-margin-top: 25px;
  color: #172b45;
}
.reference h2:first-of-type {
  margin-top: 38px;
}
.reference h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 30px 0 15px;
  scroll-margin-top: 25px;
}
.headerlink {
  font-size: 0.65em;
  font-weight: 400;
  text-decoration: none;
  margin-left: 10px;
  color: #a0afc4;
}
.headerlink:hover {
  color: #235bd6;
}
.reference code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84em;
  background: #e9eef6;
  padding: 2px 5px;
  border-radius: 4px;
  color: #244f89;
}
.reference pre {
  margin: 24px 0;
  padding: 24px;
  background: #192b43;
  color: #edf3fc;
  border: 1px solid #263d5a;
  border-radius: 10px;
  overflow: auto;
  line-height: 1.65;
  white-space: pre;
  overflow-wrap: normal;
  tab-size: 4;
}
.reference pre code {
  color: inherit;
  font-size: 12px;
  background: none;
  padding: 0;
  border-radius: 0;
  white-space: pre;
}
.reference ul,
.reference ol {
  padding-left: 23px;
  color: #384b64;
}
.reference li {
  margin: 8px 0;
}
.reference strong {
  font-weight: 650;
  color: #233b5b;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  margin: 25px 0;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
}
.reference table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.55;
  min-width: 550px;
}
.reference th {
  background: #eaf0f9;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.025em;
  color: #365479;
}
.reference th,
.reference td {
  padding: 12px 15px;
  border-bottom: 1px solid #e2e8f1;
  vertical-align: top;
}
.reference tr:last-child td {
  border-bottom: 0;
}
.reference blockquote {
  border-left: 3px solid #7d9ed6;
  margin: 24px 0;
  padding: 1px 22px;
  background: #edf2f9;
}
.repository-reference {
  color: #7b889a;
  font-size: 0.92em;
}
.source-note {
  background: #eaf0f9;
  border-radius: 10px;
  padding: 25px 28px;
  margin: 55px 0 10px;
  font-size: 13px;
}
.source-note strong {
  font-size: 14px;
  font-weight: 600;
}
.source-note p {
  color: #66768c;
  margin: 9px 0 0;
}
.footer {
  border-top: 1px solid #dce3ed;
  margin-top: 75px;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
}
.footer a {
  color: #5b6e87;
  text-decoration: none;
}
.footer > div {
  display: flex;
  gap: 25px;
}
.mobile-contents {
  display: none;
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 48px);
  }
  .reference-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 35px;
  }
  .toc a {
    font-size: 12px;
  }
  .reference {
    font-size: 14px;
  }
  .reference pre {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 36px);
  }
  .topbar-inner {
    height: 72px;
    gap: 10px;
  }
  .brand {
    font-size: 21px;
  }
  .brand span {
    display: none;
  }
  .raw-link {
    font-size: 11px;
    padding: 7px 10px;
  }
  .raw-link span {
    margin-left: 5px;
  }
  .intro {
    padding-top: 40px;
    padding-bottom: 32px;
  }
  .intro .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .lede {
    font-size: 20px;
  }
  .intro-note {
    font-size: 13px;
  }
  .reference-layout {
    display: block;
    padding-top: 25px;
  }
  .sidebar {
    display: none;
  }
  .mobile-contents {
    display: block;
    border: 1px solid #d5dfed;
    background: #edf2f9;
    border-radius: 8px;
    padding: 14px 17px;
    margin-bottom: 30px;
  }
  .mobile-contents summary {
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-contents .toc {
    margin-top: 20px;
  }
  .toc li:last-child {
    margin-bottom: 0;
  }
  .toc a {
    font-size: 13px;
  }
  .reference h2 {
    font-size: 25px;
    margin-top: 42px;
  }
  .reference pre {
    padding: 17px;
    margin-inline: 0;
  }
  .reference pre code {
    font-size: 11px;
  }
  .source-note {
    padding: 20px;
  }
  .footer {
    flex-direction: column;
    margin-top: 45px;
  }
  .footer > div {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
