/* The original document content and form behavior are preserved. */
:root {
  --dark: #080a0b;
  --slate: #111713;
  --card2: #192118;
  --border: #293427;
  --gray: #a0ab99;
  --radius: 8px;
}
body.document-page {
  font-family: Space, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.document-page .wrap {
  max-width: 1040px;
  padding-inline: 32px;
}
.document-page .site-nav {
  max-width: 1280px;
}
.document-page h1 {
  font-weight: 500;
  font-size: clamp(43px, 7vw, 85px);
  letter-spacing: -0.06em;
  line-height: 1.05;
  margin: 19px 0 24px;
}
.document-page h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.document-page h3 {
  font-weight: 500;
}
.document-page .doc {
  padding-top: 72px;
  padding-bottom: 40px;
}
.document-page .lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 750px;
}
.document-page .kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
}
.document-page .updated {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 11px;
}
.document-page .mono,
.document-page code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.87em;
}
.document-page main {
  min-height: 70vh;
}
.document-page .toc {
  gap: 8px;
  margin-top: 30px;
  background: transparent;
  border-color: var(--line);
}
.document-page .toc a {
  border-radius: 5px;
  font-weight: 500;
  font-size: 11px;
  padding: 10px 14px;
  background: #111811;
  line-height: 1.5;
}
.document-page .toc li a {
  display: block;
  border: 0;
  background: none;
  padding: 5px 0;
  color: #b5c5a5;
}
.document-page .toc ol {
  columns: 2;
  column-gap: 40px;
  padding-left: 18px;
  list-style: decimal;
}
.document-page .toc li {
  break-inside: avoid;
  padding-bottom: 4px;
  font-size: 12px;
}
.document-page .body section {
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.document-page .body p,
.document-page .body li {
  font-size: 14px;
  line-height: 1.8;
  color: #b7c0b0;
}
.document-page .body h2 {
  margin-bottom: 20px;
}
.document-page .body a {
  color: #d1e4b2;
}
.document-page section {
  scroll-margin-top: 15px;
}
.document-page .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--lime);
  margin-right: 16px;
}
.document-page .card {
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(140deg, #182016, #101510);
}
.document-page .card p,
.document-page .card li {
  font-size: 13px;
  line-height: 1.8;
  color: #b3c0a9;
}
.document-page .cmd {
  grid-template-columns: 280px 1fr;
  padding: 18px 20px;
  gap: 25px;
  background: #101610;
  font-size: 13px;
}
.document-page .cmd code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.document-page .cmd span {
  line-height: 1.7;
}
.document-page .note {
  border-left-width: 1px;
  background: #c6ff0006;
  border-radius: 0;
  padding: 18px 23px;
  font-size: 13px;
  line-height: 1.8;
}
.document-page .secdesc {
  font-size: 14px;
  line-height: 1.7;
  margin-block: 12px 24px;
}
.document-page .em {
  font-size: 20px;
}
.document-page .btn {
  border-radius: 6px;
  font-family: Space, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.5;
}
.document-page .site-footer {
  margin-top: 85px;
  border-top: 1px solid var(--line);
}
.contact-page > .site-header + main {
  max-width: 1100px;
  margin-inline: auto;
}
.contact-page .wrap {
  max-width: 850px;
}
.contact-page form {
  border-radius: 10px;
  padding: 32px;
  gap: 22px;
  background: #111710;
  margin-top: 0;
}
.contact-page label {
  font-size: 12px;
  font-weight: 500;
  gap: 9px;
}
.contact-page input,
.contact-page select,
.contact-page textarea {
  border-radius: 6px;
  background: #1a2217;
  font-size: 16px;
  padding: 14px;
}
.contact-page form .btn {
  padding: 16px;
}
.contact-page .fine {
  font-size: 11px;
  line-height: 1.7;
}
.contact-page .banner {
  font-size: 13px;
}
.document-page .footer-bottom nav a {
  font-size: inherit;
}
.document-page .site-header nav {
  backdrop-filter: none;
}
.document-page .brand span {
  font-size: 32px;
}
.document-page .footer-top .brand span {
  font-size: 32px;
}
.document-page .site-header,
.document-page .site-footer {
  font-family: Space, Arial, sans-serif;
}
@media (max-width: 700px) {
  .document-page .wrap {
    padding-inline: 20px;
  }
  .document-page .doc {
    padding-top: 45px;
    padding-bottom: 25px;
  }
  .document-page h1 {
    font-size: 48px;
  }
  .document-page .lead {
    font-size: 14px;
  }
  .document-page h2 {
    font-size: 24px;
  }
  .document-page .toc a {
    font-size: 10px;
    padding: 8px 10px;
  }
  .document-page .toc ol {
    columns: 1;
  }
  .document-page .cmd {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px;
    font-size: 12px;
  }
  .document-page .card {
    padding: 21px;
  }
  .document-page .body p,
  .document-page .body li {
    font-size: 13px;
  }
  .contact-page form {
    padding: 22px;
    gap: 19px;
  }
  .document-page .site-footer {
    margin-top: 55px;
  }
  .document-page .brand span,
  .document-page .footer-top .brand span {
    font-size: 28px;
  }
}
.document-page .card,
.document-page .cmd > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.document-page .grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.document-page .body {
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .document-page .grid2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
