/*fern-site-stylesheet*/@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/candid.docs.buildwithfern.com/afa32cbf0e4dd1977888146a5846bd9c81452583b1342d22382e9083746d9e1d/docs/assets/fonts/RussischSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-0192, U+0218-021B, U+03B1-03BC, U+0400-045F, U+0490-04BB, U+04E8-04E9, U+1E80-1E85, U+1EF2-1EF3, U+20B4-20BD, U+2116, U+2190-2192, U+21B5, U+2260-2265, U+FB02;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/_img/afa32cbf0e4dd1977888146a5846bd9c-v1.latin.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+001D, U+0020-005F, U+0061-007E, U+00A0-00A3, U+00A5, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B7, U+00BB, U+00BF-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2060, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/candid.docs.buildwithfern.com/cfa9bc5672dc333ab112322841610f9c1de712b0596e34980a73cfe82a25fd11/docs/assets/fonts/RussischSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-0192, U+0218-021B, U+03B1-03BC, U+0400-045F, U+0490-04BB, U+04E8-04E9, U+1E80-1E85, U+1EF2-1EF3, U+20B4-20BD, U+2116, U+2190-2192, U+21B5, U+2260-2265, U+FB02;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/_img/cfa9bc5672dc333ab112322841610f9c-v1.latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+001D, U+0020-005F, U+0061-007E, U+00A0-00A3, U+00A5, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B7, U+00BB, U+00BF-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2060, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/candid.docs.buildwithfern.com/e92e8c9659c579d27f0ed71934ed98a5a33976b893755d851574f8f514ae20ab/docs/assets/fonts/RussischSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-0192, U+0218-021B, U+03B1-03BC, U+0400-045F, U+0490-04BB, U+04E8-04E9, U+1E80-1E85, U+1EF2-1EF3, U+20B4-20BD, U+2116, U+2190-2192, U+21B5, U+2260-2265, U+FB02;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/_img/e92e8c9659c579d27f0ed71934ed98a5-v1.latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+001D, U+0020-005F, U+0061-007E, U+00A0-00A3, U+00A5, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B7, U+00BB, U+00BF-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2060, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/candid.docs.buildwithfern.com/e92e8c9659c579d27f0ed71934ed98a5a33976b893755d851574f8f514ae20ab/docs/assets/fonts/RussischSans-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-0192, U+0218-021B, U+03B1-03BC, U+0400-045F, U+0490-04BB, U+04E8-04E9, U+1E80-1E85, U+1EF2-1EF3, U+20B4-20BD, U+2116, U+2190-2192, U+21B5, U+2260-2265, U+FB02;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/_img/e92e8c9659c579d27f0ed71934ed98a5-v1.latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+001D, U+0020-005F, U+0061-007E, U+00A0-00A3, U+00A5, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B7, U+00BB, U+00BF-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2060, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/candid.docs.buildwithfern.com/78f57634d9881d640dc8b84d685bff917e39bd0838280f74d09e54b342816855/docs/assets/fonts/RussischSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-0192, U+0218-021B, U+03B1-03BC, U+0400-045F, U+0490-04BB, U+04E8-04E9, U+1E80-1E85, U+1EF2-1EF3, U+20B4-20BD, U+2116, U+2190-2192, U+21B5, U+2260-2265, U+FB02;
}
@font-face {
    font-family: 'Russisch Sans';
    src: url('/_fern-files/_img/78f57634d9881d640dc8b84d685bff91-v1.latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000, U+001D, U+0020-005F, U+0061-007E, U+00A0-00A3, U+00A5, U+00A9, U+00AB, U+00AE, U+00B0-00B1, U+00B7, U+00BB, U+00BF-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2060, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
    font-family: 'Russisch Sans Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 108.79%;
    ascent-override: 92.88%;
    descent-override: 24.50%;
    line-gap-override: 2.57%;
}

:root {
  --header-height: 50px;
  --header-height-real: 50px;
  --mobile-header-height-real: 50px;
  --content-width: 640px;
  --sidebar-width: 240px;
  --page-width: 100vw;
  --logo-height: 20px;
  --font-body: 'Russisch Sans', 'Russisch Sans Fallback', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'Russisch Sans', 'Russisch Sans Fallback', 'Russisch Sans', 'Russisch Sans Fallback', 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: #f3f3f6;
  --accent-2: #eceef7;
  --accent-3: #e3e6f7;
  --accent-4: #d6dcfd;
  --accent-5: #c7d0ff;
  --accent-6: #b6c0ff;
  --accent-7: #a0acfd;
  --accent-8: #838ef9;
  --accent-9: #503ff0;
  --accent-10: #4534d4;
  --accent-11: #4636d6;
  --accent-12: #252370;

  --accent-a1: #3737f604;
  --accent-a2: #9fb0ff1d;
  --accent-a3: #4f6aff1d;
  --accent-a4: #cdd5ffc7;
  --accent-a5: #c7d0ff;
  --accent-a6: #b6c0ff;
  --accent-a7: #8898ffc7;
  --accent-a8: #0000ff55;
  --accent-a9: #1700eebe;
  --accent-a10: #1701cbca;
  --accent-a11: #1601cdc8;
  --accent-a12: #02005adb;

  --accent-contrast: #fff;
  --accent-surface: #eaecf8cc;
  --accent-indicator: #503ff0;
  --accent-track: #503ff0;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(96.5% 0.0032 277.2);
      --accent-2: oklch(95% 0.012 277.2);
      --accent-3: oklch(92.8% 0.0232 277.2);
      --accent-4: oklch(89.9% 0.0465 277.2);
      --accent-5: oklch(86.6% 0.0696 277.2);
      --accent-6: oklch(82.4% 0.093 277.2);
      --accent-7: oklch(76.6% 0.1173 277.2);
      --accent-8: oklch(68.6% 0.1562 277.2);
      --accent-9: oklch(51.2% 0.2496 277.2);
      --accent-10: oklch(46.3% 0.2303 277.2);
      --accent-11: oklch(46.8% 0.2303 277.2);
      --accent-12: oklch(31.4% 0.1287 277.2);

      --accent-a1: color(display-p3 0.0627 0.0627 0.9686 / 0.013);
      --accent-a2: color(display-p3 0.0118 0.2 0.9686 / 0.041);
      --accent-a3: color(display-p3 0.0118 0.1176 0.9137 / 0.074);
      --accent-a4: color(display-p3 0.6941 0.7373 1 / 0.445);
      --accent-a5: color(display-p3 0.651 0.698 1 / 0.556);
      --accent-a6: color(display-p3 0.4196 0.4902 1 / 0.445);
      --accent-a7: color(display-p3 0 0 1 / 0.112);
      --accent-a8: color(display-p3 0.0039 0.0784 0.9333 / 0.46);
      --accent-a9: color(display-p3 0.0706 0 0.8863 / 0.74);
      --accent-a10: color(display-p3 0.0667 0 0.7529 / 0.785);
      --accent-a11: color(display-p3 0.0627 0 0.7608 / 0.777);
      --accent-a12: color(display-p3 0.0078 0 0.3333 / 0.858);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9176 0.9255 0.9647 / 0.8);
      --accent-indicator: oklch(51.2% 0.2496 277.2);
      --accent-track: oklch(51.2% 0.2496 277.2);
    }
  }
}


