/*
 * Material Design Icons — subset build.
 *
 * The site uses 11 of MDI's ~7,400 icons. The full CDN build costs 347 KB of
 * CSS plus a 403 KB webfont, and the font was preloaded, so it competed with
 * the LCP banner image for bandwidth on mobile.
 *
 * This is the same font file, subset to only the codepoints actually used
 * (1.3 KB), so glyph metrics and rendering are byte-identical to before —
 * only the unused glyphs are gone.
 *
 * Regenerate after adding an icon (see tools/assets/build_mdi_subset.sh):
 *   pyftsubset materialdesignicons-webfont.woff2 \
 *       --unicodes="U+F0B55,..." --flavor=woff2 --layout-features='' \
 *       --no-hinting --desubroutinize --output-file=mdi-subset.woff2
 *
 * An icon added to a template without being added here renders as a blank
 * box, so keep the two in step.
 */
@font-face {
  font-family: "Material Design Icons";
  src: url("mdi-subset.woff2?v=7.4.47") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block; /* icons are UI furniture; avoid a fallback-glyph flash */
}

/* Base rule copied verbatim from the upstream build so sizing, line-height
   and antialiasing behave exactly as they did. */
.mdi:before,
.mdi-set {
  display: inline-block;
  font: normal normal normal 24px/1 "Material Design Icons";
  font-size: inherit;
  text-rendering: auto;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mdi-account-circle-outline::before { content: "\F0B55"; }
.mdi-alert-circle::before           { content: "\F0028"; }
.mdi-bell-outline::before           { content: "\F009C"; }
.mdi-car-outline::before            { content: "\F14ED"; }
.mdi-car-shift-pattern::before      { content: "\F0F40"; }
.mdi-lock::before                   { content: "\F033E"; }
.mdi-map-marker-radius-outline::before { content: "\F12FC"; }
.mdi-microphone::before             { content: "\F036C"; }
.mdi-speedometer::before            { content: "\F04C5"; }
.mdi-view-headline::before          { content: "\F0571"; }
.mdi-wallet-bifold-outline::before  { content: "\F1C59"; }
