/* Browser UI only. Report, invoice PDF and email font policies are independent.
 * These are separate static faces, not a variable font. Keep each weight exact.
 * Relative URLs also work when the application is mounted under a URL prefix.
 */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/figtree-latin-800-normal.woff2") format("woff2"); }

:root {
  --rn-ui-font: "Figtree", system-ui, sans-serif;
  --sans: var(--rn-ui-font);
  /* Compatibility token for identifiers/logs. Alignment is a separate rule. */
  --mono: var(--rn-ui-font);
}

/* Override browser-default control and preformatted families, not their
 * whitespace, syntax colors, sizes, weights, selection or accessible semantics.
 */
:where(html, body, button, input, select, textarea, optgroup, option, pre, code, kbd, samp, svg text) {
  font-family: var(--rn-ui-font);
}
::file-selector-button { font-family: inherit; }
