@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/open-sans-v34-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/open-sans-v34-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/open-sans-v34-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-v12-latin-700.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --page: #fafafa;
  --panel: #fff;
  --surface: #f3f0fb;
  --raised: #f5f5f7;
  --text: #242424;
  --muted: #5e5b66;
  --line: #dfdce6;
  --accent: #512bd4;
  --accent-hover: #4122ad;
  --brand-mid: #5279e8;
  --brand-end: #8074d6;
  --code: #20202b;
  --code-text: #efedf8;
  --header: 68px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page: #1f1f1f;
  --panel: #242424;
  --surface: #322e3e;
  --raised: #2a292d;
  --text: #f6f5f8;
  --muted: #c2becb;
  --line: #454149;
  --accent: #b6a2f0;
  --accent-hover: #d2c1ff;
  --brand-mid: #698de8;
  --brand-end: #a395e4;
  --code: #15141c;
  --code-text: #f2effa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font:
    16px/1.75 "Open Sans",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--page);
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 10px;
}
.docs-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.docs-header-inner {
  max-width: 1600px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: auto;
  padding-inline: 32px;
}
.docs-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
}
.docs-brand:hover {
  text-decoration: none;
}
.docs-brand svg {
  width: 146px;
  height: 26px;
}
.brand-mid {
  stop-color: var(--brand-mid);
}
.brand-end {
  stop-color: var(--brand-end);
}
.docs-header-label {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.docs-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
}
.header-link:hover {
  color: var(--accent);
  background: var(--surface);
  border-radius: 6px;
  text-decoration: none;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 38px;
  height: 38px;
}
.icon-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.mobile-nav-button {
  display: none;
}
.docs-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
.docs-sidebar {
  position: sticky;
  top: var(--header);
  align-self: start;
  height: calc(100dvh - var(--header));
  padding: 28px 20px 28px 28px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--page);
  scrollbar-width: thin;
}
.sidebar-head {
  display: none;
}
.docs-search {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  min-height: 44px;
  background: var(--panel);
  color: var(--muted);
}
.docs-search:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.docs-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  padding-block: 11px;
}
.docs-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 5px;
  font: 12px/1.6 monospace;
}
.search-results {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.search-results p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.search-results ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 3px;
}
.search-results a {
  display: block;
  padding: 9px 5px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  border-radius: 5px;
}
.search-results a:hover {
  background: var(--surface);
  color: var(--accent);
  text-decoration: none;
}
.search-results small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 3px;
}
.docs-guide-switch {
  margin: 24px 0 28px;
  display: grid;
  gap: 3px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.docs-guide-switch a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.docs-guide-switch a[aria-current="page"],
.docs-guide-switch a:hover {
  background: var(--surface);
  color: var(--accent);
  text-decoration: none;
}
.docs-nav-group + .docs-nav-group {
  margin-top: 24px;
}
.docs-nav-group h2 {
  font:
    600 11px/1.5 "Open Sans",
    Arial,
    sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px;
  margin-bottom: 8px;
}
.docs-nav a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
}
.docs-nav a:hover,
.docs-nav a[aria-current="location"] {
  color: var(--accent);
  background: var(--surface);
  border-left-color: var(--accent);
  text-decoration: none;
}
.sidebar-meta {
  margin-top: 30px;
  padding: 20px 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.sidebar-meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}
