@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/docs-inter.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --canvas: #f7f7f7;
  --paper: #fff;
  --ink: #111827;
  --text: #3e3e3e;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --hover: #ededed;
  --selected: #dedede;
  --button: #0c0d0f;
  --button-text: #fff;
  --header: 56px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111214;
  --paper: #18191c;
  --ink: #f2f2f3;
  --text: #d0d0d4;
  --muted: #aaaab2;
  --line: #303136;
  --hover: #25262b;
  --selected: #34353c;
  --button: #f1f1f2;
  --button-text: #17181b;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
summary {
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text);
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
[hidden] {
  display: none !important;
}
.docs-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  background: var(--paper);
  padding: 12px;
  z-index: 10;
}
.docs-skip:focus {
  top: 12px;
}
.docs-header {
  height: var(--header);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 0;
  background: var(--canvas);
  z-index: 3;
}
.docs-brand {
  width: 256px;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--button);
}
.docs-tabs {
  display: flex;
  gap: 24px;
  align-items: center;
}
.docs-tabs a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
}
.docs-tabs a[aria-current] {
  color: var(--text);
  font-weight: 500;
}
.docs-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.docs-actions a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  line-height: 20px;
}
.docs-actions .docs-primary {
  background: var(--button);
  color: var(--button-text);
  border-color: var(--button);
}
.docs-navigation {
  position: fixed;
  top: var(--header);
  bottom: 0;
  left: 0;
  width: 264px;
}
.docs-navigation > summary {
  display: none;
}
.docs-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  min-height: 0;
}
.docs-search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: var(--paper);
  height: 36px;
  padding: 0 12px 0 14px;
  margin: 8px 16px 24px;
  color: var(--muted);
}
.docs-search svg {
  width: 16px;
  height: 16px;
}
.docs-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline-offset: 2px;
  font-size: 14px;
  line-height: 24px;
  padding: 0;
}
.docs-search:focus-within {
  border-color: var(--muted);
  box-shadow: 0 0 0 2px var(--muted);
}
.docs-search input:focus,
.docs-search input:focus-visible {
  outline: none;
  box-shadow: none;
}
.docs-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.docs-search kbd {
  font:
    12px Inter,
    sans-serif;
  white-space: nowrap;
}
.docs-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d5d5d5 transparent;
  padding: 0 8px;
}
.docs-group {
  margin-bottom: 32px;
}
.docs-group h2 {
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  margin: 0 16px 12px;
  line-height: 20px;
}
.docs-group a,
.docs-topic > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 20px;
  min-height: 32px;
  padding: 6px 12px 6px 16px;
  color: var(--text);
  border-radius: 12px;
  margin: 0 0 1px;
  font-size: 14px;
}
.docs-group a:hover,
.docs-topic > summary:hover {
  background: var(--hover);
}
.docs-group a[aria-current] {
  background: var(--selected);
  color: var(--button);
  font-weight: 500;
}
.docs-topic > summary {
  list-style: none;
  cursor: pointer;
}
.docs-topic > summary::-webkit-details-marker {
  display: none;
}
.docs-topic > summary svg {
  height: 12px;
  width: 12px;
  color: var(--muted);
  opacity: 0.65;
}
.docs-topic[open] > summary svg {
  transform: rotate(90deg);
}
.docs-topic > div > a {
  padding-left: 28px;
}
.docs-topic > div {
  padding-bottom: 4px;
}
.docs-no-results {
  margin: 0;
  padding: 0 24px 16px;
  color: var(--muted);
}
.docs-sidebar-footer {
  flex-shrink: 0;
  margin: 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}
