@import "/docs/fonts/fonts.css";
:root {
  --bg: #1a1712;
  --panel: #2a251d;
  --panel2: #322c22;
  --line: #393227;
  --accent: #4ec9e8;
  --accent2: #8fdcef;
  --text: #f4efe6;
  --muted: #b3a794;
  --ok: #5fcf9e;
  --warn: #e0b04a;
  --r: 12px;
  --code-bg: #141109;
  --on-accent: #06121c;
  --top-bg: rgba(26,23,18,.9);
  --bad: #e57689;
  --body: #e7dfce;
  color-scheme: dark;
}
:root[data-theme=light] {
  --bg: #f4efe6;
  --panel: #ffffff;
  --panel2: #faf9f4;
  --line: #e3ded2;
  --accent: #1a95b8;
  --accent2: #2a8aa8;
  --text: #2a2724;
  --muted: #6b6559;
  --ok: #2e9e6f;
  --warn: #b8791f;
  --code-bg: #f1ede3;
  --on-accent: #ffffff;
  --top-bg: rgba(244,239,230,.9);
  --bad: #c0384f;
  --body: #3a352e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Sora,
    "Segoe UI",
    system-ui,
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
code,
.mono {
  font-family:
    ui-monospace,
    Consolas,
    monospace;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--top-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}
.top .brand::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background: url(eye.svg) center/contain no-repeat;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}
.top .brand span {
  color: var(--text);
  font-weight: 400;
}
.top .spacer {
  flex: 1;
}
.top .cta {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
}
.top .cta:hover {
  text-decoration: none;
  background: var(--accent2);
}
.shell {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 20px 80px;
}
nav.side {
  position: sticky;
  top: 78px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
nav.side a {
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 8px;
}
nav.side a:hover {
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
}
nav.side .grp {
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 16px 0 4px 10px;
}
main {
  min-width: 0;
}
main h1 {
  font-size: 30px;
  margin: 0 0 8px;
}
main h2 {
  font-size: 21px;
  margin: 40px 0 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
main h3 {
  font-size: 16px;
  margin: 22px 0 6px;
}
main section:first-of-type h2 {
  border-top: none;
}
p,
li {
  color: var(--body);
}
.lead {
  font-size: 17px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
ul,
ol {
  padding-left: 22px;
}
li {
  margin: 4px 0;
}
pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  overflow: auto;
  font-size: 13px;
}
pre code {
  color: var(--accent2);
}
p code,
li code {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
}
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 16px 0;
}
.note.warn {
  border-left-color: var(--warn);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
th,
td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}
.dlcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.dlcard h3 {
  margin: 0 0 4px;
}
.dlcard .ver {
  color: var(--accent);
  font-weight: 600;
}
.dlcard .pending {
  color: var(--muted);
}
.dlcard .btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
}
.dlcard .btn:hover {
  text-decoration: none;
  background: var(--accent2);
}
.dlcard .btn[aria-disabled=true] {
  background: var(--panel2);
  color: var(--muted);
  pointer-events: none;
  border: 1px solid var(--line);
}
.dlcard .sha {
  font-size: 11.5px;
  color: var(--muted);
  word-break: break-all;
  margin-top: 10px;
}
.foot {
  color: var(--muted);
  font-size: 13px;
}
.top .topnav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.top .topnav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 8px;
}
.top .topnav a:hover {
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
}
.top .tgl {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.top .tgl:hover {
  border-color: var(--accent);
}
.top .lang {
  color: var(--muted);
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 10px;
  white-space: nowrap;
}
.top .lang:hover {
  color: var(--text);
  border-color: var(--accent);
  text-decoration: none;
}
.top .burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 5px 11px;
  cursor: pointer;
  font-size: 19px;
  line-height: 1.2;
}
.top .burger:hover {
  border-color: var(--accent);
}
@media (max-width: 820px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dl {
    grid-template-columns: 1fr;
  }
  .top {
    flex-wrap: wrap;
  }
  .top .burger {
    display: inline-block;
    order: 4;
    margin-left: auto;
  }
  .top .spacer {
    display: none;
  }
  .top .topnav {
    display: none;
    order: 10;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  body.nav-open .top .topnav {
    display: flex;
  }
  .top .topnav a {
    padding: 10px 8px;
    font-size: 15px;
  }
  nav.side {
    display: none;
    position: static;
    margin-bottom: 8px;
  }
  body.nav-open nav.side {
    display: flex;
    flex-flow: column;
  }
  body.nav-open nav.side .grp {
    display: block;
  }
}
.mt40 {
  margin-top: 40px;
}
a:focus-visible,
.cta:focus-visible,
.burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .side,
  .burger {
    transition: none;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 34px;
  }
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px 16px 64px;
  margin: 16px 0;
  scroll-margin-top: 80px;
}
.step .num {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--on-accent);
  background: var(--accent);
}
.step h2 {
  margin: 2px 0 6px;
  font-size: 18px;
  border: 0;
  padding-top: 0;
}
.step p,
.step li {
  color: var(--body);
}
@media (max-width: 760px) {
  .step {
    padding-left: 56px;
  }
}
