/*fern-site-stylesheet*/@font-face {
    font-family: 'PolySans';
    src: url('/_fern-files/0x.docs.buildwithfern.com/572e3526618e8bb57d4e5f6ae256debb998c599f7327926af7d4dbe2e05d36a8/docs/assets/fonts/PolySans-Neutral.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PolySans';
    src: url('/_fern-files/0x.docs.buildwithfern.com/572e3526618e8bb57d4e5f6ae256debb998c599f7327926af7d4dbe2e05d36a8/docs/assets/fonts/PolySans-Neutral.woff2') format('woff2');
    font-weight: 100 900;
    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: 100vw;
  --logo-height: 24px;
  --font-body: 'PolySans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'PolySans', 'PolySans', 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: #f0f1f1;
  --accent-2: #ecedee;
  --accent-3: #e1e3e4;
  --accent-4: #d8dadc;
  --accent-5: #cfd1d4;
  --accent-6: #c6c8cc;
  --accent-7: #b9bcc0;
  --accent-8: #a4a8ae;
  --accent-9: #25272a;
  --accent-10: #393b3e;
  --accent-11: #54575b;
  --accent-12: #232528;

  --accent-a1: #285b5b05;
  --accent-a2: #122e4a09;
  --accent-a3: #021c2814;
  --accent-a4: #0718291e;
  --accent-a5: #03102327;
  --accent-a6: #05102431;
  --accent-a7: #020e1e3e;
  --accent-a8: #010d1f54;
  --accent-a9: #010407d9;
  --accent-a10: #010408c4;
  --accent-a11: #02060ca8;
  --accent-a12: #010307db;

  --accent-contrast: #fff;
  --accent-surface: #eaebeccc;
  --accent-indicator: #25272a;
  --accent-track: #25272a;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(95.7% 0.0009 258.4);
      --accent-2: oklch(94.5% 0.0015 258.4);
      --accent-3: oklch(91.4% 0.0027 258.4);
      --accent-4: oklch(88.7% 0.0036 258.4);
      --accent-5: oklch(86% 0.0046 258.4);
      --accent-6: oklch(83.2% 0.0055 258.4);
      --accent-7: oklch(79.4% 0.007 258.4);
      --accent-8: oklch(73.1% 0.009 258.4);
      --accent-9: oklch(27.2% 0.0063 258.4);
      --accent-10: oklch(35.3% 0.0063 258.4);
      --accent-11: oklch(45.5% 0.0085 258.4);
      --accent-12: oklch(26.3% 0.0063 258.4);

      --accent-a1: color(display-p3 0.0353 0.2667 0.2667 / 0.017);
      --accent-a2: color(display-p3 0.0078 0.1255 0.2471 / 0.033);
      --accent-a3: color(display-p3 0.0039 0.1059 0.1529 / 0.078);
      --accent-a4: color(display-p3 0.0039 0.0706 0.1412 / 0.115);
      --accent-a5: color(display-p3 0.0039 0.0549 0.1333 / 0.152);
      --accent-a6: color(display-p3 0.0039 0.0471 0.1294 / 0.189);
      --accent-a7: color(display-p3 0.0039 0.0353 0.102 / 0.238);
      --accent-a8: color(display-p3 0.0039 0.0392 0.098 / 0.324);
      --accent-a9: color(display-p3 0 0.0078 0.0235 / 0.849);
      --accent-a10: color(display-p3 0 0.0118 0.0275 / 0.767);
      --accent-a11: color(display-p3 0 0.0118 0.0353 / 0.652);
      --accent-a12: color(display-p3 0 0.0078 0.0235 / 0.857);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9176 0.9216 0.9255 / 0.8);
      --accent-indicator: oklch(27.2% 0.0063 258.4);
      --accent-track: oklch(27.2% 0.0063 258.4);
    }
  }
}