.light, :root {
  --grayscale-1: #fcfcfc;
  --grayscale-2: #f9f9f9;
  --grayscale-3: #f0f0f0;
  --grayscale-4: #e8e8e8;
  --grayscale-5: #e0e0e0;
  --grayscale-6: #d9d9d9;
  --grayscale-7: #cecece;
  --grayscale-8: #bbbbbb;
  --grayscale-9: #8d8d8d;
  --grayscale-10: #838383;
  --grayscale-11: #646464;
  --grayscale-12: #202020;

  --grayscale-a1: #00000003;
  --grayscale-a2: #00000006;
  --grayscale-a3: #0000000f;
  --grayscale-a4: #00000017;
  --grayscale-a5: #0000001f;
  --grayscale-a6: #00000026;
  --grayscale-a7: #00000031;
  --grayscale-a8: #00000044;
  --grayscale-a9: #00000072;
  --grayscale-a10: #0000007c;
  --grayscale-a11: #0000009b;
  --grayscale-a12: #000000df;

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

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.988 0.988 0.988);
      --grayscale-2: color(display-p3 0.975 0.975 0.975);
      --grayscale-3: color(display-p3 0.939 0.939 0.939);
      --grayscale-4: color(display-p3 0.908 0.908 0.908);
      --grayscale-5: color(display-p3 0.88 0.88 0.88);
      --grayscale-6: color(display-p3 0.849 0.849 0.849);
      --grayscale-7: color(display-p3 0.807 0.807 0.807);
      --grayscale-8: color(display-p3 0.732 0.732 0.732);
      --grayscale-9: color(display-p3 0.553 0.553 0.553);
      --grayscale-10: color(display-p3 0.512 0.512 0.512);
      --grayscale-11: color(display-p3 0.392 0.392 0.392);
      --grayscale-12: color(display-p3 0.125 0.125 0.125);

      --grayscale-a1: #00000003;
      --grayscale-a2: #00000006;
      --grayscale-a3: #0000000f;
      --grayscale-a4: #00000017;
      --grayscale-a5: #0000001f;
      --grayscale-a6: #00000026;
      --grayscale-a7: #00000031;
      --grayscale-a8: #00000044;
      --grayscale-a9: #00000072;
      --grayscale-a10: #0000007c;
      --grayscale-a11: #0000009b;
      --grayscale-a12: #000000df;

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


