/* Brand: cojali.
   Scoped by the 'brand-cojali' class app.js adds to <html>
   (document.documentElement.classList.add('brand-' + brand)).

   See styles/fieldbee.css for how these custom properties are meant to be
   used (single source of truth for header/footer/button colors, consumed
   via var(--brand-*) in styles/main.css).

   KEEP IN SYNC BY HAND: --brand-primary below (#2196f3) must equal the
   '500' value in scripts/app.js's .config(function ($mdThemingProvider)...)
   block, in the `if (brand === 'cojali')` branch:
       var cojaliColor = $mdThemingProvider.extendPalette('blue', {
           '500': '2196f3', ...
   (#2196f3 is Angular Material's own stock 'blue' palette 500 — spelled out
   explicitly in app.js rather than left implicit, specifically so there's
   something here to compare against.) That JS call is what actually colors
   Angular Material components (buttons, etc. using md-primary) — it's a
   separate mechanism from these CSS custom properties, so nothing keeps the
   two in sync automatically. If you change one, change the other to match.

   Unlike fieldbee/latitude, cojali's header is white with black text,
   decoupled from --brand-primary (buttons stay blue) — that's the whole
   reason this brand needs its own header-bg/header-text override instead of
   reusing --brand-primary like the other two brands do. */
html.brand-cojali {
    --brand-primary: #2196f3;
    --brand-primary-contrast: #ffffff;

    --brand-header-bg: #ffffff;
    --brand-header-text: #000000;
    --brand-header-text-muted: rgba(0, 0, 0, 0.54);

    --brand-footer-bg: transparent;
    --brand-footer-text: inherit;

    --brand-button-bg: var(--brand-primary);
    --brand-button-text: #ffffff;

    /* Hover/active highlight for the Glossary dropdown's 4 items
       (.header-menu .item-menu in styles/main.css) — Material "Blue 50",
       the light tint of --brand-primary's blue family (was hardcoded to
       fieldbee's green before, so this looked wrong for cojali). */
    --brand-menu-hover-bg: #e3f2fd;
}