.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: #171819;
  --accent-2: #1e1f20;
  --accent-3: #262728;
  --accent-4: #2c2d2e;
  --accent-5: #323335;
  --accent-6: #3b3c3d;
  --accent-7: #48494a;
  --accent-8: #606163;
  --accent-9: #f3f4f5;
  --accent-10: #eaebec;
  --accent-11: #b3b4b6;
  --accent-12: #edeeef;

  --accent-a1: #00189802;
  --accent-a2: #c3dffb09;
  --accent-a3: #dfedfb12;
  --accent-a4: #e4eff919;
  --accent-a5: #e1e9f921;
  --accent-a6: #f2f8ff29;
  --accent-a7: #f3f8fc38;
  --accent-a8: #f6f9ff53;
  --accent-a9: #fdfefff4;
  --accent-a10: #fcfdfeeb;
  --accent-a11: #f9fbfeaf;
  --accent-a12: #fcfdfeee;

  --accent-contrast: #112334;
  --accent-surface: #24262880;
  --accent-indicator: #f3f4f5;
  --accent-track: #f3f4f5;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(20.9% 0.0026 247.8);
      --accent-2: oklch(23.9% 0.0026 247.8);
      --accent-3: oklch(27.3% 0.0026 247.8);
      --accent-4: oklch(29.8% 0.0026 247.8);
      --accent-5: oklch(32.2% 0.0026 247.8);
      --accent-6: oklch(35.5% 0.0026 247.8);
      --accent-7: oklch(40.4% 0.0026 247.8);
      --accent-8: oklch(49.3% 0.0026 247.8);
      --accent-9: oklch(96.7% 0.0017 247.8);
      --accent-10: oklch(93.9% 0.0017 247.8);
      --accent-11: oklch(77% 0.0026 247.8);
      --accent-12: oklch(94.9% 0.0017 247.8);

      --accent-a1: color(display-p3 0 0.098 0.8824 / 0.005);
      --accent-a2: color(display-p3 0.7686 0.8784 0.9922 / 0.035);
      --accent-a3: color(display-p3 0.8784 0.9373 0.9922 / 0.07);
      --accent-a4: color(display-p3 0.9137 0.9529 0.9961 / 0.096);
      --accent-a5: color(display-p3 0.9059 0.9373 1 / 0.126);
      --accent-a6: color(display-p3 0.949 0.9725 0.9961 / 0.161);
      --accent-a7: color(display-p3 0.9647 0.9804 1 / 0.217);
      --accent-a8: color(display-p3 0.9647 0.9765 1 / 0.325);
      --accent-a9: color(display-p3 0.9922 0.9961 1 / 0.957);
      --accent-a10: color(display-p3 0.9922 0.9961 1 / 0.918);
      --accent-a11: color(display-p3 0.9804 0.9882 1 / 0.684);
      --accent-a12: color(display-p3 0.9882 0.9961 1 / 0.931);

      --accent-contrast: #112334;
      --accent-surface: color(display-p3 0.1412 0.149 0.1569 / 0.5);
      --accent-indicator: oklch(96.7% 0.0017 247.8);
      --accent-track: oklch(96.7% 0.0017 247.8);
    }
  }
}


.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(37, 39, 42, 1);
  --background: rgba(244, 244, 244, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #f4f4f4;
}

.dark {
  color-scheme: dark;
  --accent: rgba(243, 244, 245, 1);
  --background: rgba(24, 24, 24, 1);
  --border: initial;
  --sidebar-background: initial;
  --header-background: color-mix(in srgb, var(--background), transparent 30%);
  --card-background: initial;
  --theme-color: #181818;
}

/* Custom styles for 0x Docs */

/* Hide the page title and toolbar on overview layout pages (home page) */
.fern-layout-overview .fern-page-heading,
.fern-layout-overview .fern-page-actions,
.fern-layout-overview .fern-toolbar {
  display: none !important;
}

/* Also hide the header container that wraps the title */
.fern-layout-overview article > header.my-8 {
  display: none !important;
}

/* Hide the "Was this page helpful" footer on overview pages */
.fern-layout-overview .fern-layout-footer-toolbar {
  display: none !important;
}


/* Hero illustration — swap between light and dark variants */
.hero-illustration-dark { display: none; }
.dark .hero-illustration-light { display: none; }
.dark .hero-illustration-dark { display: block; }

/* Hero buttons */
.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 3px 22px;
  border-radius: 9999px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  width: fit-content;
}

/* Hide the auto-injected external link icon */
.hero-btn-primary svg,
.hero-btn-secondary svg {
  display: none !important;
}

.hero-btn-primary {
  background-color: #01a74d;
  color: #ffffff !important;
  border: 1.5px solid transparent;
}

.dark .hero-btn-primary {
  background-color: #01a74d;
  color: #ffffff !important;
}

.hero-btn-secondary {
  background-color: white;
  color: #25272a !important;
  border: 1.5px solid rgba(37, 39, 42, 0.2);
}

.dark .hero-btn-secondary {
  background-color: #ffffff;
  color: #25272a !important;
  border-color: transparent;
}
