/*
 * Nirnay POS — design tokens (legacy --n-* bridge).
 * ds.css overrides values; this file owns the names and primitives.
 */
:root {
    /* spacing */
    --n-space-0:  0;
    --n-space-1:  4px;
    --n-space-2:  8px;
    --n-space-3:  12px;
    --n-space-4:  16px;
    --n-space-5:  20px;
    --n-space-6:  24px;
    --n-space-7:  32px;
    --n-space-8:  40px;
    --n-space-9:  48px;
    --n-space-10: 64px;
    --n-space-12: 80px;

    /* radius */
    --n-radius-xs: 6px;
    --n-radius-sm: 10px;
    --n-radius-md: 14px;
    --n-radius-lg: 18px;
    --n-radius-xl: 24px;
    --n-radius-pill: 999px;

    /* typography */
    --n-font: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --n-font-mono: ui-monospace, "JetBrains Mono", "SF Mono", monospace;
    --n-text-xs:   0.72rem;
    --n-text-sm:   0.83rem;
    --n-text-base: 0.95rem;
    --n-text-md:   1.05rem;
    --n-text-lg:   1.18rem;
    --n-text-xl:   1.4rem;
    --n-text-2xl:  1.75rem;
    --n-text-3xl:  2.25rem;
    --n-leading-tight:   1.15;
    --n-leading-normal:  1.4;
    --n-leading-relaxed: 1.6;
    --n-weight-normal: 400;
    --n-weight-semi:   500;
    --n-weight-bold:   600;
    --n-weight-extra:  700;

    /* motion */
    --n-ease:   cubic-bezier(.23,1,.32,1);
    --n-ease-in-out: cubic-bezier(.4,0,.2,1);
    --n-duration-1: 100ms;
    --n-duration-2: 160ms;
    --n-duration-3: 220ms;
    --n-duration-4: 300ms;

    /* shadow ramp (light) */
    --n-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --n-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --n-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --n-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --n-shadow-xl: 0 28px 60px rgba(15, 23, 42, 0.18);

    /* z-index */
    --n-z-sticky:  100;
    --n-z-overlay: 1000;
    --n-z-modal:   1100;
    --n-z-toast:   1200;
}
