/* ==========================================================================
   Material Symbols Outlined — self-hosted, subset to the icons the templates
   use. Regenerate with scripts/subset_icon_font.py after adding an icon and
   bump the ?v= below; main/test_frontend_assets.py fails if the subset is stale.
   ========================================================================== */

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/MaterialSymbolsOutlined.woff2?v=20261001a') format('woff2');
    /* block, not swap: the fallback would spell the ligature out as text —
       "search" where the magnifier belongs. The subset is a few KB. */
    font-display: block;
}

md-icon,
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Figma draws a handful of icons solid rather than outlined — the row-delete
   trash on the application form's Users step, for one (ARMIP-157), and the
   admin tables' row actions. The self-hosted face carries the FILL axis, so
   the filled glyph costs no second font file. (It did not until 2026-08-28:
   the subset was cut from a static outlined face, on which this rule was
   inert.) */
md-icon.iata-icon--filled,
.material-symbols-outlined.iata-icon--filled {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* The published tick and its absent twin in the companies tables read as
   punctuation at wght 400 -- Kathryn asked for a heavier mark (2026-09-02).
   Weight is an axis on this face, so "thicker" is a token, not a new glyph --
   but it only became one today: the source cut carried FILL alone, so a `wght`
   here was inert and the tick rendered unchanged while the computed style read
   700. `static_src` now holds the four-axis variable font, with opsz and GRAD
   pinned to the values every rule below sets anyway.
   Declared after --filled deliberately: same specificity, and a cell carries
   both classes when the heavier glyph is also a solid one. */
md-icon.iata-icon--strong,
.material-symbols-outlined.iata-icon--strong {
    font-variation-settings:
        'FILL' 1,
        'wght' 700,
        'GRAD' 0,
        'opsz' 24;
}
