/**
 * Accred Connect — product tokens
 *
 * The suite foundation (Accred Premium UI v2.5 Inset) owns every semantic
 * token, the shell, and the `.acc-*` component classes. It is vendored
 * verbatim as accred-premium.css and linked first; nothing below redefines
 * a foundation token. This file keeps only what is Connect-specific:
 * the product accent and endpoint lifecycle colors.
 *
 * Owned by cloud-admin/src. Mirrored into RemoteSupport.Server/wwwroot at build.
 */

/* accred-premium.css is linked before this file in index.html and 404.html (no @import chain). */

/* Geist Variable: foundation v4.0.0 declares the @font-face (/fonts/geist-latin-wght-normal.woff2, design system 3.0 §3.2). */

:root {
  /* Connect product identity (cyan) — identity and connection visuals only.
     Primary interaction color remains the suite blue from the foundation. */
  --product: 193 86% 34%;
  --product-hex: var(--suite-product-connect);
  --acc-product: var(--suite-product-connect);

  /* Endpoint / connection lifecycle. Always paired with text or an icon;
     never color alone. Mapped onto the foundation status tokens so the
     chip, list dot, and presence pill stay in one palette. */
  --state-online: hsl(var(--success));
  --state-online-bg: hsl(var(--success-soft));
  --state-online-border: hsl(var(--success) / 0.3);
  --state-connecting: hsl(var(--primary));
  --state-connecting-bg: hsl(var(--primary-soft));
  --state-connecting-border: hsl(var(--primary) / 0.3);
  --state-authenticating: hsl(var(--primary));
  --state-active: hsl(var(--info));
  --state-active-bg: hsl(var(--info-soft));
  --state-active-border: hsl(var(--info) / 0.3);
  --state-degraded: hsl(var(--warning));
  --state-degraded-bg: hsl(var(--warning-soft));
  --state-degraded-border: hsl(var(--warning) / 0.3);
  --state-reconnecting: hsl(var(--warning));
  --state-disconnected: hsl(var(--muted-foreground));
  --state-disconnected-bg: hsl(var(--muted));
  --state-disconnected-border: hsl(var(--border));
  --state-failed: hsl(var(--destructive));
  --state-failed-bg: hsl(var(--destructive-soft));
  --state-failed-border: hsl(var(--destructive) / 0.3);
  --state-ended: hsl(var(--muted-foreground));
  --state-offline: hsl(var(--muted-foreground) / 0.7);
  --state-helper: hsl(var(--warning));

  /* Compatibility aliases were removed with foundation v2.0 (Atlas): nothing read
     them, and the old --sidebar-active alias overwrote the v2 light-sidebar
     selection token. */
}
