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


:root {
  --accent-1: #fafafb;
  --accent-2: #f5f5f7;
  --accent-3: #ededf1;
  --accent-4: #e4e3ea;
  --accent-5: #dad9e1;
  --accent-6: #cdccd4;
  --accent-7: #bcbcc3;
  --accent-8: #a5a5ac;
  --accent-9: #42414b;
  --accent-10: #53525c;
  --accent-11: #64636e;
  --accent-12: #383741;

  --accent-a1: #52525303;
  --accent-a2: #1d1d3e08;
  --accent-a3: #0d0d3e10;
  --accent-a4: #1107431a;
  --accent-a5: #0c053724;
  --accent-a6: #07022831;
  --accent-a7: #01011941;
  --accent-a8: #03031559;
  --accent-a9: #03020fbe;
  --accent-a10: #030210ad;
  --accent-a11: #0200129b;
  --accent-a12: #03010dc8;

  --accent-contrast: #fff;
  --accent-surface: #f4f4f5cc;
  --accent-indicator: #42414b;
  --accent-track: #42414b;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --accent-1: oklch(98.4% 0.0019 290.2);
      --accent-2: oklch(97.1% 0.0026 290.2);
      --accent-3: oklch(94.7% 0.0064 290.2);
      --accent-4: oklch(92% 0.0088 290.2);
      --accent-5: oklch(88.8% 0.0104 290.2);
      --accent-6: oklch(84.9% 0.0111 290.2);
      --accent-7: oklch(79.7% 0.0105 290.2);
      --accent-8: oklch(72.3% 0.0101 290.2);
      --accent-9: oklch(38% 0.0169 290.2);
      --accent-10: oklch(44.3% 0.0169 290.2);
      --accent-11: oklch(50.5% 0.0169 290.2);
      --accent-12: oklch(34.2% 0.0169 290.2);

      --accent-a1: color(display-p3 0.0078 0.0078 0.0157 / 0.008);
      --accent-a2: color(display-p3 0.0118 0.0118 0.1529 / 0.028);
      --accent-a3: color(display-p3 0.0118 0.0118 0.2118 / 0.06);
      --accent-a4: color(display-p3 0.0471 0.0078 0.2078 / 0.1);
      --accent-a5: color(display-p3 0.0314 0.0039 0.1765 / 0.139);
      --accent-a6: color(display-p3 0.0235 0.0039 0.1333 / 0.191);
      --accent-a7: color(display-p3 0.0039 0.0039 0.0824 / 0.254);
      --accent-a8: color(display-p3 0.0039 0.0039 0.0667 / 0.346);
      --accent-a9: color(display-p3 0.0078 0 0.0471 / 0.743);
      --accent-a10: color(display-p3 0.0078 0 0.0549 / 0.675);
      --accent-a11: color(display-p3 0.0078 0 0.0667 / 0.608);
      --accent-a12: color(display-p3 0.0039 0 0.0471 / 0.782);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9569 0.9569 0.9608 / 0.8);
      --accent-indicator: oklch(38% 0.0169 290.2);
      --accent-track: oklch(38% 0.0169 290.2);
    }
  }
}


