@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2?v=20260910a") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin.woff2?v=20260910a") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

:root {
  color-scheme: dark;
  --page: #0b111d;
  --paper: #101a25;
  --panel: #121e2a;
  --panel-strong: #172837;
  --ink: #f6f9ff;
  --text: #b6c9d8;
  --muted: #7d90aa;
  --quiet: #58708d;
  --rule: rgb(181 208 240 / 14%);
  --rule-strong: rgb(197 219 247 / 30%);
  --signal: #3b82f6;
  --signal-dark: #93c5fd;
  --signal-wash: rgb(59 130 246 / 14%);
  --link: #93c5fd;
  --code-bg: #070b13;
  --code-ink: #f6f9ff;
  --code-rule: rgb(197 219 247 / 24%);
  --note: #101f34;
  --warning: #2f2a20;
  --danger: #302126;
  --warning-accent: #d4ad72;
  --danger-accent: #fda4af;
  --focus: #93c5fd;
  --shadow: rgb(0 0 0 / 46%);
  --sans: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #18375f;
  --paper: #1c416b;
  --panel: #21466f;
  --panel-strong: #2a547f;
  --ink: #f8fbff;
  --text: #d1e1f3;
  --muted: #abc1da;
  --quiet: #8faac5;
  --rule: rgb(230 242 255 / 17%);
  --rule-strong: rgb(230 242 255 / 34%);
  --signal: #7db6ff;
  --signal-dark: #cae4ff;
  --signal-wash: rgb(125 182 255 / 16%);
  --link: #cae4ff;
  --code-bg: #102948;
  --code-ink: #f8fbff;
  --code-rule: rgb(230 242 255 / 28%);
  --note: #1e4772;
  --warning: #3d3825;
  --danger: #402735;
  --warning-accent: #f0cb82;
  --danger-accent: #ffb0ba;
  --focus: #cae4ff;
  --shadow: rgb(0 20 50 / 38%);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --page: #18375f;
    --paper: #1c416b;
    --panel: #21466f;
    --panel-strong: #2a547f;
    --ink: #f8fbff;
    --text: #d1e1f3;
    --muted: #abc1da;
    --quiet: #8faac5;
    --rule: rgb(230 242 255 / 17%);
    --rule-strong: rgb(230 242 255 / 34%);
    --signal: #7db6ff;
    --signal-dark: #cae4ff;
    --signal-wash: rgb(125 182 255 / 16%);
    --link: #cae4ff;
    --code-bg: #102948;
    --code-ink: #f8fbff;
    --code-rule: rgb(230 242 255 / 28%);
    --note: #1e4772;
    --warning: #3d3825;
    --danger: #402735;
    --warning-accent: #f0cb82;
    --danger-accent: #ffb0ba;
    --focus: #cae4ff;
    --shadow: rgb(0 20 50 / 38%);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 87% -12%, rgb(59 130 246 / 16%), transparent 34rem),
    radial-gradient(circle at 3% 48%, rgb(147 197 253 / 6%), transparent 29rem),
    var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--signal);
  color: #fff;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

code,
pre,
.mono,
.docs-toc-label,
.eyebrow {
  font-family: var(--mono);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

pre:focus-visible,
.docs-table-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  min-height: 42px;
  padding: 10px 12px;
  transform: translateY(-180%);
  border: 1px solid var(--signal);
  border-radius: 8px;
  background: var(--code-bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--page) 84%, transparent);
  backdrop-filter: blur(18px) saturate(125%);
}

.site-header-inner {
  display: flex;
  width: min(1400px, calc(100% - 56px));
  min-height: 74px;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-signal {
  display: block;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
}

.docs-header-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .075em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.docs-header-kicker i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-wash), 0 0 15px var(--signal);
}

.site-header-actions,
.site-header nav {
  display: flex;
  align-items: center;
}

.site-header-actions {
  margin-left: auto;
  min-width: 0;
  gap: 9px;
}

.site-header nav {
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 10px;
  color: inherit;
  text-decoration: none;
}

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

