/*!
 * NAVEMI Design System v1.0.1 — CSS custom properties.
 * GENERATED by scripts/build_css.py from tokens/navemi.tokens.json. Do not edit by hand.
 *
 * Inert until opted in:  <html lang="fa" dir="rtl" data-nv-brand="v1" data-nv-surface="site|panel|store" data-nv-theme="light|dark">
 * Omit data-nv-theme only when the user chose "system" (theme then follows the OS).
 */

:root {
  --nv-color-brand-orange: #FF7A1A;
  --nv-color-brand-lime: #C6F432;
  --nv-color-brand-carbon: #101210;
  --nv-color-brand-warm: #F3F3ED;
  --nv-color-brand-graphite: #242624;
  --nv-color-brand-gray: #858782;
  --nv-color-orange-50: #FFF3EA;
  --nv-color-orange-100: #FFE8D6;
  --nv-color-orange-300: #FFB27A;
  --nv-color-orange-400: #FF9447;
  --nv-color-orange-500: #FF7A1A;
  --nv-color-orange-600: #E5650A;
  --nv-color-orange-650: #D35A08;
  --nv-color-orange-700: #A84A08;
  --nv-color-orange-800: #8F3F07;
  --nv-color-orange-900: #3D2210;
  --nv-color-lime-50: #F1FCC8;
  --nv-color-lime-100: #E5F99A;
  --nv-color-lime-400: #C6F432;
  --nv-color-lime-500: #9BC21F;
  --nv-color-lime-700: #6E8F0B;
  --nv-color-lime-800: #4A6208;
  --nv-color-lime-900: #2E3A0A;
  --nv-color-neutral-0: #FFFFFF;
  --nv-color-neutral-25: #FAFAF6;
  --nv-color-neutral-50: #F3F3ED;
  --nv-color-neutral-100: #E4E4DD;
  --nv-color-neutral-200: #C9CAC4;
  --nv-color-neutral-400: #A3A59F;
  --nv-color-neutral-500: #858782;
  --nv-color-neutral-600: #6B6D68;
  --nv-color-neutral-700: #3A3C39;
  --nv-color-neutral-800: #2E302E;
  --nv-color-neutral-850: #242624;
  --nv-color-neutral-900: #1C1F1C;
  --nv-color-neutral-950: #101210;
  --nv-font-fa: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --nv-font-latin: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nv-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nv-font-weight-regular: 400;
  --nv-font-weight-medium: 500;
  --nv-font-weight-semibold: 600;
  --nv-font-weight-bold: 700;
  --nv-font-weight-extrabold: 800;
  --nv-font-size-xs: 0.75rem;
  --nv-font-size-sm: 0.875rem;
  --nv-font-size-md: 1rem;
  --nv-font-size-lg: 1.125rem;
  --nv-font-size-xl: 1.25rem;
  --nv-font-size-2xl: 1.5rem;
  --nv-font-size-3xl: clamp(1.625rem, 1.4rem + 1vw, 1.875rem);
  --nv-font-size-4xl: clamp(1.875rem, 1.5rem + 1.6vw, 2.25rem);
  --nv-font-size-5xl: clamp(2.25rem, 1.7rem + 2.4vw, 3rem);
  --nv-font-size-6xl: clamp(2.625rem, 1.8rem + 3.6vw, 3.75rem);
  --nv-space-0: 0;
  --nv-space-0-5: 2px;
  --nv-space-1: 4px;
  --nv-space-2: 8px;
  --nv-space-3: 12px;
  --nv-space-4: 16px;
  --nv-space-5: 20px;
  --nv-space-6: 24px;
  --nv-space-8: 32px;
  --nv-space-10: 40px;
  --nv-space-12: 48px;
  --nv-space-16: 64px;
  --nv-space-20: 80px;
  --nv-space-24: 96px;
  --nv-space-32: 128px;
  --nv-radius-none: 0;
  --nv-radius-xs: 4px;
  --nv-radius-sm: 8px;
  --nv-radius-md: 12px;
  --nv-radius-lg: 16px;
  --nv-radius-xl: 24px;
  --nv-radius-pill: 999px;
  --nv-border-hairline: 1px;
  --nv-border-strong: 2px;
  --nv-border-focus: 2px;
  --nv-shadow-1: 0 1px 2px rgba(16,18,16,0.06), 0 1px 1px rgba(16,18,16,0.04);
  --nv-shadow-2: 0 4px 12px rgba(16,18,16,0.08);
  --nv-shadow-3: 0 12px 32px rgba(16,18,16,0.12);
  --nv-duration-fast: 120ms;
  --nv-duration-base: 200ms;
  --nv-duration-slow: 320ms;
  --nv-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --nv-ease-enter: cubic-bezier(0, 0, 0, 1);
  --nv-ease-exit: cubic-bezier(0.3, 0, 1, 1);
  --nv-container-max: 1200px;
  --nv-content-max: 720px;
  --nv-gutter: 16px;
  --nv-sidebar-width: 264px;
  --nv-sidebar-collapsed: 72px;
  --nv-topbar-height: 64px;
  --nv-touch-target: 44px;
  --nv-z-base: 0;
  --nv-z-sticky: 100;
  --nv-z-dropdown: 200;
  --nv-z-drawer: 300;
  --nv-z-modal: 400;
  --nv-z-toast: 500;
  --nv-z-tooltip: 600;
  --nv-logo-plate-padding: 0.6em;
  --nv-logo-plate-radius: 12px;
  --nv-logo-min-width: 88px;
}
@media (min-width: 768px)  { :root { --nv-gutter: 24px; } }
@media (min-width: 1024px) { :root { --nv-gutter: 32px; } }

