/* JI-MA colour tokens — values copied verbatim from the brandbook + site source. */
:root{
  /* Primary */
  --jima-blue:#009FDB;          /* JI-MA-blå · Pantone 2925 C · max 10% of any surface */
  --jima-blue-hover:#00B4F5;    /* site: primary button hover (lighter) */
  --jima-blue-press:#0089BF;    /* brandbook: primary hover/press (darker) + text links on light */
  --jima-blue-ink:#00789F;      /* links, icons on light, secondary button text */
  --jima-blue-deep:#00688F;     /* info badge text, white-button text */
  --jima-deep:#0B2A3A;          /* Djupblå · Pantone 5395 C · header bar, footer, dark sections */
  --jima-deep-2:#0E3346;        /* raised tile on deep */
  --jima-deep-3:#0F3346;        /* panel on deep */
  --jima-deep-hover:#123B50;
  --jima-deep-line:#16405A;     /* 1px dividers on deep */
  --jima-deep-line-2:#1E4E66;
  --jima-deep-line-3:#24576F;
  --jima-cyan:#5FD0F5;          /* kicker/accent text on deep */
  --jima-ice:#EAF6FC;           /* Isblå · icon plates, selected rows, hover */
  --jima-ice-2:#F1FAFE;
  --jima-ice-3:#F7FCFE;
  --jima-ice-line:#BFE5F7;
  --jima-ice-line-2:#C9E9F8;
  --jima-header-grad:linear-gradient(180deg,#04A7E5,#0097D0); /* @kind color */

  /* On-deep text ramp */
  --on-deep-1:#FFFFFF;
  --on-deep-2:#D6E6EE;
  --on-deep-3:#A9C0CD;
  --on-deep-4:#7FA0B1;
  --on-deep-kicker:#7FB6CE;

  /* Neutrals */
  --paper:#FFFFFF;              /* Papper · card surface */
  --fog:#F6F8F9;                /* Dimma · page bg, secondary panel */
  --line:#E4EBEF;               /* Linje · 1px borders */
  --line-soft:#EDF1F4;          /* inner dividers */
  --line-row:#F1F4F6;           /* table row dividers */
  --line-section:#E9EEF1;
  --line-input:#DBE4E9;         /* input + secondary button border */
  --line-strong:#CFDBE2;
  --ink:#14232B;                /* Kolsvart · headings, table figures */
  --text-strong:#41565F;
  --text-body:#5D717C;          /* Brödtext */
  --text-muted:#7A8C96;         /* Grå text · captions, help */
  --text-label:#8B9CA6;         /* uppercase labels */
  --text-faint:#9FB0B9;
  --hover-wash:#F4F8FA;
  --row-hover:#FAFCFD;
  --img-placeholder:#EDF3F6;

  /* Signals — digital status only, never marketing */
  --ok:#2E9E5B; --ok-bg:#EAF7EE; --ok-fg:#1F6B3D; --ok-line:#C4E4CE; --ok-wash:#F7FCF9;
  --warn:#E08A00; --warn-hover:#C97B00; --warn-bg:#FFF4E0; --warn-fg:#8A5A00; --warn-wash:#FFF7EA; --warn-line:#F0D9AD; --warn-text:#5A4A26;
  --bad:#C94F4F; --bad-bg:#FBEFEF; --bad-fg:#A33B3B; --bad-line:#E3B9B9; --bad-wash:#FDF8F8;
  --info-bg:#E7F5FE; --info-fg:#00688F;
  --custom-bg:#F1EEFB; --custom-fg:#4E3D99;   /* SUR-MESURE badge */
  --neutral-bg:#F1F3F5; --neutral-fg:#4A5A63; /* "Bekräftad" status */

  /* Wood — illustration & 3D only */
  --wood-raw:#DCBE92;
  --wood-ht:#D4AA70;
  --wood-ply:#E8D3AA;
  --wood-stamp:#4A3A22;

  /* Swedish flag (Made-in-Sweden mark) */
  --flag-blue:#005293; --flag-yellow:#FECC02;

  /* Semantic aliases */
  --accent:var(--jima-blue);
  --surface-page:var(--fog);
  --surface-card:var(--paper);
  --surface-dark:var(--jima-deep);
  --surface-ice:var(--jima-ice);
  --border-card:var(--line);
  --text-heading:var(--ink);
  --text-link:var(--jima-blue-ink);
  --text-link-hover:var(--jima-blue);
  --text-kicker:var(--jima-blue);
}