.dark {
  --accent-1: #171823;
  --accent-2: #191a29;
  --accent-3: #242549;
  --accent-4: #2c2c61;
  --accent-5: #353571;
  --accent-6: #3e407f;
  --accent-7: #4a4c92;
  --accent-8: #5859ac;
  --accent-9: #969cee;
  --accent-10: #8b91e2;
  --accent-11: #a7aeff;
  --accent-12: #dce0fd;

  --accent-a1: #17970002;
  --accent-a2: #97d76804;
  --accent-a3: #6a71fb28;
  --accent-a4: #6666fe44;
  --accent-a5: #6f6ffe57;
  --accent-a6: #767bfd68;
  --accent-a7: #7e82ff7e;
  --accent-a8: #8182ff9d;
  --accent-a9: #a1a7ffeb;
  --accent-a10: #9da4ffdd;
  --accent-a11: #a7aeff;
  --accent-a12: #dee2fffd;

  --accent-contrast: #fff;
  --accent-surface: #1b1d2a80;
  --accent-indicator: #969cee;
  --accent-track: #969cee;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(21.4% 0.0217 279.8);
      --accent-2: oklch(22.5% 0.0278 279.8);
      --accent-3: oklch(28.3% 0.0646 279.8);
      --accent-4: oklch(32.5% 0.0916 279.8);
      --accent-5: oklch(36.3% 0.1003 279.8);
      --accent-6: oklch(40.3% 0.1041 279.8);
      --accent-7: oklch(45% 0.1125 279.8);
      --accent-8: oklch(50.5% 0.1288 279.8);
      --accent-9: oklch(72.1% 0.119 279.8);
      --accent-10: oklch(68.4% 0.119 279.8);
      --accent-11: oklch(77.6% 0.119 279.8);
      --accent-12: oklch(91.3% 0.0394 279.8);

      --accent-a1: color(display-p3 0.0902 0.8745 0 / 0.005);
      --accent-a2: color(display-p3 0.6941 0.9961 0.4549 / 0.013);
      --accent-a3: color(display-p3 0.4314 0.4588 0.9961 / 0.149);
      --accent-a4: color(display-p3 0.4157 0.4157 1 / 0.255);
      --accent-a5: color(display-p3 0.451 0.451 1 / 0.325);
      --accent-a6: color(display-p3 0.4863 0.5059 1 / 0.389);
      --accent-a7: color(display-p3 0.5137 0.5333 0.9961 / 0.473);
      --accent-a8: color(display-p3 0.5216 0.5294 1 / 0.593);
      --accent-a9: color(display-p3 0.6549 0.6745 1 / 0.894);
      --accent-a10: color(display-p3 0.6353 0.6588 1 / 0.838);
      --accent-a11: color(display-p3 0.6745 0.698 1 / 0.973);
      --accent-a12: color(display-p3 0.8824 0.8941 1 / 0.982);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.102 0.1098 0.1569 / 0.5);
      --accent-indicator: oklch(72.1% 0.119 279.8);
      --accent-track: oklch(72.1% 0.119 279.8);
    }
  }
}


.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(80, 63, 240, 1);
  --background: rgba(246, 246, 246, 1);
  --border: initial;
  --sidebar-background: rgba(255, 255, 255, 1);
  --header-background: rgba(255, 255, 255, 1);
  --card-background: initial;
  --theme-color: #f6f6f6;
}

.dark {
  color-scheme: dark;
  --accent: rgba(150, 156, 238, 1);
  --background: rgba(23, 23, 40, 1);
  --border: initial;
  --sidebar-background: rgba(23, 23, 40, 1);
  --header-background: rgba(23, 23, 40, 1);
  --card-background: initial;
  --theme-color: #171728;
}

/* Fix the tablist not being scrollable on mobile and hide the native scrollbar */
[role='tablist'] {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;

  /* Hide native scrollbars */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

[role='tablist']::-webkit-scrollbar {
  display: none; /* Chrome, Safari, newer Edge */
}

[role='tablist'] h6[data-state='active'] {
  position: relative;
  z-index: 1;
  border-bottom: 2px solid currentColor !important;
}

.fern-sidebar-heading-content {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

/* Make active sidebar links bolder with transition */
.fern-sidebar-link-container .fern-sidebar-link-text {
  font-weight: 400;
  transition: font-weight 0.15s ease;
}

/* Active state styling */
:root[class='light'] .fern-sidebar-link-container[data-state='active'] .fern-sidebar-link-text {
  font-weight: 500;
  color: #000000; /* or your preferred light mode active color */
}

:root[class='dark'] .fern-sidebar-link-container[data-state='active'] .fern-sidebar-link-text {
  font-weight: 500;
  color: #ffffff; /* or your preferred dark mode active color */
}

/* Sidebar, header and header tabs styling */
.fern-header-container {
  border-bottom-color: rgb(233, 232, 234);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  box-sizing: border-box;
}

:root[class='light'] .fern-sidebar-container,
:root[class='light'] .fern-header-tabs {
  border-color: #e9e8ea !important;
}

:root[class='dark'] .fern-sidebar-container,
:root[class='dark'] .fern-header-tabs {
  border-color: #23252a !important;
}

/* Remove the bottom border on the header */
.fern-header {
  border-bottom: none !important;
}

/* Increase the line height all copy */
p {
  line-height: 2rem;
}

/* Make eyebrow text bolder */
.fern-breadcrumb-item {
  font-weight: 800 !important;
}


#fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"], .fern-sidebar-content .fern-button[href="https://www.joincandidhealth.com/contact/sales"] {

  background-color: #171729 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;

  padding: 12px !important;

  svg {
    display: none !important;
  }

}

#fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"]:hover
{
  background-color: #503ff0 !important;
}
#fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"]:focus-visible {
  background-color: #503ff0 !important;
}

