/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 100vw;
  --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);
}


.light, :root {
  --accent-1: #f9fdff;
  --accent-2: #f2f9ff;
  --accent-3: #e2f5ff;
  --accent-4: #d2edff;
  --accent-5: #c0e4ff;
  --accent-6: #abd7ff;
  --accent-7: #8fc6f7;
  --accent-8: #63aeef;
  --accent-9: #006eb3;
  --accent-10: #0060a3;
  --accent-11: #026fb4;
  --accent-12: #163e5e;

  --accent-a1: #00aaff06;
  --accent-a2: #008aff0d;
  --accent-a3: #00a8ff1d;
  --accent-a4: #0099ff2d;
  --accent-a5: #0092ff3f;
  --accent-a6: #0086ff54;
  --accent-a7: #007eed70;
  --accent-a8: #007be59c;
  --accent-a9: #006eb3;
  --accent-a10: #0060a3;
  --accent-a11: #006eb3fd;
  --accent-a12: #002c4fe9;

  --accent-contrast: #fff;
  --accent-surface: #eff8ffcc;
  --accent-indicator: #006eb3;
  --accent-track: #006eb3;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.3% 0.0067 246.7);
      --accent-2: oklch(98% 0.0125 246.7);
      --accent-3: oklch(96.1% 0.0301 246.7);
      --accent-4: oklch(93.6% 0.045 246.7);
      --accent-5: oklch(90.3% 0.0588 246.7);
      --accent-6: oklch(86.1% 0.0728 246.7);
      --accent-7: oklch(80.6% 0.0906 246.7);
      --accent-8: oklch(72.9% 0.1215 246.7);
      --accent-9: oklch(52.3% 0.1365 246.7);
      --accent-10: oklch(47.5% 0.1365 246.7);
      --accent-11: oklch(52.6% 0.1365 246.7);
      --accent-12: oklch(35.1% 0.0723 246.7);

      --accent-a1: color(display-p3 0.0196 0.6078 1 / 0.02);
      --accent-a2: color(display-p3 0.0235 0.5137 0.9216 / 0.048);
      --accent-a3: color(display-p3 0.0118 0.5647 0.9608 / 0.099);
      --accent-a4: color(display-p3 0.0039 0.5255 0.9529 / 0.157);
      --accent-a5: color(display-p3 0.0039 0.502 0.949 / 0.22);
      --accent-a6: color(display-p3 0.0039 0.4549 0.949 / 0.295);
      --accent-a7: color(display-p3 0.0039 0.4118 0.8824 / 0.393);
      --accent-a8: color(display-p3 0 0.4 0.8392 / 0.542);
      --accent-a9: color(display-p3 0 0.298 0.6118 / 0.82);
      --accent-a10: color(display-p3 0 0.251 0.549 / 0.844);
      --accent-a11: color(display-p3 0 0.298 0.6157 / 0.816);
      --accent-a12: color(display-p3 0 0.1255 0.2627 / 0.871);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9412 0.9725 1 / 0.8);
      --accent-indicator: oklch(52.3% 0.1365 246.7);
      --accent-track: oklch(52.3% 0.1365 246.7);
    }
  }
}


.light, :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) {
    .light, :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: #fff;
  --accent-2: #def0ff;
  --accent-3: #cef;
  --accent-4: #b9e5ff;
  --accent-5: #a9ddff;
  --accent-6: #9bd7ff;
  --accent-7: #91d2ff;
  --accent-8: #8dd0ff;
  --accent-9: #006eb3;
  --accent-10: #0060a3;
  --accent-11: #92d2ff;
  --accent-12: #c7e5ff;

  --accent-a1: #00000000;
  --accent-a2: #008cff21;
  --accent-a3: #00aaff33;
  --accent-a4: #00a1ff46;
  --accent-a5: #009bff56;
  --accent-a6: #0099ff64;
  --accent-a7: #0097ff6e;
  --accent-a8: #0096ff72;
  --accent-a9: #006eb3;
  --accent-a10: #0060a3;
  --accent-a11: #0096ff6d;
  --accent-a12: #0089ff38;

  --accent-contrast: #fff;
  --accent-surface: #bee2ff80;
  --accent-indicator: #006eb3;
  --accent-track: #006eb3;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(100% 0.0255 246.7);
      --accent-2: oklch(94.7% 0.0293 246.7);
      --accent-3: oklch(93.4% 0.0655 246.7);
      --accent-4: oklch(90.4% 0.097 246.7);
      --accent-5: oklch(87.9% 0.1053 246.7);
      --accent-6: oklch(85.7% 0.1097 246.7);
      --accent-7: oklch(84.3% 0.1184 246.7);
      --accent-8: oklch(83.6% 0.1365 246.7);
      --accent-9: oklch(52.3% 0.1365 246.7);
      --accent-10: oklch(47.5% 0.1365 246.7);
      --accent-11: oklch(84.3% 0.1306 246.7);
      --accent-12: oklch(91% 0.0507 246.7);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.0039 0.4706 0.9373 / 0.118);
      --accent-a3: color(display-p3 0.0039 0.5922 0.9569 / 0.173);
      --accent-a4: color(display-p3 0.0039 0.5608 0.9529 / 0.24);
      --accent-a5: color(display-p3 0.0039 0.5373 0.9608 / 0.295);
      --accent-a6: color(display-p3 0.0039 0.5216 0.9569 / 0.342);
      --accent-a7: color(display-p3 0.0039 0.5137 0.9608 / 0.377);
      --accent-a8: color(display-p3 0.0039 0.5059 0.9608 / 0.389);
      --accent-a9: color(display-p3 0 0.298 0.6118 / 0.82);
      --accent-a10: color(display-p3 0 0.251 0.549 / 0.844);
      --accent-a11: color(display-p3 0.0039 0.5059 0.9608 / 0.373);
      --accent-a12: color(display-p3 0.0078 0.4627 0.9412 / 0.197);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.7686 0.8706 0.9961 / 0.5);
      --accent-indicator: oklch(52.3% 0.1365 246.7);
      --accent-track: oklch(52.3% 0.1365 246.7);
    }
  }
}


