/*fern-site-stylesheet*/@font-face {
    font-family: 'Space Grotesk';
    src: url('/_fern-files/mixlayer.docs.buildwithfern.com/0640890476fc1198ab4de571fb658de443c4d85b66466ec09534a8737ab1ce9d/docs/assets/fonts/space-grotesk-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/_fern-files/mixlayer.docs.buildwithfern.com/0640890476fc1198ab4de571fb658de443c4d85b66466ec09534a8737ab1ce9d/docs/assets/fonts/space-grotesk-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/_fern-files/mixlayer.docs.buildwithfern.com/83c005d49d8a6a50474c73a5a36ac0468076e9c4a29da7bdb14995d80560a5be/docs/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 900px;
  --sidebar-width: 262px;
  --page-width: 100vw;
  --logo-height: 27px;
  --font-body: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'Space Grotesk', 'Space Grotesk', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

:root {
  --typography-body-font-family: var(--font-body);
  --typography-heading-font-family: var(--font-heading);
  --typography-code-font-family: var(--font-code);
}


.light, :root {
  --accent-1: #fffcfc;
  --accent-2: #fff7f8;
  --accent-3: #feeaec;
  --accent-4: #ffdde0;
  --accent-5: #fecfd4;
  --accent-6: #f7c0c6;
  --accent-7: #eeadb4;
  --accent-8: #e4939e;
  --accent-9: #b00042;
  --accent-10: #9d0035;
  --accent-11: #c72954;
  --accent-12: #63192a;

  --accent-a1: #ff000003;
  --accent-a2: #ff002008;
  --accent-a3: #f3001915;
  --accent-a4: #ff001722;
  --accent-a5: #fa001b30;
  --accent-a6: #df00193f;
  --accent-a7: #cb001652;
  --accent-a8: #c0001a6c;
  --accent-a9: #b00042;
  --accent-a10: #9d0035;
  --accent-a11: #bc0033d6;
  --accent-a12: #520013e6;

  --accent-contrast: #fff;
  --accent-surface: #fff5f6cc;
  --accent-indicator: #b00042;
  --accent-track: #b00042;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0032 11.33);
      --accent-2: oklch(98.3% 0.0081 11.33);
      --accent-3: oklch(95.4% 0.0217 11.33);
      --accent-4: oklch(92.8% 0.041 11.33);
      --accent-5: oklch(89.6% 0.0533 11.33);
      --accent-6: oklch(85.8% 0.0641 11.33);
      --accent-7: oklch(81% 0.0774 11.33);
      --accent-8: oklch(74.9% 0.0984 11.33);
      --accent-9: oklch(48.3% 0.1931 11.33);
      --accent-10: oklch(43.2% 0.1931 11.33);
      --accent-11: oklch(54.9% 0.1931 11.33);
      --accent-12: oklch(34.1% 0.1066 11.33);

      --accent-a1: color(display-p3 0.6745 0.0235 0.0235 / 0.012);
      --accent-a2: color(display-p3 0.8784 0.0196 0.1451 / 0.032);
      --accent-a3: color(display-p3 0.8039 0.0078 0.0588 / 0.079);
      --accent-a4: color(display-p3 0.8196 0.0078 0.0667 / 0.13);
      --accent-a5: color(display-p3 0.8275 0.0039 0.0706 / 0.181);
      --accent-a6: color(display-p3 0.7255 0.0039 0.0863 / 0.24);
      --accent-a7: color(display-p3 0.6588 0.0039 0.0667 / 0.31);
      --accent-a8: color(display-p3 0.6275 0.0039 0.0784 / 0.408);
      --accent-a9: color(display-p3 0.5765 0 0.1608 / 0.875);
      --accent-a10: color(display-p3 0.5137 0 0.1216 / 0.895);
      --accent-a11: color(display-p3 0.6353 0 0.1451 / 0.777);
      --accent-a12: color(display-p3 0.2667 0 0.0549 / 0.879);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9961 0.9647 0.9647 / 0.8);
      --accent-indicator: oklch(48.3% 0.1931 11.33);
      --accent-track: oklch(48.3% 0.1931 11.33);
    }
  }
}


