/*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: #000;
  --accent-2: #0a131b;
  --accent-3: #0e2539;
  --accent-4: #0a3251;
  --accent-5: #144063;
  --accent-6: #214e74;
  --accent-7: #2f608a;
  --accent-8: #3a75a8;
  --accent-9: #4299e1;
  --accent-10: #348dd4;
  --accent-11: #7ebcf4;
  --accent-12: #cae4fd;

  --accent-a1: #00000000;
  --accent-a2: #5fb4ff1b;
  --accent-a3: #3fa6ff39;
  --accent-a4: #209eff51;
  --accent-a5: #34a5ff63;
  --accent-a6: #49acff74;
  --accent-a7: #57b2ff8a;
  --accent-a8: #58b2ffa8;
  --accent-a9: #4badffe1;
  --accent-a10: #3faaffd4;
  --accent-a11: #84c4fff4;
  --accent-a12: #cce6fffd;

  --accent-contrast: #fff;
  --accent-surface: #14263680;
  --accent-indicator: #4299e1;
  --accent-track: #4299e1;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --accent-1: oklch(0% 0.0182 246.8);
      --accent-2: oklch(18.1% 0.0207 246.8);
      --accent-3: oklch(25.8% 0.0477 246.8);
      --accent-4: oklch(30.8% 0.0709 246.8);
      --accent-5: oklch(35.9% 0.0772 246.8);
      --accent-6: oklch(41.3% 0.0805 246.8);
      --accent-7: oklch(47.4% 0.0871 246.8);
      --accent-8: oklch(54.6% 0.1011 246.8);
      --accent-9: oklch(66.3% 0.1358 246.8);
      --accent-10: oklch(62.3% 0.1358 246.8);
      --accent-11: oklch(77.4% 0.1029 246.8);
      --accent-12: oklch(90.8% 0.0438 246.8);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.4627 0.7333 1 / 0.102);
      --accent-a3: color(display-p3 0.3647 0.6549 1 / 0.216);
      --accent-a4: color(display-p3 0.2784 0.6235 1 / 0.31);
      --accent-a5: color(display-p3 0.3451 0.6588 1 / 0.377);
      --accent-a6: color(display-p3 0.4 0.6824 1 / 0.444);
      --accent-a7: color(display-p3 0.4392 0.7059 1 / 0.53);
      --accent-a8: color(display-p3 0.4471 0.7059 1 / 0.644);
      --accent-a9: color(display-p3 0.4118 0.6902 1 / 0.859);
      --accent-a10: color(display-p3 0.3804 0.6745 1 / 0.808);
      --accent-a11: color(display-p3 0.5843 0.7765 1 / 0.938);
      --accent-a12: color(display-p3 0.8235 0.902 1 / 0.985);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.0941 0.1412 0.2039 / 0.5);
      --accent-indicator: oklch(66.3% 0.1358 246.8);
      --accent-track: oklch(66.3% 0.1358 246.8);
    }
  }
}


:root {
  --grayscale-1: #121113;
  --grayscale-2: #1a191b;
  --grayscale-3: #232225;
  --grayscale-4: #2b292d;
  --grayscale-5: #323035;
  --grayscale-6: #3c393f;
  --grayscale-7: #49474e;
  --grayscale-8: #625f69;
  --grayscale-9: #6f6d78;
  --grayscale-10: #7c7a85;
  --grayscale-11: #b5b2bc;
  --grayscale-12: #eeeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #f5f4f609;
  --grayscale-a3: #ebeaf814;
  --grayscale-a4: #eee5f81d;
  --grayscale-a5: #efe6fe25;
  --grayscale-a6: #f1e6fd30;
  --grayscale-a7: #eee9ff40;
  --grayscale-a8: #eee7ff5d;
  --grayscale-a9: #eae6fd6e;
  --grayscale-a10: #ece9fd7c;
  --grayscale-a11: #f5f1ffb7;
  --grayscale-a12: #fdfdffef;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --grayscale-1: color(display-p3 0.07 0.067 0.074);
      --grayscale-2: color(display-p3 0.101 0.098 0.105);
      --grayscale-3: color(display-p3 0.138 0.134 0.144);
      --grayscale-4: color(display-p3 0.167 0.161 0.175);
      --grayscale-5: color(display-p3 0.196 0.189 0.206);
      --grayscale-6: color(display-p3 0.232 0.225 0.245);
      --grayscale-7: color(display-p3 0.286 0.277 0.302);
      --grayscale-8: color(display-p3 0.383 0.373 0.408);
      --grayscale-9: color(display-p3 0.434 0.428 0.467);
      --grayscale-10: color(display-p3 0.487 0.48 0.519);
      --grayscale-11: color(display-p3 0.707 0.7 0.735);
      --grayscale-12: color(display-p3 0.933 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #f5f4f609;
      --grayscale-a3: #ebeaf814;
      --grayscale-a4: #eee5f81d;
      --grayscale-a5: #efe6fe25;
      --grayscale-a6: #f1e6fd30;
      --grayscale-a7: #eee9ff40;
      --grayscale-a8: #eee7ff5d;
      --grayscale-a9: #eae6fd6e;
      --grayscale-a10: #ece9fd7c;
      --grayscale-a11: #f5f1ffb7;
      --grayscale-a12: #fdfdffef;

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

:root {
  color-scheme: dark;
  --accent: rgba(66, 153, 225, 1);
  --background: #000;
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #4299e1;
}

.dark { color-scheme: dark; --background: #000; }

.fern-background-image {
  background-image: linear-gradient(to bottom, var(--background) 0, color-mix(in srgb, var(--accent), var(--background) 90%) 100%);
}