/* hrh-tokens.css — توکن‌های طراحی خانه منابع انسانی (d1)
 * منبع حقیقت: data/tokens.json (هم‌گام با Variables فیگمای HrHOME). دست‌ساز تغییر ندهید؛ ابتدا JSON، سپس این فایل.
 * تم تاریک: prefers-color-scheme یا [data-theme="dark"]؛ اجبار روشن: [data-theme="light"]. */
:root{
  --hrh-brand-900:#05493E;--hrh-brand-700:#0b6b52;--hrh-brand-100:#e7f2ed;
  --hrh-accent-gold:#b7791f;--hrh-accent-gold-lt:#e0ad4f;--hrh-accent-cream:#f8f1e1;
  --hrh-text:#1f2624;--hrh-text-muted:#68716d;
  --hrh-surface-page:#f6f8f7;--hrh-surface-card:#ffffff;--hrh-border:#e4e9e6;
  --hrh-danger:#b32d2e;--hrh-on-brand:#ffffff;

  --hrh-font-body:Vazirmatn,system-ui,sans-serif;
  --hrh-fs-xs:12px;--hrh-fs-sm:14px;--hrh-fs-md:16px;--hrh-fs-lg:18px;--hrh-fs-xl:22px;--hrh-fs-2xl:28px;--hrh-fs-3xl:36px;
  --hrh-fw-regular:400;--hrh-fw-bold:700;--hrh-leading-tight:1.5;--hrh-leading-body:1.9;

  --hrh-space-1:4px;--hrh-space-2:8px;--hrh-space-3:12px;--hrh-space-4:16px;--hrh-space-5:24px;--hrh-space-6:32px;--hrh-space-7:48px;--hrh-space-8:64px;
  --hrh-radius-sm:8px;--hrh-radius-md:12px;--hrh-radius-lg:20px;--hrh-radius-xl:30px;--hrh-radius-pill:999px;
  --hrh-shadow-sm:0 1px 2px rgba(5,73,62,.08);--hrh-shadow-md:0 8px 24px -12px rgba(5,73,62,.35);--hrh-shadow-lg:0 20px 44px -24px rgba(5,73,62,.45);
  --hrh-dur-fast:120ms;--hrh-dur-base:200ms;--hrh-dur-slow:320ms;--hrh-ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --hrh-brand-900:#0b6b52;--hrh-brand-700:#e7f2ed;--hrh-brand-100:#14352d;
    --hrh-accent-gold:#e0ad4f;--hrh-accent-cream:#2a2619;
    --hrh-text:#e8eeeb;--hrh-text-muted:#a3aea9;
    --hrh-surface-page:#0f1513;--hrh-surface-card:#171f1c;--hrh-border:#2a3531;
    --hrh-danger:#e5736f;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --hrh-brand-900:#0b6b52;--hrh-brand-700:#e7f2ed;--hrh-brand-100:#14352d;
  --hrh-accent-gold:#e0ad4f;--hrh-accent-cream:#2a2619;
  --hrh-text:#e8eeeb;--hrh-text-muted:#a3aea9;
  --hrh-surface-page:#0f1513;--hrh-surface-card:#171f1c;--hrh-border:#2a3531;
  --hrh-danger:#e5736f;
  color-scheme:dark;
}
@media (prefers-reduced-motion:reduce){:root{--hrh-dur-fast:0ms;--hrh-dur-base:0ms;--hrh-dur-slow:0ms}}
