/* آ.سافت — پایه: قلم، راست‌به‌چپ، فوکوس، حرکت. همهٔ رنگ‌ها از tokens.css */
*,*::before,*::after{box-sizing:border-box}
html{direction:rtl;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--surface);color:var(--ink);font-family:var(--font-sans);font-size:var(--fs-base);line-height:1.7;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--link);text-decoration:none}
h1,h2,h3{margin:0;font-weight:700}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
svg.ic{width:18px;height:18px;flex:none;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.as-num,.num{font-variant-numeric:tabular-nums}

/* پر شدن خودکار مرورگر (فایرفاکس/کروم) رنگ کادرها را زرد نکند */
input:autofill{filter:none!important;-webkit-box-shadow:0 0 0 1000px var(--surface-sunken) inset!important;box-shadow:0 0 0 1000px var(--surface-sunken) inset!important;-webkit-text-fill-color:var(--ink)!important}
input:-webkit-autofill{filter:none!important;-webkit-box-shadow:0 0 0 1000px var(--surface-sunken) inset!important;box-shadow:0 0 0 1000px var(--surface-sunken) inset!important;-webkit-text-fill-color:var(--ink)!important}

/* فقط برای صفحه‌خوان */
.as-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important}
}
