/*fern-site-stylesheet*/@font-face {
    font-family: 'Ambit';
    src: url('/_fern-files/runpayments.docs.buildwithfern.com/f56e1509a3bc398e7b2c801d45046c3993980ffb79a81bd4b6a9a08aa57427aa/assets/Ambit-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PPMori';
    src: url('/_fern-files/runpayments.docs.buildwithfern.com/b3a4e90b7c985cffe169a237dc4a5f259614598cafd91073eaf0ae67f7568d26/assets/PPMori-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

: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: 'Ambit', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'PPMori', 'Ambit', 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: #fffcfc;
  --accent-2: #fff7f7;
  --accent-3: #ffe9e9;
  --accent-4: #ffd9da;
  --accent-5: #ffcacc;
  --accent-6: #ffbabd;
  --accent-7: #fca5a9;
  --accent-8: #f58990;
  --accent-9: #f7004e;
  --accent-10: #e80042;
  --accent-11: #da003d;
  --accent-12: #6f001d;

  --accent-a1: #ff000003;
  --accent-a2: #ff000008;
  --accent-a3: #ff000016;
  --accent-a4: #ff000726;
  --accent-a5: #ff000a35;
  --accent-a6: #ff000c45;
  --accent-a7: #f7010c5a;
  --accent-a8: #ea001076;
  --accent-a9: #f7004e;
  --accent-a10: #e80042;
  --accent-a11: #da003d;
  --accent-a12: #6f001d;

  --accent-contrast: #fff;
  --accent-surface: #fff5f5cc;
  --accent-indicator: #f7004e;
  --accent-track: #f7004e;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.4% 0.0041 16.61);
      --accent-2: oklch(98.3% 0.0106 16.61);
      --accent-3: oklch(95.4% 0.028 16.61);
      --accent-4: oklch(92.8% 0.0549 16.61);
      --accent-5: oklch(89.6% 0.0713 16.61);
      --accent-6: oklch(85.8% 0.0859 16.61);
      --accent-7: oklch(81% 0.1035 16.61);
      --accent-8: oklch(74.8% 0.1315 16.61);
      --accent-9: oklch(62% 0.2479 16.61);
      --accent-10: oklch(57.8% 0.2495 16.61);
      --accent-11: oklch(55% 0.2479 16.61);
      --accent-12: oklch(34.1% 0.1396 16.61);

      --accent-a1: color(display-p3 0.6745 0.0235 0.0235 / 0.012);
      --accent-a2: color(display-p3 0.8784 0.0196 0.0196 / 0.032);
      --accent-a3: color(display-p3 0.8235 0.0549 0.0118 / 0.087);
      --accent-a4: color(display-p3 0.8392 0.0078 0.0353 / 0.146);
      --accent-a5: color(display-p3 0.8431 0 0.0196 / 0.2);
      --accent-a6: color(display-p3 0.851 0.0039 0.0196 / 0.259);
      --accent-a7: color(display-p3 0.8275 0.0039 0.0275 / 0.338);
      --accent-a8: color(display-p3 0.7882 0.0039 0.0392 / 0.444);
      --accent-a9: color(display-p3 0.8627 0 0.1608 / 0.808);
      --accent-a10: color(display-p3 0.8 0 0.1216 / 0.82);
      --accent-a11: color(display-p3 0.7412 0 0.1137 / 0.836);
      --accent-a12: color(display-p3 0.3569 0 0.0627 / 0.938);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 1 0.9608 0.9608 / 0.8);
      --accent-indicator: oklch(62% 0.2479 16.61);
      --accent-track: oklch(62% 0.2479 16.61);
    }
  }
}