.site-header nav a[aria-current="page"]::after {
  width: 5px;
  height: 5px;
  margin: 12px 0 0 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  content: "";
}

.site-header nav .nav-action {
  margin-left: 4px;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: color-mix(in srgb, var(--code-bg) 54%, transparent);
  color: var(--ink);
}

.site-header nav .nav-action:hover {
  border-color: var(--signal);
  background: var(--signal-wash);
  color: var(--ink);
  text-decoration: none;
}

.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: color-mix(in srgb, var(--code-bg) 54%, transparent);
  padding: 0 10px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.theme-toggle:hover {
  border-color: var(--signal);
  background: var(--signal-wash);
  color: var(--ink);
  transform: translateY(-1px);
}

.theme-toggle-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-wash), 0 0 12px var(--signal);
}

.docs-page-shell {
  min-height: calc(100svh - 111px);
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(200px, 238px) minmax(0, 780px) minmax(170px, 205px);
  gap: clamp(28px, 3.3vw, 48px);
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 88px;
}

.docs-layout > * {
  min-width: 0;
}

.docs-toc,
.docs-on-page {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100svh - 108px);
  overflow-y: auto;
  scrollbar-color: var(--rule-strong) transparent;
}

.docs-toc {
  border-right: 1px solid var(--rule);
  padding-right: 20px;
}

.docs-toc-inner {
  display: grid;
  gap: 14px;
}

.docs-nav-toggle {
  display: none;
}

.docs-nav-group {
  display: grid;
  gap: 2px;
}