.light, :root {
  --grayscale-1: #fdfcfd;
  --grayscale-2: #faf9fb;
  --grayscale-3: #f2eff3;
  --grayscale-4: #eae7ec;
  --grayscale-5: #e3dfe6;
  --grayscale-6: #dbd8e0;
  --grayscale-7: #d0cdd7;
  --grayscale-8: #bcbac7;
  --grayscale-9: #8e8c99;
  --grayscale-10: #84828e;
  --grayscale-11: #65636d;
  --grayscale-12: #211f26;

  --grayscale-a1: #55005503;
  --grayscale-a2: #2b005506;
  --grayscale-a3: #30004010;
  --grayscale-a4: #20003618;
  --grayscale-a5: #20003820;
  --grayscale-a6: #14003527;
  --grayscale-a7: #10003332;
  --grayscale-a8: #08003145;
  --grayscale-a9: #05001d73;
  --grayscale-a10: #0500197d;
  --grayscale-a11: #0400119c;
  --grayscale-a12: #020008e0;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #8e8c99;
  --grayscale-track: #8e8c99;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.991 0.988 0.992);
      --grayscale-2: color(display-p3 0.98 0.976 0.984);
      --grayscale-3: color(display-p3 0.946 0.938 0.952);
      --grayscale-4: color(display-p3 0.915 0.906 0.925);
      --grayscale-5: color(display-p3 0.886 0.876 0.901);
      --grayscale-6: color(display-p3 0.856 0.846 0.875);
      --grayscale-7: color(display-p3 0.814 0.804 0.84);
      --grayscale-8: color(display-p3 0.735 0.728 0.777);
      --grayscale-9: color(display-p3 0.555 0.549 0.596);
      --grayscale-10: color(display-p3 0.514 0.508 0.552);
      --grayscale-11: color(display-p3 0.395 0.388 0.424);
      --grayscale-12: color(display-p3 0.128 0.122 0.147);

      --grayscale-a1: #55005503;
      --grayscale-a2: #2b005506;
      --grayscale-a3: #30004010;
      --grayscale-a4: #20003618;
      --grayscale-a5: #20003820;
      --grayscale-a6: #14003527;
      --grayscale-a7: #10003332;
      --grayscale-a8: #08003145;
      --grayscale-a9: #05001d73;
      --grayscale-a10: #0500197d;
      --grayscale-a11: #0400119c;
      --grayscale-a12: #020008e0;

      --grayscale-contrast: #000;
      --grayscale-surface: color(display-p3 1 1 1 / 80%);
      --grayscale-indicator: color(display-p3 0.555 0.549 0.596);
      --grayscale-track: color(display-p3 0.555 0.549 0.596);
    }
  }
}


.dark {
  --accent-1: #140c0e;
  --accent-2: #201216;
  --accent-3: #3a1422;
  --accent-4: #50102b;
  --accent-5: #5f1734;
  --accent-6: #6f2441;
  --accent-7: #893354;
  --accent-8: #b1426c;
  --accent-9: #ff72a5;
  --accent-10: #f2669a;
  --accent-11: #ff8ab6;
  --accent-12: #ffd1df;

  --accent-a1: #e9000007;
  --accent-a2: #f4415114;
  --accent-a3: #fd2f6e2f;
  --accent-a4: #ff167046;
  --accent-a5: #ff297956;
  --accent-a6: #ff458867;
  --accent-a7: #fe569483;
  --accent-a8: #fe5a98ad;
  --accent-a9: #ff72a5;
  --accent-a10: #fe6aa1f2;
  --accent-a11: #ff8ab6;
  --accent-a12: #ffd1df;

  --accent-contrast: #fff;
  --accent-surface: #32161b80;
  --accent-indicator: #ff72a5;
  --accent-track: #ff72a5;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(16.5% 0.0156 359.8);
      --accent-2: oklch(20.3% 0.0257 359.8);
      --accent-3: oklch(25.6% 0.0612 359.8);
      --accent-4: oklch(29.4% 0.0976 359.8);
      --accent-5: oklch(33.4% 0.1066 359.8);
      --accent-6: oklch(38.4% 0.1105 359.8);
      --accent-7: oklch(45.3% 0.1223 359.8);
      --accent-8: oklch(54.3% 0.1501 359.8);
      --accent-9: oklch(73.5% 0.1782 359.8);
      --accent-10: oklch(69.9% 0.1782 359.8);
      --accent-11: oklch(78.8% 0.1782 359.8);
      --accent-12: oklch(90.8% 0.057 359.8);

      --accent-a1: color(display-p3 0.9922 0 0 / 0.021);
      --accent-a2: color(display-p3 0.9922 0.349 0.3608 / 0.067);
      --accent-a3: color(display-p3 1 0.251 0.4784 / 0.162);
      --accent-a4: color(display-p3 1 0.1647 0.4863 / 0.245);
      --accent-a5: color(display-p3 1 0.251 0.5216 / 0.303);
      --accent-a6: color(display-p3 1 0.3451 0.5804 / 0.366);
      --accent-a7: color(display-p3 1 0.4157 0.6196 / 0.469);
      --accent-a8: color(display-p3 1 0.4275 0.6353 / 0.623);
      --accent-a9: color(display-p3 1 0.5098 0.6863 / 0.93);
      --accent-a10: color(display-p3 1 0.4863 0.6745 / 0.876);
      --accent-a11: color(display-p3 1 0.5961 0.7529 / 0.938);
      --accent-a12: color(display-p3 1 0.851 0.902 / 0.971);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1804 0.0863 0.102 / 0.5);
      --accent-indicator: oklch(73.5% 0.1782 359.8);
      --accent-track: oklch(73.5% 0.1782 359.8);
    }
  }
}


