:root {
  color-scheme: light;
  --bg: #ffffff;
  --shell-bg: linear-gradient(90deg, #f8faf8 0, #ffffff 17%, #ffffff 83%, #fbfcfb 100%);
  --surface: #ffffff;
  --surface-muted: #f7f8f7;
  --surface-soft: #f6f8f6;
  --surface-raised: rgba(255, 255, 255, 0.92);
  --panel: #fbfbfa;
  --panel-strong: #f5f6f4;
  --text: #1d201f;
  --heading: #171d1b;
  --body: #404742;
  --muted: #5f6661;
  --subtle: #8b938e;
  --border: #e6e8e5;
  --border-soft: #eef1ee;
  --border-strong: #d8ddd9;
  --green: #0a7f48;
  --green-soft: #e8f6ef;
  --green-border: #cce5d7;
  --danger: #b03a2e;
  --button-text: #3d4440;
  --button-hover-text: #18201c;
  --nav-text: #3e4641;
  --nav-active-bg: #f5f5f4;
  --nav-active-text: #111413;
  --nav-active-border: #f0f1ef;
  --menu-text: #4d554f;
  --kbd-bg: #eef2ef;
  --kbd-text: #757d78;
  --kbd-border: #e3e8e4;
  --sidebar-bg: rgba(250, 251, 250, 0.92);
  --sidebar-heading: #202522;
  --sidebar-text: #4c534f;
  --sidebar-icon: #111513;
  --sidebar-subtle: #a0a7a3;
  --sidebar-line: #e3e7e4;
  --article-text: #3f4742;
  --article-muted: #424b45;
  --lead: #4c524f;
  --code-bg: #f5f7f5;
  --code-panel-bg: #ffffff;
  --code-toolbar-bg: #f4f6f4;
  --code-text: #18201c;
  --code-border: #e5e8e4;
  --table-bg: #ffffff;
  --table-head-bg: #f6f8f6;
  --table-text: #4b554f;
  --quote-bg: #f4faf6;
  --quote-text: #34423a;
  --step-text: #555e58;
  --toc-heading: #313834;
  --toc-text: #626a65;
  --scrollbar-thumb: #c7ccc8;
  --focus-border: #dfe6e1;
  --tiny-shadow: 0 1px 2px rgba(31, 40, 35, 0.05);
  --shadow: 0 18px 48px rgba(31, 40, 35, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0f1210;
    --shell-bg: linear-gradient(90deg, #0d100e 0, #111512 17%, #111512 83%, #0f1310 100%);
    --surface: #151a17;
    --surface-muted: #1a201c;
    --surface-soft: #181e1a;
    --surface-raised: rgba(17, 21, 18, 0.9);
    --panel: #141915;
    --panel-strong: #1a211c;
    --text: #e8ede9;
    --heading: #f4f7f5;
    --body: #cbd4ce;
    --muted: #a8b2ac;
    --subtle: #78837d;
    --border: #26302a;
    --border-soft: #202923;
    --border-strong: #344139;
    --green: #4ed08d;
    --green-soft: #143424;
    --green-border: #245a3a;
    --danger: #f07468;
    --button-text: #d3dbd6;
    --button-hover-text: #f5f8f6;
    --nav-text: #b8c2bc;
    --nav-active-bg: #1c251f;
    --nav-active-text: #f5f8f6;
    --nav-active-border: #28332c;
    --menu-text: #c4cec7;
    --kbd-bg: #1d261f;
    --kbd-text: #9ca8a1;
    --kbd-border: #2b362f;
    --sidebar-bg: rgba(15, 19, 16, 0.92);
    --sidebar-heading: #e4ebe6;
    --sidebar-text: #b6c0ba;
    --sidebar-icon: #d9e2dc;
    --sidebar-subtle: #6f7a73;
    --sidebar-line: #28322b;
    --article-text: #cad4ce;
    --article-muted: #c1cbc5;
    --lead: #b5c1ba;
    --code-bg: #141a16;
    --code-panel-bg: #111713;
    --code-toolbar-bg: #172019;
    --code-text: #dbe6df;
    --code-border: #2a352e;
    --table-bg: #121713;
    --table-head-bg: #18211b;
    --table-text: #c2ccc6;
    --quote-bg: #13261b;
    --quote-text: #cce0d2;
    --step-text: #b2beb7;
    --toc-heading: #d8e0db;
    --toc-text: #a0aba4;
    --scrollbar-thumb: #455149;
    --focus-border: #3a493f;
    --tiny-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1210;
  --shell-bg: linear-gradient(90deg, #0d100e 0, #111512 17%, #111512 83%, #0f1310 100%);
  --surface: #151a17;
  --surface-muted: #1a201c;
  --surface-soft: #181e1a;
  --surface-raised: rgba(17, 21, 18, 0.9);
  --panel: #141915;
  --panel-strong: #1a211c;
  --text: #e8ede9;
  --heading: #f4f7f5;
  --body: #cbd4ce;
  --muted: #a8b2ac;
  --subtle: #78837d;
  --border: #26302a;
  --border-soft: #202923;
  --border-strong: #344139;
  --green: #4ed08d;
  --green-soft: #143424;
  --green-border: #245a3a;
  --danger: #f07468;
  --button-text: #d3dbd6;
  --button-hover-text: #f5f8f6;
  --nav-text: #b8c2bc;
  --nav-active-bg: #1c251f;
  --nav-active-text: #f5f8f6;
  --nav-active-border: #28332c;
  --menu-text: #c4cec7;
  --kbd-bg: #1d261f;
  --kbd-text: #9ca8a1;
  --kbd-border: #2b362f;
  --sidebar-bg: rgba(15, 19, 16, 0.92);
  --sidebar-heading: #e4ebe6;
  --sidebar-text: #b6c0ba;
  --sidebar-icon: #d9e2dc;
  --sidebar-subtle: #6f7a73;
  --sidebar-line: #28322b;
  --article-text: #cad4ce;
  --article-muted: #c1cbc5;
  --lead: #b5c1ba;
  --code-bg: #141a16;
  --code-panel-bg: #111713;
  --code-toolbar-bg: #172019;
  --code-text: #dbe6df;
  --code-border: #2a352e;
  --table-bg: #121713;
  --table-head-bg: #18211b;
  --table-text: #c2ccc6;
  --quote-bg: #13261b;
  --quote-text: #cce0d2;
  --step-text: #b2beb7;
  --toc-heading: #d8e0db;
  --toc-text: #a0aba4;
  --scrollbar-thumb: #455149;
  --focus-border: #3a493f;
  --tiny-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

code,
kbd,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.shell {
  min-height: 100vh;
  background: var(--shell-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  height: 66px;
  padding: 0 34px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  width: 27px;
  height: 27px;
  border-radius: 7px;
}

.language-switcher {
  position: relative;
  min-width: 86px;
  color: var(--button-text);
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary:hover {
  background: var(--surface-muted);
}

.language-switcher svg {
  width: 13px;
  height: 13px;
  color: var(--subtle);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 136px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.language-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--menu-text);
}

.language-menu a:hover {
  background: var(--surface-soft);
}

.language-menu a.active {
  color: var(--green);
  font-weight: 720;
}

.top-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 194px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition:
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.search:focus-within {
  border-color: var(--focus-border);
  background: var(--surface);
  box-shadow: var(--tiny-shadow);
}

.search svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  border-radius: 7px;
  background: var(--kbd-bg);
  color: var(--kbd-text);
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px var(--kbd-border);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(420px, calc(100vh - 96px));
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: auto;
}

.search-results[hidden] {
  display: none;
}

.search-result {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.search-result:hover,
.search-result.active {
  background: var(--green-soft);
}

.search-result span,
.search-result small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result span {
  font-size: 13px;
  font-weight: 720;
}

.search-result small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
}

.search-empty {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 13px;
}

.soft-button,
.primary-button,
.icon-button,
.copy-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
}

.soft-button {
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border-color: var(--border);
  background: transparent;
  color: var(--button-text);
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.soft-button:hover {
  border-color: var(--focus-border);
  background: var(--surface);
  color: var(--button-hover-text);
  box-shadow: var(--tiny-shadow);
}

.soft-button svg {
  width: 17px;
  height: 17px;
}

.icon-link {
  width: 38px;
  padding: 0;
}

.sidebar-toggle {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

.github-button {
  gap: 4px;
}

.github-button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 2px;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
}

.primary-button {
  height: 38px;
  padding: 0 17px;
  border-color: var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  font-weight: 650;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-color: var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.icon-button:hover {
  border-color: var(--focus-border);
  background: var(--surface);
  color: var(--button-hover-text);
  box-shadow: var(--tiny-shadow);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.theme-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

:root[data-theme="light"] .theme-icon-sun,
:root:not([data-theme]) .theme-icon-sun {
  display: inline-flex;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: inline-flex;
}

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

  :root:not([data-theme]) .theme-icon-moon {
    display: inline-flex;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  min-height: calc(100vh - 66px);
}

.sidebar {
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  border-right: 1px solid var(--border);
  background: var(--sidebar-bg);
  overflow: hidden;
}

.sidebar-inner {
  height: 100%;
  overflow: auto;
  padding: 20px 13px 34px 28px;
  scrollbar-color: var(--scrollbar-thumb) transparent;
  scrollbar-width: thin;
}

.sidebar-group {
  margin: 0 0 26px;
}

.sidebar-directory {
  margin: 0 0 24px;
}

.sidebar-directory ul,
.directory-list,
.directory-group ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-details {
  margin: 0 0 4px;
}

.directory-summary {
  min-height: 37px;
  padding: 7px 8px 7px 0;
  color: var(--nav-text);
  font-weight: 700;
}

.directory-summary.active {
  color: var(--green);
  font-weight: 760;
}

.directory-group {
  margin: 8px 0 14px;
}

.directory-group:last-child {
  margin-bottom: 4px;
}

.directory-group + .directory-group {
  margin-top: 20px;
}

.directory-group-label {
  display: block;
  min-height: 20px;
  padding: 2px 8px 5px 0;
  color: var(--sidebar-subtle);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.sidebar-group h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 720;
  color: var(--sidebar-heading);
}

.group-icon {
  width: 16px;
  height: 16px;
  color: var(--sidebar-icon);
  flex: 0 0 auto;
}

.sidebar-group ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 33px;
  gap: 8px;
  padding: 6px 8px 6px 0;
  color: var(--sidebar-text);
  line-height: 1.35;
}

.sidebar-link span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

.sidebar-link svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--sidebar-subtle);
  flex: 0 0 auto;
  transition: transform 150ms ease;
}

.sidebar-link.active {
  color: var(--green);
  font-weight: 720;
}

.sidebar-details {
  margin: 0;
}

.sidebar-details summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  border-radius: 7px;
}

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

.sidebar-details summary:hover {
  color: var(--sidebar-heading);
}

.sidebar-details[open] > summary {
  color: var(--sidebar-heading);
  font-weight: 620;
}

.sidebar-details[open] > summary svg {
  transform: rotate(90deg);
}

.sidebar-details:not([open]) > .sidebar-children {
  display: none;
}

.sidebar-children {
  display: grid;
  gap: 2px;
  position: relative;
  margin: 1px 0 0;
  padding: 0 0 0 20px;
  border-left: 0;
  overflow: visible;
}

.sidebar-directory .sidebar-children {
  padding-left: 18px;
}

.sidebar-children::before {
  position: absolute;
  top: 4px;
  bottom: 6px;
  left: 5px;
  width: 1px;
  content: "";
  border-radius: 999px;
  background: var(--sidebar-line);
}

.sidebar-directory .sidebar-children::before {
  left: 8px;
}

.sidebar-directory .directory-children {
  padding-left: 13px;
}

.sidebar-directory .directory-children::before {
  display: none;
}

.sidebar-details[open] > .sidebar-children {
  margin-bottom: 7px;
}

.sidebar-child-link {
  display: block;
  min-height: 29px;
  padding: 5px 8px 5px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

.sidebar-child-link:hover {
  color: var(--green);
}

.sidebar-child-link.active {
  color: var(--green);
  font-weight: 720;
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-link svg {
    transition: none;
  }
}

.doc-main {
  min-width: 0;
  padding: 62px 44px 56px;
}

.doc-article {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--body);
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
}

h1,
h2,
h3,
h4,
h5,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--heading);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: 0;
}

.lead {
  margin: 10px 0 0;
  color: var(--lead);
  font-size: 20px;
  line-height: 1.48;
}

.copy-page {
  gap: 9px;
  height: 40px;
  min-width: 118px;
  margin-top: 31px;
  padding: 0 13px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--button-text);
  box-shadow: var(--tiny-shadow);
}

