/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 812px;
  --sidebar-width: 248px;
  --page-width: 1376px;
  --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: #fbfdf9;
  --accent-2: #f6fbf1;
  --accent-3: #e3fbcf;
  --accent-4: #d2f7b1;
  --accent-5: #c0ee95;
  --accent-6: #aee27b;
  --accent-7: #98d05b;
  --accent-8: #79bc0d;
  --accent-9: #76b900;
  --accent-10: #6bad00;
  --accent-11: #4d8100;
  --accent-12: #2c440f;

  --accent-a1: #55aa0006;
  --accent-a2: #5cb7000e;
  --accent-a3: #6bea0030;
  --accent-a4: #6ce5004e;
  --accent-a5: #68d7016a;
  --accent-a6: #63c70084;
  --accent-a7: #5fb600a4;
  --accent-a8: #72b800f2;
  --accent-a9: #76b900;
  --accent-a10: #6bad00;
  --accent-a11: #4d8100;
  --accent-a12: #1f3800f0;

  --accent-contrast: #fff;
  --accent-surface: #f4faeecc;
  --accent-indicator: #76b900;
  --accent-track: #76b900;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(99.2% 0.006 130.8);
      --accent-2: oklch(98.2% 0.0141 130.8);
      --accent-3: oklch(95.9% 0.0624 130.8);
      --accent-4: oklch(93.2% 0.0993 130.8);
      --accent-5: oklch(89.7% 0.1254 130.8);
      --accent-6: oklch(85.3% 0.1432 130.8);
      --accent-7: oklch(79.5% 0.1596 130.8);
      --accent-8: oklch(72.4% 0.1942 130.8);
      --accent-9: oklch(71.3% 0.1942 130.8);
      --accent-10: oklch(67.6% 0.1942 130.8);
      --accent-11: oklch(54.4% 0.1604 130.8);
      --accent-12: oklch(35.4% 0.0827 130.8);

      --accent-a1: color(display-p3 0.349 0.6745 0.0235 / 0.024);
      --accent-a2: color(display-p3 0.3882 0.6941 0.0039 / 0.051);
      --accent-a3: color(display-p3 0.4824 0.8902 0.0039 / 0.173);
      --accent-a4: color(display-p3 0.4667 0.8745 0.0039 / 0.279);
      --accent-a5: color(display-p3 0.4392 0.8157 0.0039 / 0.377);
      --accent-a6: color(display-p3 0.4196 0.7529 0.0039 / 0.471);
      --accent-a7: color(display-p3 0.3843 0.6706 0 / 0.581);
      --accent-a8: color(display-p3 0.3922 0.6471 0 / 0.769);
      --accent-a9: color(display-p3 0.3882 0.6392 0 / 0.785);
      --accent-a10: color(display-p3 0.349 0.5882 0 / 0.8);
      --accent-a11: color(display-p3 0.2471 0.4235 0 / 0.863);
      --accent-a12: color(display-p3 0.1098 0.1882 0 / 0.906);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9608 0.9804 0.9373 / 0.8);
      --accent-indicator: oklch(71.3% 0.1942 130.8);
      --accent-track: oklch(71.3% 0.1942 130.8);
    }
  }
}


