/* Altrix.one UI tokens. GENERATED by packages/ui/tools/build-tokens.mjs from packages/ui/tokens.json. Do not edit: change tokens.json and run the build.
   Look (owner, 27 Nov 2026): light only, warm canvas, plum used lightly, gold only for real wins, ARR One kit colours.
   Load order on every screen: tokens.css -> base.css -> components.css -> <slug>.css. Components and screens use the
   SEMANTIC names (--bg, --surface, --text, --accent-bg, --danger, ...), not the palette.
   White-label: a company's colour re-points the accent tokens through js/brand-theme.js. */
@font-face{font-family:"Geist";src:url("fonts/geist-variable.woff2") format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  /* Brand palette. Altrix plum #7A0A80 (owner, 27 Nov), used lightly: selected states, the main button, the wordmark. Solid fills with white text use the deeper CRM plum #6B016E (--accent-bg). "--violet*" are the old names, kept so screens don't break. Each company can still set its own colour (white-label, js/brand-theme.js). */
  --brand:#7A0A80; --brand-deep:#3A0140; --brand-2:#C42FB0; --brand-soft:#F7ECF8; --brand-tint:#F4E6F5; --plum:#7A0A80;
  --plum-deep:#6B016E; --plum-glow:#C42FB0; --violet:var(--brand); --violet-2:var(--brand-2); --violet-soft:var(--brand-soft);
  --gold:#FABD06; --gold-soft:#FFF5D6; --gold-ink:#6A4F00; --gold-line:#F2D57A; --mint:#2E8B3E; --mint-soft:#E7F3EC;
  --mint-ink:#23663F; --sun:#FDBE02; --sun-soft:#FBF0D4; --sun-ink:#7A5A05; --coral:#E91E63; --coral-soft:#FBE8E9; --sky:#1E6FE0;
  --sky-soft:#E6EFF9; --wa:#1B9E4B; --night:#19161B; --ink:#19161B; --ink-2:#524859; --ink-3:#625A67; --line:#ECE6EA;
  --paper:#FFFFFF; --wash:#FAF8F5;
  /* Module colours: the live CRM's 16-colour set (ARR One kit). --tile-<name> strong colour (graphics, >= 3:1); -soft + -ink chips and soft cards (AA); -deep solid fill for white text (>= 4.5:1). amber, yellow and orange take the dark glyph. */
  --tile-glyph:#FFFFFF; --tile-glyph-dark:#35103F; --tile-plum:#6B016E; --tile-plum-soft:#EDE1EE; --tile-plum-ink:#6B016E;
  --tile-plum-deep:#6B016E; --tile-purple:#8E24AA; --tile-purple-soft:#F1E5F5; --tile-purple-ink:#7B1FA2;
  --tile-purple-deep:#7B1FA2; --tile-violet:#7C4DFF; --tile-violet-soft:#EFEAFF; --tile-violet-ink:#5B3CC4;
  --tile-violet-deep:#5B3CC4; --tile-indigo:#5C6BC0; --tile-indigo-soft:#EBEDF7; --tile-indigo-ink:#3949AB;
  --tile-indigo-deep:#3949AB; --tile-blue:#1E6FE0; --tile-blue-soft:#E4EEFB; --tile-blue-ink:#1D4ED8; --tile-blue-deep:#1D4ED8;
  --tile-sky:#0288D1; --tile-sky-soft:#E1F1F9; --tile-sky-ink:#0369A1; --tile-sky-deep:#0369A1; --tile-cyan:#00838F;
  --tile-cyan-soft:#E0F0F2; --tile-cyan-ink:#006670; --tile-cyan-deep:#006670; --tile-teal:#00897B; --tile-teal-soft:#E0F1EF;
  --tile-teal-ink:#00695C; --tile-teal-deep:#00695C; --tile-emerald:#059669; --tile-emerald-soft:#E1F2ED;
  --tile-emerald-ink:#047857; --tile-emerald-deep:#047857; --tile-green:#2E8B3E; --tile-green-soft:#E6F1E8;
  --tile-green-ink:#1B7A34; --tile-green-deep:#1B7A34; --tile-wa:#1B9E4B; --tile-wa-soft:#E4F3E9; --tile-wa-ink:#0E7A3A;
  --tile-wa-deep:#0E7A3A; --tile-amber:#FFB300; --tile-amber-soft:#FFF6E0; --tile-amber-ink:#8A5B00; --tile-amber-deep:#8A5B00;
  --tile-yellow:#FFCA28; --tile-yellow-soft:#FFF9E5; --tile-yellow-ink:#7A5C00; --tile-yellow-deep:#7A5C00; --tile-orange:#FB8C00;
  --tile-orange-soft:#FFF1E0; --tile-orange-ink:#A84300; --tile-orange-deep:#A84300; --tile-pink:#E91E63; --tile-pink-soft:#FCE4EC;
  --tile-pink-ink:#AD1457; --tile-pink-deep:#AD1457; --tile-slate:#607D8B; --tile-slate-soft:#ECEFF1; --tile-slate-ink:#455A64;
  --tile-slate-deep:#455A64;
  /* Shape: cards 16px, buttons + inputs 12px */
  --r-xs:8px; --r-sm:12px; --r:16px; --r-lg:22px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(53,16,63,.04), 0 4px 14px rgba(53,16,63,.04);
  --sh:0 1px 2px rgba(53,16,63,.04), 0 8px 24px rgba(53,16,63,.06);
  --sh-pop:0 20px 60px rgba(53,16,63,.20), 0 2px 6px rgba(53,16,63,.08);
  /* Type: Lexend first (working default, plans/altrix-font-options.html option C: easiest to read for people with little schooling), then Geist (bundled in fonts/), then the system font. Lexend is not bundled yet: until its woff2 is added, devices without it show Geist. */
  --f-head:Lexend, Geist, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-body:Lexend, Geist, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono:ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace; --fs-xs:12px; --fs-sm:13px; --fs-md:15px;
  --fs-lg:17px; --fs-xl:20px; --fs-2xl:24px; --fs-3xl:30px;
  /* Space (4px grid) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-7:32px; --s-8:40px; --s-9:48px; --s-10:64px;
  /* Motion (plans/altrix-motion.html): 150 ms press / hover, 200 ms enter / sheet, 250 ms page; transform + opacity only; exits faster than enters; reduced motion = fade */
  --t-fast:150ms; --t:200ms; --t-slow:250ms; --ease:cubic-bezier(.2,.7,.2,1); --ease-in:cubic-bezier(.4,0,1,1);
  --ease-out:cubic-bezier(.2,.9,.25,1);
  /* Semantic: surfaces + text. Components and screens use THESE names, not the palette. */
  --bg:var(--wash); --surface:var(--paper); --surface-2:#F7F2F5; --surface-3:#EFE7EE; --line-2:#DDD3DA; --control-border:#8C7F91;
  --text:var(--ink); --text-2:var(--ink-2); --text-3:var(--ink-3);
  /* Semantic: accent + status (all text pairs pass WCAG AA). Danger is crimson, the brand is plum: different hue AND always an icon + words. */
  --accent:var(--violet); --accent-bg:#6B016E; --accent-bg-hover:#3A0140; --on-accent:#FFFFFF; --accent-soft:var(--violet-soft);
  --accent-ink:#6B016E; --accent-line:var(--gold); --link:#6B016E; --grad-brand:linear-gradient(135deg,#7A0A80,#C42FB0);
  --success:var(--mint); --success-soft:var(--mint-soft); --success-ink:var(--mint-ink); --warn:var(--sun);
  --warn-soft:var(--sun-soft); --warn-ink:var(--sun-ink); --danger:#A51F28; --danger-bg:#A51F28; --danger-bg-hover:#861920;
  --danger-soft:#FBE8E9; --danger-ink:#A51F28; --info:var(--sky); --info-soft:var(--sky-soft); --info-ink:#1F5A9C;
  --win:var(--gold); --win-soft:var(--gold-soft); --win-ink:var(--gold-ink); --focus:#6B016E; --ring:rgba(122,10,128,.18);
  --ring-danger:rgba(165,31,40,.18); --overlay:rgba(25,22,27,.45); --inverse-bg:#19161B; --inverse-text:#FFFDF8;
  --inverse-text-2:#D9CFDC; --skeleton:#F2ECF1; --skeleton-hi:#F9F5F8;
  /* Charts (>= 3:1 against --surface); series order fixed, max 5 then Other */
  --c1:#6B016E; --c2:#00897B; --c3:#B26A00; --c4:#1E6FE0; --c5:#8E24AA; --c-grid:#F4ECF4;
  /* Layout + parts. --tap = 48px touch targets (UX rule zero). */
  --tap:48px; --tap-sm:40px; --nav-w:256px; --nav-row-h:52px; --topbar-h:56px; --bottomnav-h:64px; --content-max:1200px;
  --icon-stroke:1.9; --card-r:var(--r); --btn-r:var(--r-sm); --z-sticky:20; --z-nav:30; --z-menu:50; --z-drawer:60; --z-modal:70;
  --z-toast:80;
  /* The colourful altrix.one wordmark (plans/altrix-logo-options.html option 1 with the smile; working default until the owner picks). Logo colours, not text colours. */
  --logo-a:#7A0A80; --logo-l:#1E6FE0; --logo-t:#E53935; --logo-r:#E39A00; --logo-i:#1B9E4B; --logo-x:#7A0A80; --logo-one:#6B6370;
  /* One colour per module, the same on every screen (gradient line icon + soft card tint). */
  --mod-home:var(--tile-amber); --mod-inbox:var(--tile-wa); --mod-deals:var(--tile-blue); --mod-board:var(--tile-indigo);
  --mod-templates:var(--tile-green); --mod-automation:var(--tile-violet); --mod-mate:var(--tile-yellow);
  --mod-money:var(--tile-emerald); --mod-setup:var(--tile-plum); --mod-portal:var(--tile-sky); --mod-bookings:var(--tile-cyan);
  --mod-team:var(--tile-pink); --mod-reports:var(--tile-purple); --mod-more:var(--tile-slate);
  color-scheme:light;
}
/* Script fallbacks per language (js/i18n.js sets <html lang>). Latin text keeps Lexend / Geist; the other script comes from Noto (Android), Nirmala UI (Windows) or the Apple system font. */
:root:lang(hi){--f-head:Lexend, Geist, "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", Mangal, system-ui, sans-serif;
  --f-body:Lexend, Geist, "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", Mangal, system-ui, sans-serif}
:root:lang(ta){--f-head:Lexend, Geist, "Noto Sans Tamil", "Nirmala UI", "Tamil Sangam MN", Latha, system-ui, sans-serif;
  --f-body:Lexend, Geist, "Noto Sans Tamil", "Nirmala UI", "Tamil Sangam MN", Latha, system-ui, sans-serif}
:root:lang(ar){--f-head:Lexend, Geist, "Noto Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, system-ui, sans-serif;
  --f-body:Lexend, Geist, "Noto Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, system-ui, sans-serif}
