/* Sohorta — design tokens (from sohorta-modelo-wcag22.html). Light/dark contrast checked for WCAG 2.2 AA. */

/* =========================================================
   TOKENS — contrast-checked for WCAG 2.2 AA (see Acessibilidade page)
   ========================================================= */
:root{
  --bg:#fff; --surface:#f3f7f2; --surface-2:#e6efe6; --card:#fff;
  --text:#14221a; --muted:#46564c; --border:#cbd8ce; --field:#5f7266;
  --primary:#1e5e3c; --primary-hover:#174a2f; --on-primary:#fff;
  --link:#1b5a38; --lime:#a6c832; --on-lime:#14221a;
  --band:#1e5e3c; --on-band:#fff;
  --sale:#b3261e; --on-sale:#fff; --ok:#1e6b3f; --err:#b3261e;
  --focus:#0b57d0; --focus-halo:#fff;
  --logo-chip:transparent;
  --radius:10px; --radius-sm:6px; --shadow:0 8px 28px rgba(16,40,26,.14);
  --font:system-ui,-apple-system,"Segoe UI",roboto,"Helvetica Neue",arial,sans-serif;
  --font-head:var(--font);
  --maxw:1280px; --header-h:150px;
}

[data-theme="dark"]{
  --bg:#0e1511; --surface:#151f19; --surface-2:#1c2a22; --card:#17221b;
  --text:#e7f0e9; --muted:#aebfb4; --border:#33463a; --field:#8a9d91;
  --primary:#8fd49c; --primary-hover:#a9e2b3; --on-primary:#0b1a10;
  --link:#9fdcab; --lime:#c2e05a; --on-lime:#0b1a10;
  --band:#123522; --on-band:#e7f0e9;
  --sale:#ffb4ab; --on-sale:#410002; --ok:#8fd49c; --err:#ffb4ab;
  --focus:#9ecbff; --focus-halo:#0e1511;
  --logo-chip:#fff;
  --shadow:0 10px 30px rgba(0,0,0,.5);
}

/* Layout "b" (Mercado), the only one used: on body so the editor (which maps body to its canvas) gets it too. */
body{--radius:4px;--radius-sm:3px;--maxw:1400px}