.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: #000;
  --accent-2: #0f130a;
  --accent-3: #1b2611;
  --accent-4: #24370d;
  --accent-5: #2e4612;
  --accent-6: #395616;
  --accent-7: #436619;
  --accent-8: #4f7819;
  --accent-9: #76b900;
  --accent-10: #6bad00;
  --accent-11: #8cce37;
  --accent-12: #caf0a7;

  --accent-a1: #00000000;
  --accent-a2: #caff8713;
  --accent-a3: #b6ff7326;
  --accent-a4: #a7ff3d37;
  --accent-a5: #a8ff4246;
  --accent-a6: #aaff4256;
  --accent-a7: #a8ff3f66;
  --accent-a8: #a8ff3678;
  --accent-a9: #a3ff00b9;
  --accent-a10: #9eff00ad;
  --accent-a11: #adff44ce;
  --accent-a12: #d7ffb1f0;

  --accent-contrast: #fff;
  --accent-surface: #1e261480;
  --accent-indicator: #76b900;
  --accent-track: #76b900;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(0% 0.0188 130.8);
      --accent-2: oklch(18% 0.0189 130.8);
      --accent-3: oklch(25.2% 0.0401 130.8);
      --accent-4: oklch(31.1% 0.0698 130.8);
      --accent-5: oklch(36.2% 0.0827 130.8);
      --accent-6: oklch(41.4% 0.0963 130.8);
      --accent-7: oklch(46.7% 0.1116 130.8);
      --accent-8: oklch(52.3% 0.13 130.8);
      --accent-9: oklch(71.3% 0.1942 130.8);
      --accent-10: oklch(67.6% 0.1942 130.8);
      --accent-11: oklch(78% 0.1898 130.8);
      --accent-12: oklch(91.1% 0.1042 130.8);

      --accent-a1: color(display-p3 0 0 0 / 0);
      --accent-a2: color(display-p3 0.8392 0.9961 0.5765 / 0.075);
      --accent-a3: color(display-p3 0.7608 0.9961 0.498 / 0.15);
      --accent-a4: color(display-p3 0.7412 1 0.3529 / 0.212);
      --accent-a5: color(display-p3 0.7412 1 0.3765 / 0.271);
      --accent-a6: color(display-p3 0.7412 1 0.3765 / 0.334);
      --accent-a7: color(display-p3 0.7412 1 0.3765 / 0.397);
      --accent-a8: color(display-p3 0.7412 1 0.3647 / 0.467);
      --accent-a9: color(display-p3 0.7255 1 0.302 / 0.718);
      --accent-a10: color(display-p3 0.7137 1 0.298 / 0.671);
      --accent-a11: color(display-p3 0.7569 1 0.4039 / 0.8);
      --accent-a12: color(display-p3 0.8745 1 0.7294 / 0.938);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.1255 0.149 0.0863 / 0.5);
      --accent-indicator: oklch(71.3% 0.1942 130.8);
      --accent-track: oklch(71.3% 0.1942 130.8);
    }
  }
}


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

.light, :root {
  color-scheme: light;
  --accent: rgba(118, 185, 0, 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(118, 185, 0, 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;
}

/*!
 * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
 *
 * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
 * property and proprietary rights in and to this material, related
 * documentation and any modifications thereto. Any use, reproduction,
 * disclosure or distribution of this material and related documentation
 * without an express license agreement from NVIDIA CORPORATION or
 * its affiliates is strictly prohibited.
 */

/*
 * Font declarations for the NVIDIA Fern theme.
 * - Roboto Mono (code font): loaded via Google Fonts CDN.
 * - NVIDIA Sans (body/heading font): loaded remotely from images.nvidia.com.
 *   Regional variants (NALA, EMEA, RU, APAC, CN) are intentionally omitted;
 *   add them here if locale-specific glyph coverage is needed in future.
 */

@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap");

/* Modern browsers: variable font (full weight range 100–1000) */
@supports (font-variation-settings: normal) {

  @font-face {
    font-family: "NVIDIA";
    src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/var/NVIDIASansVF_W_Wght.woff2") format("woff2 supports variations"),
      url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/var/NVIDIASansVF_W_Wght.woff2") format("woff2-variations");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
    font-style: normal;
    font-display: swap;
  }

}

/* Older browsers: discrete weight fallbacks */
@supports not (font-variation-settings: normal) {

  @font-face {
    font-family: "NVIDIA";
    src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Lt.woff2") format("woff2"),
      url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Lt.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "NVIDIA";
    src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Rg.woff2") format("woff2"),
      url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Rg.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "NVIDIA";
    src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Md.woff2") format("woff2"),
      url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Md.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "NVIDIA";
    src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Bd.woff2") format("woff2"),
      url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_Bd.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

}

/* Italic — applies in both modern and older browsers */
@font-face {
  font-family: "NVIDIA";
  src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_It.woff2") format("woff2"),
    url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/GLOBAL/NVIDIASans_W_It.woff") format("woff");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

/*!
 * SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
 *
 * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
 * property and proprietary rights in and to this material, related
 * documentation and any modifications thereto. Any use, reproduction,
 * disclosure or distribution of this material and related documentation
 * without an express license agreement from NVIDIA CORPORATION or
 * its affiliates is strictly prohibited.
 */

/* Color themes for light and dark modes */
:root {
    --font-body: 'NVIDIA', sans-serif;
    --font-heading: 'NVIDIA', sans-serif;
    --font-code: 'Roboto Mono', monospace;

    /* Brand Colors */
    --nv-color-green: #74B900;
    --nv-color-green-2: #004B31;
    --nv-color-black: #000000;
    --nv-color-white: #FFFFFF;

    /* Grey Scale - Light */
    --nv-light-grey-1: #f7f7f7;
    --nv-light-grey-2: #EEEEEE;
    --nv-light-grey-3: #DDDDDD;
    --nv-light-grey-4: #CCCCCC;
    --nv-light-grey-5: #999999;

    /* Grey Scale - Dark */
    --nv-dark-grey-1: #111111;
    --nv-dark-grey-2: #1A1A1A;
    --nv-dark-grey-3: #222222;
    --nv-dark-grey-4: #333333;
    --nv-dark-grey-5: #666666;

    /* Colors by Usage */
    --nv-color-text: #000000;
    --nv-color-bg-default: #FFFFFF;
    --nv-color-bg-alt: #f7f7f7;
    --nv-color-success: #76B900;
    --nv-color-error: #f44336;

    /* Theme-independent settings */
    --rounded: 999px;
}
main {
    min-height: calc(100vh - 200px);
  }
/* Typography - Headers */
h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25em; /* 45px */
}

/* Keep generated API titles with long identifiers inside the content column. */
.fern-main h1:not(.hero-heading) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25em; /* 35px */
}

h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25em; /* 30px */
}

h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25em; /* 25px */
}