.light, :root {
  --grayscale-1: #fdfdfc;
  --grayscale-2: #f9f9f8;
  --grayscale-3: #f1f0ef;
  --grayscale-4: #e9e8e6;
  --grayscale-5: #e2e1de;
  --grayscale-6: #dad9d6;
  --grayscale-7: #cfceca;
  --grayscale-8: #bcbbb5;
  --grayscale-9: #8d8d86;
  --grayscale-10: #82827c;
  --grayscale-11: #63635e;
  --grayscale-12: #21201c;

  --grayscale-a1: #55550003;
  --grayscale-a2: #25250007;
  --grayscale-a3: #20100010;
  --grayscale-a4: #1f150019;
  --grayscale-a5: #1f180021;
  --grayscale-a6: #19130029;
  --grayscale-a7: #19140035;
  --grayscale-a8: #1915014a;
  --grayscale-a9: #0f0f0079;
  --grayscale-a10: #0c0c0083;
  --grayscale-a11: #080800a1;
  --grayscale-a12: #060500e3;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #8d8d86;
  --grayscale-track: #8d8d86;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.992 0.992 0.989);
      --grayscale-2: color(display-p3 0.977 0.977 0.973);
      --grayscale-3: color(display-p3 0.943 0.942 0.936);
      --grayscale-4: color(display-p3 0.913 0.912 0.903);
      --grayscale-5: color(display-p3 0.885 0.883 0.873);
      --grayscale-6: color(display-p3 0.854 0.852 0.839);
      --grayscale-7: color(display-p3 0.813 0.81 0.794);
      --grayscale-8: color(display-p3 0.738 0.734 0.713);
      --grayscale-9: color(display-p3 0.553 0.553 0.528);
      --grayscale-10: color(display-p3 0.511 0.511 0.488);
      --grayscale-11: color(display-p3 0.388 0.388 0.37);
      --grayscale-12: color(display-p3 0.129 0.126 0.111);

      --grayscale-a1: #55550003;
      --grayscale-a2: #25250007;
      --grayscale-a3: #20100010;
      --grayscale-a4: #1f150019;
      --grayscale-a5: #1f180021;
      --grayscale-a6: #19130029;
      --grayscale-a7: #19140035;
      --grayscale-a8: #1915014a;
      --grayscale-a9: #0f0f0079;
      --grayscale-a10: #0c0c0083;
      --grayscale-a11: #080800a1;
      --grayscale-a12: #060500e3;

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


.dark {
  --accent-1: #221818;
  --accent-2: #271a1a;
  --accent-3: #461319;
  --accent-4: #5c071a;
  --accent-5: #6c0920;
  --accent-6: #7d172a;
  --accent-7: #972437;
  --accent-8: #c42e48;
  --accent-9: #f7004e;
  --accent-10: #e70042;
  --accent-11: #ff8e97;
  --accent-12: #ffced0;

  --accent-a1: #22ff0018;
  --accent-a2: #53ff001a;
  --accent-a3: #fd74002a;
  --accent-a4: #ff1b0043;
  --accent-a5: #fd1b0056;
  --accent-a6: #ff380069;
  --accent-a7: #ff442687;
  --accent-a8: #ff3f47bb;
  --accent-a9: #ff004ef6;
  --accent-a10: #fe0041e4;
  --accent-a11: #ff8e97;
  --accent-a12: #ffced0;

  --accent-contrast: #fff;
  --accent-surface: #2c340080;
  --accent-indicator: #f7004e;
  --accent-track: #f7004e;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(22% 0.0173 16.61);
      --accent-2: oklch(23.3% 0.0214 16.61);
      --accent-3: oklch(27.4% 0.0776 16.61);
      --accent-4: oklch(30.6% 0.1147 16.61);
      --accent-5: oklch(34.2% 0.1285 16.61);
      --accent-6: oklch(38.8% 0.1351 16.61);
      --accent-7: oklch(45.1% 0.1492 16.61);
      --accent-8: oklch(54.5% 0.1852 16.61);
      --accent-9: oklch(62% 0.2479 16.61);
      --accent-10: oklch(57.8% 0.2479 16.61);
      --accent-11: oklch(78.6% 0.2054 16.61);
      --accent-12: oklch(90.5% 0.067 16.61);

      --accent-a1: color(display-p3 0.2078 1 0 / 0.087);
      --accent-a2: color(display-p3 0.3961 1 0 / 0.099);
      --accent-a3: color(display-p3 0.9961 0.5529 0 / 0.152);
      --accent-a4: color(display-p3 1 0.251 0 / 0.24);
      --accent-a5: color(display-p3 1 0.251 0 / 0.307);
      --accent-a6: color(display-p3 1 0.3333 0 / 0.378);
      --accent-a7: color(display-p3 1 0.3647 0.1647 / 0.485);
      --accent-a8: color(display-p3 1 0.349 0.302 / 0.667);
      --accent-a9: color(display-p3 1 0.2196 0.3255 / 0.876);
      --accent-a10: color(display-p3 1 0.2196 0.2784 / 0.809);
      --accent-a11: color(display-p3 1 0.6196 0.6196 / 0.934);
      --accent-a12: color(display-p3 1 0.8471 0.8353 / 0.965);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1725 0.1961 0 / 0.5);
      --accent-indicator: oklch(62% 0.2479 16.61);
      --accent-track: oklch(62% 0.2479 16.61);
    }
  }
}


.dark {
  --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) {
    .dark {
      --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);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(247, 0, 78, 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(247, 0, 78, 1);
  --background: rgba(34, 0, 75, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #22004b;
}

:is(.light) .fern-button.filled {
  background-color: #22004b !important;
}

:is(.light) .fern-button.filled:hover {
  background-color: #4e336f !important;
}
:is(.light) .fern-button.filled:focus-visible {
  background-color: #4e336f !important; outline: none;
}

:is(.light) .fern-button.filled .fern-button-text {
  color: #f2f0f5 !important;
}

:is(.light) .fern-button.filled svg {
  color: #f2f0f5 !important;
}

.fern-header .fern-button.outlined {
  border-width: .2rem;
}

:is(.dark) .fern-header .fern-button.outlined {
  border-color: #7a6593;
}

:is(.light) h1, :is(.light) h2, :is(.light) h3, :is(.light) h4, :is(.light) h5, :is(.light) h6, :is(.light) li, :is(.light) table {
  color: #22004b;
}

:is(.light) .fern-prose {
  --tw-prose-body: #22004b;
  --tw-prose-headings: #22004b;
  --tw-body-text: #22004b;
  --tw-prose-code: #22004b;
}

:is(.light) :root {
  --body-text: #22004b;
}

:is(.light) .fern-card {
  color: #22004b;
}

:is(.light) body p {
  color: #7a6593;
}

:is(.light) .t-muted {
  color: #7a6593;
}

:is(.light) .fern-api-property-key {
  color: #22004b;
}

:is(.light) .prose {
  color: #22004b;
}

:is(.light) .t-default {
  color: #22004b;
}

.fern-header .fern-button {
  height: 38px !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
}