/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 100vw;
  --logo-height: 20px;
  --font-body: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: 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: #f6f7f9;
  --accent-2: #f1f1fb;
  --accent-3: #e9e9fd;
  --accent-4: #dedeff;
  --accent-5: #d2d1ff;
  --accent-6: #c4c1ff;
  --accent-7: #b0aaff;
  --accent-8: #978aff;
  --accent-9: #610bef;
  --accent-10: #5300d3;
  --accent-11: #5f22e4;
  --accent-12: #301977;

  --accent-a1: #50ce0006;
  --accent-a2: #1546990a;
  --accent-a3: #0a24e312;
  --accent-a4: #0414ff1d;
  --accent-a5: #0206ff29;
  --accent-a6: #0902ff39;
  --accent-a7: #1103ff51;
  --accent-a8: #1d02ff72;
  --accent-a9: #5a00eef4;
  --accent-a10: #5300d3;
  --accent-a11: #4801e0dd;
  --accent-a12: #1a0168e6;

  --accent-contrast: #fff;
  --accent-surface: #efeffacc;
  --accent-indicator: #610bef;
  --accent-track: #610bef;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(97.5% 0.0039 285.8);
      --accent-2: oklch(96.1% 0.0138 285.8);
      --accent-3: oklch(94% 0.0263 285.8);
      --accent-4: oklch(91.2% 0.0531 285.8);
      --accent-5: oklch(88% 0.079 285.8);
      --accent-6: oklch(83.9% 0.1042 285.8);
      --accent-7: oklch(78.1% 0.1323 285.8);
      --accent-8: oklch(70.1% 0.1766 285.8);
      --accent-9: oklch(48.5% 0.2769 285.8);
      --accent-10: oklch(43.3% 0.2572 285.8);
      --accent-11: oklch(48.3% 0.2572 285.8);
      --accent-12: oklch(31.4% 0.1474 285.8);

      --accent-a1: color(display-p3 0.1961 0.7804 0.0196 / 0.02);
      --accent-a2: color(display-p3 0 0.2118 0.5608 / 0.036);
      --accent-a3: color(display-p3 0.0039 0.1098 0.8235 / 0.068);
      --accent-a4: color(display-p3 0 0.0627 0.9255 / 0.112);
      --accent-a5: color(display-p3 0 0.0196 0.9255 / 0.16);
      --accent-a6: color(display-p3 0.0078 0.0039 0.9255 / 0.222);
      --accent-a7: color(display-p3 0.0471 0.0039 0.9373 / 0.315);
      --accent-a8: color(display-p3 0.0902 0.0039 0.9373 / 0.444);
      --accent-a9: color(display-p3 0.2941 0 0.8941 / 0.92);
      --accent-a10: color(display-p3 0.2667 0 0.7882 / 0.964);
      --accent-a11: color(display-p3 0.2314 0 0.8353 / 0.847);
      --accent-a12: color(display-p3 0.0824 0 0.3843 / 0.896);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9373 0.9373 0.9765 / 0.8);
      --accent-indicator: oklch(48.5% 0.2769 285.8);
      --accent-track: oklch(48.5% 0.2769 285.8);
    }
  }
}