.docs-toc-label,
.docs-search span {
  margin: 0 0 5px;
  color: var(--signal-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-journey-label,
.docs-search-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.docs-journey-label span {
  color: var(--quiet);
}

.docs-search-label kbd {
  display: inline-grid;
  min-width: 18px;
  min-height: 18px;
  place-items: center;
  border: 1px solid var(--rule-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-transform: none;
}

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

.docs-search-hint {
  margin: -7px 0 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.4;
}

.docs-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--paper);
  padding: 0 11px;
  color: var(--ink);
  font-size: 14px;
}

.docs-search input::placeholder {
  color: var(--quiet);
}

.docs-search-results {
  display: none;
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
}

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

.docs-search-results a,
.docs-search-empty {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.docs-search-results > :last-child {
  border-bottom: 0;
}

.docs-search-results a:hover {
  background: var(--signal-wash);
}

.docs-search-results strong {
  color: var(--ink);
  font-size: 13px;
}

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

.docs-home-link,
.docs-toc a:not(.docs-home-link) {
  display: grid;
  gap: 2px;
  border-left: 2px solid transparent;
  padding: 6px 8px;
  color: var(--ink);
  text-decoration: none;
}

.docs-home-link {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 700;
}

.docs-journey-nav {
  gap: 3px;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.docs-toc a span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.34;
}

.docs-toc a small {
  display: none;
}

.docs-toc a:hover,
.docs-home-link:hover {
  background: var(--panel);
}

.docs-toc a.is-active,
.docs-toc a[aria-current="page"],
.docs-home-link.is-active {
  border-left-color: var(--signal);
  background: var(--signal-wash);
}

.docs-on-page {
  display: grid;
  gap: 8px;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}

.docs-on-page nav {
  display: grid;
  gap: 1px;
}

.docs-on-page a {
  display: block;
  min-height: 29px;
  border-left: 2px solid transparent;
  padding: 4px 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  text-decoration: none;
}

.docs-on-page a:hover {
  color: var(--ink);
  background: var(--panel);
}

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

.docs-on-page a[data-depth="3"] {
  margin-left: 10px;
  color: var(--quiet);
  font-size: 11px;
}

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

.docs-article {
  padding-top: 1px;
}

.docs-heading {
  border-bottom: 1px solid var(--ink);
  padding: 0 0 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--signal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-article h1,
.docs-article h2 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.032em;
}

.docs-article h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 0.97;
}

.docs-article h2 {
  margin: 46px 0 13px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  font-size: clamp(25px, 2.15vw, 32px);
  line-height: 1.08;
}

.docs-index-page > h2,
.docs-index-page > section > h2,
.docs-index-page .docs-routebook h2 {
  font-size: clamp(29px, 2.55vw, 37px);
  line-height: 1.02;
}

.docs-article h3 {
  margin: 29px 0 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.docs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.docs-meta div {
  min-width: 0;
  padding: 9px 12px 10px 0;
  border-right: 1px solid var(--rule);
}

.docs-meta div + div {
  padding-left: 12px;
}

.docs-meta div:last-child {
  border-right: 0;
}

.docs-meta dt {
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-meta dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.38;
}

.docs-lead {
  max-width: 720px;
  margin: 25px 0 0;
  border-left: 3px solid var(--signal);
  padding-left: 16px;
  color: var(--text);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.62;
}

.docs-article p {
  max-width: 720px;
  color: var(--text);
}

.docs-inline-link,
.docs-link-list a,
.docs-category h3 a,
.docs-breadcrumbs a,
.docs-categories a {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.docs-inline-link:hover,
.docs-link-list a:hover,
.docs-category h3 a:hover,
.docs-breadcrumbs a:hover,
.docs-categories a:hover {
  color: var(--signal);
  text-decoration-thickness: 2px;
}

.docs-figure {
  margin: 26px 0 0;
}

.docs-figure-frame {
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  overflow: auto hidden;
  border: 1px solid var(--ink);
  background: var(--code-bg);
  box-shadow: 6px 6px 0 var(--shadow);
}

.docs-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.docs-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.docs-figure figcaption::before {
  margin-right: 7px;
  color: var(--signal);
  content: "●";
  font-size: 9px;
}

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

.docs-page-list a {
  position: relative;
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--rule);
  padding: 14px 26px 14px 0;
  color: var(--ink);
  text-decoration: none;
}

.docs-page-list a::after {
  position: absolute;
  top: 15px;
  right: 2px;
  color: var(--signal);
  content: "→";
  font-family: var(--mono);
}

.docs-page-list a:hover {
  padding-left: 9px;
  background: var(--panel);
}

.docs-page-list span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

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

.docs-routebook {
  margin-top: 34px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--shadow);
}

.docs-routebook-intro {
  padding: 20px 22px 21px;
  border-bottom: 1px solid var(--ink);
  background: var(--panel);
}

.docs-routebook-label {
  margin: 0 0 9px;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-routebook h2 {
  margin: 0;
  border: 0;
  padding: 0;
}

.docs-routebook-intro p:last-child {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.docs-request-path {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-request-path li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid var(--rule);
}

.docs-request-path li:last-child {
  border-bottom: 0;
}

.docs-request-path > li > span {
  display: grid;
  min-height: 61px;
  place-items: center;
  border-right: 1px solid var(--rule);
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.docs-request-path a {
  display: grid;
  grid-template-columns: minmax(125px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 10px 18px;
  min-height: 61px;
  padding: 10px 16px;
  color: var(--ink);
  text-decoration: none;
}

.docs-request-path a:hover {
  background: var(--signal-wash);
}

.docs-request-path strong {
  font-size: 14px;
  font-weight: 700;
}

.docs-request-path small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
}

.docs-journeys {
  margin-top: 55px;
}

.docs-journeys > .docs-routebook-label {
  margin-bottom: 8px;
}

.docs-journeys > h2 {
  margin-top: 0;
}

.docs-journeys > p:not(.docs-routebook-label) {
  max-width: 670px;
  margin-top: 0;
}

.docs-journey-list {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid var(--ink);
  padding: 0;
  list-style: none;
}

.docs-journey-list > li {
  display: grid;
  grid-template-columns: 54px minmax(170px, 0.8fr) minmax(0, 1.42fr);
  gap: 0 18px;
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.docs-journey-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--signal);
  background: var(--signal-wash);
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.docs-journey-copy h3 {
  margin: 1px 0 7px;
  font-size: 17px;
}

.docs-journey-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.docs-journey-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-journey-pages li {
  min-width: 0;
  border-top: 1px solid var(--rule);
}

.docs-journey-pages li:nth-child(-n + 2) {
  border-top: 0;
}

.docs-journey-pages a {
  display: grid;
  gap: 3px;
  min-height: 50px;
  padding: 8px 16px 8px 0;
  color: var(--ink);
  text-decoration: none;
}

.docs-journey-pages a:hover {
  padding-left: 7px;
  background: var(--panel);
}

.docs-journey-pages span {
  color: var(--link);
  font-size: 13px;
  font-weight: 700;
}

.docs-journey-pages small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
}

.docs-routebook-footer {
  margin-top: 48px;
  border-top: 2px solid var(--ink);
  padding-top: 2px;
}

.docs-routebook-footer h2 {
  margin-top: 19px;
}

.docs-category,
.docs-overview,
.docs-related {
  margin-top: 38px;
}

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

.docs-grid article {
  min-width: 0;
  border-bottom: 1px solid var(--rule);
  padding: 17px 0 19px;
}

.docs-grid article:nth-child(odd) {
  padding-right: 14px;
}

.docs-grid article:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

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

.docs-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.docs-steps {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.docs-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}

.docs-steps.compact {
  margin-top: 16px;
}

.docs-steps > li > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--signal);
  background: var(--signal-wash);
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.docs-steps strong,
.docs-list strong,
.docs-note strong {
  color: var(--ink);
}

.docs-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.docs-list {
  margin: 18px 0 0;
  padding-left: 1.18rem;
}

.docs-list li {
  margin: 8px 0;
  padding-left: 3px;
  color: var(--text);
  line-height: 1.58;
}

.docs-list li::marker {
  color: var(--signal);
}

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

.docs-note {
  display: grid;
  gap: 7px;
  margin-top: 21px;
  border-left: 4px solid var(--signal);
  background: var(--note);
  padding: 15px 17px;
}

.docs-note.warning {
  border-left-color: var(--warning-accent);
  background: var(--warning);
}

.docs-note.danger {
  border-left-color: var(--danger-accent);
  background: var(--danger);
}

.docs-note p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.58;
}

.docs-table-wrap {
  position: relative;
  max-width: 100%;
  min-width: 0;
  margin-top: 22px;
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.docs-scroll-hint {
  display: none;
  width: max-content;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  padding: 6px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
}

.docs-table-wrap.is-scrollable .docs-scroll-hint {
  display: block;
}

.docs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

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

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

.docs-table td {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

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

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

code {
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 0.91em;
}

.docs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
}

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

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

.docs-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 42px;
  border-top: 1px solid var(--rule);
  padding-top: 13px;
  color: var(--quiet);
  font-size: 12px;
}

.docs-categories span {
  color: var(--ink);
  font-weight: 700;
}

.docs-link-list {
  margin: 13px 0 0;
  padding-left: 1.16rem;
}

.docs-link-list li {
  margin: 7px 0;
  color: var(--text);
  line-height: 1.56;
}

.docs-link-list li::marker {
  color: var(--signal);
}

pre {
  max-width: 100%;
  margin: 22px 0 0;
  overflow: auto;
  border: 1px solid var(--code-rule);
  background: var(--code-bg);
  box-shadow: 6px 6px 0 var(--shadow);
  padding: 18px;
  color: var(--code-ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  scrollbar-color: var(--rule-strong) transparent;
}

pre code {
  color: inherit;
  font-size: inherit;
}

.docs-code-block {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--code-rule);
  background: var(--code-bg);
  box-shadow: 6px 6px 0 var(--shadow);
}

.docs-code-toolbar {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--code-rule);
  padding: 0 10px 0 14px;
  color: var(--code-ink);
}

