/*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: 28px;
  --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: #fbfefc;
  --accent-2: #f5fbf7;
  --accent-3: #e8f6ec;
  --accent-4: #d9efe0;
  --accent-5: #c9e7d2;
  --accent-6: #b4dcc1;
  --accent-7: #97cca9;
  --accent-8: #6eb589;
  --accent-9: #2e8555;
  --accent-10: #1c7748;
  --accent-11: #257e4e;
  --accent-12: #223a2a;

  --accent-a1: #00c04004;
  --accent-a2: #0099330a;
  --accent-a3: #009c2d17;
  --accent-a4: #00942f26;
  --accent-a5: #008e2b36;
  --accent-a6: #01892d4b;
  --accent-a7: #00822d68;
  --accent-a8: #007d3091;
  --accent-a9: #006a30d1;
  --accent-a10: #006631e3;
  --accent-a11: #006830da;
  --accent-a12: #001c09dd;

  --accent-contrast: #fff;
  --accent-surface: #f3faf5cc;
  --accent-indicator: #2e8555;
  --accent-track: #2e8555;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0038 155.5);
      --accent-2: oklch(98.2% 0.0077 155.5);
      --accent-3: oklch(95.9% 0.0195 155.5);
      --accent-4: oklch(93.3% 0.0309 155.5);
      --accent-5: oklch(90% 0.0427 155.5);
      --accent-6: oklch(85.7% 0.0559 155.5);
      --accent-7: oklch(79.8% 0.0731 155.5);
      --accent-8: oklch(71.5% 0.0984 155.5);
      --accent-9: oklch(55.2% 0.112 155.5);
      --accent-10: oklch(50.6% 0.112 155.5);
      --accent-11: oklch(52.9% 0.112 155.5);
      --accent-12: oklch(32.3% 0.0411 155.5);

      --accent-a1: color(display-p3 0.0235 0.6745 0.0235 / 0.012);
      --accent-a2: color(display-p3 0.0235 0.5647 0.1294 / 0.036);
      --accent-a3: color(display-p3 0.0078 0.5569 0.1098 / 0.079);
      --accent-a4: color(display-p3 0.0078 0.5059 0.1255 / 0.134);
      --accent-a5: color(display-p3 0.0078 0.4824 0.0902 / 0.189);
      --accent-a6: color(display-p3 0.0039 0.4667 0.1059 / 0.263);
      --accent-a7: color(display-p3 0.0039 0.4431 0.1098 / 0.365);
      --accent-a8: color(display-p3 0 0.4118 0.1098 / 0.506);
      --accent-a9: color(display-p3 0 0.3216 0.0941 / 0.718);
      --accent-a10: color(display-p3 0 0.298 0.0902 / 0.773);
      --accent-a11: color(display-p3 0 0.3098 0.0902 / 0.746);
      --accent-a12: color(display-p3 0 0.0824 0.0196 / 0.848);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9569 0.9804 0.9608 / 0.8);
      --accent-indicator: oklch(55.2% 0.112 155.5);
      --accent-track: oklch(55.2% 0.112 155.5);
    }
  }
}


.light, :root {
  --grayscale-1: #fcfdfc;
  --grayscale-2: #f8faf8;
  --grayscale-3: #eff1ef;
  --grayscale-4: #e7e9e7;
  --grayscale-5: #dfe2df;
  --grayscale-6: #d7dad7;
  --grayscale-7: #cccfcc;
  --grayscale-8: #b9bcb8;
  --grayscale-9: #898e87;
  --grayscale-10: #7f847d;
  --grayscale-11: #60655f;
  --grayscale-12: #1d211c;

  --grayscale-a1: #00550003;
  --grayscale-a2: #00490007;
  --grayscale-a3: #00200010;
  --grayscale-a4: #00160018;
  --grayscale-a5: #00180020;
  --grayscale-a6: #00140028;
  --grayscale-a7: #000f0033;
  --grayscale-a8: #040f0047;
  --grayscale-a9: #050f0078;
  --grayscale-a10: #040e0082;
  --grayscale-a11: #020a00a0;
  --grayscale-a12: #010600e3;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #898e87;
  --grayscale-track: #898e87;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.989 0.992 0.989);
      --grayscale-2: color(display-p3 0.974 0.98 0.973);
      --grayscale-3: color(display-p3 0.939 0.945 0.937);
      --grayscale-4: color(display-p3 0.907 0.914 0.905);
      --grayscale-5: color(display-p3 0.878 0.885 0.875);
      --grayscale-6: color(display-p3 0.846 0.855 0.843);
      --grayscale-7: color(display-p3 0.803 0.812 0.8);
      --grayscale-8: color(display-p3 0.727 0.738 0.723);
      --grayscale-9: color(display-p3 0.541 0.556 0.532);
      --grayscale-10: color(display-p3 0.5 0.515 0.491);
      --grayscale-11: color(display-p3 0.38 0.395 0.374);
      --grayscale-12: color(display-p3 0.117 0.129 0.111);

      --grayscale-a1: #00550003;
      --grayscale-a2: #00490007;
      --grayscale-a3: #00200010;
      --grayscale-a4: #00160018;
      --grayscale-a5: #00180020;
      --grayscale-a6: #00140028;
      --grayscale-a7: #000f0033;
      --grayscale-a8: #040f0047;
      --grayscale-a9: #050f0078;
      --grayscale-a10: #040e0082;
      --grayscale-a11: #020a00a0;
      --grayscale-a12: #010600e3;

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


.dark {
  --accent-1: #070f09;
  --accent-2: #111a13;
  --accent-3: #162b1b;
  --accent-4: #123c20;
  --accent-5: #164a28;
  --accent-6: #1b5a30;
  --accent-7: #1e6b39;
  --accent-8: #1f7e43;
  --accent-9: #166534;
  --accent-10: #12542b;
  --accent-11: #76ce8e;
  --accent-12: #aff5c0;

  --accent-a1: #00b70003;
  --accent-a2: #79fa6a0e;
  --accent-a3: #63fd7620;
  --accent-a4: #2ffd6a32;
  --accent-a5: #37fd7541;
  --accent-a6: #3dfd7852;
  --accent-a7: #3bfd7b64;
  --accent-a8: #36fd7f78;
  --accent-a9: #2aff775d;
  --accent-a10: #23ff714b;
  --accent-a11: #91feaecc;
  --accent-a12: #b6fec7f5;

  --accent-contrast: #fff;
  --accent-surface: #17271880;
  --accent-indicator: #166534;
  --accent-track: #166534;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(15.7% 0.0182 151.3);
      --accent-2: oklch(20.6% 0.0185 151.3);
      --accent-3: oklch(26.5% 0.0399 151.3);
      --accent-4: oklch(31.8% 0.0683 151.3);
      --accent-5: oklch(36.6% 0.0808 151.3);
      --accent-6: oklch(41.6% 0.0937 151.3);
      --accent-7: oklch(46.8% 0.1083 151.3);
      --accent-8: oklch(52.4% 0.1261 151.3);
      --accent-9: oklch(44.8% 0.1083 151.3);
      --accent-10: oklch(39.3% 0.0937 151.3);
      --accent-11: oklch(78% 0.1261 151.3);
      --accent-12: oklch(91% 0.1017 151.3);

      --accent-a1: color(display-p3 0 0.9255 0 / 0.009);
      --accent-a2: color(display-p3 0.6275 0.9961 0.4941 / 0.054);
      --accent-a3: color(display-p3 0.5686 1 0.5137 / 0.12);
      --accent-a4: color(display-p3 0.4353 0.9922 0.4863 / 0.191);
      --accent-a5: color(display-p3 0.4549 1 0.5137 / 0.248);
      --accent-a6: color(display-p3 0.4784 1 0.5255 / 0.315);
      --accent-a7: color(display-p3 0.4863 1 0.549 / 0.381);
      --accent-a8: color(display-p3 0.4824 1 0.5569 / 0.459);
      --accent-a9: color(display-p3 0.451 1 0.5294 / 0.356);
      --accent-a10: color(display-p3 0.4235 1 0.502 / 0.29);
      --accent-a11: color(display-p3 0.6824 1 0.7216 / 0.79);
      --accent-a12: color(display-p3 0.7804 0.9961 0.8039 / 0.951);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.102 0.149 0.102 / 0.5);
      --accent-indicator: oklch(44.8% 0.1083 151.3);
      --accent-track: oklch(44.8% 0.1083 151.3);
    }
  }
}


.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(46, 133, 85, 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(22, 101, 52, 1);
  --background: rgba(11, 13, 14, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #0b0d0e;
}

.no-external-icon .external-link-icon {
  display: none !important;
}

/* Make tab list wrap to multiple lines instead of horizontal overflow */
[role="tablist"][aria-orientation="horizontal"] {
  flex-wrap: wrap !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  row-gap: 0 !important;
}

