@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Sora:wght@400;600;700;800&family=Baloo+2:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Rajdhani:wght@400;500;600;700&family=Noto+Sans:wght@400;500;600;700&family=Public+Sans:wght@300;400;500;600;700&display=swap');

/* ================================================================
   TestSeriesPoint — tsp-fonts.css
   IMPORTANT: @import MUST be first line (no comments before it)
   ================================================================ */

/* ── CSS Variables only — NO body/html resets here ─────────────
   Resets are in topbar.css which loads after Bootstrap.
   This file only defines font variables + Devanagari helpers.
   ────────────────────────────────────────────────────────────── */
:root {
  --font-display:    'Outfit',   'Poppins',  system-ui, sans-serif;
  --font-h:          'Outfit',   'Poppins',  system-ui, sans-serif;
  --font-body:       'Inter',    'DM Sans',  'Poppins', system-ui, sans-serif;
  --font-b:          'Inter',    'DM Sans',  system-ui, sans-serif;
  --font-hindi:      'Noto Sans Devanagari', 'Poppins', sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
  --tsp-sans:        'DM Sans',  'Inter',    system-ui, sans-serif;
  --tsp-serif:       'Lora',     Georgia,    'Times New Roman', serif;
  --f-mono:          'Courier New', monospace;

  /* Aliases */
  --f-body:     var(--font-body);
  --f-display:  var(--font-display);
  --ff-body:    var(--font-body);
  --ff-display: var(--font-display);
  --cr-body:    var(--font-body);
  --cr-display: var(--font-display);
  --ft-ff:      var(--font-body);
  --ft-ffh:     var(--font-hindi);
  --font-head:  var(--font-display);

  --lh-hindi: 1.8;
}

/* ── Hindi text helpers (additive, no overrides) ─────────────── */
[lang="hi"],
.lang-hi,
.q-text-hi,
.q-text-hi-txt,
.opt-hi,
.opt-text-hi,
.q-sol-hi,
.q-hi {
  font-family: var(--font-hindi) !important;
  line-height: var(--lh-hindi);
}

/* ── Utility classes ─────────────────────────────────────────── */
.font-display  { font-family: var(--font-display) !important; }
.font-body     { font-family: var(--font-body)    !important; }
.font-hindi    { font-family: var(--font-hindi)   !important; }
.font-serif    { font-family: var(--tsp-serif)    !important; }
.font-mono     { font-family: var(--f-mono)        !important; }
