:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", "Microsoft JhengHei", sans-serif;
  background: #0b1120;
  color: #e2e8f0;
  line-height: 1.75;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #6ee7d0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: #10192b;
  border-right: 1px solid #26354b;
  padding: 32px 24px;
  overflow: auto;
}
.brand {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 23px;
  display: block;
}
.brand span {
  display: block;
  font-size: 12px;
  color: #93a5be;
  letter-spacing: 1px;
}
nav {
  display: grid;
  gap: 8px;
  margin: 34px 0;
}
nav a {
  color: #c3d0e2;
  padding: 5px 0;
}
aside small {
  display: block;
  color: #93a5be;
  margin-top: 28px;
}
.console {
  font-size: 14px;
}
main {
  margin-left: 240px;
  max-width: 1260px;
  padding: 48px 56px;
}
header {
  padding: 20px 0 34px;
  border-bottom: 1px solid #26354b;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6ee7d0;
}
h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 18px 0;
}
h2 {
  font-size: 27px;
  margin: 0 0 20px;
}
h3 {
  font-size: 18px;
  margin-top: 28px;
}
.lead {
  font-size: 19px;
  color: #b7c9df;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badges span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  background: #183b3b;
  color: #a7f3d0;
}
section {
  padding: 36px 0;
  border-bottom: 1px solid #26354b;
  scroll-margin-top: 20px;
}
p,
li {
  color: #c8d5e6;
}
li {
  padding: 4px 0;
}
pre {
  background: #101c2e;
  border: 1px solid #2a3b54;
  border-radius: 12px;
  padding: 22px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
}
code {
  font-family: Consolas, "Cascadia Code", monospace;
  color: #99f6e4;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}
pre code {
  white-space: pre;
  overflow-wrap: normal;
  color: #dcebf9;
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #14263a;
  border-radius: 10px;
  overflow: auto;
}
.endpoint b {
  font-size: 12px;
  background: #285954;
  color: #a7f3d0;
  border-radius: 5px;
  padding: 3px 10px;
}
.endpoint code {
  white-space: nowrap;
}
.note {
  border-left: 3px solid #5eead4;
  background: #122536;
  padding: 16px 20px;
  margin: 22px 0;
  color: #c8d5e6;
}
.table-wrap {
  overflow: auto;
  margin: 18px 0;
  border: 1px solid #293950;
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 540px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid #293950;
}
th {
  background: #142136;
  color: #93a5be;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  white-space: nowrap;
  color: #99f6e4;
}
dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
}
dt {
  color: #93a5be;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
footer {
  padding: 30px 0;
  color: #93a5be;
  font-size: 13px;
}
@media (max-width: 850px) {
  aside {
    position: static;
    width: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid #26354b;
  }
  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
    gap: 4px;
  }
  .brand span {
    display: inline;
    margin-left: 12px;
  }
  aside small {
    display: none;
  }
  main {
    margin-left: 0;
    padding: 26px 20px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  dd {
    margin-bottom: 12px;
  }
  pre {
    padding: 16px;
    font-size: 12px;
  }
  section {
    padding: 28px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
