/* Material Icons Outlined — self-hosted.
 *
 * Replaces <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined">.
 * Nothing here touches the network: the glyphs ship with the app, so a page load no
 * longer discloses the visitor's IP + Referer to a third party. That matters on
 * cipher/decipher, where the mere fact of a visit is sensitive.
 *
 * Rule declarations below are Google's own .material-icons-outlined rules, copied
 * verbatim from the API response so self-hosting is a drop-in — with two deliberate
 * differences, both marked DIFFERS.
 *
 * COLOUR / THEMING: do not look for light and dark copies of this font — there is no
 * such thing. The glyphs are monochrome outlines with no baked-in colour; they paint
 * in whatever CSS `color` resolves to, exactly like text. Theme them the way the app
 * already does — `color: var(--ink)`, `color: var(--blue)` — and they follow
 * :root[data-theme] and @media (prefers-color-scheme) for free.
 *
 * Provenance, refresh instructions and the do-not-subset rationale:
 * see ops/icon-font.md in the repo (this file is served publicly; that one is not).
 */

@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  /* DIFFERS from Google: font-display: block.
   * The glyph is selected by a LIGATURE, so the element's text content is the literal
   * word "light_mode". With the default (auto ≈ swap-ish in some engines) a slow font
   * lets that raw word paint before the glyph arrives. `block` renders nothing until
   * the font is ready, so the user never sees "light_mode" flash inside a button.
   * Same-origin + cached makes the block period effectively invisible. */
  font-display: block;
  src: url('material-icons-outlined.woff2') format('woff2');
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  /* DIFFERS from Google: the standard pairing for the -webkit- line above. Without it
   * Firefox does not form the ligature and renders the raw word instead of the icon.
   * Google's endpoint sniffs the UA and ships this only to browsers that need it;
   * a static file cannot sniff, so both are declared unconditionally. */
  font-feature-settings: 'liga';
}
