/* Filsa Pro — local role aliases over the Filsa design system.
 *
 * Verbatim from design/CLAUDE-CODE-INSTRUCTIONS.md §2. Declared on
 * `:root, [data-theme]` deliberately: declaring on `:root` alone breaks light
 * mode, because the aliases would not re-resolve inside the light scope.
 *
 * Do not add a colour here that is not an alias of a design-system token.
 */

:root, [data-theme] {
  --p-bg:var(--bg-app);            --p-surface:var(--surface-card);   --p-surface-2:var(--surface-raised);
  --p-ink:var(--text-primary);     --p-ink-2:var(--text-secondary);   --p-ink-3:var(--text-muted);
  --p-line:var(--border-subtle);   --p-line-2:var(--border-strong);
  --p-brand:var(--accent);         --p-brand-soft:var(--accent-tint);
  --p-brand-ink:var(--accent-fg);  --p-on-brand:var(--accent-contrast);
  --p-ok:var(--positive);          --p-ok-soft:var(--positive-tint);
  --p-warn:var(--pending);         --p-warn-soft:var(--pending-tint);
  --p-risk:var(--negative);        --p-risk-soft:var(--negative-tint);
  --p-audit:var(--c-purple);       --p-audit-soft:rgba(185,131,253,0.15);
  --p-bar:var(--n-5);              --p-scrim:rgba(10,10,12,0.62);
  --p-grad:var(--gradient-brand);
}

[data-theme="light"] {
  --p-audit:#8348DE; --p-audit-soft:rgba(131,72,222,0.10);
  --p-bar:var(--n-4); --p-scrim:rgba(20,20,40,0.34);
}
