/* =======================================================================
   MLGuru — white-label skin (ADR-021 §5, MG-1087)

   PLACEHOLDER LOOK for the MLGuru.ai storefront, the first brand on its own apex
   (mlguru.ai). Xavier has not picked the palette yet; replace the values (and the
   favicon in wwwroot/img/tenants/mlguru/) when the brand guide exists.

   Chosen for WCAG AA, not taken from a site:
     teal        #0f766e   primary accent and links on Paper (4.9:1 on white)
     light teal  #14b8a6   gradient companion; fills only (2.4:1 on white, never text)
     navy        #0b1220   the dark canvas
     mint        #5eead4   links and brand text on the navy canvas (9.7:1 on #0b1220)

   Token-only on the surfaces: the approved Slate / Paper palettes keep owning
   everything not named here. The success, warning, danger and info state tokens are
   never re-valued: they mean the same at every company
   (scripts/verify-token-compliance.ps1 enforces it).
   ======================================================================= */

:root {
    --brand-1: #0f766e; /* MLGuru teal */
    --brand-1-rgb: 15, 118, 110;
    --brand-2: #14b8a6; /* light teal gradient companion */
    --brand-2-rgb: 20, 184, 166;
    --blue: #0f766e; /* legacy alias — many app components still read var(--blue) */
    --brand-soft: rgba(15, 118, 110, 0.14);
    --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2));
    --grad-text: linear-gradient(100deg, #0f766e, #14b8a6);
    --brand-text: #0f766e;

    --link: #0f766e;
    --link-rgb: 15, 118, 110;
    --link-hover: #115e59;
    --link-hover-rgb: 17, 94, 89;

    /* Marketing-home palette (_shell.scss / _home.scss): re-alias the whole --home-* set
       so the hub, nav, drawer, hero CTAs and account dropdown follow the brand
       instead of Lupo's blue and violet. Token swap only. */
    --home-primary: #0f766e;
    --home-primary-dark: #115e59;
    --home-primary-soft: rgba(15, 118, 110, 0.12);
    --home-accent: #14b8a6;
    --home-accent-deep: #0f766e;
    --home-primary-rgb: 15, 118, 110;
    --home-accent-rgb: 20, 184, 166;
    --home-primary-dark-rgb: 17, 94, 89;
    --home-underline: linear-gradient(135deg, #0f766e, #14b8a6);
    /* Light brand tint that reads on the fixed dark marketing sections. */
    --home-on-dark: #5eead4;
    --home-on-dark-rgb: 94, 234, 212;
}

/* Dark identity: a near-black navy canvas, the teal kept as the one action colour. */
html[data-theme="dark"] {
    --bg: #0b1220;
    --bg-2: #060b16;
    --bg-gray: #0b1220;
    --surface: #131c2e;
    --surface-2: #1a2538;
    --surface-3: #222f45;
    --border: rgba(255, 255, 255, 0.12);
    --border-2: rgba(255, 255, 255, 0.2);
    --hairline: rgba(255, 255, 255, 0.08);
    --text: #eef2f7;
    --text-muted: #b8c2d3;
    --text-dim: #8a97ad;
    --brand-soft: rgba(20, 184, 166, 0.2);
    --glow: 0 12px 44px rgba(20, 184, 166, 0.3);

    --link: #5eead4;
    --link-rgb: 94, 234, 212;
    --link-hover: #99f6e4;
    --link-hover-rgb: 153, 246, 228;
    --brand-text: #5eead4;
}

html[data-theme="dark"] .chip.brand {
    color: #99f6e4;
}

html[data-theme="light"] .chip.brand,
html[data-theme="paper"] .chip.brand {
    color: var(--brand-text);
}