.copy-page.copied {
  border-color: var(--green-border);
  background: var(--green-soft);
  color: var(--green);
}

.copy-page svg {
  width: 17px;
  height: 17px;
}

.doc-markdown {
  color: var(--article-text);
  font-size: 16px;
  line-height: 1.78;
}

.doc-article > p,
.doc-article section > p,
.doc-markdown > p {
  margin: 0 0 18px;
  color: var(--article-muted);
  font-size: 16px;
  line-height: 1.78;
}

.doc-markdown a {
  color: var(--green);
  font-weight: 640;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.doc-article :not(pre) > code,
.doc-markdown :not(pre) > code {
  padding: 2px 6px;
  border: 1px solid var(--code-border);
  border-radius: 6px;
  background: var(--code-bg);
  color: var(--code-text);
  font-size: 0.88em;
  white-space: break-spaces;
}

.doc-article section,
.doc-markdown > h2 {
  scroll-margin-top: 88px;
}

.doc-article h2,
.doc-markdown > h2 {
  margin: 52px 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  color: var(--heading);
  font-size: 25px;
  line-height: 1.28;
  font-weight: 760;
  letter-spacing: 0;
}

.doc-markdown > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.doc-article h3,
.doc-markdown > h3 {
  margin: 30px 0 9px;
  color: var(--heading);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 720;
}

.doc-article h4,
.doc-markdown > h4 {
  margin: 24px 0 8px;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.doc-article h5,
.doc-markdown > h5 {
  margin: 18px 0 6px;
  color: var(--heading);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 680;
}

.doc-markdown > ul,
.doc-markdown > ol {
  margin: 0 0 22px;
  padding-left: 24px;
  color: var(--article-text);
}

.doc-markdown > ul {
  list-style: disc;
}

.doc-markdown > ol {
  list-style: decimal;
}

.doc-markdown li {
  margin: 7px 0;
  padding-left: 2px;
}

.doc-markdown li::marker {
  color: var(--green);
  font-weight: 720;
}

.doc-markdown > table {
  width: 100%;
  max-width: 100%;
  margin: 18px 0 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  background: var(--table-bg);
  box-shadow: var(--tiny-shadow);
  overflow: hidden;
}

.doc-markdown th,
.doc-markdown td {
  padding: 11px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.doc-markdown th:first-child,
.doc-markdown td:first-child {
  width: 28%;
}

.doc-markdown th {
  background: var(--table-head-bg);
  color: var(--heading);
  font-size: 13px;
  font-weight: 740;
  line-height: 1.45;
}

.doc-markdown td {
  color: var(--table-text);
  font-size: 14px;
  line-height: 1.62;
}

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

.doc-markdown th:last-child,
.doc-markdown td:last-child {
  border-right: 0;
}

.doc-markdown > hr {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.doc-markdown > blockquote {
  margin: 22px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: var(--quote-bg);
  color: var(--quote-text);
}

.provider-import-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 24px 0 34px;
}

.doc-markdown a.provider-import-button {
  --provider-brand: #17201c;
  --provider-brand-2: #36624d;
  --provider-brand-3: #dff8eb;
  --provider-accent: rgba(255, 255, 255, 0.72);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 13px 16px 13px 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--provider-brand-2) 42%, transparent);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 22%, color-mix(in srgb, var(--provider-brand-3) 34%, transparent) 0, transparent 30%),
    radial-gradient(circle at 96% 96%, color-mix(in srgb, var(--provider-brand-2) 44%, transparent) 0, transparent 46%),
    linear-gradient(135deg, var(--provider-brand), color-mix(in srgb, var(--provider-brand-2) 88%, #111 12%));
  box-shadow:
    0 10px 26px color-mix(in srgb, var(--provider-brand) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  text-decoration-thickness: 0;
  transform: translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.doc-markdown a.provider-import-button::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: -1;
  width: 58%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-18deg);
  transition: transform 620ms ease;
}

.doc-markdown a.provider-import-button::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  z-index: -2;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--provider-brand-3) 38%, transparent), transparent 68%);
  opacity: 0.82;
  transform: scale(0.96);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.doc-markdown a.provider-import-button:hover,
