/*
 * DavoBooks brand typeface for the application (dashboards, workspaces,
 * sign-in pages): Codec Pro by Zetafonts, as named in the November 2026
 * brand guide. The website loads the same files through its own bundle.
 *
 * It is linked last in each page's <head> and sets the family on every
 * element, so the many workspace bundles (which name Plus Jakarta Sans, Inter
 * or Urbanist) all render in Codec Pro without being rebuilt. Icon fonts,
 * code and SVG text keep their own faces.
 */
@font-face {
  font-family: "Codec Pro Variable";
  src: url("../fonts/codec-pro/CodecProVariable-Regular.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Codec Pro Variable";
  src: url("../fonts/codec-pro/CodecProVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --brand-font: "Codec Pro Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html body,
html body :where(*:not(i, svg, svg *, code, pre, kbd, samp, .lni, [class^="lni-"], [class*=" lni-"], .bi, [class^="bi-"], [class*=" bi-"], .fa, .fas, .far, .fab, [class^="fa-"], [class*=" fa-"], .material-icons)) {
  font-family: var(--brand-font) !important;
}

/*
 * Codec Pro's tabular figures also make "," and "." as wide as a digit, so
 * "1,250,000.00" would read "1 , 250 , 000 . 00". Its normal figures are
 * used instead.
 */
html body,
html body * {
  font-variant-numeric: normal !important;
}