.dark {
  --grayscale-1: #111113;
  --grayscale-2: #18191b;
  --grayscale-3: #212225;
  --grayscale-4: #272a2d;
  --grayscale-5: #2e3135;
  --grayscale-6: #363a3f;
  --grayscale-7: #43484e;
  --grayscale-8: #5a6169;
  --grayscale-9: #696e77;
  --grayscale-10: #777b84;
  --grayscale-11: #b0b4ba;
  --grayscale-12: #edeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #d8f4f609;
  --grayscale-a3: #ddeaf814;
  --grayscale-a4: #d3edf81d;
  --grayscale-a5: #d9edfe25;
  --grayscale-a6: #d6ebfd30;
  --grayscale-a7: #d9edff40;
  --grayscale-a8: #d9edff5d;
  --grayscale-a9: #dfebfd6d;
  --grayscale-a10: #e5edfd7b;
  --grayscale-a11: #f1f7feb5;
  --grayscale-a12: #fcfdffef;

  --grayscale-contrast: #fff;
  --grayscale-surface: rgba(0, 0, 0, 0.05);
  --grayscale-indicator: #696e77;
  --grayscale-track: #696e77;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.074);
      --grayscale-2: color(display-p3 0.095 0.098 0.105);
      --grayscale-3: color(display-p3 0.13 0.135 0.145);
      --grayscale-4: color(display-p3 0.156 0.163 0.176);
      --grayscale-5: color(display-p3 0.183 0.191 0.206);
      --grayscale-6: color(display-p3 0.215 0.226 0.244);
      --grayscale-7: color(display-p3 0.265 0.28 0.302);
      --grayscale-8: color(display-p3 0.357 0.381 0.409);
      --grayscale-9: color(display-p3 0.415 0.431 0.463);
      --grayscale-10: color(display-p3 0.469 0.483 0.514);
      --grayscale-11: color(display-p3 0.692 0.704 0.728);
      --grayscale-12: color(display-p3 0.93 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #d8f4f609;
      --grayscale-a3: #ddeaf814;
      --grayscale-a4: #d3edf81d;
      --grayscale-a5: #d9edfe25;
      --grayscale-a6: #d6ebfd30;
      --grayscale-a7: #d9edff40;
      --grayscale-a8: #d9edff5d;
      --grayscale-a9: #dfebfd6d;
      --grayscale-a10: #e5edfd7b;
      --grayscale-a11: #f1f7feb5;
      --grayscale-a12: #fcfdffef;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.415 0.431 0.463);
      --grayscale-track: color(display-p3 0.415 0.431 0.463);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(176, 0, 66, 1);
  --background: rgba(255, 255, 255, 1);
  --border: rgba(229, 231, 235, 1);
  --sidebar-background: rgba(249, 250, 251, 1);
  --header-background: rgba(255, 255, 255, 1);
  --card-background: rgba(243, 244, 246, 1);
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(255, 114, 165, 1);
  --background: rgba(14, 14, 17, 1);
  --border: rgba(42, 42, 47, 1);
  --sidebar-background: rgba(14, 14, 17, 1);
  --header-background: rgba(14, 14, 17, 1);
  --card-background: rgba(23, 23, 27, 1);
  --theme-color: #0e0e11;
}

:root {
  --ml-bg: #ffffff;
  --ml-ink: #1c1c20;
  --ml-muted: #5f6068;
  --ml-faint: #777881;
  --ml-line: rgba(14, 14, 17, 0.12);
  --ml-panel: rgba(14, 14, 17, 0.05);
  --ml-header: rgba(255, 255, 255, 0.85);
  --ml-search: rgba(14, 14, 17, 0.04);
  --ml-code: #17171b;
  --ml-accent: #ff2e7e;
  --ml-radius: 3px;
  color-scheme: light;
}

.dark {
  --ml-bg: #0e0e11;
  --ml-ink: #f3f1ec;
  --ml-muted: #a9a9b0;
  --ml-faint: #6f6f76;
  --ml-line: rgba(255, 255, 255, 0.1);
  --ml-panel: rgba(255, 255, 255, 0.06);
  --ml-header: rgba(14, 14, 17, 0.85);
  --ml-search: rgba(255, 255, 255, 0.05);
  color-scheme: dark;
}

html,
body {
  background: var(--ml-bg);
  color: var(--ml-ink);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
}

body ::selection {
  background: var(--ml-accent);
  color: #faf6ee;
}

.fern-background-image {
  background-color: var(--ml-bg);
  background-image: none;
}

.fern-header-content,
.fern-header-tabs {
  border-bottom: 1px solid var(--ml-line);
  background: var(--ml-header);
  backdrop-filter: blur(10px);
}

.fern-header-search-bar,
.fern-button,
.fern-code-block,
.fern-callout,
.fern-table-root {
  border-radius: var(--ml-radius);
}

.fern-header-search-bar {
  max-width: 520px;
  border-color: var(--ml-line);
  background: var(--ml-search);
  color: var(--ml-muted);
}

.fern-logo-text {
  margin-left: 11px;
  color: var(--ml-ink);
  font: 600 21px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}

.fern-sidebar-desktop {
  border-right: 1px solid var(--ml-line);
  background: var(--ml-bg);
}

.fern-sidebar-heading-content {
  color: var(--ml-faint);
  font: 600 10.5px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fern-sidebar-link {
  border-radius: 0;
  color: var(--ml-muted);
  font-size: 14.5px;
  font-weight: 300;
}

.fern-sidebar-link:hover,
.fern-sidebar-link[data-state="active"] {
  background: var(--ml-panel);
  color: var(--ml-ink);
}
.fern-sidebar-link:focus-visible {
  background: var(--ml-panel);
  color: var(--ml-ink); outline: none;
}

.fern-layout-guide {
  padding-top: clamp(36px, 4vw, 64px);
}

.fern-page-heading,
.fern-prose :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ml-ink);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fern-page-heading {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.fern-prose h2 {
  margin-top: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ml-line);
  font-size: clamp(22px, 2.6vw, 28px);
}

.fern-prose h3 {
  margin-top: 40px;
  font-size: clamp(18px, 2vw, 21px);
}

.fern-prose :is(p, li, td, blockquote) {
  color: var(--ml-muted);
  font-size: clamp(15px, 1.4vw, 16.5px);
  font-weight: 300;
  line-height: 1.7;
}

.fern-prose strong {
  color: var(--ml-ink);
  font-weight: 600;
}

.fern-mdx-link {
  color: var(--ml-ink);
  font-weight: inherit;
  text-decoration-color: var(--ml-accent);
  text-decoration-thickness: 1.5px !important;
}

.fern-mdx-link:hover {
  color: var(--ml-ink);
}
.fern-mdx-link:focus-visible {
  color: var(--ml-ink); outline: none;
}

.fern-prose :not(pre) > code {
  border-radius: var(--ml-radius);
  background: var(--ml-panel);
  color: var(--ml-ink);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}

.fern-code-block {
  border-color: var(--ml-line);
  background: var(--ml-code);
  box-shadow: none;
}

.fern-code-block :is(pre, code) {
  color: #c9c9ce;
  font-family: "JetBrains Mono", monospace;
}

.fern-code-block span {
  font-family: "JetBrains Mono", monospace;
}

.fern-table-root {
  border-color: var(--ml-line);
  background: transparent;
  box-shadow: none;
}

.fern-table thead tr th {
  background: transparent;
  color: var(--ml-ink);
  font: 600 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fern-table td,
.fern-table th {
  border-color: var(--ml-line);
}

.qwen-model-table .fern-table th:last-child,
.qwen-model-table .fern-table td:last-child {
  width: 290px;
  white-space: nowrap;
}

.fern-callout {
  border-color: var(--ml-line);
  background: var(--ml-panel);
}

.fern-callout p {
  margin-block: 0;
}

.fern-layout-footer {
  border-top-color: var(--ml-line);
  background: var(--ml-bg);
  color: var(--ml-faint);
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 767px) {

  .fern-layout-guide {
    padding-top: 36px;
  }

}
