@font-face {
  font-family: Onest;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/onest-latin.woff2') format('woff2');
}
:root {
  color-scheme: light dark;
  font-family: Onest, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  color: #1b1a17;
  background: #fcfbf8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 860px;
  margin: auto;
  padding: 24px;
}
header,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a {
  color: #266443;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.15;
}
h2 {
  margin-top: 2.5rem;
  line-height: 1.3;
}
p {
  overflow-wrap: anywhere;
}
.lead {
  font-size: 1.2rem;
}
.button {
  background: #266443;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  margin-right: 16px;
}
pre {
  padding: 20px;
  overflow-x: auto;
  background: #eeeeea;
  border-radius: 8px;
  font-size: 0.875rem;
}
code {
  font-family: ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #eeeeea;
    background: #151614;
  }
  a {
    color: #9cdbb2;
  }
  pre {
    background: #242622;
  }
}

.brand {
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.brand .word {
  width: 82px;
  height: 30px;
}
.brand .dot {
  fill: #7fb89b;
}
.brand span {
  font-size: 14px;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

footer {
  max-width: 860px;
  margin: auto;
  padding: 24px;
  border-top: 1px solid #80808060;
}
.docs-nav,
.contents {
  justify-content: flex-start;
  gap: 8px 24px;
  border-block: 1px solid #80808060;
  padding-block: 8px;
}
[aria-current='page'] {
  font-weight: 700;
}
h2,
details {
  scroll-margin-top: 24px;
}
details {
  margin-block: 16px;
  border: 1px solid #80808060;
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  align-content: center;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid #80808060;
}
li {
  margin-block: 8px;
}
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
