/*fern-site-stylesheet*/@font-face {
    font-family: 'Geist';
    src: url('/_fern-files/meetingworks.docs.buildwithfern.com/ead637fd0b6b887d829b3ce3f25fdc242b1de0cfb69c0d97987933675d1315ba/assets/fonts/geist-400.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/_fern-files/meetingworks.docs.buildwithfern.com/685bbbf69fa616df1ef81847c85fc76be097ddfb3468ff2257be54511ab3130f/assets/fonts/space-grotesk-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/_fern-files/meetingworks.docs.buildwithfern.com/35f8aec56cfd5cbfdb03cc68733a54a0b05bb3617ffcd5fd332badc0b045ca55/assets/fonts/space-grotesk-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('/_fern-files/meetingworks.docs.buildwithfern.com/08949f728dc52d528e69b1667d15c89a5686a4ee9a296ff90983985f99c380f7/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 104.76%;
    ascent-override: 95.94%;
    descent-override: 28.16%;
    line-gap-override: 0.00%;
}
@font-face {
    font-family: 'Space Grotesk Fallback';
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
    size-adjust: 109.91%;
    ascent-override: 89.52%;
    descent-override: 26.57%;
    line-gap-override: 0.00%;
}

:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 1408px;
  --logo-height: 28px;
  --font-body: 'Geist', 'Geist Fallback', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: 'Space Grotesk', 'Space Grotesk Fallback', 'Geist', 'Geist Fallback', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: 'IBM Plex Mono', 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: #f1eeef;
  --accent-2: #efe8ea;
  --accent-3: #efdadf;
  --accent-4: #edccd4;
  --accent-5: #e7bdc9;
  --accent-6: #dfaebb;
  --accent-7: #d59bab;
  --accent-8: #ca8398;
  --accent-9: #c62e6e;
  --accent-10: #b61a61;
  --accent-11: #af0e5c;
  --accent-12: #601a35;

  --accent-a1: #d2cfff1d;
  --accent-a2: #6a0ba80b;
  --accent-a3: #bb07641a;
  --accent-a4: #c3065229;
  --accent-a5: #b6014a38;
  --accent-a6: #a8013c48;
  --accent-a7: #9c01375c;
  --accent-a8: #97013475;
  --accent-a9: #bb0050cf;
  --accent-a10: #af0051e4;
  --accent-a11: #ab0154f1;
  --accent-a12: #4e001fe4;

  --accent-contrast: #fff;
  --accent-surface: #eee6eacc;
  --accent-indicator: #c62e6e;
  --accent-track: #c62e6e;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(95.3% 0.0031 0.5314);
      --accent-2: oklch(93.8% 0.0075 0.5314);
      --accent-3: oklch(90.7% 0.0243 0.5314);
      --accent-4: oklch(87.5% 0.0382 0.5314);
      --accent-5: oklch(83.9% 0.0499 0.5314);
      --accent-6: oklch(79.9% 0.0601 0.5314);
      --accent-7: oklch(74.9% 0.0729 0.5314);
      --accent-8: oklch(68.9% 0.0919 0.5314);
      --accent-9: oklch(55.8% 0.1929 0.5314);
      --accent-10: oklch(51.2% 0.1929 0.5314);
      --accent-11: oklch(49.3% 0.1929 0.5314);
      --accent-12: oklch(34.1% 0.105 0.5314);

      --accent-a1: color(display-p3 0.6941 0.6863 1 / 0.059);
      --accent-a2: color(display-p3 0.4 0.0157 0.5608 / 0.042);
      --accent-a3: color(display-p3 0.5922 0.0118 0.3216 / 0.096);
      --accent-a4: color(display-p3 0.651 0.0039 0.2667 / 0.153);
      --accent-a5: color(display-p3 0.5843 0.0039 0.2471 / 0.211);
      --accent-a6: color(display-p3 0.5412 0.0039 0.2039 / 0.273);
      --accent-a7: color(display-p3 0.5137 0.0039 0.1882 / 0.352);
      --accent-a8: color(display-p3 0.502 0.0039 0.1765 / 0.447);
      --accent-a9: color(display-p3 0.6353 0 0.2627 / 0.753);
      --accent-a10: color(display-p3 0.5882 0 0.2549 / 0.819);
      --accent-a11: color(display-p3 0.5686 0 0.2549 / 0.848);
      --accent-a12: color(display-p3 0.2549 0 0.102 / 0.872);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9255 0.9059 0.9137 / 0.8);
      --accent-indicator: oklch(55.8% 0.1929 0.5314);
      --accent-track: oklch(55.8% 0.1929 0.5314);
    }
  }
}