.docs-code-label {
  color: color-mix(in srgb, var(--code-ink) 74%, transparent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-code-copy {
  min-height: 28px;
  border: 1px solid var(--code-rule);
  background: transparent;
  padding: 0 9px;
  color: var(--code-ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.docs-code-copy:hover {
  border-color: var(--signal);
  background: var(--signal);
  color: #fff;
}

.docs-code-block pre {
  max-width: none;
  margin: 0;
  border: 0;
  box-shadow: none;
}

.site-footer {
  display: flex;
  width: min(1360px, calc(100% - 40px));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding: 24px 0 29px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 1160px) {
  .docs-layout {
    grid-template-columns: minmax(200px, 238px) minmax(0, 1fr);
  }

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

  .docs-mobile-outline {
    display: block;
    margin-top: 22px;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
    background: var(--panel);
  }

  .docs-mobile-outline summary {
    min-height: 46px;
    padding: 12px 14px;
    color: var(--ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
  }

  .docs-mobile-outline nav {
    display: grid;
    border-top: 1px solid var(--rule);
    padding: 7px 0;
  }

  .docs-mobile-outline a {
    padding: 7px 14px;
    color: var(--link);
    font-size: 13px;
    text-decoration: none;
  }

  .docs-mobile-outline a[data-depth="3"] {
    padding-left: 28px;
    color: var(--muted);
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  .site-header-inner,
  .docs-layout,
  .site-footer {
    width: min(100% - 30px, 1360px);
  }

  .site-header-inner {
    min-height: 62px;
    gap: 13px;
  }

  .site-header-actions {
    gap: 7px;
  }

  .site-header nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-top: 20px;
    padding-bottom: 66px;
  }

  .docs-toc {
    position: static;
    order: 0;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--rule-strong);
    padding: 0;
    background: var(--paper);
  }

  .docs-nav-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 0 13px;
    color: var(--ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
  }

  .docs-nav-toggle span:last-child {
    color: var(--signal);
    font-family: var(--mono);
    font-size: 19px;
  }

  .docs-toc-inner {
    display: none;
    border-top: 1px solid var(--rule);
    padding: 15px 13px 17px;
  }

  .docs-toc.is-expanded .docs-toc-inner {
    display: grid;
  }

  .docs-content {
    order: 1;
  }

  .docs-heading {
    padding-bottom: 15px;
  }

  .docs-figure-frame {
    justify-content: flex-start;
  }

  .docs-figure img {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .docs-routebook-intro {
    padding: 18px 16px 19px;
  }

  .docs-request-path li {
    grid-template-columns: 43px minmax(0, 1fr);
  }

  .docs-request-path > li > span,
  .docs-request-path a {
    min-height: 67px;
  }

  .docs-request-path a {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 13px;
  }

  .docs-journey-list > li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0 12px;
  }

  .docs-journey-pages {
    grid-column: 2;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .docs-journey-pages li:nth-child(2) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 620px) {
  .site-header-inner,
  .docs-layout,
  .site-footer {
    width: min(100% - 24px, 1360px);
  }

  .brand span:last-child,
  .site-header nav a[href="/"],
  .site-header nav a[href="https://github.com/giofahreza/io-gateway"] {
    display: none;
  }

  .site-header nav a {
    min-height: 38px;
    padding: 0 7px;
    font-size: 12px;
  }

  .site-header nav .nav-action {
    margin-left: 1px;
  }

  .theme-toggle {
    min-height: 42px;
    padding: 0 9px;
    font-size: 10px;
  }

  .docs-article h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .docs-article h2 {
    margin-top: 39px;
    font-size: clamp(25px, 7.8vw, 31px);
  }

  .docs-index-page > h2,
  .docs-index-page > section > h2,
  .docs-index-page .docs-routebook h2 {
    font-size: clamp(29px, 9vw, 35px);
  }

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

  .docs-meta div:nth-child(2n) {
    border-right: 0;
  }

  .docs-meta div:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }

  .docs-meta div + div {
    padding-left: 9px;
  }

  .docs-meta div {
    padding-right: 9px;
  }

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

  .docs-grid article:nth-child(odd),
  .docs-grid article:nth-child(even) {
    border-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

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

  .docs-table {
    min-width: 580px;
  }

  pre {
    margin-right: -2px;
    margin-left: -2px;
    padding: 15px;
    font-size: 12px;
  }

  .docs-code-toolbar {
    padding-left: 12px;
  }

  .site-footer {
    display: grid;
  }
}

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

/* Public documentation: the same blue night-routing system as the landing. */
.docs-page-shell {
  position: relative;
  min-height: calc(100svh - 74px);
  overflow: clip;
}

.docs-page-shell::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgb(181 208 240 / 3.2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(181 208 240 / 3.2%) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

.docs-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(220px, 260px) minmax(0, 760px) minmax(165px, 190px);
  justify-content: center;
  gap: clamp(28px, 3.5vw, 52px);
  width: min(1400px, calc(100% - 56px));
  padding: 58px 0 104px;
}

.docs-toc,
.docs-on-page {
  top: 98px;
  max-height: calc(100svh - 120px);
}

.docs-toc {
  display: grid;
  gap: 16px;
  overflow: auto;
  border: 1px solid var(--rule);
  border-radius: 15px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgb(59 130 246 / 12%), transparent 46%),
    var(--paper);
  box-shadow: 0 20px 45px rgb(0 0 0 / 11%);
}

.docs-toc-inner {
  gap: 14px;
}

.docs-toc-label,
.docs-search span,
.eyebrow,
.docs-breadcrumbs,
.docs-meta dt,
.docs-routebook-label {
  font-weight: 600;
  letter-spacing: .075em;
}

.docs-toc-label,
.docs-search span {
  color: var(--muted);
}

.docs-home-link,
.docs-toc a:not(.docs-home-link) {
  position: relative;
  border-left: 0;
  border-radius: 7px;
  padding: 7px 8px 7px 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: background 140ms ease, color 140ms ease;
}

.docs-home-link::before,
.docs-toc a:not(.docs-home-link)::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 15px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: transparent;
  content: "";
}

.docs-home-link {
  border-top: 0;
  border-bottom: 0;
  font-size: 12px;
}

.docs-toc a span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.docs-toc a:hover,
.docs-home-link:hover,
.docs-toc a.is-active,
.docs-toc a[aria-current="page"],
.docs-home-link.is-active {
  border-left-color: transparent;
  background: var(--signal-wash);
  color: var(--ink);
}

.docs-toc a.is-active::before,
.docs-toc a[aria-current="page"]::before,
.docs-home-link.is-active::before {
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.docs-journey-nav {
  border-top-color: var(--rule);
}

.docs-search input {
  border-radius: 8px;
  background: color-mix(in srgb, var(--code-bg) 58%, transparent);
  color: var(--ink);
}

.docs-search input:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-wash);
  outline: 0;
}

.docs-search-results {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-color: var(--rule-strong);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 18px 42px var(--shadow);
}

.docs-search-results a:hover {
  background: var(--signal-wash);
}

.docs-on-page {
  gap: 8px;
  overflow: visible;
  border-left: 0;
  padding-left: 0;
}

.docs-on-page > .docs-toc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.docs-on-page > .docs-toc-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  content: "";
}

.docs-on-page a {
  border-radius: 7px;
  color: var(--muted);
  font-weight: 600;
}

.docs-on-page a:hover,
.docs-on-page a.is-active {
  background: var(--signal-wash);
  color: var(--ink);
}

.docs-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 18px;
  padding: clamp(25px, 4vw, 38px);
  background:
    radial-gradient(circle at 93% 13%, rgb(59 130 246 / 20%), transparent 22rem),
    linear-gradient(135deg, rgb(31 67 103 / 56%), rgb(16 26 37 / 88%) 58%),
    var(--paper);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5.5%), 0 20px 50px rgb(0 0 0 / 14%);
}

