/*
  Lean Legal design tokens — the plugin's own product colors. Registered as the
  first style dependency in AssetManager so badges.css, admin.css,
  footer-badge.css and protection.css only ever reference var(--…) and never
  repeat a literal.

  Admin screens read Lean Core's `--lean-*` tokens directly; `lean-legal-tokens`
  declares `lean-core-tokens` as a dependency, so they are always present. Only
  roles that badges.css or footer-badge.css also need are aliased here, because
  those sheets render on the public site where a shared admin palette would be
  the wrong scope. Badge and status wash colors are Lean Legal's own surface and
  stay local.
*/

:root {
  /* Roles shared with the badge surface, which renders on the frontend. */
  --lean-legal-accent: var( --lean-accent );
  --lean-legal-border: var( --lean-border );

  /* Status: danger */
  --lean-legal-danger-dark: #a02622;
  --lean-legal-danger-border: #f5c6cb;
  --lean-legal-danger-text: #721c24;

  /* Status: success */
  --lean-legal-success: var( --lean-success );
  --lean-legal-success-subtle: var( --lean-success-subtle );
  --lean-legal-success-border: #c3e6cb;
  --lean-legal-success-text: #155724;

  /* Status: warning */
  --lean-legal-warning-text: #856404;

  /* Status: info */
  --lean-legal-info-border: #bee5eb;
  --lean-legal-info-text: #0c5460;

  /* Admin badge-preview contrast. Public badges inherit document context. */
  --lean-legal-badge-fg: #0b1320;
  --lean-legal-badge-muted: #5b6472;
  --lean-legal-badge-ring: #c7d2fe;
}
