/*
 * Design tokens: Material 3
 *
 * Colour roles are generated from one seed colour by tools/theme.mjs.
 * To change the palette run `npm run theme -- "#rrggbb"` in /tools;
 * do not edit the generated block by hand. Everything below the block
 * (type scale, shape, elevation, state, motion, layout) is hand-written.
 *
 * The site uses the expressive side of Material 3: the "expressive" colour
 * scheme, emphasized type, the larger corner sizes and spring motion.
 */

/* BEGIN GENERATED COLOURS */
/* seed: #d81b60 · scheme: joyful · contrast: standard */
:root {
  color-scheme: light;
  --md-sys-color-primary: #006399;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #cde5ff;
  --md-sys-color-on-primary-container: #004b74;
  --md-sys-color-secondary: #974800;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #ffdbc7;
  --md-sys-color-on-secondary-container: #733600;
  --md-sys-color-tertiary: #4b6700;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #c3f35f;
  --md-sys-color-on-tertiary-container: #374e00;
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #ffdad6;
  --md-sys-color-on-error-container: #93000a;
  --md-sys-color-background: #fff8f7;
  --md-sys-color-on-background: #251918;
  --md-sys-color-surface: #fff8f7;
  --md-sys-color-on-surface: #251918;
  --md-sys-color-surface-variant: #fcdbd8;
  --md-sys-color-on-surface-variant: #584140;
  --md-sys-color-surface-dim: #ecd5d3;
  --md-sys-color-surface-bright: #fff8f7;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #fff0ef;
  --md-sys-color-surface-container: #ffe9e7;
  --md-sys-color-surface-container-high: #fae3e1;
  --md-sys-color-surface-container-highest: #f5dddb;
  --md-sys-color-outline: #8c716f;
  --md-sys-color-outline-variant: #dfbfbd;
  --md-sys-color-inverse-surface: #3b2d2c;
  --md-sys-color-inverse-on-surface: #ffedeb;
  --md-sys-color-inverse-primary: #94ccff;
  --md-sys-color-primary-fixed: #cde5ff;
  --md-sys-color-primary-fixed-dim: #94ccff;
  --md-sys-color-on-primary-fixed: #001d32;
  --md-sys-color-on-primary-fixed-variant: #004b74;
  --md-sys-color-secondary-fixed: #ffdbc7;
  --md-sys-color-secondary-fixed-dim: #ffb688;
  --md-sys-color-on-secondary-fixed: #311300;
  --md-sys-color-on-secondary-fixed-variant: #733600;
  --md-sys-color-tertiary-fixed: #c3f35f;
  --md-sys-color-tertiary-fixed-dim: #a8d646;
  --md-sys-color-on-tertiary-fixed: #141f00;
  --md-sys-color-on-tertiary-fixed-variant: #374e00;
  --md-sys-color-surface-tint: #006399;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-ext-color-pink-container: #ffd9df;
  --md-ext-color-on-pink-container: #90003d;
  --md-ext-color-sun-container: #ffe082;
  --md-ext-color-on-sun-container: #564500;
  --md-ext-color-grape-container: #ebddff;
  --md-ext-color-on-grape-container: #5b00c5;
  --md-ext-color-primary-bright: #00a6fb;
  --md-ext-color-on-primary-bright: #001d32;
  --md-ext-color-secondary-bright: #fd8f3e;
  --md-ext-color-on-secondary-bright: #311300;
  --md-ext-color-tertiary-bright: #a8d646;
  --md-ext-color-on-tertiary-bright: #141f00;
  --md-ext-color-pink-bright: #ff6c92;
  --md-ext-color-on-pink-bright: #3f0017;
  --md-ext-color-sun-bright: #ffd32f;
  --md-ext-color-on-sun-bright: #231b00;
  --md-ext-color-grape-bright: #b088ff;
  --md-ext-color-on-grape-bright: #250059;
}

