/* Verellen design tokens — shared by the ERP shell and the Django admin shell.
   Split out of base.css so the admin can take the palette (and the four
   base-themes.css re-points) without base.css's global element rules. */
:root {
  /* Palette — crm.css's --crm-* values, renamed to this file's tokens. */
  --color-bg: #f6f4f0;
  --color-surface: #ffffff;
  --color-surface-sunken: #f3f0ea;
  --color-border: #e4e0d7;
  --color-border-soft: #efece5;
  --color-border-strong: #d4cdbc;
  --color-focus-ring: rgba(28, 26, 23, 0.08);

  --color-text: #423e37;
  --color-text-muted: #6a655c;
  --color-text-faint: #857f74;

  --color-ink: #1c1a17;       /* near-black — headings */
  --color-ink-light: #35312b;
  --color-accent: #1c1a17;    /* no accent hue in this identity — actions are ink */
  --color-accent-hover: #35312b;
  --color-accent-soft: #f3f0ea;

  --color-success: #2b6446;
  --color-success-bg: #e7f0ea;
  --color-warning: #855410;
  --color-warning-bg: #fbf1dd;
  --color-danger: #9c2e1f;
  --color-danger-bg: #fbe8e4;

  /* Sidebar/nav — split out from --color-ink so a theme (base-themes.css)
     can re-point the rail without touching body text or headings. */
  --color-nav-bg: #24211d;
  --color-nav-text: #f5f2ec;
  --color-nav-text-strong: #ffffff;
  --color-nav-dim: rgba(245, 242, 236, 0.62);
  --color-nav-faint: rgba(245, 242, 236, 0.44);
  --color-nav-hover: rgba(255, 255, 255, 0.08);
  --color-nav-hover-strong: rgba(255, 255, 255, 0.14);
  --color-nav-rule: rgba(245, 242, 236, 0.16);
  --color-nav-rule-strong: rgba(245, 242, 236, 0.3);
  --color-nav-disabled: rgba(245, 242, 236, 0.3);
  --color-nav-logo-filter: invert(1) brightness(1.3);

  /* Type */
  --font-ui: "Helvetica Neue", HelveticaNeue, Helvetica, "Segoe UI", Arial, sans-serif;
  --font-serif: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, serif;

  /* Scale */
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.05), 0 1px 3px rgba(28, 26, 23, 0.04);
  --shadow-md: 0 4px 16px rgba(28, 26, 23, 0.1);
  --sidebar-w: 232px;
}
