/* tokens-portal.css — portal light design tokens.
 *
 * Phase 0 of the UI shared-asset refactor: these values are a verbatim copy of
 * the :root block in portal/templates/base.html. They are linked in <head>
 * BEFORE the inline <style>, so the still-present inline rules win the cascade
 * and there is zero visual change.
 */
:root {
  --bg:          #f8fafc;
  --surface:     #ffffff;
  --surface-2:   #f1f5f9;
  --surface-3:   #e2e8f0;
  --border:      #e2e8f0;
  --border-2:    #cbd5e1;
  --accent:      #7c3aed;
  --accent-dim:  rgba(124,58,237,0.10);
  --text:        #0f172a;
  --text-2:      #475569;
  --text-3:      #64748b;
  --success:     #16a34a;
  --success-bg:  rgba(22,163,74,0.08);
  --success-br:  rgba(22,163,74,0.20);
  --error:       #dc2626;
  --error-bg:    rgba(220,38,38,0.08);
  --error-br:    rgba(220,38,38,0.20);
  --running:     #2563eb;
  --running-bg:  rgba(37,99,235,0.08);
  --running-br:  rgba(37,99,235,0.20);
  --never-bg:    rgba(0,0,0,0.03);
  --never-br:    rgba(0,0,0,0.08);
  --font-hd:     'Rajdhani', sans-serif;
  --font-body:   'Mulish', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  /* ── Admin-layout token aliases (portal light/violet theme) ── */
  --cyan:         var(--accent);
  --magenta:      var(--accent);
  --font-display: var(--font-hd);
  --r:           6px;
  --r-sm:        4px;
  --ease:        130ms ease;
  /* ── Theme-divergent component tokens ────────────────── */
  --nav-bg:               rgba(248,250,252,0.92);
  --link-hover:           #6d28d9;
  --btn-primary-fg:       #ffffff;
  --btn-primary-hover-bg: #6d28d9;
  --btn-danger-hover-fg:  #ffffff;
  --tile-hover-shadow:       0 4px 18px rgba(0,0,0,0.08);
  --tile-error-hover-shadow: 0 4px 18px rgba(220,38,38,0.10);
  /* ── Warning (amber) — review / sensitivity badges ───── */
  --warning:    #f59e0b;
  --warning-bg: rgba(245,158,11,0.10);
  --warning-br: rgba(245,158,11,0.25);
}
