@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  background: #f7efea;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  background: #180d0e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.docs-page {
  --page: #f7efea;
  --surface: #fffaf7;
  --surface-soft: #f2e3dc;
  --surface-warm: #ecd8cf;
  --ink: #2c1718;
  --ink-soft: #5f4543;
  --muted: #7e6663;
  --line: rgb(44 23 24 / 14%);
  --line-strong: rgb(44 23 24 / 29%);
  --oxblood: #6d221f;
  --oxblood-deep: #321112;
  --signal: #ed735a;
  --signal-deep: #bd4032;
  --terracotta: #d15845;
  --focus: #b94736;
  --header-bg: rgb(255 250 247 / 84%);
  --shadow: 0 20px 50px rgb(52 20 21 / 10%);
  --code-bg: #251414;
  --on-dark: #fff;
  --code-ink: var(--on-dark);
  --code-line: rgb(255 233 225 / 17%);
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 87% -7rem, rgb(243 153 129 / 16%), transparent 28rem),
    var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body.docs-page {
  --page: #180d0e;
  --surface: #281718;
  --surface-soft: #35201f;
  --surface-warm: #442825;
  --ink: #fff;
  --ink-soft: #fff;
  --muted: #fff;
  --line: rgb(255 241 236 / 13%);
  --line-strong: rgb(255 241 236 / 27%);
  --oxblood: #7c2923;
  --oxblood-deep: #341112;
  --signal: #ff866d;
  --signal-deep: #df5747;
  --terracotta: #ff9a85;
  --focus: #ffad98;
  --header-bg: rgb(40 23 24 / 86%);
  --shadow: 0 22px 56px rgb(0 0 0 / 28%);
  --code-bg: #160b0c;
  --code-ink: var(--on-dark);
  --code-line: rgb(255 233 225 / 15%);
  background:
    radial-gradient(circle at 87% -7rem, rgb(159 48 41 / 24%), transparent 28rem),
    var(--page);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    background: #180d0e;
  }

  :root:not([data-theme]) body.docs-page {
    --page: #180d0e;
    --surface: #281718;
    --surface-soft: #35201f;
    --surface-warm: #442825;
    --ink: #fff;
    --ink-soft: #fff;
    --muted: #fff;
    --line: rgb(255 241 236 / 13%);
    --line-strong: rgb(255 241 236 / 27%);
    --oxblood: #7c2923;
    --oxblood-deep: #341112;
    --signal: #ff866d;
    --signal-deep: #df5747;
    --terracotta: #ff9a85;
    --focus: #ffad98;
    --header-bg: rgb(40 23 24 / 86%);
    --shadow: 0 22px 56px rgb(0 0 0 / 28%);
    --code-bg: #160b0c;
    --code-ink: var(--on-dark);
    --code-line: rgb(255 233 225 / 15%);
    background:
      radial-gradient(circle at 87% -7rem, rgb(159 48 41 / 24%), transparent 28rem),
      var(--page);
  }
}

body.docs-page *,
body.docs-page *::before,
body.docs-page *::after {
  box-sizing: border-box;
}

.docs-page img {
  display: block;
  max-width: 100%;
}

.docs-page a {
  color: inherit;
}

.docs-page button,
.docs-page input {
  font: inherit;
}

.docs-page :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.docs-page main:focus {
  outline: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 14px;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--oxblood-deep);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-shell,
.footer-shell,
.docs-layout {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
}

.docs-page .site-header {
  position: sticky;
  z-index: 60;
  top: 12px;
  margin: 12px 0 0;
  pointer-events: none;
}

.docs-page .nav-shell {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px 7px 13px;
  background: var(--header-bg);
  box-shadow: 0 8px 30px rgb(49 18 19 / 8%);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: min-height .2s ease, box-shadow .2s ease, background .2s ease;
}

.docs-page .site-header.is-scrolled .nav-shell {
  min-height: 56px;
  box-shadow: 0 12px 32px rgb(49 18 19 / 17%);
}

.docs-page .brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.04em;
  text-decoration: none;
}

.docs-page .brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--oxblood-deep);
}

.docs-page .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-page .site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.docs-page .site-nav a,
.docs-page .github-link,
.docs-page .footer-shell nav a {
  position: relative;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}

