/*
 * MyStoneAge portal (#5) – global styles of the LWR site.
 * Design tokens of SD #5 § 7 (from the mock-ups), as --msa-* custom properties used by the msa* LWC,
 * and the matching SLDS / DXP styling hooks for the base components.
 */
:root {
    --msa-red: #d34d3f;
    --msa-red-dark: #b03a2d;
    --msa-red-tint: #fbecea;
    --msa-ink: #1d1d1b;
    --msa-ink-2: #44443f;
    --msa-muted: #6e6d68;
    --msa-line: #e3e0da;
    --msa-bg: #f4f2ee;
    --msa-surface: #ffffff;
    --msa-ok: #2d7a4b;
    --msa-ok-tint: #e6f3ea;
    --msa-wait: #a8670f;
    --msa-wait-tint: #fbf0dc;
    --msa-info: #2c5f8a;
    --msa-info-tint: #e5eef6;
    --msa-neutral-tint: #ecebe7;
    --msa-radius: 14px;
    --msa-shadow: 0 1px 2px rgba(29, 29, 27, 0.06), 0 4px 14px rgba(29, 29, 27, 0.06);
    --msa-font: "Source Sans Pro", system-ui, sans-serif;

    /* DXP / SLDS styling hooks: base components (lightning-button, -input, -combobox…) follow the brand. */
    --dxp-g-root-font-family: var(--msa-font);
    --dxp-g-brand: var(--msa-red);
    --dxp-g-brand-contrast: #ffffff;
    --dxp-g-root-contrast: var(--msa-ink);
    --slds-c-button-brand-color-background: var(--msa-red);
    --slds-c-button-brand-color-border: var(--msa-red);
    --slds-c-button-brand-color-background-hover: var(--msa-red-dark);
    --slds-c-button-brand-color-border-hover: var(--msa-red-dark);
    --slds-c-button-radius-border: 12px;
    --slds-c-input-radius-border: 12px;
    --slds-c-input-color-border: var(--msa-line);
    --slds-c-input-color-border-focus: var(--msa-ink);
}

html,
body {
    height: 100%;
}

html {
    background: var(--msa-bg);
}

body {
    margin: 0;
    font-family: var(--msa-font);
    color: var(--msa-ink);
    -webkit-font-smoothing: antialiased;
}
