.docs-page {
  --docs-ink: #14263a;
  --docs-muted: #526779;
  --docs-blue: #155da3;
  --docs-blue-soft: #eaf3fc;
  --docs-warm: #f7f1e8;
  min-width: 0;
  overflow-x: clip;
  color: var(--docs-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.docs-page h1,
.docs-page h2,
.docs-page h3,
.docs-page h4,
.docs-page p,
.docs-page figure {
  margin-top: 0;
}

.docs-page h1,
.docs-page h2,
.docs-page h3,
.docs-page h4 {
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.docs-breadcrumb {
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.docs-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--docs-muted);
  font-size: .9rem;
}

.docs-breadcrumb li:not(:last-child)::after {
  margin-left: .75rem;
  color: #8495a4;
  content: "/";
}

.docs-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #f8fafc 0 68%, var(--docs-blue-soft) 68% 100%);
}

.docs-hero h1 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 7vw, 5rem);
}

.docs-hero__lede {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--docs-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.docs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 750;
}

.docs-shell {
  display: grid;
  gap: clamp(2.25rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.docs-sidebar {
  min-width: 0;
}

.docs-search {
  display: grid;
  gap: .5rem;
  margin-bottom: 1rem;
}

.docs-search label {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.docs-search input {
  width: 100%;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid #9badbc;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--docs-ink);
}

.docs-search__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--docs-muted);
  font-size: .8rem;
}

.docs-toc {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.docs-toc h2 {
  margin-bottom: .65rem;
  font-size: 1rem;
}

.docs-toc ol,
.docs-toc ul {
  display: grid;
  gap: .12rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-toc a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem .55rem;
  border-radius: .4rem;
  color: var(--docs-muted);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.docs-toc a:hover {
  background: var(--surface);
  color: var(--docs-blue);
}

.docs-content {
  min-width: 0;
  max-width: 75ch;
}

.docs-content > :first-child {
  margin-top: 0;
}

.docs-content section {
  padding-top: 1.2rem;
  scroll-margin-top: 6.5rem;
}

.docs-content section + section {
  margin-top: clamp(2.75rem, 7vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border);
}

.docs-content h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.docs-content h3 {
  margin: 2.2rem 0 .8rem;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.docs-content h4 {
  margin: 1.6rem 0 .65rem;
  font-size: 1.08rem;
}

.docs-content p,
.docs-content li {
  color: #344b5f;
}

.docs-content p,
.docs-content ul,
.docs-content ol {
  margin-bottom: 1.15rem;
}

.docs-content li + li {
  margin-top: .45rem;
}

.docs-figure {
  margin: 1.5rem 0 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.docs-figure img {
  width: 100%;
}

.docs-inline-image {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: .25rem;
  vertical-align: middle;
}

.docs-figure--icon {
  width: fit-content;
  min-width: 8rem;
}

.docs-figure--icon img {
  width: 2rem;
  height: 2rem;
  margin: 1rem auto;
}

.docs-figure figcaption {
  padding: .8rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--docs-muted);
  font-size: .88rem;
}

.table-scroll {
  max-width: 100%;
  margin: 1.25rem 0 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.docs-content table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .92rem;
}

.docs-content th,
.docs-content td {
  padding: .8rem .9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.docs-content th {
  background: var(--surface-soft);
  color: var(--docs-ink);
}

.docs-content tr:last-child td {
  border-bottom: 0;
}

.docs-content code,
.docs-content pre {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-content code {
  padding: .15em .35em;
  border-radius: .25rem;
  background: #e9eef3;
  color: #21384c;
}

.docs-content pre {
  max-width: 100%;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #172a3d;
  color: #eef5fb;
  white-space: pre-wrap;
}

.callout {
  display: grid;
  gap: .35rem;
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #8caecb;
  border-radius: var(--radius-sm);
  background: var(--docs-blue-soft);
}

.callout--warning {
  border-color: #b39465;
  background: var(--docs-warm);
}

.callout strong,
.callout p {
  margin: 0;
}

.docs-pager {
  display: grid;
  gap: .75rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.docs-pager a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border: 1px solid var(--brand-hover);
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.release-entry__meta {
  margin-top: -.65rem;
  color: var(--docs-muted);
  font-size: .9rem;
  font-weight: 750;
}

@media (min-width: 700px) {
  .docs-pager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .docs-shell {
    grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  }

  .docs-sidebar {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 480px) {
  .docs-hero {
    padding-top: 2.5rem;
    background: linear-gradient(180deg, #f8fafc 0 75%, var(--docs-blue-soft) 75% 100%);
  }

  .docs-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .docs-content ul,
  .docs-content ol {
    padding-left: 1.3rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-panel,
  .docs-sidebar,
  .docs-breadcrumb,
  .docs-pager {
    display: none !important;
  }

  .docs-shell {
    display: block;
    padding: 0;
  }

  .docs-content {
    max-width: none;
  }

  .docs-content section {
    break-inside: avoid-page;
  }
}

html[data-theme="dark"] .docs-page {
  --docs-ink: #edf3f8;
  --docs-muted: #b2c0cc;
  --docs-blue: #8bc8fb;
  --docs-blue-soft: #172c3d;
  --docs-warm: #2a241e;
}

html[data-theme="dark"] .docs-hero {
  background: linear-gradient(135deg, var(--surface) 0 68%, var(--docs-blue-soft) 68% 100%);
}

html[data-theme="dark"] .docs-search input,
html[data-theme="dark"] .docs-content table {
  border-color: var(--border);
  background: var(--surface);
  color: var(--docs-ink);
}

html[data-theme="dark"] .docs-content p,
html[data-theme="dark"] .docs-content li {
  color: #c3cfda;
}

html[data-theme="dark"] .docs-content code {
  background: #263542;
  color: #e7eef4;
}