/* Dark scheme when the system asks for it and no manual choice is stored. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --md-sys-color-primary: #94ccff;
    --md-sys-color-on-primary: #003352;
    --md-sys-color-primary-container: #004b74;
    --md-sys-color-on-primary-container: #cde5ff;
    --md-sys-color-secondary: #ffb688;
    --md-sys-color-on-secondary: #512400;
    --md-sys-color-secondary-container: #733600;
    --md-sys-color-on-secondary-container: #ffdbc7;
    --md-sys-color-tertiary: #a8d646;
    --md-sys-color-on-tertiary: #253600;
    --md-sys-color-tertiary-container: #374e00;
    --md-sys-color-on-tertiary-container: #c3f35f;
    --md-sys-color-error: #ffb4ab;
    --md-sys-color-on-error: #690005;
    --md-sys-color-error-container: #93000a;
    --md-sys-color-on-error-container: #ffdad6;
    --md-sys-color-background: #1c1010;
    --md-sys-color-on-background: #f5dddb;
    --md-sys-color-surface: #1c1010;
    --md-sys-color-on-surface: #f5dddb;
    --md-sys-color-surface-variant: #584140;
    --md-sys-color-on-surface-variant: #dfbfbd;
    --md-sys-color-surface-dim: #1c1010;
    --md-sys-color-surface-bright: #443635;
    --md-sys-color-surface-container-lowest: #160b0b;
    --md-sys-color-surface-container-low: #251918;
    --md-sys-color-surface-container: #291c1c;
    --md-sys-color-surface-container-high: #342726;
    --md-sys-color-surface-container-highest: #403130;
    --md-sys-color-outline: #a78a88;
    --md-sys-color-outline-variant: #584140;
    --md-sys-color-inverse-surface: #f5dddb;
    --md-sys-color-inverse-on-surface: #3b2d2c;
    --md-sys-color-inverse-primary: #006399;
    --md-sys-color-primary-fixed: #cde5ff;
    --md-sys-color-primary-fixed-dim: #94ccff;
    --md-sys-color-on-primary-fixed: #001d32;
    --md-sys-color-on-primary-fixed-variant: #004b74;
    --md-sys-color-secondary-fixed: #ffdbc7;
    --md-sys-color-secondary-fixed-dim: #ffb688;
    --md-sys-color-on-secondary-fixed: #311300;
    --md-sys-color-on-secondary-fixed-variant: #733600;
    --md-sys-color-tertiary-fixed: #c3f35f;
    --md-sys-color-tertiary-fixed-dim: #a8d646;
    --md-sys-color-on-tertiary-fixed: #141f00;
    --md-sys-color-on-tertiary-fixed-variant: #374e00;
    --md-sys-color-surface-tint: #94ccff;
    --md-sys-color-shadow: #000000;
    --md-sys-color-scrim: #000000;
    --md-ext-color-pink-container: #90003d;
    --md-ext-color-on-pink-container: #ffd9df;
    --md-ext-color-sun-container: #564500;
    --md-ext-color-on-sun-container: #ffe082;
    --md-ext-color-grape-container: #5b00c5;
    --md-ext-color-on-grape-container: #ebddff;
    --md-ext-color-primary-bright: #00a6fb;
    --md-ext-color-on-primary-bright: #001d32;
    --md-ext-color-secondary-bright: #fd8f3e;
    --md-ext-color-on-secondary-bright: #311300;
    --md-ext-color-tertiary-bright: #a8d646;
    --md-ext-color-on-tertiary-bright: #141f00;
    --md-ext-color-pink-bright: #ff6c92;
    --md-ext-color-on-pink-bright: #3f0017;
    --md-ext-color-sun-bright: #ffd32f;
    --md-ext-color-on-sun-bright: #231b00;
    --md-ext-color-grape-bright: #b088ff;
    --md-ext-color-on-grape-bright: #250059;
  }
}

/* Dark scheme chosen with the theme toggle. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --md-sys-color-primary: #94ccff;
  --md-sys-color-on-primary: #003352;
  --md-sys-color-primary-container: #004b74;
  --md-sys-color-on-primary-container: #cde5ff;
  --md-sys-color-secondary: #ffb688;
  --md-sys-color-on-secondary: #512400;
  --md-sys-color-secondary-container: #733600;
  --md-sys-color-on-secondary-container: #ffdbc7;
  --md-sys-color-tertiary: #a8d646;
  --md-sys-color-on-tertiary: #253600;
  --md-sys-color-tertiary-container: #374e00;
  --md-sys-color-on-tertiary-container: #c3f35f;
  --md-sys-color-error: #ffb4ab;
  --md-sys-color-on-error: #690005;
  --md-sys-color-error-container: #93000a;
  --md-sys-color-on-error-container: #ffdad6;
  --md-sys-color-background: #1c1010;
  --md-sys-color-on-background: #f5dddb;
  --md-sys-color-surface: #1c1010;
  --md-sys-color-on-surface: #f5dddb;
  --md-sys-color-surface-variant: #584140;
  --md-sys-color-on-surface-variant: #dfbfbd;
  --md-sys-color-surface-dim: #1c1010;
  --md-sys-color-surface-bright: #443635;
  --md-sys-color-surface-container-lowest: #160b0b;
  --md-sys-color-surface-container-low: #251918;
  --md-sys-color-surface-container: #291c1c;
  --md-sys-color-surface-container-high: #342726;
  --md-sys-color-surface-container-highest: #403130;
  --md-sys-color-outline: #a78a88;
  --md-sys-color-outline-variant: #584140;
  --md-sys-color-inverse-surface: #f5dddb;
  --md-sys-color-inverse-on-surface: #3b2d2c;
  --md-sys-color-inverse-primary: #006399;
  --md-sys-color-primary-fixed: #cde5ff;
  --md-sys-color-primary-fixed-dim: #94ccff;
  --md-sys-color-on-primary-fixed: #001d32;
  --md-sys-color-on-primary-fixed-variant: #004b74;
  --md-sys-color-secondary-fixed: #ffdbc7;
  --md-sys-color-secondary-fixed-dim: #ffb688;
  --md-sys-color-on-secondary-fixed: #311300;
  --md-sys-color-on-secondary-fixed-variant: #733600;
  --md-sys-color-tertiary-fixed: #c3f35f;
  --md-sys-color-tertiary-fixed-dim: #a8d646;
  --md-sys-color-on-tertiary-fixed: #141f00;
  --md-sys-color-on-tertiary-fixed-variant: #374e00;
  --md-sys-color-surface-tint: #94ccff;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-ext-color-pink-container: #90003d;
  --md-ext-color-on-pink-container: #ffd9df;
  --md-ext-color-sun-container: #564500;
  --md-ext-color-on-sun-container: #ffe082;
  --md-ext-color-grape-container: #5b00c5;
  --md-ext-color-on-grape-container: #ebddff;
  --md-ext-color-primary-bright: #00a6fb;
  --md-ext-color-on-primary-bright: #001d32;
  --md-ext-color-secondary-bright: #fd8f3e;
  --md-ext-color-on-secondary-bright: #311300;
  --md-ext-color-tertiary-bright: #a8d646;
  --md-ext-color-on-tertiary-bright: #141f00;
  --md-ext-color-pink-bright: #ff6c92;
  --md-ext-color-on-pink-bright: #3f0017;
  --md-ext-color-sun-bright: #ffd32f;
  --md-ext-color-on-sun-bright: #231b00;
  --md-ext-color-grape-bright: #b088ff;
  --md-ext-color-on-grape-bright: #250059;
}
/* END GENERATED COLOURS */