/* Customize card styling - less rounded corners and reduced height */
.fern-card {
  border-radius: 8px !important;
  padding: 12px 16px !important;
  min-height: auto !important;
}

/* Normalize integration logo sizes in cards */
.card-icon {
  height: 24px !important;
  width: 24px !important;
}

/* MCP server page: client chips (Cursor, VS Code, Claude Code, Codex) */
.mcp-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 8px;
}
.mcp-clients a.mcp-client {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1;
  background: transparent;
}
.mcp-clients a.mcp-client:hover {
  border-color: rgba(128, 128, 128, 0.7);
  text-decoration: none;
}
.mcp-clients a.mcp-client:focus-visible {
  border-color: rgba(128, 128, 128, 0.7);
  text-decoration: none; outline: none;
}
.mcp-clients a.mcp-client p {
  display: contents;
}
.mcp-clients a.mcp-client img {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}
.mcp-clients a.mcp-client svg.fern-mdx-icon {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.75;
}
.mcp-prompt-fallback {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 8px;
  margin: 8px 0 0;
}

/* Copy chip feedback: swap the icon, never the label */
.mcp-clients a.mcp-client svg[icon="check"],
.mcp-clients a.mcp-client svg[icon="xmark"] {
  display: none;
}
.mcp-clients a.mcp-client.is-copied svg[icon="copy"],
.mcp-clients a.mcp-client.is-failed svg[icon="copy"] {
  display: none;
}
.mcp-clients a.mcp-client.is-copied svg[icon="check"],
.mcp-clients a.mcp-client.is-failed svg[icon="xmark"] {
  display: inline-block;
}