.docs-heading::before {
  position: absolute;
  z-index: -1;
  right: -16px;
  bottom: -74px;
  width: 208px;
  height: 208px;
  border: 1px solid rgb(147 197 253 / 26%);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgb(147 197 253 / 2.8%), 0 0 0 65px rgb(147 197 253 / 1.9%);
  content: "";
}

.eyebrow {
  color: var(--signal-dark);
}

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

.docs-article h1 {
  font-size: clamp(42px, 4.3vw, 64px);
  line-height: .97;
}

.docs-article h2 {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: clamp(27px, 2.25vw, 35px);
}

.docs-article h3 {
  font-weight: 600;
}

.docs-meta {
  margin-top: 24px;
  border-top-color: var(--rule);
  border-bottom-color: var(--rule);
}

.docs-meta dd {
  color: var(--text);
}

.docs-lead {
  border-left: 0;
  padding-left: 0;
  color: var(--text);
}

.docs-inline-link,
.docs-link-list a,
.docs-category h3 a,
.docs-breadcrumbs a,
.docs-categories a {
  color: var(--link);
  font-weight: 600;
}

.docs-figure-frame {
  overflow: auto hidden;
  border-color: var(--rule-strong);
  border-radius: 15px;
  box-shadow: 0 26px 58px var(--shadow);
}

