/* توکن‌های طراحی کاوش: تنها منبع رنگ، قلم و سایه.
   رنگ برند سازمان فقط --brand را تغییر می‌دهد؛ بقیهٔ ردهٔ رنگ از آن مشتق می‌شود. */

@font-face { font-family: "IRANYekanX"; src: url("../fonts/IRANYekanX-Regular.a6bab62df99b.woff2") format("woff2"); font-weight: 400 599; font-style: normal; font-display: swap; }
@font-face { font-family: "IRANYekanX"; src: url("../fonts/IRANYekanX-Bold.0691142bf3bf.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-Regular.a640ba2c1e0f.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-Medium.1855ffb6bc1a.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-DemiBold.bab42bfa84e0.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-Bold.a88cedf5e719.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("../vendor/intelligence/Vazirmatn.f6d31671339d.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --font-body: "IRANYekanX", Tahoma, system-ui, sans-serif;
  --font-heading: var(--font-body);
  --base-size: 15px;
  --table-size: 14px;
  --heading-size: 26px;

  --bg: #f3f6f8; --surface: #ffffff; --surface-2: #f7f9fa;
  --ink: #14303f; --muted: #506675;
  --border: #dbe4ea; --border-strong: #b3c3cf;

  --brand: #006f7a; --on-brand: #ffffff;
  --brand-hover: color-mix(in srgb, var(--brand) 82%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 11%, var(--surface));
  --brand-ink: color-mix(in srgb, var(--brand) 78%, var(--ink));

  --ai: #4b4fb5; --ai-soft: #ecedfb; --ai-ink: #35389a;
  --ok: #146c41; --ok-soft: #e1f3e8;
  --warn: #8f5200; --warn-soft: #fff0d6;
  --bad: #b3261e; --bad-soft: #fde8e6;
  --info: #1d5a94; --info-soft: #e4eff9;

  --radius: 12px;
  --shadow: 0 1px 2px #14303f14, 0 6px 18px -8px #14303f26;
  --focus: 0 0 0 3px color-mix(in srgb, var(--brand) 28%, transparent);
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #0e1920; --surface: #15232c; --surface-2: #1a2b36;
  --ink: #e5eef3; --muted: #a2b6c3;
  --border: #2a3d49; --border-strong: #4a6272;

  --brand: #55c6cf; --on-brand: #05252a;
  --ai: #a9acff; --ai-soft: #25274d; --ai-ink: #c9cbff;
  --ok: #67d49e; --ok-soft: #12352a;
  --warn: #f2b660; --warn-soft: #3a2b10;
  --bad: #ff9088; --bad-soft: #3c1b19;
  --info: #8cc2f2; --info-soft: #14304a;
  --shadow: 0 1px 2px #0006, 0 6px 18px -8px #000a;
}