.dark #fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"], .dark .fern-sidebar-content .fern-button[href="https://www.joincandidhealth.com/contact/sales"]
{
  background-color: #503ff0 !important;
  color: #fff !important;
}

.dark #fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"]:hover
{
  background-color: #fff !important;
  color: #503ff0 !important;
}
.dark #fern-header .fern-button[href="https://www.joincandidhealth.com/contact/sales"]:focus-visible {
  background-color: #fff !important;
  color: #503ff0 !important;
}

.card-title-sub-text {
  font-size: 14px;
  font-style: italic;
}

.card-title-sub-text-red {
  color: #FF918C;
  font-weight: 600 !important;
}

.card-title-sub-text-yellow {
  color: #FFCB6B;
}

.card-title-sub-text-grey {
  color: #FFCB6B;
}

/* ---------------------------------------------------------------------------
 * Candid Data Share explorer (docs/assets/js/cds-data-explorer.js)
 * ------------------------------------------------------------------------- */
.cdsx {
  --cdsx-bg: #f8fafc;
  --cdsx-card: #ffffff;
  --cdsx-ink: #0f172a;
  --cdsx-muted: #64748b;
  --cdsx-line: #cbd5e1;
  --cdsx-border: rgba(15, 23, 42, 0.08);
  --cdsx-accent: #503ff0;
  position: relative;
  margin: 1.5rem 0 2.5rem;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--cdsx-border);
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(80, 63, 240, 0.08), transparent 60%),
    radial-gradient(900px 400px at 110% 110%, rgba(16, 185, 129, 0.08), transparent 60%),
    var(--cdsx-bg);
  color: var(--cdsx-ink);
  font-size: 13px;
}
.dark .cdsx {
  --cdsx-bg: #12121f;
  --cdsx-card: #1c1c30;
  --cdsx-ink: #e2e8f0;
  --cdsx-muted: #94a3b8;
  --cdsx-line: #3b3b58;
  --cdsx-border: rgba(226, 232, 240, 0.08);
  --cdsx-accent: #969cee;
}
.cdsx button { font: inherit; color: inherit; }
.cdsx-widget-fallback { padding: 16px; border-radius: 12px; border: 1px dashed var(--cdsx-line, #cbd5e1); }

/* toolbar */
.cdsx-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.cdsx-search {
  flex: 0 1 220px; min-width: 160px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--cdsx-border); background: var(--cdsx-card); color: var(--cdsx-ink); outline: none;
}
.cdsx-search:focus { border-color: var(--cdsx-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cdsx-accent) 20%, transparent); }
.cdsx-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.cdsx-chip, .cdsx-reset {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--cdsx-border); background: var(--cdsx-card); transition: all 0.15s ease;
}
.cdsx-chip:hover, .cdsx-chip[aria-pressed="true"] {
  border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--cdsx-card));
}
.cdsx-chip:focus-visible {
  border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--cdsx-card));
}
.cdsx-reset { color: var(--cdsx-muted); }
.cdsx-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--c); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }

/* layout */
.cdsx-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.cdsx-stage { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; padding: 4px 8px; }
.cdsx-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cdsx-edges { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; }
@media (max-width: 1100px) {

  .cdsx-body { grid-template-columns: minmax(0, 1fr); }
  .cdsx-panel { position: static; }

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

  .cdsx-stage { grid-template-columns: minmax(0, 1fr); gap: 18px; }

}

