/* GENERATED FILE — do not edit by hand.
 *
 * The design tokens of the app, exported from its ThemeData so the
 * website and the app share one palette and one type scale instead of two
 * that drift apart.
 *
 * Source:    app/lib/ui/core/utils/app_theme.dart
 * Generator: app/test/tools/theme_tokens_test.dart
 * Regenerate: ./web.sh --theme
 */

:root {
  color-scheme: light dark;

  /* Material colour roles, straight off the app's ColorScheme. */
  --color-primary: #006A63;
  --color-on-primary: #FFFFFF;
  --color-primary-container: #9DF2E7;
  --color-on-primary-container: #00504A;
  --color-secondary: #4A6360;
  --color-on-secondary: #FFFFFF;
  --color-secondary-container: #CCE8E4;
  --color-on-secondary-container: #324B48;
  --color-tertiary: #47617A;
  --color-on-tertiary: #FFFFFF;
  --color-tertiary-container: #CEE5FF;
  --color-on-tertiary-container: #2F4961;
  --color-error: #BA1A1A;
  --color-on-error: #FFFFFF;
  --color-error-container: #FFDAD6;
  --color-on-error-container: #93000A;
  --color-surface: #F9F9F9;
  --color-on-surface: #1B1B1B;
  --color-surface-variant: #E2E2E2;
  --color-on-surface-variant: #474747;
  --color-surface-dim: #DADADA;
  --color-surface-bright: #F9F9F9;
  --color-surface-container-lowest: #FFFFFF;
  --color-surface-container-low: #F3F3F3;
  --color-surface-container: #EEEEEE;
  --color-surface-container-high: #E8E8E8;
  --color-surface-container-highest: #E2E2E2;
  --color-inverse-surface: #303030;
  --color-on-inverse-surface: #F1F1F1;
  --color-outline: #777777;
  --color-outline-variant: #C6C6C6;

  /* Accents Material has no role for (AppSemanticColors). */
  --color-warning: #7C580D;
  --color-on-warning: #FFFFFF;
  --color-success: #336940;
  --color-on-success: #FFFFFF;
  --color-online: #336940;

  /* Brand ramp (AppGradients.brand), top-left to bottom-right. */
  --brand-gradient-start: #1D6862;
  --brand-gradient-end: #2E5EA3;
  --gradient-brand: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));

  /* Spacing, radii and the readable content width — the same constants
     the app lays its pages out with. */
  --space-xs: 8px;
  --space-s: 12px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 24px;
  --radius-full: 999px;
  --app-content-max-width: 720px;
  --control-height: 52px;
  --control-padding-x: 24px;

  /* Type scale (AppTheme._buildTextTheme).
   *
   * The app bundles Roboto; the website asks for it and falls
   * back to the system font where it is not installed, rather
   * than pulling a font off a third-party CDN. Sizes, weights
   * and line heights match either way. */
  --font-family: Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --font-display-large-size: 34px;
  --font-display-large-weight: 800;
  --font-display-large-line-height: 1.05;
  --font-display-large-letter-spacing: -0.5px;

  --font-display-medium-size: 28px;
  --font-display-medium-weight: 700;
  --font-display-medium-line-height: 1.1;
  --font-display-medium-letter-spacing: -0.4px;

  --font-display-small-size: 24px;
  --font-display-small-weight: 700;
  --font-display-small-letter-spacing: -0.3px;

  --font-headline-medium-size: 22px;
  --font-headline-medium-weight: 700;
  --font-headline-medium-letter-spacing: -0.2px;

  --font-headline-small-size: 19px;
  --font-headline-small-weight: 700;
  --font-headline-small-letter-spacing: -0.2px;

  --font-title-large-size: 18px;
  --font-title-large-weight: 700;
  --font-title-large-letter-spacing: -0.1px;

  --font-title-medium-size: 15px;
  --font-title-medium-weight: 600;

  --font-title-small-size: 13px;
  --font-title-small-weight: 600;

  --font-body-large-size: 15px;
  --font-body-large-line-height: 1.45;

  --font-body-medium-size: 13.5px;
  --font-body-medium-line-height: 1.4;

  --font-body-small-size: 12px;
  --font-body-small-line-height: 1.35;

  --font-label-large-size: 15px;
  --font-label-large-weight: 700;
  --font-label-large-letter-spacing: 0.1px;

  --font-label-medium-size: 12.5px;
  --font-label-medium-weight: 600;

  --font-label-small-size: 11px;
  --font-label-small-weight: 600;
  --font-label-small-letter-spacing: 0.3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Material colour roles, straight off the app's ColorScheme. */
    --color-primary: #81D5CB;
    --color-on-primary: #003733;
    --color-primary-container: #00504A;
    --color-on-primary-container: #9DF2E7;
    --color-secondary: #B1CCC8;
    --color-on-secondary: #1C3532;
    --color-secondary-container: #324B48;
    --color-on-secondary-container: #CCE8E4;
    --color-tertiary: #AEC9E6;
    --color-on-tertiary: #17324A;
    --color-tertiary-container: #2F4961;
    --color-on-tertiary-container: #CEE5FF;
    --color-error: #FFB4AB;
    --color-on-error: #690005;
    --color-error-container: #93000A;
    --color-on-error-container: #FFDAD6;
    --color-surface: #131313;
    --color-on-surface: #E2E2E2;
    --color-surface-variant: #353535;
    --color-on-surface-variant: #C6C6C6;
    --color-surface-dim: #131313;
    --color-surface-bright: #393939;
    --color-surface-container-lowest: #0E0E0E;
    --color-surface-container-low: #1B1B1B;
    --color-surface-container: #1F1F1F;
    --color-surface-container-high: #2A2A2A;
    --color-surface-container-highest: #353535;
    --color-inverse-surface: #E2E2E2;
    --color-on-inverse-surface: #303030;
    --color-outline: #919191;
    --color-outline-variant: #474747;

    /* Accents Material has no role for (AppSemanticColors). */
    --color-warning: #EFBF6D;
    --color-on-warning: #422C00;
    --color-success: #99D4A2;
    --color-on-success: #003918;
    --color-online: #99D4A2;

    /* Brand ramp (AppGradients.brand), top-left to bottom-right. */
    --brand-gradient-start: #247F78;
    --brand-gradient-end: #356CBB;
    --gradient-brand: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));
  }
}