.docs-main {
  min-width: 0;
  padding: 48px clamp(28px, 4.6vw, 78px) 60px;
  max-width: 1160px;
}
.docs-hero {
  padding-bottom: 40px;
}
.docs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.docs-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
h1,
h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 {
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.12;
  max-width: 780px;
  margin-bottom: 20px;
}
.docs-hero > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-meta span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 8px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.quick-start {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quick-start a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.quick-start a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.quick-start span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.doc-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 95px;
}
.section-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.doc-section h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.doc-section .lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}
.doc-section > p,
.doc-section > ul,
.doc-section > ol {
  margin-block: 18px;
}
.doc-section ul,
.doc-section ol {
  padding-left: 24px;
}
.doc-section li {
  padding-left: 3px;
  margin-block: 8px;
}
.doc-section ul {
  list-style: disc;
}
.doc-section ol {
  list-style: decimal;
}
.doc-section li::marker {
  color: var(--accent);
}
.doc-section strong {
  font-weight: 600;
}
.doc-section code:not(pre code) {
  color: var(--accent);
  background: var(--surface);
  font:
    13px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  padding: 2px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.code-block {
  margin-block: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--code);
  color: var(--code-text);
}
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid #ffffff1f;
  font-size: 12px;
}
.copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff45;
  border-radius: 5px;
  color: var(--code-text);
  background: transparent;
  padding: 3px 8px;
  font-size: 11px;
}
.copy-code:hover {
  background: #ffffff15;
}
pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  font:
    13px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  tab-size: 4;
}
pre code {
  white-space: pre;
}
.table-wrap {
  margin-block: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
th {
  background: var(--raised);
  color: var(--text);
  font-weight: 600;
}
th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 140px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td {
  color: var(--muted);
}
.doc-note {
  margin-block: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}
.doc-note h3 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}
.doc-note p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.doc-label {
  font-size: 15px;
  font-weight: 600;
  margin: 26px 0 12px;
}
.guide-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 13px;
}
.guide-end a {
  padding: 6px 0;
}
.docs-footer {
  padding-top: 30px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.nav-backdrop {
  position: fixed;
  inset: var(--header) 0 0;
  background: #0008;
  z-index: 45;
}
.offline-note {
  color: var(--accent);
  font-size: 13px;
  margin-top: 20px;
}
.catalog-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.catalog-feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.catalog-feature h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 10px;
}
.catalog-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.change-list {
  margin-block: 20px;
}
.change-list h3 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
}
.change-list li {
  font-size: 14px;
  line-height: 1.9;
}
.print-button {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 13px;
  padding: 0;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 5px 30px #0002;
}
@media (min-width: 1600px) {
  .docs-main {
    padding-inline: 80px;
  }
}
@media (max-width: 1023px) {
  .docs-layout {
    display: block;
  }
  .docs-sidebar {
    position: fixed;
    z-index: 50;
    top: var(--header);
    left: 0;
    width: min(340px, 90vw);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    visibility: hidden;
    background: var(--panel);
  }
  html[data-nav-open="true"] .docs-sidebar {
    transform: none;
    visibility: visible;
  }
  .sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .mobile-nav-button {
    display: inline-grid;
  }
  .docs-main {
    padding: 40px 32px;
    max-width: 1000px;
    margin: auto;
  }
  .docs-header-inner {
    padding-inline: 24px;
    gap: 16px;
  }
  .header-link.hide-tablet {
    display: none;
  }
}
@media (max-width: 639px) {
  :root {
    --header: 60px;
  }
  .docs-header-inner {
    padding-inline: 16px;
    gap: 12px;
  }
  .docs-brand svg {
    width: 126px;
    height: 24px;
  }
  .docs-header-label {
    display: none;
  }
  .docs-header-actions {
    gap: 8px;
  }
  .header-link.hide-mobile {
    display: none;
  }
  .docs-main {
    padding: 34px 22px;
  }
  h1 {
    font-size: 36px;
  }
  .doc-section h2 {
    font-size: 28px;
  }
  .docs-hero > p {
    font-size: 17px;
  }
  .quick-start {
    grid-template-columns: 1fr;
  }
  .doc-section {
    padding-block: 32px;
  }
  .catalog-feature-grid {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    padding: 24px 18px;
  }
  .docs-hero {
    padding-bottom: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .docs-header,
  .docs-sidebar,
  .nav-backdrop,
  .copy-code,
  .toast,
  .guide-end,
  .docs-footer,
  .offline-note {
    display: none !important;
  }
  .docs-layout {
    display: block;
  }
  .docs-main {
    max-width: none;
    padding: 0;
  }
  body {
    background: #fff;
    color: #000;
    font:
      11pt/1.6 Arial,
      sans-serif;
  }
  .doc-section {
    break-inside: auto;
  }
  .code-block {
    background: #f4f4f4;
    color: #111;
  }
  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .table-wrap {
    overflow: visible;
  }
}
/* Long configuration keys stay readable on narrow screens. */
.docs-main { overflow-wrap: anywhere; }
