:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #201d2b;
  background: #f6f5fa;
  line-height: 1.7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #6440b1;
  text-underline-offset: 3px;
}
a:hover {
  color: #4e2e91;
}
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #7950ce;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 10px 18px;
  background: white;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(28px, calc((100% - 1260px) / 2));
  border-bottom: 1px solid #e4dfed;
  background: white;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #201d2b;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}
.brand img {
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 11px;
  color: #716b82;
  font-weight: 400;
  margin-top: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.console-link {
  color: #625a72;
  text-decoration: none;
}
.download-link {
  display: inline-block;
  border-radius: 8px;
  background: #7950ce;
  color: white;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.download-link:hover {
  background: #6440b1;
  color: white;
}
.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 46px;
  max-width: 1260px;
  margin: 42px auto;
  padding: 0 28px;
}
.contents {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 6px 12px 12px 0;
}
.eyebrow {
  color: #716b82;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin: 0 0 16px;
}
.contents ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contents li {
  margin: 0 0 3px;
}
.contents a {
  display: block;
  color: #625a72;
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 6px;
}
.contents a:hover {
  color: #6440b1;
  background: #eee6ff;
}
.document {
  min-width: 0;
  background: white;
  border: 1px solid #e4dfed;
  border-radius: 16px;
  padding: 38px 42px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.reading-note {
  padding: 16px 19px;
  margin-bottom: 30px;
  border-left: 3px solid #7950ce;
  background: #f4efff;
  color: #514565;
  font-size: 13px;
  border-radius: 0 8px 8px 0;
}
.document h1 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 650;
  margin: 0 0 32px;
}
.document h2 {
  font-size: 22px;
  letter-spacing: -0.45px;
  line-height: 1.35;
  font-weight: 600;
  margin: 46px 0 17px;
  padding-top: 28px;
  border-top: 1px solid #e9e5ef;
  scroll-margin-top: 24px;
}
.document h2:target {
  color: #6440b1;
}
.document h3 {
  font-size: 17px;
  margin: 28px 0 12px;
}
.document p {
  margin: 0 0 17px;
}
.document ul,
.document ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.document li {
  padding-left: 3px;
  margin-bottom: 9px;
}
.document code {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  font-size: 0.88em;
  background: #f1eef7;
  border-radius: 4px;
  padding: 2px 5px;
  color: #55378b;
}
.document pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 22px;
  background: #211e2b;
  border-radius: 10px;
  color: #e9e1fb;
  font-size: 12px;
  line-height: 1.8;
  margin: 22px 0;
}
.document pre code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e4dfed;
  border-radius: 9px;
  margin: 22px 0;
}
.document table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  font-size: 12px;
}
.document th,
.document td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e4dfed;
}
.document th {
  background: #f6f4fa;
  font-weight: 600;
  color: #514565;
}
.document tr:last-child td {
  border-bottom: 0;
}
.document td:first-child {
  white-space: nowrap;
}
.document-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e4dfed;
  padding-top: 24px;
  margin-top: 40px;
  font-size: 12px;
}
@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 0 22px;
  }
  .document {
    padding: 28px;
  }
}
@media (max-width: 720px) {
  .site-header {
    padding: 18px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .docs-layout {
    display: block;
    margin: 24px auto;
    padding: 0 16px;
  }
  .contents {
    position: static;
    max-height: none;
    padding: 0 0 22px;
  }
  .contents ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
  .contents a {
    padding: 7px 8px;
    font-size: 11px;
  }
  .document {
    padding: 25px 20px;
    border-radius: 12px;
    font-size: 13px;
  }
  .document h2 {
    font-size: 20px;
    margin-top: 34px;
  }
  .document pre {
    padding: 16px;
    font-size: 11px;
  }
  .reading-note {
    padding: 13px 15px;
    font-size: 12px;
  }
}
