/* GENERATED / BOOTSTRAP — USL client brand overlay.
 *
 * Loaded after tokens.base.css (via tpemis_ui_library_info_alter), this overlay
 * overrides only the brand-specific tokens for the University of Sierra Leone,
 * matching the TpEMIS product's USL branding (design.tpgroupsl.com/tpemis/u/usl,
 * spec-00 §1a). Additional clients are a sibling file (e.g. brand/<client>.css)
 * with no code change. Replaced by the @tpisent/tokens build when available.
 *
 * USL colour guide (.brand-tpemis-usl) families mapped to TpEMIS semantic
 * roles, combined with the TpEMIS Slate neutrals:
 *   - Primary  -> blue / navy  (links, buttons, headers, the page hero).
 *   - Accent   -> crimson      (emphasis, errors; replaces the legacy gold,
 *                               which failed WCAG AA on white).
 *   - Secondary/Success -> green (positive states).
 * The legacy Navy/Gold pairing is retired (gold #e8a020 failed AA at ~1.9:1).
 */
:root {
  /* Brand bridge: Olivero derives its whole primary scale from these three
     HSL parts, so they recolour links/buttons/accents theme-wide. */
  --tp-color-brand-primary: #1b3a6b;
  --tp-color-brand-primary-light: #2a6496;
  --tp-color-brand-primary-hue: 214;
  --tp-color-brand-primary-saturation: 60%;
  --tp-color-brand-primary-lightness: 26%;
  --tp-color-brand-secondary: #2a6496;
  --tp-color-brand-accent: #be123c;
  --tp-color-brand-accent-light: #e11d48;

  /* Semantic colour tokens consumed by the components. These were previously
     undefined, so components silently fell back to hardcoded hex (including the
     retired gold). Defining them here applies the USL palette globally. */
  --tp-color-primary: #1b3a6b;
  --tp-color-primary-light: #2a6496;
  --tp-color-secondary: #2a6496;
  --tp-color-accent: #be123c;
  --tp-color-accent-light: #e11d48;
  --tp-color-accent-subtle: #fdeaef;
  --tp-color-success: #15803d;
  --tp-color-danger: #be123c;

  /* Brand identity (resolved from the overlay, not hardcoded in templates). */
  --tp-brand-name: 'University of Sierra Leone';
  --tp-brand-logo: url('/themes/custom/tpemis_portal/images/logo.png');
}