.docs-theme {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  height: 30px;
}
.docs-theme button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 50%;
  padding: 3px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.docs-theme svg {
  width: 14px;
  height: 14px;
}
.docs-theme button[aria-pressed="true"] {
  background: var(--hover);
  color: var(--text);
}
.docs-panel {
  position: fixed;
  top: var(--header);
  bottom: 8px;
  left: 272px;
  right: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 48px 64px 0 112px;
  scroll-padding-top: 40px;
}
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 576px) 264px;
  column-gap: 88px;
  justify-content: center;
  min-height: 100%;
}
.docs-article {
  min-width: 0;
  outline: none;
}
.docs-eyebrow {
  font-size: 14px;
  color: var(--muted);
  line-height: 20px;
  margin-bottom: 10px;
}
.docs-article h1 {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ink);
}
.docs-article p {
  font-size: 16px;
  line-height: 28px;
  color: var(--text);
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.docs-article .docs-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}
.docs-article section {
  margin-top: 36px;
  scroll-margin-top: 0;
}
.docs-article-header + section {
  margin-top: 32px;
}
.docs-article h2 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.3px;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--ink);
}
.docs-article h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  line-height: 28px;
  color: var(--text);
}
.docs-article p a,
.docs-bullets a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  text-decoration-thickness: 1px;
}
.docs-bullets {
  padding-left: 28px;
  margin: 20px 0;
  list-style: disc;
}
.docs-bullets li {
  font-size: 16px;
  line-height: 28px;
  margin: 8px 0;
  padding-left: 4px;
}
.docs-toc {
  min-width: 0;
  align-self: stretch;
}
.docs-toc nav {
  position: sticky;
  top: 0;
  padding-top: 0;
}
.docs-toc p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  line-height: 24px;
}
.docs-toc p svg {
  height: 12px;
  width: 12px;
}
.docs-toc a {
  display: block;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 24px;
}
.docs-toc a[aria-current] {
  border-color: var(--button);
  color: var(--button);
  font-weight: 500;
}
.docs-steps {
  list-style: none;
  counter-reset: step;
  padding: 28px 0 0;
  margin: 20px 0;
}
.docs-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 46px;
  min-height: 120px;
}
.docs-steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #f3f3f3;
  color: #333;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
}
.docs-steps li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 8px;
  left: 14px;
  width: 1px;
  background: var(--line);
}
.docs-steps p {
  margin-top: 24px;
  margin-bottom: 0;
}
.docs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.docs-cards a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
  line-height: 24px;
}
.docs-cards a:hover {
  background: var(--canvas);
}
pre {
  max-width: 100%;
  overflow: auto;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  font-size: 13px;
  line-height: 24px;
}
.docs-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  line-height: 24px;
}
.docs-pagination a {
  max-width: 48%;
}
.docs-pagination a:last-child {
  text-align: right;
}
.docs-pagination small {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 8px;
}
.docs-pagination a:last-child small {
  justify-content: flex-end;
}
.docs-pagination svg {
  width: 14px;
  height: 14px;
}
.docs-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  padding: 40px 0 28px;
}
@media (max-width: 1279px) {
  .docs-toc {
    display: none;
  }
  .docs-panel {
    padding: 48px 64px 0;
  }
  .docs-layout {
    grid-template-columns: minmax(0, 576px);
  }
  .docs-brand {
    width: 244px;
  }
  .docs-tabs {
    gap: 20px;
  }
}
@media (max-width: 1023px) {
  :root {
    --header: 104px;
  }
  .docs-header {
    flex-wrap: wrap;
    padding: 12px 20px;
    gap: 12px;
    align-content: space-between;
  }
  .docs-brand {
    width: auto;
    flex: 1;
  }
  .docs-tabs {
    order: 3;
    width: 100%;
    gap: 24px;
    font-size: 13px;
    line-height: 20px;
  }
  .docs-tabs svg {
    width: 16px;
    height: 16px;
  }
  .docs-actions a {
    font-size: 12px;
    padding: 6px 10px;
  }
  .docs-navigation {
    top: var(--header);
    bottom: auto;
    width: 100%;
    z-index: 2;
    border-block: 1px solid var(--line);
    background: var(--canvas);
  }
  .docs-navigation > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 22px;
    font-size: 13px;
    line-height: 20px;
  }
  .docs-navigation > summary svg {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
  }
  .docs-navigation[open] > summary svg {
    transform: rotate(-90deg);
  }
  .docs-sidebar {
    height: min(560px, calc(100dvh - var(--header) - 50px));
    padding: 0 8px;
    box-shadow: 0 10px 20px #0001;
  }
  .docs-search {
    margin-bottom: 20px;
  }
  .docs-nav-scroll {
    padding: 0 8px;
  }
  .docs-panel {
    top: calc(var(--header) + 48px);
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 28px 24px 0;
    scroll-padding-top: 24px;
  }
  .docs-article h1 {
    font-size: 30px;
    line-height: 36px;
  }
  .docs-article h2 {
    font-size: 23px;
  }
  .docs-footer {
    flex-wrap: wrap;
  }
  .docs-cards a {
    padding: 20px 14px;
  }
}
@media (max-width: 360px) {
  .docs-header {
    padding-inline: 14px;
  }
  .docs-tabs {
    gap: 13px;
    font-size: 12px;
  }
  .docs-tabs a {
    gap: 5px;
  }
  .docs-panel {
    padding-inline: 18px;
  }
  .docs-cards {
    grid-template-columns: 1fr;
  }
  .docs-brand {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .docs-panel {
    scroll-behavior: smooth;
  }
}
/* The details content wrapper must not determine the sidebar's scroll height. */
@media (min-width: 1024px) {
  .docs-sidebar {
    position: absolute;
    inset: 0;
    height: auto;
  }
}
.docs-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.docs-brand-mark {
  flex-shrink: 0;
}
@supports selector(::-webkit-scrollbar) {
  .docs-nav-scroll {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  .docs-nav-scroll::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  .docs-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
  .docs-nav-scroll::-webkit-scrollbar-thumb {
    background: #d2d2d2;
    border-radius: 8px;
  }
  .docs-nav-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
  }
}
.docs-theme {
  height: 38px;
}
.docs-theme button {
  width: 30px;
  height: 30px;
  padding: 5px;
}
.docs-theme svg {
  width: 18px;
  height: 18px;
}
@media (pointer: coarse) {
  .docs-theme {
    height: 46px;
  }
  .docs-theme button {
    width: 38px;
    height: 38px;
  }
  .docs-theme svg {
    width: 20px;
    height: 20px;
  }
}
.docs-sidebar-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  .docs-sidebar-footer {
    margin-left: 8px;
  }
}