.doc-markdown a.provider-import-button:focus-visible {
  border-color: color-mix(in srgb, var(--provider-brand-3) 68%, rgba(255, 255, 255, 0.34));
  box-shadow:
    0 16px 34px color-mix(in srgb, var(--provider-brand) 30%, transparent),
    0 0 0 1px color-mix(in srgb, var(--provider-brand-3) 26%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}

.doc-markdown a.provider-import-button:hover::before,
.doc-markdown a.provider-import-button:focus-visible::before {
  transform: translateX(320%) skewX(-18deg);
}

.doc-markdown a.provider-import-button:hover::after,
.doc-markdown a.provider-import-button:focus-visible::after {
  opacity: 1;
  transform: scale(1.08);
}

.doc-markdown a.provider-import-button:active {
  transform: translateY(-1px) scale(0.992);
}

.provider-import-icon-shell {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(0) scale(1);
  transition: transform 220ms ease;
}

.provider-import-icon-shell::before {
  content: none;
}

.provider-import-icon-shell img {
  box-sizing: border-box;
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 12px;
  background: color-mix(in srgb, #ffffff 84%, var(--provider-brand-3));
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.provider-import-mark {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--provider-brand-3) 36%, rgba(255, 255, 255, 0.88)),
    color-mix(in srgb, var(--provider-brand-2) 72%, #111111 28%)
  );
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  color: #ffffff;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.doc-markdown a.provider-import-button:hover .provider-import-icon-shell,
.doc-markdown a.provider-import-button:focus-visible .provider-import-icon-shell {
  transform: rotate(-3deg) scale(1.06);
}

.doc-markdown a.provider-import-button:hover .provider-import-icon-shell img,
.doc-markdown a.provider-import-button:focus-visible .provider-import-icon-shell img,
.doc-markdown a.provider-import-button:hover .provider-import-mark,
.doc-markdown a.provider-import-button:focus-visible .provider-import-mark {
  border-color: color-mix(in srgb, var(--provider-brand-3) 74%, rgba(255, 255, 255, 0.54));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    0 0 0 4px color-mix(in srgb, var(--provider-brand-3) 16%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.provider-import-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 0;
}

.provider-import-name {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-import-meta {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-markdown a.provider-import-button.provider-openai {
  --provider-brand: #0b0f0e;
  --provider-brand-2: #39413e;
  --provider-brand-3: #f2f5f1;
}

.doc-markdown a.provider-import-button.provider-anthropic {
  --provider-brand: #3f2118;
  --provider-brand-2: #c56a4b;
  --provider-brand-3: #ffd1bf;
}

.doc-markdown a.provider-import-button.provider-gemini {
  --provider-brand: #1a73e8;
  --provider-brand-2: #a142f4;
  --provider-brand-3: #fbbc04;
}

.doc-markdown a.provider-import-button.provider-openrouter {
  --provider-brand: #111722;
  --provider-brand-2: #66758c;
  --provider-brand-3: #d9e3f1;
}

.doc-markdown a.provider-import-button.provider-runapi {
  --provider-brand: #070707;
  --provider-brand-2: #747474;
  --provider-brand-3: #f3f3f3;
}

.doc-markdown a.provider-import-button.provider-teamorouter {
  --provider-brand: #0c0c0f;
  --provider-brand-2: #555b64;
  --provider-brand-3: #f4f4f5;
}

.doc-markdown a.provider-import-button.provider-unity2 {
  --provider-brand: #050505;
  --provider-brand-2: #7a7f85;
  --provider-brand-3: #f4f5f6;
}

.doc-markdown a.provider-import-button.provider-code0 {
  --provider-brand: #101214;
  --provider-brand-2: #267dff;
  --provider-brand-3: #d8e8ff;
}

.doc-markdown a.provider-import-button.provider-claudeapi {
  --provider-brand: #0d1b2a;
  --provider-brand-2: #2f8f83;
  --provider-brand-3: #d7fff8;
}

.doc-markdown a.provider-import-button.provider-deepseek {
  --provider-brand: #173aa8;
  --provider-brand-2: #4e69ff;
  --provider-brand-3: #d6deff;
}

.doc-markdown a.provider-import-button.provider-zhipu-coding {
  --provider-brand: #0d4fd7;
  --provider-brand-2: #22b8f0;
  --provider-brand-3: #d7f2ff;
}

.doc-markdown a.provider-import-button.provider-zhipu-general {
  --provider-brand: #1728a6;
  --provider-brand-2: #5f6dff;
  --provider-brand-3: #e0e4ff;
}

.doc-markdown a.provider-import-button.provider-zai-coding {
  --provider-brand: #111111;
  --provider-brand-2: #49515d;
  --provider-brand-3: #f2f5f8;
}

.doc-markdown a.provider-import-button.provider-zai-general {
  --provider-brand: #0d1424;
  --provider-brand-2: #3267ac;
  --provider-brand-3: #dce8ff;
}

.doc-markdown a.provider-import-button.provider-mistral {
  --provider-brand: #581900;
  --provider-brand-2: #ff8a00;
  --provider-brand-3: #ffd84f;
}

.doc-markdown a.provider-import-button.provider-moonshot {
  --provider-brand: #10133a;
  --provider-brand-2: #7465ff;
  --provider-brand-3: #e4ddff;
}

.doc-markdown a.provider-import-button.provider-moonshot-global {
  --provider-brand: #0f1f42;
  --provider-brand-2: #4f7cff;
  --provider-brand-3: #dce7ff;
}

.doc-markdown a.provider-import-button.provider-kimi-coding {
  --provider-brand: #111237;
  --provider-brand-2: #5c6bff;
  --provider-brand-3: #dfe4ff;
}

.doc-markdown a.provider-import-button.provider-bailian {
  --provider-brand: #5a2300;
  --provider-brand-2: #ff6a00;
  --provider-brand-3: #ffd1a3;
}

.doc-markdown a.provider-import-button.provider-siliconflow {
  --provider-brand: #041f1b;
  --provider-brand-2: #00c2a8;
  --provider-brand-3: #b4fff4;
}

.doc-markdown > pre,
.doc-markdown > .code-panel {
  margin: 22px 0 32px;
}

.code-panel {
  margin: 22px 0 32px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--code-panel-bg);
  box-shadow: var(--tiny-shadow);
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 17px;
  border-bottom: 1px solid var(--border);
  background: var(--code-toolbar-bg);
  color: var(--article-text);
  font-size: 12px;
}

.code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.code-copy:hover {
  color: var(--button-hover-text);
}

.code-copy.copied {
  color: var(--green);
}

.code-copy.copy-failed {
  color: var(--danger);
}

.code-copy .copy-icon,
.code-copy .success-icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.code-copy svg {
  width: 18px;
  height: 18px;
}

.code-copy .success-icon {
  opacity: 0;
  transform: scale(0.72);
}

.code-copy.copied .copy-icon {
  opacity: 0;
  transform: scale(0.72);
}

.code-copy.copied .success-icon {
  opacity: 1;
  transform: scale(1);
}

pre,
.code-content {
  margin: 0;
  padding: 18px 18px 20px;
  overflow-x: auto;
  background: var(--code-panel-bg) !important;
  color: var(--code-text);
  font-size: 14px;
  line-height: 1.7;
}

pre.astro-code,
pre.astro-code span {
  color: var(--shiki-light, var(--code-text));
}

:root[data-theme="dark"] pre.astro-code,
:root[data-theme="dark"] pre.astro-code span {
  color: var(--shiki-dark, var(--code-text));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) pre.astro-code,
  :root:not([data-theme]) pre.astro-code span {
    color: var(--shiki-dark, var(--code-text));
  }
}

.code-content code,
pre code {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}

.code-content code span,
pre code span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 30px;
}

.step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  font-weight: 760;
}

.step p {
  margin: 0;
  color: var(--step-text);
}

.toc {
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  padding: 21px 34px 0 20px;
  border-left: 1px solid var(--border);
}

.toc-card {
  position: sticky;
  top: 87px;
}

.toc h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  color: var(--toc-heading);
  font-size: 14px;
  font-weight: 560;
}