:root {
  /* ---- Typeface ---------------------------------------------------------
     "Roboto" comes before the metric-matched fallback so that devices which
     ship Roboto (Android, ChromeOS) use it while Roboto Flex loads. */
  --md-ref-typeface-brand: "Roboto Flex", Roboto, "Roboto Flex Fallback", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --md-ref-typeface-plain: "Roboto Flex", Roboto, "Roboto Flex Fallback", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --md-ref-typeface-weight-regular: 400;
  --md-ref-typeface-weight-medium: 500;
  --md-ref-typeface-weight-bold: 700;
  --md-ref-typeface-weight-black: 850;
  /* Roboto Flex's width axis, used through `font-stretch`. */
  --md-ref-typeface-width-normal: 100%;
  --md-ref-typeface-width-wide: 112%;
  --md-ref-typeface-width-extra-wide: 128%;

  /* ---- Type scale (sizes in rem so they follow the reader's settings) --- */
  --md-sys-typescale-display-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-large-size: 3.5625rem;
  --md-sys-typescale-display-large-line-height: 4rem;
  --md-sys-typescale-display-large-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-display-large-tracking: -0.015625rem;

  --md-sys-typescale-display-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-medium-size: 2.8125rem;
  --md-sys-typescale-display-medium-line-height: 3.25rem;
  --md-sys-typescale-display-medium-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-display-medium-tracking: 0rem;

  --md-sys-typescale-display-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-small-size: 2.25rem;
  --md-sys-typescale-display-small-line-height: 2.75rem;
  --md-sys-typescale-display-small-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-display-small-tracking: 0rem;

  --md-sys-typescale-headline-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-large-size: 2rem;
  --md-sys-typescale-headline-large-line-height: 2.5rem;
  --md-sys-typescale-headline-large-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-headline-large-tracking: 0rem;

  --md-sys-typescale-headline-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-medium-size: 1.75rem;
  --md-sys-typescale-headline-medium-line-height: 2.25rem;
  --md-sys-typescale-headline-medium-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-headline-medium-tracking: 0rem;

  --md-sys-typescale-headline-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-small-size: 1.5rem;
  --md-sys-typescale-headline-small-line-height: 2rem;
  --md-sys-typescale-headline-small-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-headline-small-tracking: 0rem;

  --md-sys-typescale-title-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-title-large-size: 1.375rem;
  --md-sys-typescale-title-large-line-height: 1.75rem;
  --md-sys-typescale-title-large-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-title-large-tracking: 0rem;

  --md-sys-typescale-title-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-medium-size: 1rem;
  --md-sys-typescale-title-medium-line-height: 1.5rem;
  --md-sys-typescale-title-medium-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-title-medium-tracking: 0.009375rem;

  --md-sys-typescale-title-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-small-size: 0.875rem;
  --md-sys-typescale-title-small-line-height: 1.25rem;
  --md-sys-typescale-title-small-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-title-small-tracking: 0.00625rem;

  --md-sys-typescale-body-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-large-size: 1rem;
  --md-sys-typescale-body-large-line-height: 1.5rem;
  --md-sys-typescale-body-large-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-body-large-tracking: 0.03125rem;

  --md-sys-typescale-body-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-medium-size: 0.875rem;
  --md-sys-typescale-body-medium-line-height: 1.25rem;
  --md-sys-typescale-body-medium-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-body-medium-tracking: 0.015625rem;

  --md-sys-typescale-body-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-small-size: 0.75rem;
  --md-sys-typescale-body-small-line-height: 1rem;
  --md-sys-typescale-body-small-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-body-small-tracking: 0.025rem;

  --md-sys-typescale-label-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-large-size: 0.875rem;
  --md-sys-typescale-label-large-line-height: 1.25rem;
  --md-sys-typescale-label-large-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-label-large-tracking: 0.00625rem;

  --md-sys-typescale-label-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-medium-size: 0.75rem;
  --md-sys-typescale-label-medium-line-height: 1rem;
  --md-sys-typescale-label-medium-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-label-medium-tracking: 0.03125rem;

  --md-sys-typescale-label-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-small-size: 0.6875rem;
  --md-sys-typescale-label-small-line-height: 1rem;
  --md-sys-typescale-label-small-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-label-small-tracking: 0.03125rem;

  /* Shorthands for the `font` property: weight size/line-height family.
     Pair each with its -tracking token for letter-spacing. */
  --md-sys-typescale-display-large: var(--md-sys-typescale-display-large-weight) var(--md-sys-typescale-display-large-size) / var(--md-sys-typescale-display-large-line-height) var(--md-sys-typescale-display-large-font);
  --md-sys-typescale-display-medium: var(--md-sys-typescale-display-medium-weight) var(--md-sys-typescale-display-medium-size) / var(--md-sys-typescale-display-medium-line-height) var(--md-sys-typescale-display-medium-font);
  --md-sys-typescale-display-small: var(--md-sys-typescale-display-small-weight) var(--md-sys-typescale-display-small-size) / var(--md-sys-typescale-display-small-line-height) var(--md-sys-typescale-display-small-font);
  --md-sys-typescale-headline-large: var(--md-sys-typescale-headline-large-weight) var(--md-sys-typescale-headline-large-size) / var(--md-sys-typescale-headline-large-line-height) var(--md-sys-typescale-headline-large-font);
  --md-sys-typescale-headline-medium: var(--md-sys-typescale-headline-medium-weight) var(--md-sys-typescale-headline-medium-size) / var(--md-sys-typescale-headline-medium-line-height) var(--md-sys-typescale-headline-medium-font);
  --md-sys-typescale-headline-small: var(--md-sys-typescale-headline-small-weight) var(--md-sys-typescale-headline-small-size) / var(--md-sys-typescale-headline-small-line-height) var(--md-sys-typescale-headline-small-font);
  --md-sys-typescale-title-large: var(--md-sys-typescale-title-large-weight) var(--md-sys-typescale-title-large-size) / var(--md-sys-typescale-title-large-line-height) var(--md-sys-typescale-title-large-font);
  --md-sys-typescale-title-medium: var(--md-sys-typescale-title-medium-weight) var(--md-sys-typescale-title-medium-size) / var(--md-sys-typescale-title-medium-line-height) var(--md-sys-typescale-title-medium-font);
  --md-sys-typescale-title-small: var(--md-sys-typescale-title-small-weight) var(--md-sys-typescale-title-small-size) / var(--md-sys-typescale-title-small-line-height) var(--md-sys-typescale-title-small-font);
  --md-sys-typescale-body-large: var(--md-sys-typescale-body-large-weight) var(--md-sys-typescale-body-large-size) / var(--md-sys-typescale-body-large-line-height) var(--md-sys-typescale-body-large-font);
  --md-sys-typescale-body-medium: var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--md-sys-typescale-body-medium-font);
  --md-sys-typescale-body-small: var(--md-sys-typescale-body-small-weight) var(--md-sys-typescale-body-small-size) / var(--md-sys-typescale-body-small-line-height) var(--md-sys-typescale-body-small-font);
  --md-sys-typescale-label-large: var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--md-sys-typescale-label-large-font);
  --md-sys-typescale-label-medium: var(--md-sys-typescale-label-medium-weight) var(--md-sys-typescale-label-medium-size) / var(--md-sys-typescale-label-medium-line-height) var(--md-sys-typescale-label-medium-font);
  --md-sys-typescale-label-small: var(--md-sys-typescale-label-small-weight) var(--md-sys-typescale-label-small-size) / var(--md-sys-typescale-label-small-line-height) var(--md-sys-typescale-label-small-font);

  /* ---- Emphasized type (M3 Expressive) ----------------------------------
     The emphasized styles keep each baseline size and line height and change
     the weight and width. Use them as:
       font: var(--md-sys-typescale-headline-large);
       font-weight: var(--md-sys-typescale-emphasized-headline-weight);
       font-stretch: var(--md-sys-typescale-emphasized-headline-width);
     (`font-stretch` must come after `font`, which resets it.) */
  --md-sys-typescale-emphasized-display-weight: var(--md-ref-typeface-weight-black);
  --md-sys-typescale-emphasized-display-width: var(--md-ref-typeface-width-extra-wide);
  --md-sys-typescale-emphasized-headline-weight: var(--md-ref-typeface-weight-bold);
  --md-sys-typescale-emphasized-headline-width: var(--md-ref-typeface-width-wide);
  --md-sys-typescale-emphasized-title-weight: 650;
  --md-sys-typescale-emphasized-title-width: var(--md-ref-typeface-width-wide);
  --md-sys-typescale-emphasized-label-weight: 650;
  --md-sys-typescale-emphasized-body-weight: var(--md-ref-typeface-weight-medium);

  /* ---- Shape scale, including the larger M3 Expressive corners ---------- */
  --md-sys-shape-corner-none: 0;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-large-increased: 20px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-extra-large-increased: 32px;
  --md-sys-shape-corner-extra-extra-large: 48px;
  --md-sys-shape-corner-full: 9999px;

  /* ---- Elevation (key and ambient shadows per level) -------------------- */
  --md-sys-elevation-level0: none;
  --md-sys-elevation-level1: 0 1px 2px 0 rgb(0 0 0 / 0.3), 0 1px 3px 1px rgb(0 0 0 / 0.15);
  --md-sys-elevation-level2: 0 1px 2px 0 rgb(0 0 0 / 0.3), 0 2px 6px 2px rgb(0 0 0 / 0.15);
  --md-sys-elevation-level3: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 4px 8px 3px rgb(0 0 0 / 0.15);
  --md-sys-elevation-level4: 0 2px 3px 0 rgb(0 0 0 / 0.3), 0 6px 10px 4px rgb(0 0 0 / 0.15);
  --md-sys-elevation-level5: 0 4px 4px 0 rgb(0 0 0 / 0.3), 0 8px 12px 6px rgb(0 0 0 / 0.15);

  /* ---- State layers ----------------------------------------------------- */
  --md-sys-state-hover-state-layer-opacity: 0.08;
  --md-sys-state-focus-state-layer-opacity: 0.1;
  --md-sys-state-pressed-state-layer-opacity: 0.1;
  --md-sys-state-dragged-state-layer-opacity: 0.16;
  --md-sys-state-focus-indicator-thickness: 3px;
  --md-sys-state-focus-indicator-outer-offset: 2px;

  /* ---- Motion ----------------------------------------------------------- */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-standard-accelerate: cubic-bezier(0.3, 0, 1, 1);
  --md-sys-motion-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);
  --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
  --md-sys-motion-duration-short2: 100ms;
  --md-sys-motion-duration-short4: 200ms;
  --md-sys-motion-duration-medium1: 250ms;
  --md-sys-motion-duration-medium4: 400ms;
  /* Expressive motion scheme: springs that overshoot slightly for things that
     move or change shape ("spatial"), and settle without overshoot for colour
     and opacity ("effects"). Written as duration plus easing for `transition`. */
  --md-sys-motion-spring-fast-spatial: 350ms cubic-bezier(0.42, 1.67, 0.21, 0.9);
  --md-sys-motion-spring-default-spatial: 500ms cubic-bezier(0.38, 1.21, 0.22, 1);
  --md-sys-motion-spring-slow-spatial: 650ms cubic-bezier(0.39, 1.29, 0.35, 0.98);
  --md-sys-motion-spring-fast-effects: 150ms cubic-bezier(0.31, 0.94, 0.34, 1);
  --md-sys-motion-spring-default-effects: 200ms cubic-bezier(0.34, 0.8, 0.34, 1);

  /* ---- Layout: M3 window size classes -----------------------------------
     compact < 600px · medium 600–839px · expanded 840–1199px · large ≥ 1200px
     (Custom properties cannot be used inside media queries, so the
     breakpoints are written out as numbers in site.css.) */
  --layout-margin: 16px;
  --layout-gutter: 16px;
  --layout-max-width: 1120px;
  --layout-app-bar-height: 64px;
}

@media (min-width: 600px) {
  :root {
    --layout-margin: 24px;
    --layout-gutter: 24px;
  }
}