/* bundle zones and table cards */
.cdsx-zone {
  display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 16px;
  background: color-mix(in srgb, var(--c) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
}
.cdsx-zone-head {
  display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; text-decoration: none !important;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, var(--cdsx-ink));
}
.cdsx-zone-head:hover .cdsx-zone-title { text-decoration: underline; }
.cdsx-zone-head:focus-within .cdsx-zone-title { text-decoration: underline; }
.cdsx-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%;
  padding: 8px 10px 8px 12px; text-align: left; cursor: pointer; border-radius: 10px;
  background: var(--cdsx-card); border: 1px solid var(--cdsx-border); border-left: 3px solid var(--c, var(--cdsx-accent));
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.25s ease, filter 0.25s ease;
}
.cdsx-zone .cdsx-card { --c: inherit; }
.cdsx-card:hover, .cdsx-card:focus-visible {
  transform: translateY(-2px); outline: none;
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--c) 55%, transparent);
}
.cdsx-name { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12px; font-weight: 600; word-break: break-word; }
.cdsx-prefix { opacity: 0.45; font-weight: 500; }
.cdsx-grain { font-size: 11px; color: var(--cdsx-muted); line-height: 1.3; }
.cdsx-badge:empty { display: none; }
.cdsx-badge {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--c);
  box-shadow: 0 0 0 3px var(--cdsx-bg); animation: cdsx-pop 0.3s ease both;
}

/* spotlight states */
.cdsx.has-spotlight .cdsx-card:not(.is-lit) { opacity: 0.28; filter: saturate(0.4); }
.cdsx .cdsx-card.is-lit { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent), 0 8px 24px -10px color-mix(in srgb, var(--c) 60%, transparent); }
.cdsx .cdsx-card.is-a, .cdsx .cdsx-card.is-b {
  box-shadow: 0 0 0 3px var(--c), 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent);
  animation: cdsx-pulse 1.8s ease-in-out infinite;
}

/* edges */
.cdsx-edge { fill: none; stroke: var(--cdsx-line); stroke-width: 1.2; opacity: 0.45; transition: opacity 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease; }
.cdsx.has-spotlight .cdsx-edge { opacity: 0.08; }
.cdsx .cdsx-edge.is-hot {
  opacity: 1; stroke: var(--cdsx-accent); stroke-width: 2.2; stroke-dasharray: 6 6;
  animation: cdsx-flow 0.9s linear infinite;
}
.cdsx .cdsx-edge.is-hot.is-reverse { animation-direction: reverse; }
.cdsx.has-path .cdsx-edge.is-hot { stroke-width: 3; stroke-dasharray: none; animation: cdsx-draw 0.5s ease both; stroke-dasharray: 1200; }
.cdsx-edge-label { opacity: 0; transition: opacity 0.2s ease; }
.cdsx-edge-label.is-hot { opacity: 1; }
.cdsx-edge-label rect { fill: var(--cdsx-card); stroke: color-mix(in srgb, var(--cdsx-accent) 45%, transparent); }
.cdsx-edge-label text { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; fill: var(--cdsx-ink); }

