/* NODesign 1.0.2. Product roots opt in; no global reset or remote font request. */
:where([data-no-design]) {
  --no-font-fa: IRANYekanX, Tahoma, Arial, sans-serif;
  --no-font-en: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --no-space-1: 4px; --no-space-2: 8px; --no-space-3: 12px;
  --no-space-4: 16px; --no-space-5: 24px; --no-space-6: 32px;
  --no-radius-sm: 4px; --no-radius-md: 8px; --no-radius-lg: 12px;
  --no-type-caption: 12px; --no-type-body: 14px; --no-type-label: 14px;
  --no-type-title: 24px; --no-leading-body: 1.8; --no-control-height: 36px;
  --no-canvas: #f3f0ea; --no-surface: #fffdfa; --no-raised: #eae6df;
  --no-input: #f7f4ee; --no-text: #171918; --no-muted: #565c58;
  --no-border: #d5d0c7; --no-accent: #12634f; --no-accent-soft: #d9ece3;
  --no-accent-ink: #fff; --no-danger: #b42318; --no-danger-soft: #fbe9e7;
  --no-warning: #975b0a; --no-success: #12634f;
  --no-focus: 0 0 0 3px color-mix(in srgb, var(--no-accent) 25%, transparent);
  --no-shadow: 0 5px 18px rgb(32 39 35 / 4.5%);
  --no-motion-fast: 120ms; --no-motion-normal: 180ms;
  color-scheme: light;
}
:where([data-no-design][data-no-theme="dark"]) {
  --no-canvas: #252423; --no-surface: #2d2c2b; --no-raised: #343330;
  --no-input: #292826; --no-text: #f6f4f2; --no-muted: #b2ada6;
  --no-border: #45423d; --no-accent: #98e8cf; --no-accent-soft: #2c4139;
  --no-accent-ink: #183a2f; --no-danger: #ffb4ac; --no-danger-soft: #482522;
  --no-warning: #f3c58d; --no-success: #98e8cf;
  color-scheme: dark;
}
/* Explicit ERP shell profile preserves the accepted product palette. */
:where([data-no-design="noerp"], [data-no-design="noadmin"]) {
  --no-canvas: #f4f2ec; --no-surface: #fffefa; --no-raised: #efeadf;
  --no-border: #ddd9d0; --no-text: #17211f; --no-muted: #65706c;
  --no-accent: #0c7664; --no-accent-soft: #dcefe9;
}
:where([data-no-design="noerp"][data-no-theme="dark"], [data-no-design="noadmin"][data-no-theme="dark"]) {
  --no-canvas: #111916; --no-surface: #17211d; --no-raised: #202d27;
  --no-input: #1d2924; --no-text: #edf5f1; --no-muted: #aabbb4;
  --no-border: #34453e; --no-accent: #45c2a2; --no-accent-soft: #173f35;
  --no-accent-ink: #08251d;
}
:where([data-no-design][lang="fa"]) { font-family: var(--no-font-fa); }
:where([data-no-design][lang="en"]) { font-family: var(--no-font-en); }
:where([data-no-design][data-no-density="compact"]) { --no-control-height: 32px; }
@media (prefers-reduced-motion: reduce) {
  :where([data-no-design]) { --no-motion-fast: 0ms; --no-motion-normal: 0ms; }
}

:where([data-no-design][data-no-density="comfortable"]) { --no-control-height:40px; }
:where([data-no-design="no"]) { --no-canvas:#f4f2ec; --no-surface:#fffefa; --no-border:#ddd9d0; --no-text:#17211f; --no-muted:#65706c; --no-accent:#0c7664; }
:where([data-no-design="no"][data-no-theme="dark"]) { --no-canvas:#111916; --no-surface:#17211d; --no-border:#34453e; --no-text:#edf5f1; --no-muted:#aabbb4; --no-accent:#45c2a2; }

/* Unified NO visual identity, shared by all product profiles. */
:where([data-no-design]) {--no-canvas:#f4f5f7;--no-surface:#fff;--no-raised:#e9ecf1;--no-input:#f0f2f5;--no-text:#111827;--no-muted:#596273;--no-border:#dce1e9;--no-accent:#1268fa;--no-accent-soft:#e8f0ff;--no-accent-ink:#fff;--no-radius-sm:10px;--no-radius-md:16px;--no-radius-lg:24px;--no-control-height:44px;--no-type-body:15px;--no-shadow:0 8px 32px rgb(18 30 55 / 5%)}
:where([data-no-design][data-no-theme="dark"]) {--no-canvas:#0c0e13;--no-surface:#181c25;--no-raised:#222835;--no-input:#222835;--no-text:#f5f7fb;--no-muted:#a5afc0;--no-border:#343d4e;--no-accent:#69a4ff;--no-accent-soft:#162d53;--no-accent-ink:#081629}
:where([data-no-design][data-no-density="compact"]) {--no-control-height:34px}
