/* Local faces scaled to DM Sans, so its swap shifts no layout. Linked render-blocking from each
   index.html: in the app stylesheet, which loads after first paint, they would arrive too late.
   size-adjust: DM Sans average advance over the local font's, on Swedish UI text; ascent and
   descent: DM Sans hhea (0.992, 0.31 em) over size-adjust. developer.chrome.com/blog/font-fallbacks */

@font-face {
  font-family: "DM Sans Fallback Arial";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans");
  font-weight: 100 549;
  size-adjust: 104.24%;
  ascent-override: 95.16%;
  descent-override: 29.74%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "DM Sans Fallback Arial";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"),
    local("LiberationSans-Bold");
  font-weight: 550 900;
  size-adjust: 102.02%;
  ascent-override: 97.23%;
  descent-override: 30.39%;
  line-gap-override: 0%;
}

/* Android has no Arial; its system sans is Roboto. */
@font-face {
  font-family: "DM Sans Fallback Roboto";
  src: local("Roboto"), local("Roboto-Regular"), local("Roboto Regular");
  font-weight: 100 549;
  size-adjust: 104.29%;
  ascent-override: 95.12%;
  descent-override: 29.72%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "DM Sans Fallback Roboto";
  src: local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 550 900;
  size-adjust: 107.51%;
  ascent-override: 92.27%;
  descent-override: 28.83%;
  line-gap-override: 0%;
}