.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: #10171f;
  --accent-2: #121a24;
  --accent-3: #142940;
  --accent-4: #1e344d;
  --accent-5: #29405a;
  --accent-6: #364d68;
  --accent-7: #455c79;
  --accent-8: #566e8b;
  --accent-9: #c0d2e8;
  --accent-10: #b6c8de;
  --accent-11: #9db7d7;
  --accent-12: #d0e3f9;

  --accent-a1: #004ae805;
  --accent-a2: #0073ec0b;
  --accent-a3: #148afb2a;
  --accent-a4: #429fff38;
  --accent-a5: #60adfe47;
  --accent-a6: #78b8fd57;
  --accent-a7: #8abffd6a;
  --accent-a8: #9ac9fd7e;
  --accent-a9: #d3e7fee6;
  --accent-a10: #d1e5fedb;
  --accent-a11: #bad8fed3;
  --accent-a12: #d5e7fef9;

  --accent-contrast: #132234;
  --accent-surface: #111e2d80;
  --accent-indicator: #c0d2e8;
  --accent-track: #c0d2e8;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(20% 0.0193 253.5);
      --accent-2: oklch(21.5% 0.0225 253.5);
      --accent-3: oklch(27.5% 0.0513 253.5);
      --accent-4: oklch(31.8% 0.0545 253.5);
      --accent-5: oklch(36.4% 0.0545 253.5);
      --accent-6: oklch(41.3% 0.0545 253.5);
      --accent-7: oklch(46.8% 0.0545 253.5);
      --accent-8: oklch(53.1% 0.0545 253.5);
      --accent-9: oklch(85.7% 0.0363 253.5);
      --accent-10: oklch(82.6% 0.0363 253.5);
      --accent-11: oklch(77% 0.0545 253.5);
      --accent-12: oklch(90.8% 0.0363 253.5);

      --accent-a1: color(display-p3 0 0.3686 0.949 / 0.014);
      --accent-a2: color(display-p3 0.0784 0.5255 0.9804 / 0.036);
      --accent-a3: color(display-p3 0.2078 0.5451 1 / 0.154);
      --accent-a4: color(display-p3 0.3608 0.6275 1 / 0.211);
      --accent-a5: color(display-p3 0.4588 0.6863 1 / 0.268);
      --accent-a6: color(display-p3 0.5451 0.7294 1 / 0.329);
      --accent-a7: color(display-p3 0.6039 0.7569 1 / 0.404);
      --accent-a8: color(display-p3 0.6627 0.8 1 / 0.479);
      --accent-a9: color(display-p3 0.851 0.9098 1 / 0.891);
      --accent-a10: color(display-p3 0.8431 0.9059 1 / 0.847);
      --accent-a11: color(display-p3 0.7647 0.8588 1 / 0.812);
      --accent-a12: color(display-p3 0.8588 0.9137 1 / 0.965);

      --accent-contrast: #132234;
      --accent-surface: color(display-p3 0.0784 0.1176 0.1647 / 0.5);
      --accent-indicator: oklch(85.7% 0.0363 253.5);
      --accent-track: oklch(85.7% 0.0363 253.5);
    }
  }
}


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

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

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

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

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

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

.light, :root {
  color-scheme: light;
  --accent: rgba(198, 46, 110, 1);
  --background: rgba(245, 242, 237, 1);
  --border: rgba(226, 224, 218, 1);
  --sidebar-background: rgba(237, 235, 231, 1);
  --header-background: rgba(245, 242, 237, 1);
  --card-background: rgba(251, 250, 248, 1);
  --theme-color: #f5f2ed;
}

.dark {
  color-scheme: dark;
  --accent: rgba(192, 210, 232, 1);
  --background: rgba(20, 22, 27, 1);
  --border: rgba(60, 64, 72, 1);
  --sidebar-background: rgba(26, 29, 35, 1);
  --header-background: rgba(20, 22, 27, 1);
  --card-background: rgba(26, 29, 35, 1);
  --theme-color: #14161b;
}

/* MeetingWorks docs polish (MEE-4083).
 *
 * docs.yml carries the full theme (colors, logo, favicon, typography). These
 * are the finishing touches it cannot reach, taken from the app's own tokens
 * in frontend/src/index.css: the logo navy structures headings in light mode,
 * and cards get the product's soft, rounded lift. Fern's color variables
 * (--background, --card-background, --accent-*, --grayscale-*) already adapt
 * per theme, so dark mode only needs an override where navy would be
 * unreadable on the near-black ground (never pink in dark, MEE-3104).
 */

:root {
  --mw-navy: #1e3a5f; /* app --primary, the "MEETING" wordmark navy */
  --mw-gold: #f8a018; /* app --gold, small accents only */
}

/* Structure headings carry the logo navy in light mode. */
main h1,
main h2,
main h3,
main h4 {
  color: var(--mw-navy);
  letter-spacing: -0.01em;
}

/* Navy is unreadable on the dark near-black background; use the page
 * foreground (Fern's lightest grayscale step) there instead. */
.dark main h1,
.dark main h2,
.dark main h3,
.dark main h4 {
  color: var(--grayscale-12);
}

/* Match the app's rounded, low-shadow card surfaces with a gentle hover lift. */
.fern-card {
  border-radius: 12px;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.fern-card:hover {
  transform: translateY(-1px);
}
.fern-card:focus-visible {
  transform: translateY(-1px);
}
