/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 1408px;
  --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: #fffcfc;
  --accent-2: #fff7f7;
  --accent-3: #ffeaea;
  --accent-4: #ffdbdb;
  --accent-5: #ffcccd;
  --accent-6: #ffbcbd;
  --accent-7: #f7a8aa;
  --accent-8: #ef8d91;
  --accent-9: #e11d48;
  --accent-10: #d2003b;
  --accent-11: #d4003e;
  --accent-12: #6a0d1f;

  --accent-a1: #ff000003;
  --accent-a2: #ff000008;
  --accent-a3: #ff000015;
  --accent-a4: #ff000024;
  --accent-a5: #ff000533;
  --accent-a6: #ff000443;
  --accent-a7: #e8000657;
  --accent-a8: #dc000972;
  --accent-a9: #dd0031e2;
  --accent-a10: #d2003b;
  --accent-a11: #d4003e;
  --accent-a12: #620013f2;

  --accent-contrast: #fff;
  --accent-surface: #fff5f5cc;
  --accent-indicator: #e11d48;
  --accent-track: #e11d48;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0036 17.58);
      --accent-2: oklch(98.3% 0.0095 17.58);
      --accent-3: oklch(95.4% 0.0248 17.58);
      --accent-4: oklch(92.8% 0.0497 17.58);
      --accent-5: oklch(89.6% 0.0647 17.58);
      --accent-6: oklch(85.8% 0.0778 17.58);
      --accent-7: oklch(80.9% 0.0937 17.58);
      --accent-8: oklch(74.8% 0.1189 17.58);
      --accent-9: oklch(58.6% 0.222 17.58);
      --accent-10: oklch(54.2% 0.2247 17.58);
      --accent-11: oklch(55.1% 0.222 17.58);
      --accent-12: oklch(34.1% 0.1243 17.58);

      --accent-a1: color(display-p3 0.6745 0.0235 0.0235 / 0.012);
      --accent-a2: color(display-p3 0.8784 0.0196 0.0196 / 0.032);
      --accent-a3: color(display-p3 0.8118 0.0588 0.0078 / 0.083);
      --accent-a4: color(display-p3 0.8314 0.0078 0.0078 / 0.138);
      --accent-a5: color(display-p3 0.8392 0.0078 0.0078 / 0.193);
      --accent-a6: color(display-p3 0.8471 0.0196 0.0039 / 0.255);
      --accent-a7: color(display-p3 0.7647 0.0039 0.0157 / 0.33);
      --accent-a8: color(display-p3 0.7373 0.0039 0.0118 / 0.428);
      --accent-a9: color(display-p3 0.7608 0 0.1098 / 0.789);
      --accent-a10: color(display-p3 0.7059 0 0.1137 / 0.844);
      --accent-a11: color(display-p3 0.7137 0 0.1176 / 0.84);
      --accent-a12: color(display-p3 0.3176 0 0.0431 / 0.91);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9961 0.9608 0.9608 / 0.8);
      --accent-indicator: oklch(58.6% 0.222 17.58);
      --accent-track: oklch(58.6% 0.222 17.58);
    }
  }
}


