.docs-page {
  background: #f7f8fa;
}

.docs-hero {
  padding: 64px 0 44px;
  max-width: 840px;
}

.docs-hero h1 {
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 18px 0;
}

.docs-hero h1 span {
  color: #1976d2;
}

.docs-hero>p {
  max-width: 670px;
  color: #616b75;
  font-size: 17px;
}

.docs-facts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.docs-facts span {
  border: 1px solid #dbe7f5;
  background: #edf5ff;
  color: #1565c0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 70px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 24px;
  font-size: 13px;
}

.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-sidebar strong {
  font-size: 11px;
  letter-spacing: .12em;
  color: #616b75;
  padding: 12px;
}

.docs-sidebar a {
  padding: 10px 12px;
  border-radius: 7px;
}

.docs-sidebar a:hover {
  background: #e3f2fd;
  color: #1976d2;
}

.docs-download {
  display: block;
  margin-top: 20px;
  color: #1976d2;
}

.docs-content {
  background: #fff;
  border: 1px solid #dfe4e9;
  border-radius: 16px;
  padding: 36px;
  min-width: 0;
}

.docs-content h2 {
  scroll-margin-top: 24px;
  margin: 38px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #edf0f4;
  font-size: 23px;
  letter-spacing: 0;
}

.docs-content p,
.docs-content li {
  color: #465361;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.docs-content li {
  margin-bottom: 10px;
}

.docs-content code {
  font-family: Consolas, monospace;
  font-size: 13px;
}

.docs-content p code,
.docs-content td code {
  background: #edf3fa;
  padding: 2px 5px;
  border-radius: 4px;
}

.docs-callout {
  background: #f0f7ff;
  border-inline-start: 3px solid #1976d2;
  padding: 20px;
  border-radius: 8px;
}

.docs-callout>code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.docs-callout p {
  margin-bottom: 0;
  font-size: 13px;
}

.docs-code {
  background: #13243a;
  color: #e7f0fc;
  border-radius: 10px;
  margin: 22px 0;
  overflow: hidden;
}

.docs-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #1d334e;
  font-size: 12px;
}

.docs-code-header button {
  background: transparent;
  border: 1px solid #67809e;
  color: #fff;
  border-radius: 5px;
  padding: 4px 12px;
}

.docs-code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  line-height: 1.75;
  white-space: pre;
  text-align: left;
}

.docs-table {
  overflow-x: auto;
}

.docs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.docs-table th,
.docs-table td {
  padding: 12px;
  border-bottom: 1px solid #e7ecf2;
  text-align: start;
}

.docs-table th {
  background: #f4f7fb;
}

.docs-page [aria-current=page] {
  color: #1976d2;
  font-weight: 700;
}

@media(max-width:850px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .docs-sidebar strong {
    width: 100%;
  }

  .docs-content {
    padding: 22px;
  }
}

@media(max-width:560px) {
  .docs-hero {
    padding-top: 32px;
  }

  .docs-page .wrap {
    padding-inline: 20px;
  }

  .docs-content {
    padding: 16px;
  }
}
.docs-page .site-nav { border-bottom: 1px solid #dfe4e9; }
.docs-page .site-nav nav { display: flex; align-items: center; gap: 24px; }
.docs-page main.wrap { max-width: 1240px; }
.docs-hero { max-width: 900px; }
.docs-hero .hero-actions { margin-top: 26px; }
.docs-callout strong { display: block; margin-bottom: 8px; }
.docs-callout code { font-size: 14px; line-height: 1.6; word-break: break-all; }
.docs-callout .environment-note { margin-top: 10px; }
.docs-content > h2:first-of-type { margin-top: 28px; }
.docs-code code { color: inherit; background: transparent; }
.docs-sidebar nav { border-inline-start: 1px solid #dfe4e9; padding-inline-start: 10px; }
[data-theme="dark"] .docs-page .site-nav { border-color: var(--line); }
[data-theme="dark"] .docs-sidebar nav { border-color: var(--line); }
[data-theme="dark"] .docs-code { background: #0c1420; }
[data-theme="dark"] .docs-code-header { background: #16253a; }
@media(max-width:850px) {
  .docs-page .site-nav nav { gap: 12px; }
  .docs-sidebar nav { border-inline-start: 0; padding-inline-start: 0; }
}
@media(max-width:560px) {
  .docs-page .site-nav { align-items: flex-start; }
  .docs-page .site-nav nav { width: 100%; flex-wrap: wrap; }
  .docs-hero h1 { font-size: 38px; }
}