.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: #03020d;
  --accent-2: #131128;
  --accent-3: #231853;
  --accent-4: #301777;
  --accent-5: #3a2189;
  --accent-6: #442d99;
  --accent-7: #513ab0;
  --accent-8: #6245d4;
  --accent-9: #610bef;
  --accent-10: #5500db;
  --accent-11: #afa8ff;
  --accent-12: #deddff;

  --accent-a1: #00818c02;
  --accent-a2: #7c89fa1e;
  --accent-a3: #6b4ffe4b;
  --accent-a4: #6632fd71;
  --accent-a5: #6c3ffe84;
  --accent-a6: #724dff94;
  --accent-a7: #7556fead;
  --accent-a8: #7654ffd2;
  --accent-a9: #680cfeef;
  --accent-a10: #6200feda;
  --accent-a11: #afa8ff;
  --accent-a12: #deddff;

  --accent-contrast: #fff;
  --accent-surface: #21214480;
  --accent-indicator: #610bef;
  --accent-track: #610bef;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(9.8% 0.0345 285.8);
      --accent-2: oklch(19.3% 0.0451 285.8);
      --accent-3: oklch(26.5% 0.1027 285.8);
      --accent-4: oklch(31.3% 0.1505 285.8);
      --accent-5: oklch(35.3% 0.1612 285.8);
      --accent-6: oklch(39.5% 0.1655 285.8);
      --accent-7: oklch(44.7% 0.1785 285.8);
      --accent-8: oklch(50.9% 0.2066 285.8);
      --accent-9: oklch(48.5% 0.2769 285.8);
      --accent-10: oklch(43.3% 0.2769 285.8);
      --accent-11: oklch(77.6% 0.201 285.8);
      --accent-12: oklch(91.4% 0.0649 285.8);

      --accent-a1: color(display-p3 0 0.7882 0.8275 / 0.005);
      --accent-a2: color(display-p3 0.5255 0.5529 1 / 0.115);
      --accent-a3: color(display-p3 0.4196 0.3255 1 / 0.283);
      --accent-a4: color(display-p3 0.3961 0.2157 1 / 0.423);
      --accent-a5: color(display-p3 0.4118 0.2627 1 / 0.496);
      --accent-a6: color(display-p3 0.4431 0.3216 1 / 0.558);
      --accent-a7: color(display-p3 0.4549 0.3529 1 / 0.652);
      --accent-a8: color(display-p3 0.4627 0.349 1 / 0.791);
      --accent-a9: color(display-p3 0.3882 0.0863 1 / 0.898);
      --accent-a10: color(display-p3 0.3647 0.0471 1 / 0.816);
      --accent-a11: color(display-p3 0.698 0.6745 1 / 0.976);
      --accent-a12: color(display-p3 0.8824 0.8784 1 / 0.988);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1333 0.1255 0.251 / 0.5);
      --accent-indicator: oklch(48.5% 0.2769 285.8);
      --accent-track: oklch(48.5% 0.2769 285.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(97, 11, 239, 1);
  --background: rgba(250, 248, 255, 1);
  --border: rgba(207, 201, 217, 1);
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #faf8ff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(97, 11, 239, 1);
  --background: rgba(5, 1, 12, 1);
  --border: rgba(44, 38, 54, 1);
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #05010c;
}

/* Bubble Tabs Theme */
:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item]::after {
  display: none;
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item] {
  position: relative;
  isolation: isolate;
  transition: color 0.15s ease-in-out;
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item]::before {
  content: "";
  position: absolute;
  inset: 6px 0;
  border-radius: 9999px;
  z-index: -1;
  transition: background-color 0.15s ease-in-out;
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"] {
  color: var(--accent-a11);
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"]::before {
  background-color: var(--accent-a3);
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"] > span {
  -webkit-text-stroke: 0.5px currentcolor;
}

:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="inactive"]:hover::before {
  background-color: var(--grayscale-a3);
}
:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="inactive"]:focus-visible::before {
  background-color: var(--grayscale-a3);
}

.dark [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"] {
  color: var(--accent-a11);
}

.dark [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"]::before {
  background-color: var(--accent-a3);
}

.dark [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="inactive"]:hover::before {
  background-color: var(--grayscale-a3);
}
.dark [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="inactive"]:focus-visible::before {
  background-color: var(--grayscale-a3);
}

/* Bubble theme: reset parent bg on active+focus-visible to avoid stacked alpha with the ::before pill */
:root [data-tabs-theme="bubble"] #fern-header [data-radix-collection-item][data-state="active"]:focus-visible {
  background: transparent;
}