.light, :root {
  --grayscale-1: #fdfdfc;
  --grayscale-2: #f9f9f8;
  --grayscale-3: #f1f0ef;
  --grayscale-4: #e9e8e6;
  --grayscale-5: #e2e1de;
  --grayscale-6: #dad9d6;
  --grayscale-7: #cfceca;
  --grayscale-8: #bcbbb5;
  --grayscale-9: #8d8d86;
  --grayscale-10: #82827c;
  --grayscale-11: #63635e;
  --grayscale-12: #21201c;

  --grayscale-a1: #55550003;
  --grayscale-a2: #25250007;
  --grayscale-a3: #20100010;
  --grayscale-a4: #1f150019;
  --grayscale-a5: #1f180021;
  --grayscale-a6: #19130029;
  --grayscale-a7: #19140035;
  --grayscale-a8: #1915014a;
  --grayscale-a9: #0f0f0079;
  --grayscale-a10: #0c0c0083;
  --grayscale-a11: #080800a1;
  --grayscale-a12: #060500e3;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.992 0.992 0.989);
      --grayscale-2: color(display-p3 0.977 0.977 0.973);
      --grayscale-3: color(display-p3 0.943 0.942 0.936);
      --grayscale-4: color(display-p3 0.913 0.912 0.903);
      --grayscale-5: color(display-p3 0.885 0.883 0.873);
      --grayscale-6: color(display-p3 0.854 0.852 0.839);
      --grayscale-7: color(display-p3 0.813 0.81 0.794);
      --grayscale-8: color(display-p3 0.738 0.734 0.713);
      --grayscale-9: color(display-p3 0.553 0.553 0.528);
      --grayscale-10: color(display-p3 0.511 0.511 0.488);
      --grayscale-11: color(display-p3 0.388 0.388 0.37);
      --grayscale-12: color(display-p3 0.129 0.126 0.111);

      --grayscale-a1: #55550003;
      --grayscale-a2: #25250007;
      --grayscale-a3: #20100010;
      --grayscale-a4: #1f150019;
      --grayscale-a5: #1f180021;
      --grayscale-a6: #19130029;
      --grayscale-a7: #19140035;
      --grayscale-a8: #1915014a;
      --grayscale-a9: #0f0f0079;
      --grayscale-a10: #0c0c0083;
      --grayscale-a11: #080800a1;
      --grayscale-a12: #060500e3;

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


.dark {
  --accent-1: #0f0809;
  --accent-2: #1c1314;
  --accent-3: #381419;
  --accent-4: #4d151f;
  --accent-5: #5c1c27;
  --accent-6: #6e2833;
  --accent-7: #873643;
  --accent-8: #b14858;
  --accent-9: #fb7185;
  --accent-10: #ee657a;
  --accent-11: #ff8e9d;
  --accent-12: #ffd3d6;

  --accent-a1: #df000006;
  --accent-a2: #fc839113;
  --accent-a3: #ff405a30;
  --accent-a4: #ff335746;
  --accent-a5: #fd3f6056;
  --accent-a6: #fd536e69;
  --accent-a7: #fe607983;
  --accent-a8: #ff657dae;
  --accent-a9: #ff7387fb;
  --accent-a10: #fe6b82ee;
  --accent-a11: #ff8e9d;
  --accent-a12: #ffd3d6;

  --accent-contrast: #fff;
  --accent-surface: #2e1c1e80;
  --accent-indicator: #fb7185;
  --accent-track: #fb7185;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(14.5% 0.0128 13.43);
      --accent-2: oklch(20% 0.0153 13.43);
      --accent-3: oklch(25% 0.057 13.43);
      --accent-4: oklch(29% 0.0841 13.43);
      --accent-5: oklch(33.2% 0.0944 13.43);
      --accent-6: oklch(38.1% 0.0993 13.43);
      --accent-7: oklch(44.8% 0.1101 13.43);
      --accent-8: oklch(54.4% 0.1371 13.43);
      --accent-9: oklch(71.9% 0.169 13.43);
      --accent-10: oklch(68.3% 0.169 13.43);
      --accent-11: oklch(78.6% 0.152 13.43);
      --accent-12: oklch(90.5% 0.0496 13.43);

      --accent-a1: color(display-p3 0.9647 0 0 / 0.017);
      --accent-a2: color(display-p3 0.9922 0.5451 0.6 / 0.07);
      --accent-a3: color(display-p3 1 0.3137 0.4078 / 0.172);
      --accent-a4: color(display-p3 1 0.2745 0.3843 / 0.249);
      --accent-a5: color(display-p3 1 0.3216 0.4235 / 0.307);
      --accent-a6: color(display-p3 1 0.3961 0.4784 / 0.376);
      --accent-a7: color(display-p3 1 0.451 0.5255 / 0.47);
      --accent-a8: color(display-p3 1 0.4706 0.5294 / 0.629);
      --accent-a9: color(display-p3 1 0.5137 0.5725 / 0.915);
      --accent-a10: color(display-p3 1 0.4902 0.5608 / 0.862);
      --accent-a11: color(display-p3 1 0.6157 0.6549 / 0.939);
      --accent-a12: color(display-p3 1 0.8588 0.8667 / 0.972);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1725 0.1176 0.1176 / 0.5);
      --accent-indicator: oklch(71.9% 0.169 13.43);
      --accent-track: oklch(71.9% 0.169 13.43);
    }
  }
}