:root {
  --grayscale-1: #fcfcfd;
  --grayscale-2: #f9f9fb;
  --grayscale-3: #f0f0f3;
  --grayscale-4: #e8e8ec;
  --grayscale-5: #e0e1e6;
  --grayscale-6: #d9d9e0;
  --grayscale-7: #cdced6;
  --grayscale-8: #b9bbc6;
  --grayscale-9: #8b8d98;
  --grayscale-10: #80838d;
  --grayscale-11: #60646c;
  --grayscale-12: #1c2024;

  --grayscale-a1: #00005503;
  --grayscale-a2: #00005506;
  --grayscale-a3: #0000330f;
  --grayscale-a4: #00002d17;
  --grayscale-a5: #0009321f;
  --grayscale-a6: #00002f26;
  --grayscale-a7: #00062e32;
  --grayscale-a8: #00083046;
  --grayscale-a9: #00051d74;
  --grayscale-a10: #00071b7f;
  --grayscale-a11: #0007149f;
  --grayscale-a12: #000509e3;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --grayscale-1: color(display-p3 0.988 0.988 0.992);
      --grayscale-2: color(display-p3 0.976 0.976 0.984);
      --grayscale-3: color(display-p3 0.94 0.941 0.953);
      --grayscale-4: color(display-p3 0.908 0.909 0.925);
      --grayscale-5: color(display-p3 0.88 0.881 0.901);
      --grayscale-6: color(display-p3 0.85 0.852 0.876);
      --grayscale-7: color(display-p3 0.805 0.808 0.838);
      --grayscale-8: color(display-p3 0.727 0.733 0.773);
      --grayscale-9: color(display-p3 0.547 0.553 0.592);
      --grayscale-10: color(display-p3 0.503 0.512 0.549);
      --grayscale-11: color(display-p3 0.379 0.392 0.421);
      --grayscale-12: color(display-p3 0.113 0.125 0.14);

      --grayscale-a1: #00005503;
      --grayscale-a2: #00005506;
      --grayscale-a3: #0000330f;
      --grayscale-a4: #00002d17;
      --grayscale-a5: #0009321f;
      --grayscale-a6: #00002f26;
      --grayscale-a7: #00062e32;
      --grayscale-a8: #00083046;
      --grayscale-a9: #00051d74;
      --grayscale-a10: #00071b7f;
      --grayscale-a11: #0007149f;
      --grayscale-a12: #000509e3;

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


.dark {
  --accent-1: #000;
  --accent-2: #121211;
  --accent-3: #1f1f1d;
  --accent-4: #282826;
  --accent-5: #30302e;
  --accent-6: #3a3a37;
  --accent-7: #484845;
  --accent-8: #60605e;
  --accent-9: #fff;
  --accent-10: #f6f6f4;
  --accent-11: #b3b3b0;
  --accent-12: #eeeeec;

  --accent-a1: #00000000;
  --accent-a2: #fffff112;
  --accent-a3: #ffffef1f;
  --accent-a4: #fffff328;
  --accent-a5: #fffff530;
  --accent-a6: #fffff23a;
  --accent-a7: #fffff548;
  --accent-a8: #fffffa60;
  --accent-a9: #ffffff;
  --accent-a10: #fffffdf6;
  --accent-a11: #fffffbb3;
  --accent-a12: #fffffdee;

  --accent-contrast: #311921;
  --accent-surface: #24242280;
  --accent-indicator: #fff;
  --accent-track: #fff;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(0% 0.0023 106.5);
      --accent-2: oklch(18.3% 0.0022 106.5);
      --accent-3: oklch(23.9% 0.0032 106.5);
      --accent-4: oklch(27.5% 0.0036 106.5);
      --accent-5: oklch(30.8% 0.004 106.5);
      --accent-6: oklch(34.7% 0.004 106.5);
      --accent-7: oklch(40% 0.004 106.5);
      --accent-8: oklch(49% 0.004 106.5);
      --accent-9: oklch(100% 0 none);
      --accent-10: oklch(97.3% 0.0027 106.5);
      --accent-11: oklch(76.7% 0.004 106.5);
      --accent-12: oklch(94.8% 0.0027 106.5);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.9961 0.9961 0.9412 / 0.071);
      --accent-a3: color(display-p3 1 1 0.9333 / 0.122);
      --accent-a4: color(display-p3 1 1 0.9529 / 0.157);
      --accent-a5: color(display-p3 0.9961 0.9961 0.9569 / 0.189);
      --accent-a6: color(display-p3 1 1 0.949 / 0.228);
      --accent-a7: color(display-p3 1 1 0.9569 / 0.283);
      --accent-a8: color(display-p3 1 1 0.9804 / 0.377);
      --accent-a9: color(display-p3 1 1 1);
      --accent-a10: color(display-p3 1 1 0.9922 / 0.965);
      --accent-a11: color(display-p3 1 1 0.9843 / 0.702);
      --accent-a12: color(display-p3 1 1 0.9922 / 0.934);

      --accent-contrast: #311921;
      --accent-surface: color(display-p3 0.1412 0.1412 0.1333 / 0.5);
      --accent-indicator: oklch(100% 0 none);
      --accent-track: oklch(100% 0 none);
    }
  }
}


