@font-face {
  font-family: "Manrope Docs";
  src:
    url("./manrope-latin.woff2") format("woff2"),
    url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols Rounded";
  src:
    url("./material-symbols-rounded.woff2") format("woff2"),
    url("/assets/fonts/material-symbols-rounded.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: dark;
  --canvas: #090c10;
  --canvas-soft: #0d1117;
  --surface: #11161d;
  --surface-strong: #151b23;
  --surface-hover: #19212b;
  --ink: #f5f8fb;
  --ink-soft: #dce4ec;
  --muted: #96a2b0;
  --faint: #687482;
  --border: #252e39;
  --border-strong: #344151;
  --accent: #79a8ff;
  --accent-strong: #4f86ff;
  --accent-bright: #aac8ff;
  --accent-surface: color-mix(in srgb, var(--accent) 12%, transparent);
  --success: #48d7a2;
  --warning: #f4bf5f;
  --danger: #ff7d7a;
  --code: #080b0f;
  --code-ink: #d9e7f3;
  --sidebar: 286px;
  --toc: 220px;
  --topbar: 62px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 24%), 0 10px 28px rgb(0 0 0 / 10%);
  --shadow-lg: 0 28px 72px rgb(0 0 0 / 38%);
  --font:
    "Manrope Docs", Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 22px);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 78% -12%,
      color-mix(in srgb, var(--accent) 8%, transparent),
      transparent 28%
    ),
    var(--canvas);
  color: var(--ink);
  font: 500 14px/1.68 var(--font);
  letter-spacing: -0.006em;
}

button,
input {
  font: inherit;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 34%, transparent);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 40%, transparent);
  background-clip: padding-box;
}

.icon {
  display: inline-block;
  overflow: hidden;
  width: 1em;
  font-family: "Material Symbols Rounded", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 450,
    "GRAD" 0,
    "opsz" 24;
  user-select: none;
}

.icon.fill {
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.docs-layout {
  min-height: 100vh;
}

.docs-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  border-right: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 22%),
    #0b0f14;
  box-shadow: 14px 0 42px rgb(0 0 0 / 8%);
}

.docs-brand-row {
  display: flex;
  height: var(--topbar);
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-bottom: 1px solid var(--border);
}

.docs-brand {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.docs-brand:hover {
  color: var(--ink);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 10px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%),
    var(--surface-strong);
  color: var(--accent-bright);
  box-shadow: inset 0 1px rgb(255 255 255 / 8%);
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  overflow: hidden;
  margin-top: 5px;
  color: var(--faint);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar-toggle {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
}

.docs-search {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.search-wrap {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: color-mix(in srgb, var(--canvas-soft) 82%, transparent);
  color: var(--faint);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.search-wrap:focus-within {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-surface);
  color: var(--accent-bright);
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
}

.search-wrap input::placeholder {
  color: var(--faint);
}

.search-shortcut {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--faint);
  font-size: 8px;
  font-weight: 700;
}

.docs-nav {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 9px 24px;
}

.docs-nav-label {
  padding: 13px 10px 6px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.docs-nav a {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 640;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.docs-nav a::before {
  position: absolute;
  inset: 8px auto 8px -1px;
  width: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 65%, transparent);
  content: "";
  opacity: 0;
  transform: scaleY(0.35);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.docs-nav a:hover {
  border-color: var(--border);
  background: var(--surface-hover);
  color: var(--ink-soft);
  transform: translateX(1px);
}

.docs-nav a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    var(--surface);
  color: var(--ink);
}

.docs-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.docs-nav a .icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  padding: 4px;
  border-radius: 7px;
  color: currentColor;
}

.docs-nav a[aria-current="page"] .icon {
  background: var(--accent-surface);
  color: var(--accent-bright);
}

.docs-sidebar-footer {
  padding: 10px;
  border-top: 1px solid var(--border);
}

.sidebar-studio-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
}

.sidebar-studio-link:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--ink);
}

.sidebar-studio-link > span:not(.icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.sidebar-studio-link strong {
  font-size: 10px;
}

.sidebar-studio-link small {
  margin-top: 4px;
  color: var(--faint);
  font-size: 8px;
}

.docs-main {
  min-width: 0;
  margin-left: var(--sidebar);
}

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: var(--topbar);
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas-soft) 86%, transparent);
  box-shadow: 0 10px 28px rgb(0 0 0 / 6%);
  backdrop-filter: blur(18px) saturate(130%);
}

.breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  font-size: 10px;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  color: var(--ink-soft);
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-topbar-spacer {
  flex: 1 1 auto;
}

.version,
.source-pill {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 12%, transparent);
}

.docs-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--toc);
  gap: 34px;
  width: min(1320px, calc(100% - 52px));
  margin: 0 auto;
  padding: 46px 0 84px;
}

.docs-content {
  min-width: 0;
}

