/* imuimu design tokens · v1.1 · 2026-09-17
   One file, both faces. Light only (owner rule). Every colour, size and face used by
   portal.css, desk.css and ui.css comes from here. Never write a raw hex, px radius or
   font name in a component or page: add a token here and use it.
   Origin: brand book (sky, navy, Nunito, DIN, 20 px) + the owner's 17 Sep style
   references (cobalt action, warm cream, sunny yellow, 24/12 radii, 8 px spacing). */

:root{
  /* faces */
  --font-body:'Nunito','Noto Sans','Noto Sans CJK SC',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-mark:'imuimu DIN','Nunito',system-ui,sans-serif;      /* wordmark only */
  --font-data:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace; /* codes, amounts in tables, times */
  --font-alt:'Manrope','Nunito',system-ui,sans-serif;               /* showcase comparison only (UI-20); never used by a face */

  /* brand */
  --sky:#abe1fa;          /* brand surface: header washes, member card ground */
  --sky-tint:#d1eefc;     /* selected rows, soft chips */
  --sky-soft:#eaf6fd;     /* hover, subtle fills */
  --navy:#22305c;         /* wordmark, page titles */
  --cobalt:#0756c9;       /* the one action colour: primary buttons, links, active nav */
  --cobalt-hover:#0648a6;
  --cobalt-soft:#e6effb;  /* icon discs, focus halo ground */
  --cream:#fff9f0;        /* highlight card (referral, promo) */
  --sun:#ffd978;          /* attention accents, illustration spark */
  --sun-deep:#e6c86a;     /* dashed edge of internal notes */
  --cream-line:#f6e7c6;   /* edge of cream promo cards */

  /* neutrals (cool bias toward sky) */
  --ground:#f3f7fb;       /* page ground */
  --surface:#ffffff;      /* cards, panels, inputs */
  --surface-2:#f7fafd;    /* nested fills inside a card */
  --ink:#102f4a;          /* body text, icons */
  --ink-2:#4a5a71;        /* secondary text */
  --ink-3:#62708a;        /* captions, placeholders (5.0:1 on white, 4.6:1 on ground) */
  --line:#e1e8f0;         /* card borders, rules */
  --line-2:#eef2f7;       /* row separators */
  --on-cobalt:#ffffff;
  --on-sky:#102f4a;

  /* semantic: one fill and one ink each; the word always accompanies the colour */
  --good:#0d7041;     --good-fill:#e3f5e8;
  --warn:#7a4f05;     --warn-fill:#fff1c2;   /* built on --sun */
  --bad:#b3261e;      --bad-fill:#fde8e6;
  --info:#0756c9;     --info-fill:#e6effb;   /* = cobalt-soft */
  --neutral:#4a5a71;  --neutral-fill:#eef1f5;

  /* shape */
  --r-card-portal:24px;   /* portal cards */
  --r-card-desk:12px;     /* desk panels, rows */
  --r-control:12px;       /* buttons, inputs */
  --r-chip:999px;
  --r-thumb:12px;         /* product images */
  --r-small:8px;          /* progress bars, skeleton blocks */
  --r-control-sm:10px;    /* small desk buttons */
  --r-inner:16px;         /* blocks inside a card (promo art) */
  --r-bubble:18px;        /* chat bubbles */
  --r-panel:32px;         /* portal panel on a wide screen */
  --r-art:20px;           /* finished illustration blocks inside cards */
  --border:1px solid var(--line);
  --shadow-card:0 1px 2px rgba(16,47,74,.04),0 8px 24px -16px rgba(16,47,74,.18);
  --shadow-float:0 12px 32px -12px rgba(16,47,74,.28);

  /* spacing, 8 px base */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;--s-7:48px;

  /* type scale (px) */
  --t-display:32px; --t-h1:24px; --t-h2:18px; --t-h3:16px; --t-body:16px; --t-small:14px; --t-caption:13px;
  --t-body-desk:15px; --t-table:14px; --t-tab:11px; --t-count:11px;
  --t-pts:44px; --t-pts-unit:22px; --t-money:18px; --t-promo:22px; --t-mark:22px; --t-mark-lg:26px; --t-title-desk:28px; --t-case:22px; --t-mach:20px;
  --lh:1.5;

  /* touch and focus */
  --tap:44px;             /* portal minimum target */
  --tap-desk:32px;        /* desk minimum target */
  --sidebar:232px;        /* desk left navigation width */
  --drawer:288px;         /* desk navigation drawer on narrow screens */
  --focus:0 0 0 3px var(--cobalt-soft),0 0 0 5px var(--cobalt);

  /* motion */
  --ease:cubic-bezier(.2,.7,.2,1);
  --dur:160ms;
}
@media (prefers-reduced-motion:reduce){:root{--dur:0ms}}