.docs-brand-dot {
  color: #526f17;
}

:root[data-theme="dark"] .docs-brand-dot {
  color: #b9ce94;
}

.docs-code-example {
  margin: 28px 0 36px;
}
.docs-code-example label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.docs-code-example select,
.docs-code-example button {
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}
.docs-code-example button {
  cursor: pointer;
  font-size: 13px;
}
.docs-code-example [hidden] {
  display: none;
}
.docs-code-status {
  min-height: 20px;
}
.docs-article code {
  overflow-wrap: anywhere;
}

/* Same dropdown geometry as the application, using documentation theme tokens. */
.docs-code-example select[hidden] {
  display: none;
}
.docs-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.docs-select-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-2px) rotate(45deg);
  margin-inline: 4px;
}
.docs-select-trigger[aria-expanded="true"] {
  background: var(--hover);
}
.docs-select-trigger[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}
.docs-select-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.docs-select-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 12px 28px #00000016,
    0 3px 7px #0000000d;
}
.docs-select-menu [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.docs-select-menu [aria-selected="true"],
.docs-select-menu [data-active="true"] {
  background: var(--hover);
}
.docs-select-menu [data-active="true"] {
  box-shadow: inset 0 0 0 1px var(--line);
}
.docs-select-menu [aria-selected="true"]::after {
  content: "✓";
}