/* side panel */
.cdsx-panel {
  position: sticky; top: 88px; padding: 16px; border-radius: 16px; min-height: 220px;
  background: var(--cdsx-card); border: 1px solid var(--cdsx-border);
  box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.35);
  animation: cdsx-fade 0.25s ease both;
}
.cdsx-panel p { margin: 0 0 10px; color: var(--cdsx-muted); line-height: 1.5; }
.cdsx-kicker { margin: 12px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cdsx-muted); }
.cdsx-kicker:first-child { margin-top: 0; }
.cdsx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.cdsx-stat { padding: 10px; border-radius: 12px; text-align: center; background: color-mix(in srgb, var(--cdsx-accent) 8%, transparent); }
.cdsx-stat strong { display: block; font-size: 22px; line-height: 1.1; color: var(--cdsx-accent); }
.cdsx-stat span { font-size: 11px; color: var(--cdsx-muted); }
.cdsx-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.cdsx-pill { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.cdsx-title .cdsx-name { font-size: 14px; }
.cdsx-doclink { font-size: 12px; font-weight: 600; color: var(--cdsx-accent) !important; }
.cdsx-desc { color: var(--cdsx-ink) !important; }
.cdsx-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 0 4px; font-size: 12px; }
.cdsx-meta dt { color: var(--cdsx-muted); }
.cdsx-meta dd { margin: 0; }
.cdsx-joins { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.cdsx-joins button {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: center;
  width: 100%; padding: 7px 10px; text-align: left; cursor: pointer; border-radius: 10px;
  border: 1px solid var(--cdsx-border); background: transparent; transition: background 0.15s ease, border-color 0.15s ease;
}
.cdsx-joins button:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); }
.cdsx-joins button:focus-visible { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); }
.cdsx-joins .cdsx-key { grid-column: 2 / 4; font-size: 10.5px; color: var(--cdsx-muted); background: none; padding: 0; }
.cdsx-card-ratio { font-size: 10.5px; font-weight: 700; color: var(--c); white-space: nowrap; }
.cdsx-chain { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cdsx-chain li { display: flex; align-items: center; gap: 8px; animation: cdsx-fade 0.3s ease both; }
.cdsx-chain li:nth-child(2) { animation-delay: 0.08s; } .cdsx-chain li:nth-child(3) { animation-delay: 0.16s; }
.cdsx-chain li:nth-child(4) { animation-delay: 0.24s; } .cdsx-chain li:nth-child(5) { animation-delay: 0.32s; }
.cdsx-step { width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--c); flex: none; }
.cdsx-code { border-radius: 12px; background: #0f172a; overflow-x: auto; }
.cdsx-code pre { margin: 0; padding: 12px 14px; font-size: 11.5px; line-height: 1.6; color: #e2e8f0; background: transparent; white-space: pre; }
.cdsx-kw { color: #a5b4fc; font-weight: 600; }
.cdsx-str { color: #6ee7b7; }
.cdsx-actions { display: flex; gap: 6px; margin: 10px 0; }
.cdsx-btn { padding: 6px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--cdsx-border); background: transparent; font-size: 12px; font-weight: 600; }
.cdsx-btn:hover { border-color: var(--cdsx-accent); }
.cdsx-btn:focus-visible { border-color: var(--cdsx-accent); }
.cdsx-btn-primary { background: var(--cdsx-accent); border-color: var(--cdsx-accent); color: #fff !important; }
.cdsx-notes { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cdsx-notes li { padding: 8px 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.cdsx-note-warn { background: rgba(245, 158, 11, 0.12); border-left: 3px solid #f59e0b; }
.cdsx-note-info { background: rgba(80, 63, 240, 0.08); border-left: 3px solid var(--cdsx-accent); }
.cdsx-hint { font-size: 12px; }

@keyframes cdsx-flow { to { stroke-dashoffset: -24; } }
@keyframes cdsx-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes cdsx-pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 35%, transparent), 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent); } }
@keyframes cdsx-pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes cdsx-fade { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {

  .cdsx *, .cdsx { animation: none !important; transition: none !important; }

}
.cdsx-labels { z-index: 2; }
.cdsx-name { word-break: normal; overflow-wrap: normal; }
.cdsx-notes li { display: flex; gap: 8px; align-items: flex-start; }
.cdsx-notes li > div { display: flex; flex-direction: column; gap: 4px; }

/* explorer panel: a compact strip above the map */
.cdsx-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cdsx-panel {
  position: static; min-height: 0; padding: 12px 16px; display: grid; gap: 18px; align-items: start;
  box-shadow: 0 6px 24px -18px rgba(15, 23, 42, 0.35);
}
.cdsx-pcol { min-width: 0; }
.cdsx-panel.is-idle { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.cdsx-panel.is-idle p { margin: 0; }
.cdsx-panel.is-idle .cdsx-kicker { margin-bottom: 2px; }
.cdsx-panel.is-idle .cdsx-stats { margin-top: 0; grid-template-columns: repeat(3, 76px); }
.cdsx-panel.is-idle .cdsx-stat { padding: 6px 8px; }
.cdsx-panel.is-idle .cdsx-stat strong { font-size: 18px; }
.cdsx-panel.is-table { grid-template-columns: minmax(240px, 1fr) minmax(0, 2.2fr); }
.cdsx-panel.is-table .cdsx-head { margin-bottom: 6px; }
.cdsx-panel.is-table .cdsx-desc { margin-bottom: 6px; }
.cdsx-panel.is-table .cdsx-joins { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; max-height: 172px; }
.cdsx-panel.is-path { grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.7fr) minmax(220px, 1.2fr); }
.cdsx-panel.is-path .cdsx-chain { margin-bottom: 0; }
.cdsx-panel.is-path .cdsx-code pre { max-height: 230px; overflow: auto; }
.cdsx-panel.is-path .cdsx-actions { margin: 8px 0 4px; }
.cdsx-panel.is-path .cdsx-hint { margin: 0; }
.cdsx-panel.is-path .cdsx-notes { margin: 0; max-height: 290px; overflow-y: auto; }
@media (max-width: 900px) {

  .cdsx-panel.is-idle, .cdsx-panel.is-table, .cdsx-panel.is-path { grid-template-columns: minmax(0, 1fr); }

}

/* ---------------------------------------------------------------------------
 * Candid Data Share billing hierarchy (docs/assets/js/cds-hierarchy.js).
 * Reuses the .cdsx surface and tokens; type colors are validated categorical slots.
 * ------------------------------------------------------------------------- */
.cdsh {
  --cdsh-enc: #6366f1;
  --cdsh-sl: #8b5cf6;
  --cdsh-txn: #10b981;
  --cdsh-charge: #2a78d6;
  --cdsh-payment: #1baf7a;
  --cdsh-adjustment: #eb6834;
  --cdsh-balance_transfer: #4a3aa7;
  padding: 20px;
  container-type: inline-size;
}
.dark .cdsh {
  --cdsh-charge: #3987e5;
  --cdsh-payment: #199e70;
  --cdsh-adjustment: #d95926;
  --cdsh-balance_transfer: #9085e9;
}
.cdsh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
@container (max-width: 940px) {
 .cdsh-grid { grid-template-columns: minmax(0, 1fr); } 
}
.cdsh-code { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12px; padding: 1px 6px; border-radius: 6px; background: color-mix(in srgb, var(--cdsx-ink) 6%, transparent); color: var(--cdsx-ink); white-space: nowrap; }
.cdsh-code-sm { font-size: 11px; padding: 0 5px; }
.cdsh a { text-decoration: none; }
.cdsh a:hover .cdsh-code { background: color-mix(in srgb, var(--cdsx-accent) 16%, transparent); }
.cdsh a:focus-within .cdsh-code { background: color-mix(in srgb, var(--cdsx-accent) 16%, transparent); }

/* dimming: when anything is focused, unlit marks recede */
.cdsh.is-focus .cdsh-card:not(.is-lit), .cdsh.is-focus .cdsh-link:not(.is-lit), .cdsh.is-focus .cdsh-type:not(.is-lit),
.cdsh.is-focus .cdsh-node:not(.is-lit), .cdsh.is-focus .cdsh-edge:not(.is-lit), .cdsh.is-focus .cdsh-tier:not(.is-lit),
.cdsh.is-focus .cdsh-bypass:not(.is-lit) { opacity: 0.28; }
.cdsh-card, .cdsh-link, .cdsh-type, .cdsh-tier, .cdsh-bypass { transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }

/* flow: three level cards joined by animated wires */
.cdsh-flow { position: relative; padding-left: 30px; margin-left: 18px; }
.cdsh-card {
  --c: var(--cdsx-accent);
  position: relative; z-index: 1; padding: 14px 16px; border-radius: 16px; outline: none;
  background: var(--cdsx-card); border: 1px solid var(--cdsx-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px color-mix(in srgb, var(--c) 35%, transparent);
}
.cdsh-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--c); }
.cdsh-card-enc { --c: var(--cdsh-enc); }
.cdsh-card-sl { --c: var(--cdsh-sl); }
.cdsh-card-txn { --c: var(--cdsh-txn); }
.cdsh-card.is-lit { border-color: color-mix(in srgb, var(--c) 55%, transparent); transform: translateX(3px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent), 0 12px 28px -12px color-mix(in srgb, var(--c) 50%, transparent); }
.cdsh-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cdsh-badge {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; flex: none;
  font-weight: 700; font-size: 12px; color: #fff; background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
}
.cdsh-title { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.cdsh-table { margin-left: auto; }
.cdsh-grain { margin: 8px 0 0; color: var(--cdsx-muted); line-height: 1.45; }
.cdsh-pk { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.cdsh-pk-label { color: var(--cdsx-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10px; font-weight: 600; }

.cdsh-link { position: relative; height: 58px; display: flex; align-items: center; padding-left: 52px; }
.cdsh-wire {
  position: absolute; left: 27px; top: 0; bottom: 0; width: 3px; border-radius: 3px;
  background: repeating-linear-gradient(to bottom, var(--cdsx-accent) 0 6px, transparent 6px 12px);
  background-size: 3px 24px; opacity: 0.55;
  animation: cdsh-flow 1.1s linear infinite;
}
.cdsh-link::after { content: ""; position: absolute; left: 22px; bottom: -2px; border: 6.5px solid transparent; border-top: 7px solid var(--cdsx-accent); border-bottom: 0; opacity: 0.6; }
.cdsh-link.is-lit .cdsh-wire { opacity: 1; }
@keyframes cdsh-flow { to { background-position: 0 24px; } }
.cdsh-join {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: var(--cdsx-card); border: 1px solid var(--cdsx-border); color: var(--cdsx-muted);
}
.cdsh-many { padding-left: 6px; border-left: 1px solid var(--cdsx-border); font-weight: 600; color: var(--cdsx-ink); }

.cdsh-bypass {
  position: absolute; left: 4px; width: 22px; z-index: 0;
  border: 2px dashed color-mix(in srgb, var(--cdsh-txn) 70%, transparent); border-right: 0; border-radius: 14px 0 0 14px;
}
.cdsh-bypass-label {
  position: absolute; left: -9px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--cdsx-muted);
  background: var(--cdsx-bg); border: 1px solid var(--cdsx-border);
}

.cdsh-types { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--cdsx-border); display: grid; gap: 4px; }
.cdsh-types-head { font-size: 12px; color: var(--cdsx-muted); margin-bottom: 2px; }
.cdsh-type { display: grid; grid-template-columns: 10px 132px 12px minmax(0, 1fr); align-items: center; gap: 8px; padding: 5px 8px; border-radius: 10px; outline: none; cursor: default; }
.cdsh-type .cdsh-table { margin-left: 0; min-width: 0; }
.cdsh-code-wrap { white-space: normal; }
.cdsh-type.is-lit { background: color-mix(in srgb, var(--c) 12%, transparent); }
.cdsh-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--c); box-shadow: 0 0 0 2px var(--cdsx-card), 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); flex: none; }
.cdsh-type-name { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.cdsh-arrow { color: var(--cdsx-muted); }

/* fan-out tree */
.cdsh-fan { padding: 14px 14px 12px; border-radius: 16px; background: var(--cdsx-card); border: 1px solid var(--cdsx-border); }
.cdsh-fan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cdsh-fan-title { font-weight: 700; font-size: 14px; }
.cdsh-replay { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--cdsx-border); background: transparent; color: var(--cdsx-muted); cursor: pointer; font-size: 12px; }
.cdsh-replay:hover { color: var(--cdsx-ink); border-color: var(--cdsx-accent); }
.cdsh-replay:focus-visible { color: var(--cdsx-ink); border-color: var(--cdsx-accent); }
.cdsh-stage { position: relative; }
.cdsh-svg { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; overflow: visible; }
.cdsh-tier-n { font-size: 22px; font-weight: 800; fill: var(--cdsx-ink); letter-spacing: -0.02em; }
.cdsh-tier-l { font-size: 11px; fill: var(--cdsx-muted); }
.cdsh-edge { fill: none; stroke: var(--cdsx-line); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke 0.2s ease, opacity 0.2s ease; }
.cdsh-edge-dashed { stroke: color-mix(in srgb, var(--cdsh-txn) 70%, transparent); }
.cdsh-edge.is-lit { stroke: var(--cdsx-accent); stroke-width: 2.5; }
.cdsh.is-played .cdsh-edge { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s ease var(--d, 0ms), stroke 0.2s ease, opacity 0.2s ease; }
.cdsh.is-played .cdsh-edge-dashed { stroke-dasharray: 0.02 0.02; }
.cdsh-node { outline: none; cursor: default; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.2s ease; }
.cdsh.is-played .cdsh-node { opacity: 1; transform: scale(1); transition: opacity 0.35s ease var(--d, 0ms), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0ms); }
.cdsh.is-played.is-focus .cdsh-node { transition: opacity 0.2s ease, transform 0.2s ease; }
.cdsh.is-played .cdsh-node.is-lit { transform: scale(1.12); }
.cdsh-box { stroke-width: 1.5; }
.cdsh-box-enc { fill: color-mix(in srgb, var(--cdsh-enc) 14%, var(--cdsx-card)); stroke: var(--cdsh-enc); }
.cdsh-box-sl { fill: color-mix(in srgb, var(--cdsh-sl) 12%, var(--cdsx-card)); stroke: var(--cdsh-sl); }
.cdsh-box-t { font-size: 13px; font-weight: 700; fill: var(--cdsx-ink); text-anchor: middle; }
.cdsh-box-s { font-size: 10px; fill: var(--cdsx-muted); text-anchor: middle; }
.cdsh-hit { fill: transparent; }
.cdsh-dotc { fill: var(--c); stroke: var(--cdsx-card); stroke-width: 2.5; }
.cdsh-node.is-lit .cdsh-dotc { filter: drop-shadow(0 0 6px var(--c)); }
.cdsh-dot-l { font-size: 10px; fill: var(--cdsx-muted); text-anchor: middle; }
.cdsh-tip {
  position: absolute; z-index: 2; max-width: 240px; padding: 8px 10px; border-radius: 10px; pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity 0.12s ease;
  background: var(--cdsx-ink); color: var(--cdsx-bg); font-size: 12px; line-height: 1.4; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.cdsh-tip.is-on { opacity: 1; }
.cdsh-tip strong { display: block; font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 11px; white-space: pre; margin-bottom: 2px; }
.cdsh-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 2px 0 4px; }
.cdsh-legend-item { display: inline-flex; align-items: center; gap: 6px; padding: 2px 6px; border-radius: 999px; font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 10.5px; color: var(--cdsx-muted); cursor: default; transition: opacity 0.2s ease; }
.cdsh-legend-item.is-lit { color: var(--cdsx-ink); background: color-mix(in srgb, var(--c) 12%, transparent); }
.cdsh.is-focus .cdsh-legend-item:not(.is-lit) { opacity: 0.35; }
.cdsh-foot { margin-top: 8px; padding: 10px 12px; border-radius: 12px; line-height: 1.5; background: color-mix(in srgb, var(--cdsx-accent) 8%, transparent); }
.cdsh-note { margin-top: 6px; font-size: 11px; color: var(--cdsx-muted); }

@media (prefers-reduced-motion: reduce) {

  .cdsh-wire { animation: none; }
  .cdsh-edge, .cdsh.is-played .cdsh-edge { transition: none; stroke-dashoffset: 0; }
  .cdsh-node, .cdsh.is-played .cdsh-node { transition: none; opacity: 1; transform: none; }

}