/* Light: default when v1 is on, and explicit data-nv-theme="light" */
[data-nv-brand="v1"],
[data-nv-brand="v1"][data-nv-theme="light"] {
  color-scheme: light;
  --nv-bg: #F3F3ED;
  --nv-surface: #FFFFFF;
  --nv-surface-raised: #FAFAF6;
  --nv-surface-sunken: #E4E4DD;
  --nv-surface-inverse: #101210;
  --nv-text: #101210;
  --nv-text-secondary: #6B6D68;
  --nv-text-muted: #858782;
  --nv-text-inverse: #F3F3ED;
  --nv-text-link: #A84A08;
  --nv-border: #E4E4DD;
  --nv-border-strong-color: #858782;
  --nv-primary: #FF7A1A;
  --nv-primary-hover: #FF9447;
  --nv-primary-pressed: #E5650A;
  --nv-on-primary: #101210;
  --nv-primary-subtle: #FFF3EA;
  --nv-on-primary-subtle: #8F3F07;
  --nv-accent: #C6F432;
  --nv-on-accent: #101210;
  --nv-accent-text: #4A6208;
  --nv-focus-ring: #A84A08;
  --nv-success: #0F7A3E;
  --nv-warning: #B54708;
  --nv-danger: #B42318;
  --nv-info: #175CD3;
  --nv-scrim: rgba(16, 18, 16, 0.56);
  --nv-text-link-hover: #8F3F07;
  --nv-hover-bg: #E4E4DD;
  --nv-pressed-bg: #C9CAC4;
  --nv-input-border: #858782;
  --nv-input-border-error: #B42318;
  --nv-on-danger: #FFFFFF;
  --nv-danger-hover: #912018;
  --nv-disabled-bg: #E4E4DD;
  --nv-disabled-fg: #6B6D68;
  --nv-status-agent: #C6F432;
  --nv-status-agent-ring: #4A6208;
  --nv-status-human: #D35A08;
  --nv-status-paused: #858782;
  --nv-logo-plate: #101210;
  --nv-logo-wordmark: #FF7A1A;
  --nv-logo-ticks: #C6F432;
  --nv-elevation-1: var(--nv-shadow-1);
  --nv-elevation-2: var(--nv-shadow-2);
  --nv-elevation-3: var(--nv-shadow-3);
}

