/*
 * Per-tenant brand tokens. The layout root applies .brand-{AppTenant.Identifier}
 * (resolved by Finbuckle); unknown tenants get the :root LoanWise defaults.
 * Palettes verified against Cashco-Journey global-variables.scss (2026-06-12).
 * Adding a tenant brand = one block here (until palettes move onto AppTenant).
 */

:root {
    /* LoanWise defaults (no/unknown tenant) */
    --lw-primary: #1b6ec2;
    --lw-primary-dark: #14538f;
    --lw-primary-light: #e8f1fa;
    --lw-accent: #74c4d4;
    --lw-text-muted: #6f6b6e;
    --lw-success: #2e7d32;
    --lw-warning: #f0a800;
    --lw-danger: #c62828;

    /* Motion & shape tokens (see docs/design/ui-guidelines.md "Motion & polish") */
    --lw-duration-fast: 120ms;
    --lw-duration-base: 180ms;
    --lw-ease: cubic-bezier(0.2, 0, 0, 1);
    --lw-radius: 7px;
    --lw-border: 1px solid #dee2e6;
    --lw-shadow-resting: 0 1px 3px rgba(16, 24, 40, 0.08);
    --lw-shadow-raised: 0 6px 18px rgba(16, 24, 40, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --lw-duration-fast: 0ms;
        --lw-duration-base: 0ms;
    }
}

/* Cashco Financial — deep blue / light blue */
.brand-cashco {
    --lw-primary: #004077;
    --lw-primary-dark: #002d54;
    --lw-primary-light: #e6f2f7;
    --lw-accent: #74c4d4;
}

/* Venue Financial — red / orange */
.brand-venue {
    --lw-primary: #bd080d;
    --lw-primary-dark: #8c0609;
    --lw-primary-light: #fbeaea;
    --lw-accent: #ff7932;
}
