/* Brand: fieldbee (default brand — also the fallback if no brand class is
   present on <html>, see the :root block below).
   Scoped by the 'brand-fieldbee' class app.js adds to <html>
   (document.documentElement.classList.add('brand-' + brand)).

   These custom properties are the single source of truth for this brand's
   colors — header/footer/button rules elsewhere (styles/main.css) read them
   via var(--brand-*) instead of hardcoding hex values.

   KEEP IN SYNC BY HAND: --brand-primary below (#3c8d40) must equal the
   '500' value in scripts/app.js's .config(function ($mdThemingProvider)...)
   block, in the `else` branch (the fieldbee/default case):
       var efarmerColor = $mdThemingProvider.extendPalette('green', {
           '500': '3c8d40', ...
   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. */
:root,
html.brand-fieldbee {
    --brand-primary: #3c8d40;
    --brand-primary-contrast: #ffffff;

    --brand-header-bg: var(--brand-primary);
    --brand-header-text: #ffffff;
    --brand-header-text-muted: rgba(255, 255, 255, 0.54);

    /* No footer background/text is set today (styles/main.css's .footer only
       sets font-size) — kept neutral so defining these doesn't change
       today's look; here so a future footer treatment has somewhere to hook
       in per brand. */
    --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 "Green 50",
       the light tint of --brand-primary's green family. */
    --brand-menu-hover-bg: #e8f5e9;
}