/* Typography - Paragraphs */
.prose{
    color: var(--nv-dark-grey-2) !important;
}
.dark .prose{
    color: var(--nv-light-grey-2) !important;
}
p {
    text-decoration-thickness: 3px;
}
.fern-mdx-link {
    color: var(--tw-prose-body);
    text-decoration-color: var(--accent);
    font-weight: var(--font-weight-normal);
}

/* Light theme (default) */
html:not([data-theme]),html[data-theme=light] {
    --pst-color-background: #fff;
    --pst-color-on-background: #fff;
    --pst-color-shadow: #ccc;
    --pst-color-heading: #000;
    --pst-color-text-base: #1a1a1a;
    --pst-color-text-muted: #666;
    --pst-color-surface: #f7f7f7;
    --pst-color-on-surface: #333;
    --pst-color-primary: var(--nv-color-green-2);
    --pst-color-table-row-hover-bg: var(--nv-color-green);
    --pst-color-link: var(--pst-color-text-base);
    --pst-color-link-hover: var(--pst-color-text-base);
    --pst-color-inline-code: var(--pst-color-primary);
    --pst-color-inline-code-links: var(--pst-color-primary);
    --pst-color-secondary: var(--pst-color-primary);
    --pst-color-secondary-bg: var(--nv-color-green);
    --pst-color-accent: var(--nv-color-green);
}

/* Dark theme */
html[data-theme=dark] {
    --pst-color-background: #111;
    --pst-color-on-background: #000;
    --pst-color-shadow: #000;
    --pst-color-heading: #fff;
    --pst-color-text-base: #eee;
    --pst-color-text-muted: #999;
    --pst-color-surface: #1a1a1a;
    --pst-color-on-surface: #ddd;
    --pst-color-primary: var(--nv-color-green);
    --pst-color-table-row-hover-bg: var(--nv-color-green-2);
    --pst-color-link: var(--pst-color-text-base);
    --pst-color-link-hover: var(--pst-color-text-base);
    --pst-color-inline-code: var(--pst-color-primary);
    --pst-color-inline-code-links: var(--pst-color-primary);
    --pst-color-secondary: var(--pst-color-primary);
    --pst-color-secondary-bg: var(--nv-color-green-2);
    --pst-color-accent: var(--nv-color-green);
}

/* Product and verion selector styling */

.fern-product-selector {
  border-radius: 8px;
  padding-right: 2px;
}

.fern-product-selector .product-dropdown-trigger p{
    font-weight: bold !important;
}
.fern-product-selector-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 1000px;
}

@media (max-width: 768px) {

    .fern-product-selector-radio-group {
        grid-template-columns: repeat(2, 1fr);
    }

}
.fern-version-selector {
    transform: translateY(-1px);
}