.docs-page .site-nav a::after,
.docs-page .github-link::after,
.docs-page .footer-shell nav a::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  background: var(--signal-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.docs-page .site-nav a:hover::after,
.docs-page .site-nav a:focus-visible::after,
.docs-page .site-nav a[aria-current="page"]::after,
.docs-page .github-link:hover::after,
.docs-page .github-link:focus-visible::after,
.docs-page .footer-shell nav a:hover::after,
.docs-page .footer-shell nav a:focus-visible::after {
  transform: scaleX(1);
}

.docs-page .site-nav a[aria-current="page"] {
  color: var(--ink);
}

.docs-page .header-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.docs-page .github-link {
  padding-inline: 7px;
  font-size: 11px;
}

.docs-page .github-link::after {
  right: 7px;
  left: 7px;
}

.docs-page .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--signal);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--signal);
  color: #341413;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.docs-page .button:hover,
.docs-page .button:focus-visible {
  border-color: #ffb7a6;
  background: #ffb7a6;
  box-shadow: 0 8px 20px rgb(237 115 90 / 28%);
  transform: translateY(-2px);
}

.docs-page .button-small {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 11px;
}

.docs-page .theme-toggle {
  display: inline-grid;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.docs-page .theme-toggle:hover,
.docs-page .theme-toggle:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface);
}

.theme-toggle-icon {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
}

.theme-toggle-icon svg {
  grid-area: 1 / 1;
  display: none;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.theme-icon-moon {
  display: block !important;
  fill: currentColor;
  stroke: none !important;
}

.theme-icon-sun {
  fill: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none !important;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-icon-moon {
    display: none !important;
  }

  :root:not([data-theme]) .theme-icon-sun {
    display: block;
  }
}

.docs-page .mobile-menu {
  display: none;
}

.docs-page-shell {
  position: relative;
  min-height: calc(100svh - 186px);
  overflow-x: clip;
  padding: 18px 0 clamp(64px, 8vw, 112px);
}

.docs-page-shell::before {
  position: absolute;
  top: 68px;
  right: max(-27rem, calc((100vw - 1360px) / 2 - 22rem));
  width: 44rem;
  height: 44rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: .65;
  pointer-events: none;
}

.docs-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(214px, 245px) minmax(0, 760px) minmax(164px, 196px);
  gap: clamp(22px, 3.2vw, 48px);
  align-items: start;
}

.docs-directory,
.docs-article,
.docs-on-page {
  min-width: 0;
}

