.docs-page {
  --docs-ink: #173452;
  --docs-muted: #4c6480;
  --docs-line: #dce7f3;
  --docs-blue: #2364d9;
  --docs-tint: #f2f7ff;
}
.docs-page .px-hero h1 { max-width: 21ch; }
.docs-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.docs-jump a, .docs-toc, .docs-content .doc {
  border: 1px solid var(--docs-line);
  border-radius: 18px;
  background: #fff;
}
.docs-jump a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  color: var(--docs-ink);
}
.docs-jump a:hover, .docs-jump a:focus-visible {
  border-color: var(--docs-blue);
  background: var(--docs-tint);
}
.docs-jump span { color: var(--docs-muted); font-size: .9rem; }
.docs-layout {
  display: grid;
  grid-template-columns: minmax(205px, 245px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 36px 80px;
}
.docs-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 18px;
}
.docs-toc h2 {
  margin: 0 0 6px;
  font-size: .85rem;
  line-height: 1.35;
  color: var(--docs-ink);
}
.docs-toc h2:not(:first-child) {
  border-top: 1px solid var(--docs-line);
  margin-top: 12px;
  padding-top: 12px;
}
.docs-toc a {
  display: block;
  padding: 4px 0;
  font-size: .83rem;
  line-height: 1.4;
  color: var(--docs-muted);
}
.docs-toc a:hover, .docs-toc a:focus-visible { color: var(--docs-blue); text-decoration: underline; }
.docs-content { color: var(--docs-ink); min-width: 0; }
.docs-content .doc { padding: clamp(16px, 3vw, 32px); margin: 0 0 22px; }
.docs-content [id] { scroll-margin-top: 105px; }
.docs-content .doc-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.docs-content .doc-title { font-size: clamp(1.35rem, 2.6vw, 2rem); margin: 0; }
.docs-content .rev { color: var(--docs-muted); font-size: .85rem; }
.docs-content h3 { font-size: 1.25rem; margin: 28px 0 9px; }
.docs-content h4 { font-size: 1.02rem; margin: 20px 0 8px; }
.docs-content p { margin: 10px 0; }
.docs-content ul, .docs-content ol { padding-inline-start: 1.4rem; }
.docs-content li { margin-block: 5px; }
.docs-content a { color: var(--docs-blue); text-decoration: underline; }
.docs-table { max-width: 100%; overflow-x: auto; margin: 14px 0; }
.docs-table table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: .9rem; }
.docs-table td, .docs-table th {
  border: 1px solid var(--docs-line);
  padding: 8px 10px;
  vertical-align: top;
  text-align: start;
}
.docs-table th { background: var(--docs-tint); }
.docs-content code {
  font: .875em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--docs-tint);
  border-radius: 4px;
  padding: 1px 4px;
  overflow-wrap: anywhere;
}
.docs-content pre {
  max-width: 100%;
  overflow-x: auto;
  background: #112846;
  color: #f2f7ff;
  padding: 14px 16px;
  border-radius: 12px;
}
.docs-content pre code { background: none; color: inherit; padding: 0; }
.docs-content .note { background: var(--docs-tint); border-inline-start: 3px solid var(--docs-blue); padding: 10px 14px; }
.docs-content .docs-print { font-size: .85rem; cursor: pointer; min-height: 38px; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 20px 52px; }
  .docs-toc { position: static; max-height: none; }
  .docs-jump { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body:has(.docs-page) > .header, body:has(.docs-page) > .footer,
  .docs-page .px-skip, .docs-page .px-back, .docs-page .docs-toc, .docs-page .docs-jump,
  .docs-page .docs-print, .docs-page .eyebrow { display: none !important; }
  .docs-page .px-hero { padding-block: 0; background: #fff; }
  .docs-page .docs-layout { display: block; padding: 0; }
  .docs-page .doc { border: 0; padding: 0; }
  .docs-page .doc + .doc { break-before: page; }
  .docs-page h2, .docs-page h3, .docs-page h4 { break-after: avoid; }
  .docs-page .docs-table { overflow: visible; }
  .docs-page .docs-table table { min-width: 0; }
  .docs-page pre { background: #fff; color: #111; white-space: pre-wrap; overflow-wrap: anywhere; }
}