.fern-version-selector .version-dropdown-trigger{
    outline: 1px solid var(--border, var(--grayscale-a5)) !important;
    border-radius: 5px;
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}
.product-dropdown-trigger{
    padding-left: 0px !important;
}

.product-dropdown-trigger, .version-dropdown-trigger{
    background-color: transparent !important;
}
.product-dropdown-trigger svg:hover{
    stroke: var(--nv-color-green) !important;
}
.product-dropdown-trigger svg:focus-visible {
    stroke: var(--nv-color-green) !important; outline: none;
}
.version-dropdown-trigger:hover{
    box-shadow: 0 0 0 1px var(--nv-color-green) !important;
}
.version-dropdown-trigger:focus-visible {
    box-shadow: 0 0 0 1px var(--nv-color-green) !important; outline: none;
}
.version-dropdown-trigger svg:hover{
    stroke: var(--nv-color-green) !important;
}
.version-dropdown-trigger svg:focus-visible {
    stroke: var(--nv-color-green) !important; outline: none;
}
/* Sidebar styling */
#fern-sidebar {
    border-right: 1px solid var(--border, var(--grayscale-a5)) !important;
}
#fern-sidebar[data-viewport="desktop"][data-state="sticky"] {
    height: calc(
        100dvh - var(--header-height) - var(--custom-footer-visible-height, 0px)
    ) !important;
}
/* Hide the default changelog history/clock icon in the sidebar */
.fern-sidebar-link svg.lucide-history {
    display: none !important;
}
.fern-sidebar-link:not(:hover){
    background-color: transparent !important;
}
.fern-sidebar-link {

    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border-radius: 0px !important;
    &.nested {
        padding-left: 1rem !important;
    }

}
/* Section-level sidebar links (pages that have children) should match sidebar heading padding */
.fern-sidebar-group > li > .fern-sidebar-link:has(+ .fern-sidebar-group) {
    padding-left: 0.25rem !important;
}
.fern-sidebar-group{
    padding: 0 !important
}
#fern-sidebar-scroll-area{
    padding-right: 0 !important
}

/* header styling */
#fern-announcement,
#fern-announcement a {
    color: var(--nv-color-white) !important;
}

#fern-announcement {
    background-color: var(--nv-color-green-2) !important;
}

#fern-announcement code:not(.code-block) {
    background-color: rgb(0 0 0 / 10%) !important;
}

#nvidia-preview-banner {
    background: var(--nv-color-green);
    border-bottom: 1px solid var(--grayscale-a5);
    color: var(--nv-color-text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 8px 16px;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 2147483647;
}

.dark #nvidia-preview-banner {
    background: var(--nv-color-green);
    border-bottom-color: var(--grayscale-a5);
    color: var(--nv-color-text);
}

body.nvidia-preview-banner-enabled #fern-header {
    top: var(--nvidia-preview-banner-offset, 0px) !important;
}

body.nvidia-preview-banner-enabled .fern-main {
    margin-top: calc(
        var(--header-height) + var(--nvidia-preview-banner-offset, 0px)
    ) !important;
}

body.nvidia-preview-banner-enabled #fern-sidebar[data-viewport="desktop"][data-state="sticky"] {
    top: calc(
        var(--header-height) + var(--nvidia-preview-banner-offset, 0px)
    ) !important;
    height: calc(
        100dvh - var(--header-height) - var(--nvidia-preview-banner-offset, 0px) -
            var(--custom-footer-visible-height, 0px)
    ) !important;
}

.fern-header-content{
    padding-left: 18.5px;
    margin-top: -5px;
    margin-bottom: -5px;
}
#fern-header {
    border-color: var(--border, var(--grayscale-a5)) !important;
}
@keyframes header-background-fade {
    0% {
      background-color: transparent;
    }
    100% {
      background-color: var(--header-background);
    }
  }