.docs-toc {
  position: sticky;
  top: calc(var(--topbar) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--topbar) - 56px);
  overflow-y: auto;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.docs-toc-title {
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-toc a {
  display: block;
  padding: 5px 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.45;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.docs-toc a[data-level="3"] {
  padding-left: 10px;
}

.docs-toc a:hover,
.docs-toc a[data-active="true"] {
  color: var(--accent-bright);
  transform: translateX(2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--accent-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 84% 16%,
      color-mix(in srgb, var(--accent) 18%, transparent),
      transparent 26%
    ),
    radial-gradient(
      circle at 100% 100%,
      color-mix(in srgb, #a78bfa 12%, transparent),
      transparent 30%
    ),
    linear-gradient(135deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-sm);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 28%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 28%, transparent) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  opacity: 0.25;
  mask-image: linear-gradient(90deg, transparent 26%, black 100%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.article-header h1 {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: clamp(34px, 4.5vw, 52px);
}

.lead,
.article-lead {
  max-width: 830px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-action {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  box-shadow: inset 0 1px rgb(255 255 255 / 3%);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.hero-action:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero-action.primary {
  border-color: color-mix(in srgb, var(--accent-strong) 65%, var(--border));
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #06101f;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fact {
  min-height: 92px;
  padding: 15px;
  border-right: 1px solid var(--border);
}

.fact:last-child {
  border-right: 0;
}

.fact small {
  display: block;
  color: var(--faint);
  font-size: 8px;
  font-weight: 790;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  overflow: hidden;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.doc-card {
  position: relative;
  display: grid;
  min-height: 150px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.doc-card::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 12%, transparent),
    transparent 68%
  );
  content: "";
}

.doc-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  transform: translateY(-2px);
}

.doc-card .card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-radius: 10px;
  background: var(--accent-surface);
  color: var(--accent-bright);
}

.doc-card h3 {
  margin: 2px 0 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.3;
}

.doc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.doc-card .card-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--faint);
}

.article-body {
  min-width: 0;
}

.article-body h2,
.article-body h3 {
  position: relative;
  color: var(--ink);
  font-weight: 740;
  letter-spacing: -0.025em;
  scroll-margin-top: calc(var(--topbar) + 24px);
}

.article-body h2 {
  margin: 48px 0 15px;
  padding-top: 7px;
  font-size: 24px;
  line-height: 1.25;
}

.article-body h3 {
  margin: 30px 0 10px;
  font-size: 17px;
  line-height: 1.3;
}

.heading-anchor {
  position: absolute;
  left: -24px;
  color: var(--faint);
  opacity: 0;
  transition: opacity 150ms ease;
}

.article-body h2:hover .heading-anchor,
.article-body h3:hover .heading-anchor {
  opacity: 1;
}

.article-body p,
.article-body li {
  max-width: 880px;
  color: var(--muted);
}

.article-body p {
  margin: 0 0 15px;
}

.article-body strong {
  color: var(--ink-soft);
}

.article-body ul,
.article-body ol {
  margin: 10px 0 18px;
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 6px;
}

.article-body li::marker {
  color: var(--accent);
}

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}

.notice.warning {
  border-left-color: var(--warning);
  background: color-mix(in srgb, var(--warning) 5%, var(--surface));
}

.notice.danger {
  border-left-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 5%, var(--surface));
}

.notice .icon {
  margin-top: 2px;
  color: var(--accent-bright);
}

.notice.warning .icon {
  color: var(--warning);
}

.notice.danger .icon {
  color: var(--danger);
}

.notice p:last-child {
  margin-bottom: 0;
}

.code-wrap {
  position: relative;
  margin: 17px 0 22px;
}

.code-label {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface-strong);
  color: var(--faint);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-code {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 8px;
  cursor: pointer;
}

.copy-code:hover {
  border-color: var(--border-strong);
  color: var(--ink-soft);
}

pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 1.5%), transparent), var(--code);
  color: var(--code-ink);
  font: 12px/1.7 var(--mono);
  tab-size: 2;
  box-shadow: inset 0 1px rgb(255 255 255 / 2%);
}

code {
  padding: 2px 5px;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 5px;
  background: var(--surface-strong);
  color: color-mix(in srgb, var(--accent-bright) 82%, var(--ink-soft));
  font: 0.9em/1.4 var(--mono);
}

pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 17px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 11px;
}

th,
td {
  min-width: 120px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-strong);
  color: var(--faint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: color-mix(in srgb, var(--accent) 3.5%, transparent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.pill.good {
  border-color: color-mix(in srgb, var(--success) 25%, var(--border));
  color: var(--success);
}

.pill.warn {
  border-color: color-mix(in srgb, var(--warning) 25%, var(--border));
  color: var(--warning);
}

.page-index {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0;
}

.page-index a {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
}

.page-index a:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--ink);
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.article-pagination a {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.article-pagination a:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  background: var(--surface-hover);
  color: var(--ink);
}

.article-pagination a.next {
  justify-content: flex-end;
  text-align: right;
}

.article-pagination span:not(.icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.article-pagination small {
  color: var(--faint);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-pagination strong {
  overflow: hidden;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-footer {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 9px;
}

.docs-footer strong {
  color: var(--muted);
}

.search-hidden {
  display: none !important;
}

.search-empty {
  display: none;
  padding: 18px 10px;
  color: var(--faint);
  font-size: 10px;
  text-align: center;
}

.search-empty[data-visible="true"] {
  display: block;
}

@media (max-width: 1120px) {
  :root {
    --toc: 190px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar: 248px;
  }

  .docs-shell {
    grid-template-columns: 1fr;
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar: 58px;
  }

  .docs-sidebar {
    position: fixed;
    right: 0;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  body[data-nav-open="true"] .docs-sidebar {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: grid;
  }

  .docs-main {
    margin-left: 0;
  }

  .docs-topbar {
    padding: 0 14px;
  }

  .docs-topbar .source-pill {
    display: none;
  }

  .docs-shell {
    width: calc(100% - 28px);
    padding-top: 28px;
  }

  .hero {
    padding: 24px 20px;
  }

  .hero h1,
  .article-header h1 {
    font-size: 38px;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .article-pagination {
    grid-template-columns: 1fr;
  }

  .article-pagination a.next {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .version span:last-child {
    display: none;
  }

  .hero h1,
  .article-header h1 {
    font-size: 33px;
  }

  .lead,
  .article-lead {
    font-size: 14px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .fact:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