.toc h2 svg {
  width: 16px;
  height: 16px;
}

.toc nav {
  display: grid;
  gap: 4px;
}

.toc a {
  --toc-dot-left: 0px;
  position: relative;
  display: block;
  padding: 5px 0 5px 21px;
  color: var(--toc-text);
  line-height: 1.35;
}

.toc a.toc-depth-3 {
  --toc-dot-left: 12px;
  padding-left: 33px;
  font-size: 13.5px;
}

.toc a.toc-depth-4 {
  --toc-dot-left: 24px;
  padding-left: 45px;
  font-size: 13px;
}

.toc a.toc-depth-5,
.toc a.toc-depth-6 {
  --toc-dot-left: 36px;
  padding-left: 57px;
  font-size: 12.5px;
}

.toc a.active {
  color: var(--green);
  font-weight: 720;
}

.toc a.active::before {
  position: absolute;
  left: var(--toc-dot-left);
  top: 13px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

@media (max-width: 1220px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .content-grid {
    grid-template-columns: 228px minmax(0, 1fr);
  }

  .toc {
    display: none;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    padding: 0 18px;
  }

  .hide-small {
    display: none;
  }

  .search {
    width: min(100%, 230px);
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  .content-grid {
    display: block;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 66px 0 0;
    z-index: 18;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 66px;
    bottom: 0;
    left: 0;
    z-index: 19;
    width: min(324px, calc(100vw - 48px));
    height: auto;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    box-shadow: var(--shadow);
    transform: translateX(calc(-100% - 10px));
    transition: transform 180ms cubic-bezier(0.2, 0, 0.13, 1);
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-inner {
    display: block;
    height: 100%;
    padding: 20px 18px 28px 24px;
    overflow: auto;
  }

  .sidebar-group {
    min-width: 0;
    margin: 0 0 24px;
  }

  .doc-main {
    padding: 44px 22px 48px;
  }

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

  .copy-page {
    width: max-content;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: auto;
    min-height: 64px;
    grid-template-columns: auto auto 1fr;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 20px;
  }

  .top-actions {
    justify-self: end;
    height: 40px;
    padding: 2px;
  }

  .search {
    display: none;
  }

  .sidebar-backdrop {
    top: 64px;
  }

  .sidebar {
    top: 64px;
  }

  .soft-button {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .soft-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .github-button strong {
    display: none;
  }

  .content-grid {
    min-height: calc(100vh - 64px);
  }

  h1 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .doc-main {
    padding-inline: 18px;
  }

}

@media (max-width: 520px) {
  .provider-import-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doc-markdown a.provider-import-button {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 92px;
    padding: 12px;
  }

  .provider-import-icon-shell {
    width: 44px;
    height: 44px;
  }

  .provider-import-icon-shell img,
  .provider-import-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .doc-markdown a.provider-import-button,
  .doc-markdown a.provider-import-button::before,
  .doc-markdown a.provider-import-button::after,
  .provider-import-icon-shell {
    transition: none;
  }

  .doc-markdown a.provider-import-button:hover,
  .doc-markdown a.provider-import-button:focus-visible,
  .doc-markdown a.provider-import-button:hover .provider-import-icon-shell,
  .doc-markdown a.provider-import-button:focus-visible .provider-import-icon-shell {
    transform: none;
  }
}
