/* Monarch design tokens — generated per-tenant.
 * Tenant: empire (id=1)
 *
 * Source: /css/tokens.css endpoint (server/features/branding/
 * tokens-css.js). Original static file at public/css/tokens.css
 * is retained as documentation of the Empire reference palette.
 *
 * Per MONARCH-DESIGN-SYSTEM.md §2 + REFACTOR-PLAN-v1.2 §3.5.
 */

:root {
  /* ── Brand colors ────────────────────────────────────────── */
  --gold:        #b48a47;
  --gold-soft:   #d6b06b;
  --gold-dark:   #8e6c33;

  --forest:      #2f5d50;
  --forest-soft: #4f8377;
  --forest-dark: #1f4338;

  --cream:       #f6f4ee;
  --cream-2:     #efe9dc;
  --cream-3:     #e6dec8;

  --ink:         #1c1f1d;
  --ink-soft:    #4a4d4a;
  --ink-faint:   #7a7d79;

  /* ── Status / semantic ───────────────────────────────────── */
  --crimson:     #8a3a3a;
  --crimson-bg:  #fdecec;
  --success:     #2e6a2e;
  --success-bg:  #e8f5e8;
  --info-bg:     #f3eef4;

  /* ── Surface ─────────────────────────────────────────────── */
  --card:        #ffffff;
  --border:      #d8d2c2;
  --border-soft: #e6e0d0;

  /* ── Shape + interaction ─────────────────────────────────── */
  --radius:      20px;
  --radius-sm:   12px;
  --tap:         44px;

  --shadow-card:    0 8px 32px rgba(28,31,29,0.08);
  --shadow-card-sm: 0 4px 16px rgba(28,31,29,0.06);

  /* ── Legacy SPA aliases (DO NOT USE in new code) ─────────
   * The SPA's Tailwind bundle has ~115 references to bg-crimson /
   * border-crimson / etc. that historically rendered as green
   * (the brand was once forest-only). To avoid mass-renaming
   * every file in this PR, we keep the `crimson` Tailwind token
   * pointing at forest values via these aliases. New code should
   * use `bg-forest` (or `var(--forest)` directly) instead.
   * Plan to drop these aliases once the SPA rename is finished. */
  --legacy-crimson:      var(--forest);
  --legacy-crimson-dark: var(--ink);
  --legacy-crimson-light:var(--forest-soft);
}