.dark {
  --grayscale-1: #111110;
  --grayscale-2: #191918;
  --grayscale-3: #222221;
  --grayscale-4: #2a2a28;
  --grayscale-5: #31312e;
  --grayscale-6: #3b3a37;
  --grayscale-7: #494844;
  --grayscale-8: #62605b;
  --grayscale-9: #6f6d66;
  --grayscale-10: #7c7b74;
  --grayscale-11: #b5b3ad;
  --grayscale-12: #eeeeec;

  --grayscale-a1: #00000000;
  --grayscale-a2: #f4f4f309;
  --grayscale-a3: #f6f6f513;
  --grayscale-a4: #fefef31b;
  --grayscale-a5: #fbfbeb23;
  --grayscale-a6: #fffaed2d;
  --grayscale-a7: #fffbed3c;
  --grayscale-a8: #fff9eb57;
  --grayscale-a9: #fffae965;
  --grayscale-a10: #fffdee73;
  --grayscale-a11: #fffcf4b0;
  --grayscale-a12: #fffffded;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.063);
      --grayscale-2: color(display-p3 0.098 0.098 0.094);
      --grayscale-3: color(display-p3 0.135 0.135 0.129);
      --grayscale-4: color(display-p3 0.164 0.163 0.156);
      --grayscale-5: color(display-p3 0.193 0.192 0.183);
      --grayscale-6: color(display-p3 0.23 0.229 0.217);
      --grayscale-7: color(display-p3 0.285 0.282 0.267);
      --grayscale-8: color(display-p3 0.384 0.378 0.357);
      --grayscale-9: color(display-p3 0.434 0.428 0.403);
      --grayscale-10: color(display-p3 0.487 0.481 0.456);
      --grayscale-11: color(display-p3 0.707 0.703 0.68);
      --grayscale-12: color(display-p3 0.933 0.933 0.926);

      --grayscale-a1: #00000000;
      --grayscale-a2: #f4f4f309;
      --grayscale-a3: #f6f6f513;
      --grayscale-a4: #fefef31b;
      --grayscale-a5: #fbfbeb23;
      --grayscale-a6: #fffaed2d;
      --grayscale-a7: #fffbed3c;
      --grayscale-a8: #fff9eb57;
      --grayscale-a9: #fffae965;
      --grayscale-a10: #fffdee73;
      --grayscale-a11: #fffcf4b0;
      --grayscale-a12: #fffffded;

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

:root {
  color-scheme: light;
  --accent: rgba(66, 65, 75, 1);
  --background: rgba(252, 252, 253, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #fcfcfd;
}

.dark {
  color-scheme: light;
  --background: #000000;
  --accent: #ffffff;
}

.fern-button.primary {
  border-radius: 0.6rem;
  display: flex;
  flex-direction: row;
  gap: 0.75rem; /* Gap corresponds to the gap-3 class */
  font-size: 0.875rem; /* This corresponds to text-sm */
  font-weight: 500; /* This corresponds to font-medium */
  transition: all 0.8s ease-in-out;
  background-image: linear-gradient(to bottom, #42414b, #3a3941, #232227);
  border: 1px solid #42414b;
  color: #fff !important;
  box-shadow:
    inset 0 0 3px 0.5px rgba(252, 252, 253, 0.4),
    0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.fern-button.primary svg {
  fill: #fff !important;
  stroke: #fff !important;
  color: #fff !important;
}

.fern-button-content {
  /* color: #fff !important;
    fill: #fff !important;
    path: #fff !important;
    stroke: #fff !important; */
}

.fern-button.primary:hover {
  background-image: linear-gradient(to bottom, #5f5c6d, #42414b, #3a3941);
}
.fern-button.primary:focus-visible {
  background-image: linear-gradient(to bottom, #5f5c6d, #42414b, #3a3941); outline: none;
}

.fern-button.primary:active {
  outline: 2px solid rgba(116, 114, 133, 0.5);
  background-image: linear-gradient(to bottom, #3a3941, #3a3941, #3a3941);
  box-shadow: none;
}

.fern-header {
  background-color: #fff !important;
  border-bottom: 1px solid #eaecf0 !important;
}

.fern-header-tabs {
  background-color: #fff !important;
  border-bottom: 1px solid #eaecf0 !important;
}

figure.bg-tag-default-soft {
  background-color: #808080;
}
