/* NALQIVO ERP — central design tokens.
 *
 * Single source of truth for colour, spacing, typography, heights, radii,
 * shadows and interaction states. Every application consumes these tokens;
 * module stylesheets must not introduce a second brand palette.
 *
 * Brand: NALQIVO violet. Neutrals stay light and quiet so violet is the only
 * strong colour on screen. No external fonts, no remote assets (CSP-safe).
 */

:root {
  /* ---- Brand ------------------------------------------------------------ */
  --nq-primary: #6c4cf1;
  --nq-primary-600: #5a3ae0;
  --nq-primary-700: #4828c7;
  --nq-primary-800: #371c9e;
  --nq-primary-300: #b9a6ff;
  --nq-primary-200: #d6ccff;
  --nq-primary-100: #e8e2ff;
  --nq-primary-50: #f4f1ff;
  --nq-on-primary: #ffffff;
  --nq-accent: #12b8a6;
  --nq-accent-soft: #e3f8f5;

  /* ---- Neutrals --------------------------------------------------------- */
  --nq-bg: #f6f7fb;
  --nq-bg-soft: #eef0f7;
  --nq-surface: #ffffff;
  --nq-surface-2: #f9fafc;
  --nq-surface-3: #f2f4f9;
  --nq-ink: #191d33;
  --nq-ink-2: #2f3550;
  --nq-ink-strong: #241a4d;
  --nq-muted: #667085;
  --nq-muted-2: #8a91a6;
  --nq-line: #e5e7f0;
  --nq-line-strong: #d3d7e6;

  /* ---- States ----------------------------------------------------------- */
  --nq-success: #0a9b7d;
  --nq-success-soft: #e6f8f2;
  --nq-danger: #d94455;
  --nq-danger-soft: #fdecef;
  --nq-warning: #cf8508;
  --nq-warning-soft: #fff5e0;
  --nq-info: #2f6fed;
  --nq-info-soft: #eaf1ff;

  /* ---- Spacing scale (4px base) ----------------------------------------- */
  --nq-space-1: 4px;
  --nq-space-2: 8px;
  --nq-space-3: 12px;
  --nq-space-4: 16px;
  --nq-space-5: 20px;
  --nq-space-6: 24px;
  --nq-space-7: 32px;
  --nq-space-8: 48px;

  /* ---- Typography ------------------------------------------------------- */
  --nq-font-family: "Segoe UI", "Tahoma", "Noto Naskh Arabic", "Noto Sans Arabic", "Cairo", system-ui, -apple-system, sans-serif;
  --nq-font-mono: "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --nq-text-xs: 11.5px;
  --nq-text-sm: 12.5px;
  --nq-text-md: 13.5px;
  --nq-text-lg: 16px;
  --nq-text-xl: 20px;
  --nq-text-2xl: 26px;
  --nq-weight-regular: 400;
  --nq-weight-medium: 500;
  --nq-weight-semibold: 600;
  --nq-weight-bold: 700;
  --nq-weight-heavy: 800;
  --nq-leading: 1.6;
  --nq-leading-tight: 1.25;

  /* ---- Radii ------------------------------------------------------------ */
  --nq-radius-xs: 6px;
  --nq-radius-sm: 8px;
  --nq-radius-md: 10px;
  --nq-radius-lg: 14px;
  --nq-radius-pill: 999px;

  /* ---- Heights ---------------------------------------------------------- */
  --nq-topbar-h: 64px;
  --nq-control-h: 36px;
  --nq-control-h-sm: 30px;

  /* ---- Shadows ---------------------------------------------------------- */
  --nq-shadow-1: 0 1px 2px rgba(25, 29, 51, 0.05);
  --nq-shadow-2: 0 4px 14px rgba(25, 29, 51, 0.07);
  --nq-shadow-3: 0 14px 40px rgba(25, 29, 51, 0.12);
  --nq-shadow-4: 0 24px 70px rgba(25, 29, 51, 0.18);
  --nq-focus-ring: 0 0 0 3px rgba(108, 76, 241, 0.18);
  --nq-transition: 160ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
