/* پایه: reset، تایپوگرافی، RTL، دسترس‌پذیری */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.7; color: var(--ink);
  background: var(--bg-page); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
h1 { font-size: var(--fs-2xl); letter-spacing: -.2px; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-weight: 650; }
h4 { font-size: var(--fs-md); font-weight: 650; }
p { margin: 0 0 var(--s3); max-width: 75ch; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
[data-shell="bank"] a { color: var(--bank); }
small, .small { font-size: var(--fs-xs); }
.num, .tnum { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.ic.sm { width: 15px; height: 15px; }
.ic.lg { width: 22px; height: 22px; }
.ic.xl { width: 30px; height: 30px; }
[dir="rtl"] .ic.mirror { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s5) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt0 { margin-top: 0 !important; } .mt1 { margin-top: var(--s2); } .mt2 { margin-top: var(--s4); } .mt3 { margin-top: var(--s5); } .mt4 { margin-top: var(--s6); }
.mb1 { margin-bottom: var(--s2); } .mb2 { margin-bottom: var(--s4); } .mb3 { margin-bottom: var(--s5); }
.ok-ink { color: var(--ok-ink); } .crit-ink { color: var(--critical-ink); } .warn-ink { color: var(--warn-ink); } .ser-ink { color: var(--serious-ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