.docs-directory {
  position: sticky;
  top: 94px;
  max-height: calc(100svh - 112px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 17px 14px 18px;
  background: color-mix(in srgb, var(--surface) 89%, transparent);
  box-shadow: 0 12px 32px rgb(53 22 22 / 5%);
  scrollbar-color: var(--line-strong) transparent;
}

.docs-directory-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.docs-directory-kicker,
.docs-directory-title {
  margin: 0;
}

.docs-directory-kicker,
.docs-toc-label {
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.docs-directory-title {
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -.045em;
}

.docs-directory-close {
  display: none;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.docs-search {
  display: grid;
  gap: 7px;
  margin: 16px 0 10px;
}

.docs-search > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.docs-search input {
  width: 100%;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  color: var(--ink);
  padding: 0 11px;
  font-size: 12px;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.docs-search input::placeholder {
  color: var(--muted);
  opacity: .85;
}

.docs-search input:focus {
  border-color: var(--signal-deep);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgb(189 64 50 / 12%);
}

.docs-search-results {
  display: none;
  gap: 2px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 5px;
}

.docs-search-results.is-visible {
  display: grid;
}

.docs-search-results a,
.docs-search-empty {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  padding: 8px;
  color: var(--ink-soft);
  text-decoration: none;
}

.docs-search-results a:hover,
.docs-search-results a:focus-visible {
  background: var(--surface);
}

.docs-search-results strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.docs-search-results small,
.docs-search-empty {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.docs-directory-nav,
.docs-nav-group {
  display: grid;
}

.docs-directory-nav {
  gap: 3px;
}

.docs-nav-group {
  gap: 2px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
}

.docs-nav-group:first-of-type {
  margin-top: 10px;
}

.docs-toc-label {
  margin: 0 0 4px;
  color: var(--muted);
}

.docs-home-link,
.docs-directory-nav a:not(.docs-home-link) {
  display: grid;
  gap: 2px;
  border-left: 2px solid transparent;
  border-radius: 7px;
  padding: 6px 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.3;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.docs-home-link {
  margin-top: 2px;
  padding-block: 8px;
  color: var(--ink);
  font-weight: 680;
}

.docs-directory-nav a small {
  display: none;
}

.docs-directory-nav a:hover,
.docs-directory-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.docs-directory-nav a.is-active,
.docs-directory-nav a[aria-current="page"] {
  border-left-color: var(--signal-deep);
  background: color-mix(in srgb, var(--signal) 13%, var(--surface));
  color: var(--oxblood);
}

:root[data-theme="dark"] .docs-directory-nav a.is-active,
:root[data-theme="dark"] .docs-directory-nav a[aria-current="page"] {
  color: var(--on-dark);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .docs-directory-nav a.is-active,
  :root:not([data-theme]) .docs-directory-nav a[aria-current="page"] {
    color: var(--on-dark);
  }
}

.docs-nav-group-compact {
  margin-top: 4px;
}

.docs-article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4.3vw, 58px) clamp(22px, 4.6vw, 64px) clamp(36px, 5vw, 72px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.docs-article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--signal-deep), var(--signal) 42%, transparent 78%);
  content: "";
}

.docs-article::after {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 78px;
  height: 78px;
  background-image: radial-gradient(var(--line-strong) .7px, transparent .7px);
  background-size: 9px 9px;
  content: "";
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  opacity: .5;
  pointer-events: none;
}

.docs-redirect {
  width: min(760px, calc(100% - 40px));
  margin: 64px auto;
}

.docs-drawer-trigger {
  display: none;
}

.docs-heading {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(24px, 3vw, 35px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.docs-article h1,
.docs-article h2,
.docs-article h3 {
  color: var(--ink);
  font-weight: 530;
  letter-spacing: -.06em;
}

.docs-article h1 {
  max-width: 13ch;
  margin: 11px 0 0;
  font-size: clamp(46px, 5.1vw, 72px);
  line-height: .92;
}

.docs-article h2 {
  margin: clamp(48px, 6vw, 72px) 0 16px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: .98;
  scroll-margin-top: 108px;
}

.docs-article h2::before {
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 13px;
  background: var(--signal-deep);
  content: "";
}

.docs-article h3 {
  margin: 29px 0 9px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.04;
  scroll-margin-top: 108px;
}

.docs-article p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.docs-article p + p {
  margin-top: 15px;
}

.docs-lead {
  max-width: 57ch !important;
  margin: 28px 0 0 !important;
  color: var(--ink) !important;
  font-size: clamp(17px, 1.6vw, 20px) !important;
  line-height: 1.62;
}

.docs-inline-link,
.docs-link-list a,
.docs-category h3 a {
  color: var(--oxblood);
  font-weight: 650;
  text-decoration-color: color-mix(in srgb, var(--signal-deep) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.docs-inline-link:hover,
.docs-inline-link:focus-visible,
.docs-link-list a:hover,
.docs-link-list a:focus-visible,
.docs-category h3 a:hover,
.docs-category h3 a:focus-visible {
  color: var(--terracotta);
}

:root[data-theme="dark"] .docs-inline-link,
:root[data-theme="dark"] .docs-link-list a,
:root[data-theme="dark"] .docs-category h3 a,
:root[data-theme="dark"] .docs-inline-link:hover,
:root[data-theme="dark"] .docs-inline-link:focus-visible,
:root[data-theme="dark"] .docs-link-list a:hover,
:root[data-theme="dark"] .docs-link-list a:focus-visible,
:root[data-theme="dark"] .docs-category h3 a:hover,
:root[data-theme="dark"] .docs-category h3 a:focus-visible {
  color: var(--on-dark);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .docs-inline-link,
  :root:not([data-theme]) .docs-link-list a,
  :root:not([data-theme]) .docs-category h3 a,
  :root:not([data-theme]) .docs-inline-link:hover,
  :root:not([data-theme]) .docs-inline-link:focus-visible,
  :root:not([data-theme]) .docs-link-list a:hover,
  :root:not([data-theme]) .docs-link-list a:focus-visible,
  :root:not([data-theme]) .docs-category h3 a:hover,
  :root:not([data-theme]) .docs-category h3 a:focus-visible {
    color: var(--on-dark);
  }
}

.docs-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0 0;
}

.docs-meta div {
  min-width: min(142px, 33.333%);
  padding: 0 17px;
  border-left: 1px solid var(--line);
}

.docs-meta div:first-child {
  padding-left: 0;
  border-left: 0;
}

.docs-meta dt,
.docs-meta dd {
  margin: 0;
}

.docs-meta dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.docs-meta dd {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 580;
  line-height: 1.35;
}

.docs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
}

.docs-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.docs-breadcrumbs a:hover,
.docs-breadcrumbs a:focus-visible {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-breadcrumbs span[aria-hidden="true"] {
  color: var(--line-strong);
}

.docs-figure {
  max-width: 565px;
  margin: 35px 0;
}

.docs-figure-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 8px;
  background: var(--oxblood-deep);
  box-shadow: 0 16px 31px rgb(53 20 20 / 17%);
}

.docs-figure img {
  width: 100%;
  border-radius: 10px;
}

.docs-figure figcaption {
  margin: 10px 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.48;
}

.docs-start-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(250px, 1.1fr);
  gap: clamp(25px, 4vw, 56px);
  overflow: hidden;
  margin: 39px 0 clamp(48px, 6vw, 72px);
  border: 1px solid rgb(255 210 197 / 20%);
  border-radius: 19px;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 100% 4%, rgb(255 142 114 / 28%), transparent 13rem),
    linear-gradient(135deg, #321112, #65241f);
  color: var(--on-dark);
}

.docs-start-panel::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 229 220 / 22%) .7px, transparent .7px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 74%);
  opacity: .47;
  pointer-events: none;
}

.docs-start-panel > * {
  position: relative;
  z-index: 1;
}

.docs-start-panel .eyebrow { color: var(--on-dark); }

.docs-start-panel h2 {
  max-width: 11ch;
  margin-top: 11px;
  color: var(--on-dark);
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: .96;
}

.docs-start-panel h2::before {
  display: none;
}

.docs-start-panel p:not(.eyebrow) {
  max-width: 38ch;
  margin-top: 16px;
  color: var(--on-dark);
  font-size: 13px;
}

.docs-start-list {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-start-list li {
  border-top: 1px solid rgb(255 232 224 / 20%);
}

.docs-start-list li:last-child {
  border-bottom: 1px solid rgb(255 232 224 / 20%);
}

.docs-start-list a {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  column-gap: 10px;
  padding: 13px 0;
  color: var(--on-dark);
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.docs-start-list a:hover,
.docs-start-list a:focus-visible {
  color: var(--on-dark);
  transform: translateX(3px);
}

.docs-start-list span {
  grid-row: span 2;
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.docs-start-list strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.docs-start-list small {
  margin-top: 3px;
  color: var(--on-dark);
  font-size: 11px;
  line-height: 1.4;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.docs-grid article {
  min-height: 160px;
  padding: 23px 22px 23px 0;
  border-bottom: 1px solid var(--line);
}

.docs-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.docs-grid h3 {
  margin: 0;
  font-size: 22px;
}

.docs-grid p {
  margin-top: 10px;
  font-size: 13px;
}

.docs-overview,
.docs-related {
  margin-top: 0;
}

.docs-page-list,
.docs-link-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.docs-page-list {
  border-top: 1px solid var(--line);
}

.docs-page-list li {
  border-bottom: 1px solid var(--line);
}

.docs-page-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  padding: 17px 4px 17px 0;
  color: var(--ink);
  text-decoration: none;
  transition: color .16s ease, padding-left .16s ease;
}

.docs-page-list a::after {
  grid-row: span 2;
  align-self: center;
  color: var(--signal-deep);
  content: "→";
  font-size: 17px;
}

.docs-page-list a:hover,
.docs-page-list a:focus-visible {
  padding-left: 8px;
  color: var(--oxblood);
}

.docs-page-list span {
  font-size: 15px;
  font-weight: 660;
  letter-spacing: -.025em;
}

.docs-page-list small {
  max-width: 54ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.docs-category {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.docs-category h3 {
  margin-top: 32px;
}

.docs-category h3 a {
  text-decoration: none;
}

.docs-category > p {
  margin-top: 8px;
  font-size: 13px;
}

.docs-link-list {
  display: grid;
  gap: 8px;
}

.docs-link-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.docs-link-list li::before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--signal-deep);
  content: "";
}

.docs-list {
  display: grid;
  gap: 11px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.docs-list li {
  position: relative;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 14px;
}

.docs-list li::before {
  position: absolute;
  top: .67em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal-deep);
  border-radius: 50%;
  content: "";
}

.docs-list li > strong,
.docs-steps strong,
.docs-note strong {
  color: var(--ink);
  font-weight: 680;
}

.docs-list li > strong::after {
  content: " ";
}

.docs-steps {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: docs-step;
}

.docs-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.docs-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.docs-steps > li > span:first-child {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--signal-deep);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.docs-steps strong {
  display: block;
  font-size: 14px;
}

.docs-steps p {
  margin-top: 4px;
  font-size: 13px;
}

.docs-steps.compact li {
  padding-block: 12px;
}

.docs-note {
  position: relative;
  margin: 30px 0;
  border-left: 3px solid var(--signal-deep);
  padding: 15px 17px;
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.docs-note::before {
  display: block;
  margin-bottom: 7px;
  color: var(--terracotta);
  content: "NOTE";
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
}

.docs-note.warning {
  border-left-color: #bd7b2e;
}

.docs-note.warning::before {
  color: #a8621f;
  content: "CHECK";
}

.docs-note.danger {
  border-left-color: #b94443;
}

.docs-note.danger::before {
  color: #aa3b39;
  content: "IMPORTANT";
}

.docs-note p {
  margin-top: 5px;
  font-size: 13px;
}

.docs-table-wrap {
  overflow-x: auto;
  margin: 25px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.docs-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.docs-table th,
.docs-table td {
  padding: 12px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.docs-table th:last-child,
.docs-table td:last-child {
  border-right: 0;
}

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

.docs-table th {
  background: var(--surface-soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.docs-table td:first-child {
  color: var(--ink);
  font-weight: 630;
}

.docs-article :not(pre) > code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-soft);
  padding: .12em .34em;
  color: var(--oxblood);
  font-family: var(--mono);
  font-size: .88em;
  font-weight: 650;
}

:root[data-theme="dark"] .docs-article :not(pre) > code {
  color: var(--on-dark);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .docs-article :not(pre) > code {
    color: var(--on-dark);
  }
}

.docs-article pre {
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--code-line);
  border-radius: 14px;
  padding: 17px 19px;
  background: var(--code-bg);
  color: var(--code-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}

.docs-article pre code {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.62;
}

.docs-faq {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.docs-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.docs-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 1px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  list-style: none;
}

.docs-faq summary::-webkit-details-marker {
  display: none;
}

.docs-faq summary::after {
  color: var(--signal-deep);
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
}

.docs-faq details[open] summary::after {
  content: "−";
}

.docs-faq p {
  padding: 0 0 17px;
  font-size: 13px;
}

.docs-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 46px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.docs-categories > span {
  margin-right: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.docs-categories a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 630;
  text-decoration: none;
}

.docs-categories a:hover,
.docs-categories a:focus-visible {
  border-color: var(--signal-deep);
  color: var(--oxblood);
}

.docs-on-page {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100svh - 116px);
  overflow-y: auto;
}

.docs-on-page-inner {
  border-left: 1px solid var(--line);
  padding: 8px 0 10px 16px;
}

.docs-on-page nav {
  display: grid;
  gap: 2px;
  margin-top: 9px;
}

.docs-on-page a {
  display: block;
  border-left: 2px solid transparent;
  padding: 4px 0 4px 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.34;
  text-decoration: none;
}

.docs-on-page a[data-depth="3"] {
  padding-left: 15px;
  font-size: 10px;
}

.docs-on-page a:hover,
.docs-on-page a:focus-visible,
.docs-on-page a.is-active {
  border-left-color: var(--signal-deep);
  color: var(--ink);
}

.docs-mobile-outline {
  display: none;
}

.docs-drawer-scrim {
  display: none;
}

.docs-page .site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.docs-page .footer-shell {
  display: flex;
  min-height: 119px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.docs-page .footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.docs-page .footer-brand p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.docs-page .footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

@media (max-width: 1180px) {
  .docs-layout {
    grid-template-columns: minmax(210px, 238px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 40px);
  }

  .docs-on-page {
    display: none;
  }

  .docs-mobile-outline {
    display: block;
    margin: 28px 0 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
  }

  .docs-mobile-outline summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 13px;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 680;
    list-style: none;
  }

  .docs-mobile-outline summary::-webkit-details-marker {
    display: none;
  }

  .docs-mobile-outline summary::after {
    color: var(--signal-deep);
    content: "+";
    font-family: var(--mono);
    font-size: 17px;
  }

  .docs-mobile-outline[open] summary {
    border-bottom: 1px solid var(--line);
  }

  .docs-mobile-outline[open] summary::after {
    content: "−";
  }

  .docs-mobile-outline nav {
    display: grid;
    gap: 2px;
    padding: 8px;
  }

  .docs-mobile-outline a {
    border-left: 2px solid transparent;
    padding: 5px 7px;
    color: var(--ink-soft);
    font-size: 11px;
    text-decoration: none;
  }

  .docs-mobile-outline a[data-depth="3"] {
    padding-left: 15px;
  }

  .docs-mobile-outline a:hover,
  .docs-mobile-outline a:focus-visible {
    border-left-color: var(--signal-deep);
    background: var(--surface);
  }
}

@media (max-width: 960px) {
  .docs-page .site-nav,
  .docs-page .nav-cta {
    display: none;
  }

  .docs-page .header-controls {
    margin-left: auto;
  }

  .docs-page .mobile-menu {
    position: relative;
    display: block;
  }

  .docs-page .mobile-menu summary {
    display: grid;
    width: 38px;
    min-height: 38px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
  }

  .docs-page .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .docs-page .mobile-menu summary span {
    width: 15px;
    height: 1px;
    background: var(--ink);
    transition: transform .18s ease;
  }

  .docs-page .mobile-menu[open] summary span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .docs-page .mobile-menu[open] summary span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .docs-page .mobile-menu nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 40px));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .docs-page .mobile-menu nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
  }

  .docs-page .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .docs-page .mobile-menu nav .button {
    justify-content: space-between;
    border: 0;
    border-radius: 0;
    color: #341413;
  }

  .docs-page .github-link {
    display: none;
  }
}

@media (max-width: 820px) {
  .docs-page-shell {
    padding-top: 12px;
  }

  .docs-layout {
    display: block;
  }

  .docs-directory {
    position: fixed;
    z-index: 58;
    top: 78px;
    bottom: 12px;
    left: 12px;
    width: min(350px, calc(100vw - 42px));
    max-height: none;
    transform: translateX(calc(-100% - 20px));
    transition: transform .24s cubic-bezier(.16, 1, .3, 1);
  }

  .docs-directory.is-open {
    transform: translateX(0);
  }

  .docs-directory-close {
    display: inline-flex;
  }

  .docs-drawer-trigger {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    margin: 0 0 21px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--surface-soft);
    color: var(--ink-soft);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .docs-drawer-scrim:not([hidden]) {
    position: fixed;
    z-index: 57;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(40 16 17 / 38%);
    cursor: pointer;
  }

  body.docs-drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 680px) {
  .nav-shell,
  .footer-shell,
  .docs-layout {
    width: min(100% - 24px, 620px);
  }

  .docs-page .site-header {
    top: 7px;
    margin-top: 7px;
  }

  .docs-page .nav-shell {
    min-height: 57px;
    padding: 7px 8px 7px 11px;
  }

  .docs-page .site-header.is-scrolled .nav-shell {
    min-height: 54px;
  }

  .docs-page .brand {
    gap: 8px;
    font-size: 14px;
  }

  .docs-page .brand-mark {
    width: 29px;
    height: 29px;
  }

  .docs-page .theme-toggle,
  .docs-page .mobile-menu summary {
    width: 38px;
    min-height: 38px;
  }

  .docs-page-shell {
    padding-bottom: 56px;
  }

  .docs-page-shell::before {
    top: 120px;
    right: -31rem;
  }

  .docs-article {
    border-radius: 20px;
    padding: 26px 20px 39px;
  }

  .docs-article::after {
    right: 12px;
    width: 54px;
    height: 54px;
    background-size: 8px 8px;
  }

  .docs-article h1 {
    max-width: 12ch;
    font-size: clamp(42px, 13vw, 59px);
  }

  .docs-article h2 {
    margin-top: 48px;
    font-size: 30px;
  }

  .docs-article h3 {
    font-size: 23px;
  }

  .docs-article p {
    font-size: 14px;
  }

  .docs-lead {
    font-size: 17px !important;
  }

  .docs-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }

  .docs-meta div {
    min-width: 0;
    padding: 0 11px;
  }

  .docs-meta div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .docs-meta div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .docs-start-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    border-radius: 16px;
    padding: 23px 20px;
  }

  .docs-start-panel h2 {
    font-size: 31px;
  }

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

  .docs-grid article,
  .docs-grid article:nth-child(even) {
    min-height: 0;
    padding: 19px 0;
    border-left: 0;
  }

  .docs-page-list a {
    gap: 4px 12px;
    padding-block: 15px;
  }

  .docs-page-list small {
    font-size: 11px;
  }

  .docs-steps li {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 10px;
  }

  .docs-table-wrap {
    margin-inline: -1px;
    border-radius: 11px;
  }

  .docs-figure {
    margin-block: 27px;
  }

  .docs-figure-frame {
    border-radius: 13px;
    padding: 6px;
  }

  .docs-article pre {
    margin-inline: -1px;
    border-radius: 11px;
    padding: 14px;
  }

  .docs-page .footer-shell {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: 26px;
  }

  .docs-page .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .docs-page .footer-shell nav a {
    padding-left: 0;
  }

  .docs-page .footer-shell nav a::after {
    right: 0;
    left: 0;
  }
}

@media (max-width: 430px) {
  .docs-page .header-controls {
    gap: 5px;
  }

  .docs-page .brand > span:last-child {
    font-size: 13px;
  }

  .docs-article {
    padding-inline: 18px;
  }

  .docs-breadcrumbs {
    font-size: 9px;
  }

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

  .docs-meta div,
  .docs-meta div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .docs-meta div:nth-child(3) {
    grid-column: auto;
  }

  .docs-start-list a {
    grid-template-columns: 25px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .docs-article {
    animation: docs-surface-in .55s cubic-bezier(.16, 1, .3, 1) both;
  }

  @keyframes docs-surface-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .docs-directory {
    animation: docs-surface-in .55s .04s cubic-bezier(.16, 1, .3, 1) both;
  }
}

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

/* Keep all documentation type pure white in dark mode without whitening red controls. */
:root[data-theme="dark"] body.docs-page .eyebrow,
:root[data-theme="dark"] body.docs-page .docs-directory-kicker,
:root[data-theme="dark"] body.docs-page .docs-page-list a:hover,
:root[data-theme="dark"] body.docs-page .docs-page-list a:focus-visible,
:root[data-theme="dark"] body.docs-page .docs-page-list a::after,
:root[data-theme="dark"] body.docs-page .docs-breadcrumbs a:hover,
:root[data-theme="dark"] body.docs-page .docs-breadcrumbs a:focus-visible,
:root[data-theme="dark"] body.docs-page .docs-categories a:hover,
:root[data-theme="dark"] body.docs-page .docs-categories a:focus-visible,
:root[data-theme="dark"] body.docs-page .docs-breadcrumbs span[aria-hidden="true"],
:root[data-theme="dark"] body.docs-page .docs-note::before,
:root[data-theme="dark"] body.docs-page .docs-steps > li > span:first-child,
:root[data-theme="dark"] body.docs-page .docs-faq summary::after,
:root[data-theme="dark"] body.docs-page .docs-mobile-outline summary::after {
  color: var(--on-dark);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body.docs-page .eyebrow,
  :root:not([data-theme]) body.docs-page .docs-directory-kicker,
  :root:not([data-theme]) body.docs-page .docs-page-list a:hover,
  :root:not([data-theme]) body.docs-page .docs-page-list a:focus-visible,
  :root:not([data-theme]) body.docs-page .docs-page-list a::after,
  :root:not([data-theme]) body.docs-page .docs-breadcrumbs a:hover,
  :root:not([data-theme]) body.docs-page .docs-breadcrumbs a:focus-visible,
  :root:not([data-theme]) body.docs-page .docs-categories a:hover,
  :root:not([data-theme]) body.docs-page .docs-categories a:focus-visible,
  :root:not([data-theme]) body.docs-page .docs-breadcrumbs span[aria-hidden="true"],
  :root:not([data-theme]) body.docs-page .docs-note::before,
  :root:not([data-theme]) body.docs-page .docs-steps > li > span:first-child,
  :root:not([data-theme]) body.docs-page .docs-faq summary::after,
  :root:not([data-theme]) body.docs-page .docs-mobile-outline summary::after {
    color: var(--on-dark);
  }
}
