/* nexbatt design tokens — "Calm Lab" (direction D, chosen 2026-11-17).
   Load FIRST on every page (storefront, admin, legal). Hex first, OKLCH second (progressive enhancement).
   Rules: lime is a FILL behind dark text only, used for confirmed-fit moments (<5% of a page).
   Status colours (ok/warn/bad) are separate from brand green. See DESIGN.md. */
:root{
  --paper:#f3f5ec;   --paper:oklch(96.6% 0.013 118);
  --sunk:#e9eedf;    --sunk:oklch(93.6% 0.02 120);
  --card:#fbfcf8;    --card:oklch(98.8% 0.006 115);
  --plate:#eef2e5;   --plate:oklch(95.2% 0.018 120);
  --ink:#173d32;     --ink:oklch(34% 0.05 168);
  --ink-2:#234b38;
  --muted:#566b4b;   --muted:oklch(49.5% 0.05 132);
  --olive:#4e6b3c;   --olive:oklch(49% 0.07 132);
  --rule:#d3dac6;    --rule:oklch(88% 0.022 122);
  --rule-2:#b8c3a6;
  --forest:#173c31;  --forest:oklch(33.5% 0.048 168);
  --on-forest:#eff5e4; --on-forest-2:#b9ceb0;
  --lime:#c9f26b;    --lime:oklch(91% 0.17 125);
  --ok-bg:#e0eed6;   --ok:#1d5a37;
  --warn-bg:#f6ebce; --warn:#694a0c;
  --bad-bg:#f7e1db;  --bad:#8a2e1c;
  --focus:#234b38;
  --sans:"DM Sans","Anuphan",system-ui,sans-serif;
  --thai:"Anuphan","DM Sans",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:14px; --r-sm:9px; --r-xs:6px;
  --shadow:0 1px 2px rgb(23 61 50 / .06),0 8px 24px -12px rgb(23 61 50 / .18);
  --shadow-lg:0 2px 4px rgb(23 61 50 / .06),0 24px 48px -20px rgb(23 61 50 / .28);
  --gut:clamp(16px,4vw,48px);
  --max:1240px;
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:light;
}
