/*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: 32px;
  --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: #fdfdfe;
  --accent-2: #f7f9ff;
  --accent-3: #ecf2fe;
  --accent-4: #deeaff;
  --accent-5: #cedfff;
  --accent-6: #bbd2ff;
  --accent-7: #a4c0f8;
  --accent-8: #84a6ef;
  --accent-9: #2f5fd8;
  --accent-10: #2953bc;
  --accent-11: #325dc7;
  --accent-12: #1a2e5c;

  --accent-a1: #00008002;
  --accent-a2: #0040ff08;
  --accent-a3: #0051f213;
  --accent-a4: #005dff21;
  --accent-a5: #0059ff31;
  --accent-a6: #0057ff44;
  --accent-a7: #014fec5b;
  --accent-a8: #0147de7b;
  --accent-a9: #003bcfd0;
  --accent-a10: #0032afd6;
  --accent-a11: #0036b9cd;
  --accent-a12: #00164ae5;

  --accent-contrast: #fff;
  --accent-surface: #f5f8ffcc;
  --accent-indicator: #2f5fd8;
  --accent-track: #2f5fd8;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0015 264.3);
      --accent-2: oklch(98.3% 0.008 264.3);
      --accent-3: oklch(96.1% 0.0171 264.3);
      --accent-4: oklch(93.5% 0.0336 264.3);
      --accent-5: oklch(90.3% 0.0508 264.3);
      --accent-6: oklch(86.3% 0.0709 264.3);
      --accent-7: oklch(80.7% 0.0863 264.3);
      --accent-8: oklch(73% 0.1125 264.3);
      --accent-9: oklch(52.6% 0.1933 264.3);
      --accent-10: oklch(47.8% 0.1717 264.3);
      --accent-11: oklch(51% 0.1717 264.3);
      --accent-12: oklch(31.3% 0.085 264.3);

      --accent-a1: color(display-p3 0.0196 0.0196 0.5098 / 0.008);
      --accent-a2: color(display-p3 0.0196 0.2667 0.8784 / 0.032);
      --accent-a3: color(display-p3 0.0078 0.2824 0.8902 / 0.071);
      --accent-a4: color(display-p3 0.0039 0.3255 0.9373 / 0.122);
      --accent-a5: color(display-p3 0.0039 0.2863 0.9373 / 0.181);
      --accent-a6: color(display-p3 0.0039 0.2824 0.9412 / 0.251);
      --accent-a7: color(display-p3 0.0039 0.2588 0.8627 / 0.338);
      --accent-a8: color(display-p3 0.0039 0.2275 0.8118 / 0.455);
      --accent-a9: color(display-p3 0 0.1804 0.7608 / 0.769);
      --accent-a10: color(display-p3 0 0.1529 0.6392 / 0.8);
      --accent-a11: color(display-p3 0 0.1647 0.6784 / 0.765);
      --accent-a12: color(display-p3 0 0.0627 0.2588 / 0.879);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9608 0.9725 1 / 0.8);
      --accent-indicator: oklch(52.6% 0.1933 264.3);
      --accent-track: oklch(52.6% 0.1933 264.3);
    }
  }
}


.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: #0d111b;
  --accent-2: #131824;
  --accent-3: #1a2544;
  --accent-4: #1e2f5e;
  --accent-5: #273b6f;
  --accent-6: #334881;
  --accent-7: #3f5796;
  --accent-8: #4c69b4;
  --accent-9: #6d92f3;
  --accent-10: #6286e6;
  --accent-11: #92b2fe;
  --accent-12: #d4e1fe;

  --accent-a1: #0012f90b;
  --accent-a2: #2a66f815;
  --accent-a3: #3b6efe37;
  --accent-a4: #396efe53;
  --accent-a5: #497cff65;
  --accent-a6: #5a86ff78;
  --accent-a7: #648eff8f;
  --accent-a8: #6792ffaf;
  --accent-a9: #7198fef3;
  --accent-a10: #6b93fee5;
  --accent-a11: #93b3fffe;
  --accent-a12: #d5e2fffe;

  --accent-contrast: #fff;
  --accent-surface: #151f3780;
  --accent-indicator: #6d92f3;
  --accent-track: #6d92f3;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(17.8% 0.0224 266.7);
      --accent-2: oklch(21% 0.026 266.7);
      --accent-3: oklch(27.3% 0.0592 266.7);
      --accent-4: oklch(31.7% 0.0866 266.7);
      --accent-5: oklch(36.4% 0.0944 266.7);
      --accent-6: oklch(41.4% 0.0983 266.7);
      --accent-7: oklch(47% 0.1061 266.7);
      --accent-8: oklch(53.4% 0.1222 266.7);
      --accent-9: oklch(67.7% 0.1496 266.7);
      --accent-10: oklch(63.8% 0.1496 266.7);
      --accent-11: oklch(77% 0.1156 266.7);
      --accent-12: oklch(90.8% 0.0429 266.7);

      --accent-a1: color(display-p3 0 0.0706 0.9961 / 0.038);
      --accent-a2: color(display-p3 0.2235 0.4314 0.9961 / 0.076);
      --accent-a3: color(display-p3 0.2784 0.451 1 / 0.206);
      --accent-a4: color(display-p3 0.2824 0.4471 1 / 0.311);
      --accent-a5: color(display-p3 0.3333 0.4902 0.9961 / 0.379);
      --accent-a6: color(display-p3 0.3961 0.5333 1 / 0.454);
      --accent-a7: color(display-p3 0.4353 0.5647 1 / 0.543);
      --accent-a8: color(display-p3 0.451 0.5804 1 / 0.664);
      --accent-a9: color(display-p3 0.4941 0.6118 1 / 0.921);
      --accent-a10: color(display-p3 0.4706 0.5922 1 / 0.866);
      --accent-a11: color(display-p3 0.6157 0.7137 1 / 0.971);
      --accent-a12: color(display-p3 0.851 0.898 1 / 0.984);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.0863 0.1176 0.2039 / 0.5);
      --accent-indicator: oklch(67.7% 0.1496 266.7);
      --accent-track: oklch(67.7% 0.1496 266.7);
    }
  }
}


.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(47, 95, 216, 1);
  --background: rgba(255, 255, 255, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #fff;
}

.dark {
  color-scheme: dark;
  --accent: rgba(109, 146, 243, 1);
  --background: rgba(17, 17, 17, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #111;
}

/* Selected sidebar item: blue text only, no filled highlight. */
.fern-sidebar-link[data-state="active"],
.fern-sidebar-link[data-state="active"]:hover {
  background-color: transparent;
  font-weight: 600;
}
.fern-sidebar-link[data-state="active"]:focus-visible {
  background-color: transparent;
  font-weight: 600;
}
