/* Xenyra design tokens (T1, from H47): one place for colours, radii and fonts. All screens read these; nothing hardcodes them.
   Light = the values used until now, unchanged. Dark = Xenyra dark (same family as the My Xenyra CRM dark).
   The mode is chosen by the shared Xenyra switch (Auto / Light / Dark, key "xenyra-theme");
   js/theme-boot.js turns it into <html data-xt-scheme="light|dark"> before the first paint. */
:root{
  color-scheme:light;
  /* page and surfaces */
  --xt-bg:#f5f7ff;--xt-bg-2:#f4f7ff;--xt-surface:#fff;--xt-surface-2:#fafbff;--xt-soft:#f5f7ff;
  --xt-surface-rgb:255 255 255;
  --xt-glow-a:#e8e4ff;--xt-glow-b:#dff3ff;
  /* text */
  --xt-ink:#0f1433;--xt-ink-0:#08111f;--xt-ink-deep:#0b1745;--xt-ink-2:#3b425e;--xt-ink-3:#3b4a73;--xt-ink-4:#16224b;--xt-ink-5:#2b3252;
  --xt-text:#545b75;--xt-mute:#6a7190;--xt-mute-2:#5b6b86;--xt-mute-3:#65789d;--xt-mute-4:#6b7894;--xt-faint:#8a93ad;--xt-nav-ink:#46546f;
  --xt-ink-rgb:15 20 51;
  /* lines */
  --xt-line:#e3e7f5;--xt-line-2:#dce1f2;--xt-line-3:#dbe5f7;--xt-line-4:#e0e8f9;--xt-line-5:#e3eaf9;--xt-line-6:#dbe4f8;--xt-line-7:#e3eafa;--xt-line-8:#dfe4fa;
  --xt-line-hi:#b9c4ee;--xt-line-hi-2:#c5d0f5;--xt-line-hi-3:#b9ccf5;
  --xt-pill-line:#d4dbfa;--xt-pill-line-2:#cfd7f3;--xt-hot-line:#b9c4ff;
  --xt-line-rgb:227 231 245;--xt-pop-line-rgb:203 214 238;
  /* accents and soft fills */
  --xt-tint:#eef1ff;--xt-hover:#eef3ff;--xt-soon-bg:#f1f2f7;--xt-av-bg:#dfe5fb;
  --xt-blue:#3355ff;--xt-blue-d:#1e3bd6;--xt-blue-2:#2771ff;--xt-blue-press:#1d4fd0;--xt-violet:#7a4df5;--xt-violet-2:#842cf5;
  --xt-eyebrow:#2f48c9;--xt-accent-ink:#5b4bea;--xt-info-ink:#5b6aa8;--xt-scroll-ink:#3b4cca;
  --xt-slate:#7a87a3;--xt-slate-rgb:122 135 163;
  --xt-chip-a:#e4ecff;--xt-chip-b:#efe8ff;--xt-badge-bg:#e6ecfb;--xt-badge-ink:#4a5b86;
  --xt-focus:#8fb2ff;--xt-focus-ring:#dbe7ff;
  --xt-danger:#b3261e;--xt-danger-2:#b42318;
  --xt-cta-bg:#0f1433;--xt-cta-ink:#fff;
  /* demo and illustration fills */
  --xt-demo-a:#f3f5ff;--xt-demo-b:#f6f1ff;--xt-pic-a:#eef1ff;--xt-pic-b:#f3ecff;
  --xt-svg-dot:#c9d2f5;--xt-svg-dot-2:#dfe4fa;
  --xt-bubble-ink:#0f172a;
  --xt-bubble-me-a:rgba(236,252,255,.92);--xt-bubble-me-b:rgba(244,241,255,.82);
  --xt-bubble-ai-a:rgba(255,255,255,.96);--xt-bubble-ai-b:rgba(248,250,255,.90);--xt-bubble-ai-line:rgba(15,23,42,.08);--xt-bubble-ai-shadow:rgba(2,6,23,.055);
  --xt-inset-hi:rgba(255,255,255,.65);--xt-inset-hi-2:rgba(255,255,255,.62);--xt-inset-hi-3:rgba(255,255,255,.72);
  /* shadows */
  --xt-shadow-rgb:37 73 135;--xt-shadow-pop-rgb:22 34 75;--xt-shadow-blue-rgb:30 60 160;
  /* images */
  --xt-sign-filter:none;
  /* brand, shape, type (same in both modes) */
  --xt-grad:linear-gradient(135deg,#2e6bff,#7a4df5);
  --xt-r-pill:999px;--xt-r-card:20px;--xt-r-ctl:14px;
  --xt-font:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --xt-serif:"EB Garamond",Cardo,Georgia,"Times New Roman",serif;
  --xt-head-h:68px;
}

/* Xenyra dark */
:root[data-xt-scheme="dark"]{
  color-scheme:dark;
  --xt-bg:#0b1020;--xt-bg-2:#0b1020;--xt-surface:#131a2e;--xt-surface-2:#182038;--xt-soft:#0f1530;
  --xt-surface-rgb:19 26 46;
  --xt-glow-a:#1d1747;--xt-glow-b:#0c2340;
  --xt-ink:#e9edf9;--xt-ink-0:#f3f5fc;--xt-ink-deep:#dfe5f7;--xt-ink-2:#c3cae2;--xt-ink-3:#b9c1dc;--xt-ink-4:#e1e6f6;--xt-ink-5:#d3d9ee;
  --xt-text:#b4bbd4;--xt-mute:#a3acc8;--xt-mute-2:#9aa4c2;--xt-mute-3:#8f9abb;--xt-mute-4:#8f9abb;--xt-faint:#7480a3;--xt-nav-ink:#b4bbd4;
  --xt-ink-rgb:233 237 249;
  --xt-line:#243050;--xt-line-2:#2f3c62;--xt-line-3:#2a3658;--xt-line-4:#243050;--xt-line-5:#243050;--xt-line-6:#2f3c62;--xt-line-7:#2a3658;--xt-line-8:#2a3658;
  --xt-line-hi:#3d4c7a;--xt-line-hi-2:#3d4c7a;--xt-line-hi-3:#3d4c7a;
  --xt-pill-line:#2f3c62;--xt-pill-line-2:#2f3c62;--xt-hot-line:#4a5bd0;
  --xt-line-rgb:36 48 80;--xt-pop-line-rgb:47 60 98;
  --xt-tint:#1c2a55;--xt-hover:#1a2446;--xt-soon-bg:#1f2640;--xt-av-bg:#26314f;
  --xt-blue:#7a9bff;--xt-blue-d:#5b84ff;--xt-blue-2:#6f93ff;--xt-blue-press:#4a74f0;--xt-violet:#a58bff;--xt-violet-2:#842cf5;
  --xt-eyebrow:#9fb0ff;--xt-accent-ink:#a99bff;--xt-info-ink:#9aa6d6;--xt-scroll-ink:#9fb0ff;
  --xt-slate:#8f9abb;--xt-slate-rgb:143 154 187;
  --xt-chip-a:#1c2a55;--xt-chip-b:#261d52;--xt-badge-bg:#222c4f;--xt-badge-ink:#b3bde0;
  --xt-focus:#5b84ff;--xt-focus-ring:#1f3170;
  --xt-danger:#ff7a7a;--xt-danger-2:#ff8a80;
  --xt-cta-bg:#e9edf9;--xt-cta-ink:#0f1433;
  --xt-demo-a:#141b36;--xt-demo-b:#1a1638;--xt-pic-a:#151d3d;--xt-pic-b:#1d1840;
  --xt-svg-dot:#3a4775;--xt-svg-dot-2:#2a3560;
  --xt-bubble-ink:#e9edf9;
  --xt-bubble-me-a:rgba(24,48,76,.92);--xt-bubble-me-b:rgba(36,30,72,.82);
  --xt-bubble-ai-a:rgba(26,34,58,.96);--xt-bubble-ai-b:rgba(21,28,50,.90);--xt-bubble-ai-line:rgba(255,255,255,.08);--xt-bubble-ai-shadow:rgba(0,0,0,.3);
  --xt-inset-hi:rgba(255,255,255,.06);--xt-inset-hi-2:rgba(255,255,255,.05);--xt-inset-hi-3:rgba(255,255,255,.05);
  --xt-shadow-rgb:0 0 0;--xt-shadow-pop-rgb:0 0 0;--xt-shadow-blue-rgb:0 0 0;
  --xt-sign-filter:invert(1) hue-rotate(180deg);
}