.dark {
  --grayscale-1: #111113;
  --grayscale-2: #18191b;
  --grayscale-3: #212225;
  --grayscale-4: #272a2d;
  --grayscale-5: #2e3135;
  --grayscale-6: #363a3f;
  --grayscale-7: #43484e;
  --grayscale-8: #5a6169;
  --grayscale-9: #696e77;
  --grayscale-10: #777b84;
  --grayscale-11: #b0b4ba;
  --grayscale-12: #edeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #d8f4f609;
  --grayscale-a3: #ddeaf814;
  --grayscale-a4: #d3edf81d;
  --grayscale-a5: #d9edfe25;
  --grayscale-a6: #d6ebfd30;
  --grayscale-a7: #d9edff40;
  --grayscale-a8: #d9edff5d;
  --grayscale-a9: #dfebfd6d;
  --grayscale-a10: #e5edfd7b;
  --grayscale-a11: #f1f7feb5;
  --grayscale-a12: #fcfdffef;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.074);
      --grayscale-2: color(display-p3 0.095 0.098 0.105);
      --grayscale-3: color(display-p3 0.13 0.135 0.145);
      --grayscale-4: color(display-p3 0.156 0.163 0.176);
      --grayscale-5: color(display-p3 0.183 0.191 0.206);
      --grayscale-6: color(display-p3 0.215 0.226 0.244);
      --grayscale-7: color(display-p3 0.265 0.28 0.302);
      --grayscale-8: color(display-p3 0.357 0.381 0.409);
      --grayscale-9: color(display-p3 0.415 0.431 0.463);
      --grayscale-10: color(display-p3 0.469 0.483 0.514);
      --grayscale-11: color(display-p3 0.692 0.704 0.728);
      --grayscale-12: color(display-p3 0.93 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #d8f4f609;
      --grayscale-a3: #ddeaf814;
      --grayscale-a4: #d3edf81d;
      --grayscale-a5: #d9edfe25;
      --grayscale-a6: #d6ebfd30;
      --grayscale-a7: #d9edff40;
      --grayscale-a8: #d9edff5d;
      --grayscale-a9: #dfebfd6d;
      --grayscale-a10: #e5edfd7b;
      --grayscale-a11: #f1f7feb5;
      --grayscale-a12: #fcfdffef;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.415 0.431 0.463);
      --grayscale-track: color(display-p3 0.415 0.431 0.463);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(0, 110, 179, 1);
  --background: rgba(255, 255, 255, 1);
  --border: rgba(242, 242, 242, 1);
  --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(0, 110, 179, 1);
  --background: rgba(255, 255, 255, 1);
  --border: rgba(242, 242, 242, 1);
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #fff;
}

/* Custom styles for Fern Docs Starter */
:root {
  --cooperators-blue: #006eb3;
  --teal: #00b5e2;
  --vintage-blue: #0096d6;
  --dark-blue: #1b2a4a;
  --white: #ffffff;
  --light-grey: #f2f2f2;
  --black: #231f20;
}

body {

  font-family:
    "Avenir Next LT Pro",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;

  h1,
  h2 {
    color: var(--cooperators-blue);
    font-weight: bold;
  }

  h1 {
    font-size: 36pt;
  }

  h2 {
    font-size: 18pt;
  }

  p:not(:is(h1 p, h2 p, h3 p, h4 p, h5 p, h6 p)) {
    font-weight: normal;
    font-size: 11pt;
    color: var(--black);
  }

  blockquote {
    border-left-color: var(--cooperators-blue);
  }

}

/* disable light/dark mode toggle */
nav.fern-button-group > button {
  display: none;
}

/* Fern keeps Welcome for search and navigation; only its visible heading changes. */
.fern-main:has(.welcome-page-marker) header .fern-page-heading {
  font-size: 0;
}

.fern-main:has(.welcome-page-marker) header .fern-page-heading::after {
  content: "Developer Docs" / "";
  font-size: 36pt;
}

.fern-sidebar-link[href="/prefill-api-guide"] {
  font-weight: 400 !important;
}

/* Subtle linear gradient background */
/* .fern-background-image {
  background-image: linear-gradient(
    180deg,
    rgba(0, 135, 0, 0.03) 0%,
    transparent 50%
  );
}

:root.dark .fern-background-image {
  background-image: linear-gradient(
    180deg,
    rgba(112, 225, 85, 0.03) 0%,
    transparent 50%
  );
} */
