/*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: 30px;
  --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: #0a1511;
  --accent-3: #092a1f;
  --accent-4: #06392a;
  --accent-5: #0d4736;
  --accent-6: #1a5642;
  --accent-7: #256851;
  --accent-8: #2d7e63;
  --accent-9: #03d9a5;
  --accent-10: #00ce9b;
  --accent-11: #01d9a5;
  --accent-12: #abf0d5;

  --accent-a1: #00000000;
  --accent-a2: #7affcf15;
  --accent-a3: #37ffbd2a;
  --accent-a4: #1bffbc39;
  --accent-a5: #2fffc247;
  --accent-a6: #4effc456;
  --accent-a7: #5bffc768;
  --accent-a8: #5cffc97e;
  --accent-a9: #04ffc2d9;
  --accent-a10: #00ffc0ce;
  --accent-a11: #01ffc2d9;
  --accent-a12: #b6ffe2f0;

  --accent-contrast: #0a281e;
  --accent-surface: #142a2280;
  --accent-indicator: #03d9a5;
  --accent-track: #03d9a5;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --accent-1: oklch(0% 0.0143 167.7);
      --accent-2: oklch(18.4% 0.0183 167.7);
      --accent-3: oklch(25.7% 0.0431 167.7);
      --accent-4: oklch(30.8% 0.0587 167.7);
      --accent-5: oklch(35.7% 0.0656 167.7);
      --accent-6: oklch(40.9% 0.0697 167.7);
      --accent-7: oklch(46.7% 0.0769 167.7);
      --accent-8: oklch(53.6% 0.0898 167.7);
      --accent-9: oklch(78.6% 0.1594 167.7);
      --accent-10: oklch(75.2% 0.1594 167.7);
      --accent-11: oklch(78.5% 0.1594 167.7);
      --accent-12: oklch(90.3% 0.0792 167.7);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.5686 0.9961 0.8039 / 0.083);
      --accent-a3: color(display-p3 0.4667 1 0.7804 / 0.161);
      --accent-a4: color(display-p3 0.4118 1 0.7686 / 0.22);
      --accent-a5: color(display-p3 0.4588 1 0.7843 / 0.275);
      --accent-a6: color(display-p3 0.5176 1 0.7882 / 0.334);
      --accent-a7: color(display-p3 0.5451 1 0.7961 / 0.404);
      --accent-a8: color(display-p3 0.549 1 0.8157 / 0.487);
      --accent-a9: color(display-p3 0.4627 1 0.7843 / 0.84);
      --accent-a10: color(display-p3 0.4588 1 0.7765 / 0.797);
      --accent-a11: color(display-p3 0.4588 1 0.7843 / 0.84);
      --accent-a12: color(display-p3 0.7804 1 0.898 / 0.934);

      --accent-contrast: #0a281e;
      --accent-surface: color(display-p3 0.102 0.1647 0.1333 / 0.5);
      --accent-indicator: oklch(78.6% 0.1594 167.7);
      --accent-track: oklch(78.6% 0.1594 167.7);
    }
  }
}


:root {
  --grayscale-1: #111210;
  --grayscale-2: #181917;
  --grayscale-3: #212220;
  --grayscale-4: #282a27;
  --grayscale-5: #2f312e;
  --grayscale-6: #383a36;
  --grayscale-7: #454843;
  --grayscale-8: #5c625b;
  --grayscale-9: #687066;
  --grayscale-10: #767d74;
  --grayscale-11: #afb5ad;
  --grayscale-12: #eceeec;

  --grayscale-a1: #00000000;
  --grayscale-a2: #f1f2f008;
  --grayscale-a3: #f4f5f312;
  --grayscale-a4: #f3fef21a;
  --grayscale-a5: #f2fbf122;
  --grayscale-a6: #f4faed2c;
  --grayscale-a7: #f2fced3b;
  --grayscale-a8: #edfdeb57;
  --grayscale-a9: #ebfde766;
  --grayscale-a10: #f0fdec74;
  --grayscale-a11: #f6fef4b0;
  --grayscale-a12: #fdfffded;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --grayscale-1: color(display-p3 0.067 0.07 0.063);
      --grayscale-2: color(display-p3 0.095 0.098 0.091);
      --grayscale-3: color(display-p3 0.131 0.135 0.126);
      --grayscale-4: color(display-p3 0.158 0.163 0.153);
      --grayscale-5: color(display-p3 0.186 0.192 0.18);
      --grayscale-6: color(display-p3 0.221 0.229 0.215);
      --grayscale-7: color(display-p3 0.273 0.284 0.266);
      --grayscale-8: color(display-p3 0.365 0.382 0.359);
      --grayscale-9: color(display-p3 0.414 0.438 0.404);
      --grayscale-10: color(display-p3 0.467 0.49 0.458);
      --grayscale-11: color(display-p3 0.69 0.709 0.682);
      --grayscale-12: color(display-p3 0.927 0.933 0.926);

      --grayscale-a1: #00000000;
      --grayscale-a2: #f1f2f008;
      --grayscale-a3: #f4f5f312;
      --grayscale-a4: #f3fef21a;
      --grayscale-a5: #f2fbf122;
      --grayscale-a6: #f4faed2c;
      --grayscale-a7: #f2fced3b;
      --grayscale-a8: #edfdeb57;
      --grayscale-a9: #ebfde766;
      --grayscale-a10: #f0fdec74;
      --grayscale-a11: #f6fef4b0;
      --grayscale-a12: #fdfffded;

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

:root {
  color-scheme: dark;
  --accent: rgba(3, 217, 165, 1);
  --background: rgba(0, 0, 0, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #000;
}

.dark { color-scheme: dark; --background: rgba(0, 0, 0, 1); }

.fern-table td {
  text-align: left;
  vertical-align: top;
}

.nested-condition-header td {
  padding-left: 2em;
  font-weight: 600;
}

.nested-condition-field td {
  padding-left: 3em;
}

/* Fix version dropdown hover clashing with Beta/Deprecated badge colors */
.fern-version-selector-radio-group > *:hover {
  background-color: rgba(45, 212, 168, 0.8) !important;
}
.fern-version-selector-radio-group > *:focus-visible {
  background-color: rgba(45, 212, 168, 0.8) !important;
}

/* Make availability badges stand out on hover */
.fern-version-selector-radio-group > *:hover [class*="badge"],
.fern-version-selector-radio-group > *:hover [class*="availability"] {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: white !important;
  padding: 1px 6px;
}
.fern-version-selector-radio-group > *:focus-within [class*="badge"],
.fern-version-selector-radio-group > *:focus-within [class*="availability"] {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: white !important;
  padding: 1px 6px;
}