[data-theme=default]#fern-header {
animation: header-background-fade linear;
animation-timeline: scroll();
animation-range: 0 50px;
}
.fern-header-navbar-links .fern-button{
    background-color: transparent !important;
}
.fern-header-navbar-links > button{
    background-color: transparent !important;
}
.fern-header-logo-container > div > div > a > img{
    padding-right: 0.5rem;
}
.fern-header-logo-container .font-heading{
    font-size: 16px !important;
    font-weight: bold !important;
    color: var(--grayscale-a12) !important;
    border-inline: 1px solid var(--border, var(--grayscale-a5));
    padding: 15px 1rem;
    margin: -20px 0.5rem;
}
@media (max-width: 1024px) {

    .fern-header-logo-container .font-heading{
        display: none !important;
    }

}
/* Search bar styling */
#fern-search-button{
    background-color: transparent !important;
    border-radius: var(--rounded);
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}
#fern-search-button:hover{
    box-shadow: 0 0 0 1px var(--nv-color-green) !important;
}
#fern-search-button:focus-visible {
    box-shadow: 0 0 0 1px var(--nv-color-green) !important; outline: none;
}
#fern-search-button .fern-kbd{
    display: none;
}

.fern-layout-footer-toolbar button{
    background-color: transparent !important;
    border-color: transparent !important;
    padding-inline: 0px !important;
}

