/*
  Gujarati: Noto Sans Gujarati (Unicode, self-hosted TTF).

  Why not "Shree": the previously bundled Shree-Guj-0768 is a LEGACY non-Unicode
  font — it maps ASCII (A–Z, 0–9) to Gujarati letter *shapes* and has ZERO real
  Unicode Gujarati glyphs (U+0A80–U+0AFF). Since this app stores real Unicode
  Gujarati, Shree could not render the actual text AND turned English/numbers
  into garbled Gujarati shapes. That was the "mixing languages" bug.

  Noto Sans Gujarati is Unicode: it renders Gujarati, and because it doesn't
  carry Latin letters, English/numbers cleanly fall back to Arial in the stack.
*/
@font-face {
  font-family: "Noto Sans Gujarati";
  src: url("/assets/fonts/NotoSansGujarati-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Gujarati";
  src: url("/assets/fonts/NotoSansGujarati-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Gujarati script first, Latin (Arial/Liberation) for the English glyphs it lacks. */
  --font-gu: "Noto Sans Gujarati", Arial, "Liberation Sans", sans-serif;
  --font-en: Arial, Helvetica, "Liberation Sans", sans-serif;
  --font-display: "Noto Sans Gujarati", Arial, "Liberation Sans", sans-serif;
  --font-letter-gu: "Noto Sans Gujarati", Arial, "Liberation Sans", sans-serif;
  --font-letter-en: Arial, Helvetica, "Liberation Sans", sans-serif;
}

.letter-lang-gu,
.letter-lang-gu .doc-body,
.letter-lang-gu.document-sheet {
  font-family: var(--font-letter-gu);
}

.letter-lang-en,
.letter-lang-en .doc-body,
.letter-lang-en.document-sheet {
  font-family: var(--font-letter-en);
}