.dark {
  --grayscale-1: #111111;
  --grayscale-2: #191919;
  --grayscale-3: #222222;
  --grayscale-4: #2a2a2a;
  --grayscale-5: #313131;
  --grayscale-6: #3a3a3a;
  --grayscale-7: #484848;
  --grayscale-8: #606060;
  --grayscale-9: #6e6e6e;
  --grayscale-10: #7b7b7b;
  --grayscale-11: #b4b4b4;
  --grayscale-12: #eeeeee;

  --grayscale-a1: #00000000;
  --grayscale-a2: #ffffff09;
  --grayscale-a3: #ffffff12;
  --grayscale-a4: #ffffff1b;
  --grayscale-a5: #ffffff22;
  --grayscale-a6: #ffffff2c;
  --grayscale-a7: #ffffff3b;
  --grayscale-a8: #ffffff55;
  --grayscale-a9: #ffffff64;
  --grayscale-a10: #ffffff72;
  --grayscale-a11: #ffffffaf;
  --grayscale-a12: #ffffffed;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.067);
      --grayscale-2: color(display-p3 0.098 0.098 0.098);
      --grayscale-3: color(display-p3 0.135 0.135 0.135);
      --grayscale-4: color(display-p3 0.163 0.163 0.163);
      --grayscale-5: color(display-p3 0.192 0.192 0.192);
      --grayscale-6: color(display-p3 0.228 0.228 0.228);
      --grayscale-7: color(display-p3 0.283 0.283 0.283);
      --grayscale-8: color(display-p3 0.375 0.375 0.375);
      --grayscale-9: color(display-p3 0.431 0.431 0.431);
      --grayscale-10: color(display-p3 0.484 0.484 0.484);
      --grayscale-11: color(display-p3 0.706 0.706 0.706);
      --grayscale-12: color(display-p3 0.933 0.933 0.933);

      --grayscale-a1: #00000000;
      --grayscale-a2: #ffffff09;
      --grayscale-a3: #ffffff12;
      --grayscale-a4: #ffffff1b;
      --grayscale-a5: #ffffff22;
      --grayscale-a6: #ffffff2c;
      --grayscale-a7: #ffffff3b;
      --grayscale-a8: #ffffff55;
      --grayscale-a9: #ffffff64;
      --grayscale-a10: #ffffff72;
      --grayscale-a11: #ffffffaf;
      --grayscale-a12: #ffffffed;

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

.light, :root {
  color-scheme: light;
  --accent: rgba(225, 29, 72, 1);
  --background: rgba(255, 255, 255, 1);
  --border: rgba(234, 234, 234, 1);
  --sidebar-background: rgba(250, 250, 250, 1);
  --header-background: rgba(255, 255, 255, 1);
  --card-background: initial;
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(251, 113, 133, 1);
  --background: rgba(10, 10, 10, 1);
  --border: rgba(34, 34, 34, 1);
  --sidebar-background: rgba(10, 10, 10, 1);
  --header-background: rgba(10, 10, 10, 1);
  --card-background: initial;
  --theme-color: #0a0a0a;
}

/* 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;
}