/* ========== Custom footer (native React component) – 1:1 with original ========== */
.bd-footer {
  border-top: 1px solid var(--border, var(--grayscale-a5)) !important;
  font-family: NVIDIA, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.875rem;
  padding: 2rem 0;
  width: 100%;
}
.bd-footer * {
  font-family: inherit;
}
.bd-footer__inner {
  padding: 0 2rem;
}
.footer-items__start {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.footer-brand {
  display: inline-block;
  text-decoration: none;
}
.footer-brand .logo__image {
  height: 24px;
  width: auto;
  transition: opacity 0.2s ease;
}
.footer-brand:hover .logo__image {
  opacity: 0.8;
}
.footer-brand:focus-within .logo__image {
  opacity: 0.8; outline: none;
}
.footer-brand-fern {
  display: flex;
  align-items: center;
  margin-left: auto;
}
/* Logo theme visibility – .dark is on ancestor in Fern */
.only-light {
  display: block;
  filter: invert(1);
}
.only-dark {
  display: none;
}
.dark .only-light {
  display: none;
}
.dark .only-dark {
  display: block;
  filter: none;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--grayscale-a11);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.pipe-separator {
  color: var(--grayscale-a11);
  white-space: nowrap;
}
.copyright {
  color: var(--grayscale-a11);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {

  .bd-footer { padding: 1.5rem 0; }
  .bd-footer__inner { padding: 0 1.5rem; }
  .footer-items__start { gap: 1rem; }
  .footer-links { flex-direction: row; gap: 0.5rem 0.75rem; }
  .footer-links a { white-space: normal; word-break: break-word; }

}
@media (max-width: 480px) {

  .footer-links { gap: 0.5rem; }
  .footer-links a { font-size: 0.8125rem; }
  .copyright { font-size: 0.8125rem; }

}
/* Built with Fern link + tooltip */
.built-with-fern-link {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  text-decoration: none;
  position: relative;
}
.built-with-fern-logo {
  height: 1rem;
  margin: 0;
  transition: filter 150ms ease;
}
.built-with-fern-logo path { fill: var(--grayscale-a12); }
.built-with-fern-link:hover .built-with-fern-logo { filter: saturate(1) opacity(1); }
.built-with-fern-link:focus-within .built-with-fern-logo { filter: saturate(1) opacity(1); outline: none;
}
.built-with-fern-link:hover .built-with-fern-logo path:nth-child(2) { fill: #51C233; }
.built-with-fern-link:focus-within .built-with-fern-logo path:nth-child(2) { fill: #51C233; outline: none;
}
.built-with-fern-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100%);
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
  margin: 0;
  margin-right: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 0.85rem;
  border-radius: 0.375rem;
  border: 1px solid var(--grayscale-a5);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
  transition-delay: 0s;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: max-content;
}
.built-with-fern-link:hover .built-with-fern-tooltip {
  opacity: 1;
  transition-delay: 0.75s;
}
.built-with-fern-link:focus-within .built-with-fern-tooltip {
  opacity: 1;
  transition-delay: 0.75s; outline: none;
}
.dark .built-with-fern-tooltip {
  background-color: #000000;
  color: #FFFFFF;
}
.built-with-fern-logo-dark { display: none; }
.dark .built-with-fern-logo-light { display: none; }
.dark .built-with-fern-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {

  .built-with-fern-logo-light { display: none; }
  .built-with-fern-logo-dark { display: block; }

}

/* Footer styling */
.fern-footer-nav{
    border-radius: var(--rounded);
    background-color: transparent !important;
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}
/* Figure caption callouts */
.fig-caption {
    --callout-border: transparent !important;
    --callout-icon-color: var(--grayscale-a8) !important;
    background-color: var(--nv-light-grey-1) !important;
    font-size: 0.875rem;
}
.dark .fig-caption {
    background-color: var(--nv-dark-grey-2) !important;
}
.fig-caption p {
    font-style: italic;
    color: var(--tw-prose-body) !important;
}
.code-block-line-content .line {
  display: inline-block;
  min-height: 1lh;
  vertical-align: top;
}

/* Hide line numbers */
.code-block-line-gutter {
    display: none !important;
}
.fern-footer-prev h4, .fern-footer-next h4{
    font-size: inherit !important;
}
.fern-sidebar-link.nested[data-state="active"]:before {
    left: -0px !important;
    bottom: -0px !important;
    top: -0px !important;
    width: 2px !important;
}
.fern-sidebar-link[data-state="active"] {
    color: unset !important;
}

.fern-selection-item .fern-selection-item-icon{
    border-color: transparent !important;
}
/* Button styling */
.fern-button{
    border-radius: var(--rounded);
    font-weight: bold;
}
.fern-button.filled.primary{
    color: var(--nv-color-black);
}
.dark .fern-button.filled.primary{
    background-color: var(--nv-color-white);
}
.dark .fern-button.filled.primary:hover{
    background-color: var(--nv-light-grey-2);
}
.dark .fern-button.filled.primary:focus-visible {
    background-color: var(--nv-light-grey-2); outline: none;
}
.fern-button.outlined.normal{
    background-color: transparent;
    --tw-ring-color: transparent;
    color: var(--nv-color-black);
}
.fern-button.outlined.normal:hover{
    color: var(--nv-color-green)
}
.fern-button.outlined.normal:focus-visible {
    color: var(--nv-color-green); outline: none;
}
.dark .fern-button.outlined.normal{
    color: var(--nv-color-white);
}
.dark .fern-button.outlined.normal:hover{
    color: var(--nv-color-green);
}
.dark .fern-button.outlined.normal:focus-visible {
    color: var(--nv-color-green); outline: none;
}
/* Card styling */
.fern-card{
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}
svg.card-icon{
    height: 24px !important;
    width: 24px !important;
}
.card-icon{
    background-color: transparent !important;
}
.fern-card:hover{
    box-shadow: 0 0 0 1px var(--nv-color-green) !important;
}
.fern-card:focus-visible {
    box-shadow: 0 0 0 1px var(--nv-color-green) !important; outline: none;
}
.fern-docs-badge{
    border-radius: var(--rounded);
}
.fern-page-actions button:hover{
    background-color: transparent !important;
}
.fern-page-actions button:focus-visible {
    background-color: transparent !important; outline: none;
}
.fern-page-actions a:hover{
    background-color: transparent !important;
}
.fern-page-actions a:focus-visible {
    background-color: transparent !important; outline: none;
}
/* Moving logo to footer */
#builtwithfern, #builtwithfern * {
    display: none !important;
}

