/*
 * Poppins, self-hosted.
 *
 * Loading this from Google Fonts made rendering depend on the network: the
 * same report produced two different sets of bytes depending on whether the
 * webfont arrived before layout. For a signed clinical PDF that is a
 * correctness problem, not a performance one, so the files are served locally
 * and the renderer works offline.
 *
 * Latin subset only. SIL Open Font License 1.1.
 */

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  /* 'block', not 'swap': a swap lets the first layout use a fallback face,
     so a PDF rendered mid-swap differs from the same report a moment later. */
  font-display: block;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  /* 'block', not 'swap': a swap lets the first layout use a fallback face,
     so a PDF rendered mid-swap differs from the same report a moment later. */
  font-display: block;
  src: url('/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  /* 'block', not 'swap': a swap lets the first layout use a fallback face,
     so a PDF rendered mid-swap differs from the same report a moment later. */
  font-display: block;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}