[data-nv-brand="v1"][data-nv-theme="dark"] {
  color-scheme: dark;
  --nv-bg: #101210;
  --nv-surface: #1C1F1C;
  --nv-surface-raised: #242624;
  --nv-surface-sunken: #0A0B0A;
  --nv-surface-inverse: #F3F3ED;
  --nv-text: #F3F3ED;
  --nv-text-secondary: #A3A59F;
  --nv-text-muted: #858782;
  --nv-text-inverse: #101210;
  --nv-text-link: #FF7A1A;
  --nv-border: #2E302E;
  --nv-border-strong-color: #6B6D68;
  --nv-primary: #FF7A1A;
  --nv-primary-hover: #FF9447;
  --nv-primary-pressed: #E5650A;
  --nv-on-primary: #101210;
  --nv-primary-subtle: #3D2210;
  --nv-on-primary-subtle: #FFB27A;
  --nv-accent: #C6F432;
  --nv-on-accent: #101210;
  --nv-accent-text: #C6F432;
  --nv-focus-ring: #C6F432;
  --nv-success: #47CD89;
  --nv-warning: #F79009;
  --nv-danger: #FF6B5E;
  --nv-info: #84ADFF;
  --nv-scrim: rgba(0, 0, 0, 0.64);
  --nv-text-link-hover: #FF9447;
  --nv-hover-bg: #242624;
  --nv-pressed-bg: #2E302E;
  --nv-input-border: #6B6D68;
  --nv-input-border-error: #FF6B5E;
  --nv-on-danger: #101210;
  --nv-danger-hover: #FF8A80;
  --nv-disabled-bg: #2E302E;
  --nv-disabled-fg: #858782;
  --nv-status-agent: #C6F432;
  --nv-status-agent-ring: #C6F432;
  --nv-status-human: #FF7A1A;
  --nv-status-paused: #858782;
  --nv-logo-plate: #101210;
  --nv-logo-wordmark: #FF7A1A;
  --nv-logo-ticks: #C6F432;
  --nv-elevation-1: 0 0 0 1px #2E302E;
  --nv-elevation-2: 0 0 0 1px #2E302E, 0 4px 12px rgba(0, 0, 0, 0.4);
  --nv-elevation-3: 0 0 0 1px #3A3C39, 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* "system" choice = no data-nv-theme attribute: follow the OS */
@media (prefers-color-scheme: dark) {
  [data-nv-brand="v1"]:not([data-nv-theme]) {
    color-scheme: dark;
    --nv-bg: #101210;
    --nv-surface: #1C1F1C;
    --nv-surface-raised: #242624;
    --nv-surface-sunken: #0A0B0A;
    --nv-surface-inverse: #F3F3ED;
    --nv-text: #F3F3ED;
    --nv-text-secondary: #A3A59F;
    --nv-text-muted: #858782;
    --nv-text-inverse: #101210;
    --nv-text-link: #FF7A1A;
    --nv-border: #2E302E;
    --nv-border-strong-color: #6B6D68;
    --nv-primary: #FF7A1A;
    --nv-primary-hover: #FF9447;
    --nv-primary-pressed: #E5650A;
    --nv-on-primary: #101210;
    --nv-primary-subtle: #3D2210;
    --nv-on-primary-subtle: #FFB27A;
    --nv-accent: #C6F432;
    --nv-on-accent: #101210;
    --nv-accent-text: #C6F432;
    --nv-focus-ring: #C6F432;
    --nv-success: #47CD89;
    --nv-warning: #F79009;
    --nv-danger: #FF6B5E;
    --nv-info: #84ADFF;
    --nv-scrim: rgba(0, 0, 0, 0.64);
    --nv-text-link-hover: #FF9447;
    --nv-hover-bg: #242624;
    --nv-pressed-bg: #2E302E;
    --nv-input-border: #6B6D68;
    --nv-input-border-error: #FF6B5E;
    --nv-on-danger: #101210;
    --nv-danger-hover: #FF8A80;
    --nv-disabled-bg: #2E302E;
    --nv-disabled-fg: #858782;
    --nv-status-agent: #C6F432;
    --nv-status-agent-ring: #C6F432;
    --nv-status-human: #FF7A1A;
    --nv-status-paused: #858782;
    --nv-logo-plate: #101210;
    --nv-logo-wordmark: #FF7A1A;
    --nv-logo-ticks: #C6F432;
    --nv-elevation-1: 0 0 0 1px #2E302E;
    --nv-elevation-2: 0 0 0 1px #2E302E, 0 4px 12px rgba(0, 0, 0, 0.4);
    --nv-elevation-3: 0 0 0 1px #3A3C39, 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

[data-nv-brand="v1"] {
  --nv-font-body: var(--nv-font-latin);
  --nv-font-heading: var(--nv-font-latin);
  --nv-line-height-body: 1.55;
  --nv-line-height-heading: 1.2;
  --nv-letter-spacing-heading: -0.02em;
}
[data-nv-brand="v1"]:lang(fa),
[data-nv-brand="v1"] :lang(fa) {
  --nv-font-body: var(--nv-font-fa);
  --nv-font-heading: var(--nv-font-fa);
  --nv-line-height-body: 1.8;
  --nv-line-height-heading: 1.4;
  --nv-letter-spacing-heading: 0; /* never track Persian */
}

@media (prefers-reduced-motion: reduce) {
  [data-nv-brand="v1"] { --nv-duration-fast: 0ms; --nv-duration-base: 0ms; --nv-duration-slow: 0ms; }
}