/* Landing Page Gradients */
/* Top: Simple radial gradient (no mask, responsive) */
.landing-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 800px;
    background: radial-gradient(ellipse 100% 100% at 50% 10%,
        rgba(191, 242, 48, 0.15) 0%,
        rgba(158, 228, 179, 0.12) 30%,
        rgba(124, 215, 254, 0.12) 50%,
        rgba(124, 215, 254, 0.06) 75%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Bottom: Gradient for organic transition */
.landing-gradient-bottom {
    position: absolute;
    bottom: -282px;
    left: 0;
    right: 0;
    height: 1232px;
    background: linear-gradient(85deg, #BFF230 41.98%, #7CD7FE 99.52%);
    opacity: 0.05;
    pointer-events: none;
    z-index: 5;
}

/* Landing Page Gradients Wrapper */
.landing-page-gradients {
    position: relative;
    width: 100%;
    margin-top: -100px;
    padding-top: 100px;
    overflow: visible;
    background: #181818;
}

/* Hero Section (Landing page only) */
.hero-section {
    position: relative;
    width: 100%;
    padding: 3rem 6rem;
    margin: 0 auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* Hero Section Content - constrain width */
.hero-section > * {
    position: relative;
    z-index: 100;
    max-width: 1440px;
    width: 100%;
}

/* Tablet and Mobile: fix spacing and layout */
@media (max-width: 1024px) {

    /* Extend dark background behind header */
    .landing-page body, .landing-page html, .landing-page main {
        background: #181818 !important;
    }

    .landing-page-gradients {
        margin-top: -100px;
        padding-top: 100px;
    }

    .hero-section {
        padding: 2rem 2rem;
    }

    .hero-section > * {
        max-width: none;
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-title-section {
        margin-bottom: 2rem;
    }

}

/* Small mobile only */
@media (max-width: 600px) {

    .hero-heading {
        font-size: 28px;
    }

    .hero-section {
        padding: 1.5rem 1.5rem;
    }

}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    pointer-events: none !important;
}
/* Hero Title Section */
.hero-title-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 100;
}

.hero-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--nv-color-white);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    color: var(--nv-color-white);
}

/* Hero Content Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 100;
}

.hero-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-column-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--nv-color-white);
}

.hero-column-subtitle {
    font-size: 16px;
    margin: 0 0 1rem 0;
    color: var(--nv-color-white);
}

/* Hero Card Container (Left Column) */
.hero-card-container {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border, var(--grayscale-a5));
    margin-top: 1.5rem !important;
    background: rgba(26, 26, 26, 0.2);
    backdrop-filter: blur(6px);
}

.hero-card-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 26, 0.2);
    backdrop-filter: blur(6px);
}

.hero-card-text-wrapper {
    flex: 1;
}

.hero-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nv-color-white);
}

.hero-card-button-wrapper {
    flex-shrink: 0;
}
.hero-card-button-wrapper .fern-mdx-link{
    text-decoration: none !important;
}

.hero-card-button {
    white-space: nowrap;
}

/* Hero Cards */

.hero-column .fern-card {
    padding: 9px 17px;
    background-color: rgba(26, 26, 26, 0.2) !important;
    backdrop-filter: blur(6px);
}

.hero-section .fern-card{
    color: white !important;
}

.hero-column .card-icon {
    font-size: 64px !important;
    width: 64px !important;
    height: 64px !important;
}

.hero-column .card-icon svg,
.hero-column .card-icon i {
    font-size: 64px !important;
    width: 64px !important;
    height: 64px !important;
}

.hero-column .fern-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.hero-column .fern-card p {
    font-size: 14px;
    line-height: 20px;
    color: white !important;
}

/* Body Section */
.body-section {
    display: flex;
    padding: 4rem 16rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    align-self: stretch;
    position: relative;
    z-index: 1;
    background: #181818;
}

/* Body Section Content - constrain width */
.body-section > * {
    max-width: 1440px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.code-block .fern-code-link{
    text-decoration: underline !important;
    text-decoration-color: var(--accent) !important;
    text-underline-offset: 1px !important;
    text-decoration-style: underline !important;
}

/* Mobile Styles */
@media (max-width: 768px) {

    .hero-section {
        padding: 2rem 1.5rem;
    }

    .hero-title-section {
        margin-bottom: 2rem;
    }

    .hero-heading {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-column-title {
        font-size: 20px;
    }

    .hero-column-subtitle {
        font-size: 14px;
    }

    .hero-card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card-button-wrapper {
        align-self: flex-start;
    }

    .hero-column .card-icon,
    .hero-column .card-icon svg,
    .hero-column .card-icon i {
        font-size: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .hero-column .fern-card-title {
        font-size: 14px;
    }

    .hero-column .fern-card p {
        font-size: 11px;
    }

    .body-section {
        padding: 2rem 1.5rem;
    }

    .fern-selection-item-icon.use-icon {
        display: none !important;
    }

}

/* Force long inline <code> values inside table cells to wrap instead of
   stretching the column. Default overflow-wrap: break-word only breaks at
   natural points (hyphens, etc.), which isn't enough for long dotted/
   camelCase config keys. */
.fern-table td code,
.fern-table th code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