.docs-figure figcaption::before {
  color: var(--signal);
}

.docs-routebook {
  overflow: hidden;
  border-color: var(--rule-strong);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 20px 45px rgb(0 0 0 / 11%);
}

.docs-routebook-intro {
  border-bottom-color: var(--rule);
  background: linear-gradient(135deg, rgb(59 130 246 / 16%), transparent 68%), var(--panel);
}

.docs-request-path > li > span {
  color: var(--signal-dark);
}

.docs-request-path a:hover,
.docs-journey-pages a:hover,
.docs-page-list a:hover {
  background: var(--signal-wash);
}

.docs-journey-number,
.docs-steps > li > span:first-child {
  border-color: var(--signal);
  border-radius: 8px;
  color: var(--signal-dark);
  font-weight: 600;
}

.docs-note {
  border-radius: 0 10px 10px 0;
}

.docs-table-wrap {
  overflow: auto;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--paper);
}

.docs-table th {
  background: var(--panel-strong);
  font-weight: 600;
}

.docs-table td:first-child,
.docs-categories span {
  font-weight: 600;
}

.docs-code-block,
pre {
  border-radius: 12px;
}

.site-footer {
  width: auto;
  margin: 0;
  border-top-color: var(--rule);
  padding: 0;
  background: color-mix(in srgb, var(--code-bg) 46%, transparent);
  color: var(--muted);
  font-family: var(--sans);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
  padding: 31px 0 36px;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.site-footer-brand .brand-signal {
  width: 34px;
  height: 34px;
}

.site-footer-brand > span {
  display: grid;
  gap: 1px;
}

.site-footer-brand strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.site-footer-brand small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 44ch;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--signal-dark);
}

@media (max-width: 1230px) {
  .docs-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }

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

@media (max-width: 860px) {
  .site-header-inner,
  .docs-layout,
  .site-footer-inner {
    width: min(100% - 30px, 1400px);
  }

  .site-header-inner {
    min-height: 64px;
  }

  .docs-header-kicker {
    display: none;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 20px 0 66px;
  }

  .docs-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: var(--paper);
  }

  .docs-nav-toggle {
    padding: 0 15px;
    color: var(--ink);
    font-weight: 600;
  }

  .docs-toc-inner {
    padding: 15px;
  }

  .docs-heading {
    padding: 25px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .site-header-inner,
  .docs-layout,
  .site-footer-inner {
    width: min(100% - 24px, 1400px);
  }

  .brand span:last-child,
  .site-header nav a[href="/"],
  .site-header nav a[href="https://github.com/giofahreza/io-gateway"] {
    display: none;
  }

  .theme-toggle {
    min-width: 42px;
    padding: 0;
  }

  .theme-toggle [data-theme-label] {
    display: none;
  }

  .docs-heading {
    padding: 22px;
    border-radius: 14px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 26px 0 30px;
  }

  .site-footer p {
    grid-column: auto;
    grid-row: auto;
  }
}
