/* IBO-TS Unified Design System — luxury, RTL/LTR aware, token-driven. */
:root {
  --brand-50:#eef4ff; --brand-100:#dbe7ff; --brand-500:#4f46e5; --brand-600:#4338ca;
  --ink-900:#0f172a; --ink-700:#334155; --ink-500:#64748b; --ink-200:#e2e8f0;
  --surface:#ffffff; --surface-soft:#f8fafc;
  --ok:#10b981; --warn:#f59e0b; --danger:#ef4444;
  --radius-card:20px; --radius-control:12px; --radius-pill:999px;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px;
  --shadow-card:0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lift:0 18px 40px -18px rgba(79,70,229,.35);
  --font-fa:'Vazirmatn',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-en:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --tap:44px;
}
html[dir='rtl'] body { font-family:var(--font-fa); }
html[dir='ltr'] body { font-family:var(--font-en); }
:where(.rounded-3xl) { border-radius:var(--radius-card) !important; box-shadow:var(--shadow-card); }
:where(.rounded-2xl) { border-radius:var(--radius-control) !important; }
:where(.rounded-full) { border-radius:var(--radius-pill) !important; }
:where(button, a[role='button'], [role='tab']) { min-height:var(--tap); }
:where(button, a[role='button'], [role='tab']):focus-visible { outline:3px solid var(--brand-500); outline-offset:2px; }
:where(button, a[role='button']):active { transform:translateY(1px); }
:where(.ibots-card) {
  padding:var(--space-6); border-radius:var(--radius-card);
  background:var(--surface); box-shadow:var(--shadow-card); border:1px solid var(--ink-200);
}
:where(.ibots-btn) {
  min-height:var(--tap); padding-inline:var(--space-6); border-radius:var(--radius-control);
  background:linear-gradient(135deg,var(--brand-500),var(--brand-600));
  color:#fff; font-weight:700; box-shadow:var(--shadow-lift);
  transition:transform .15s ease,box-shadow .15s ease;
}
:where(.ibots-icon) { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:var(--radius-control); }
@media (max-width:640px) {
  :where(.rounded-3xl) { border-radius:16px !important; }
  :where(button, a[role='button']) { min-height:var(--tap); min-width:var(--tap); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
