/* T86 (SRS COMMON 5 cập nhật v1.9): Inter nhúng sẵn — không phụ thuộc font máy người dùng. Bản variable (một tệp mọi độ đậm),

   chỉ 3 bộ ký tự tiếng Việt / Latin; tệp .woff2 chép từ @fontsource-variable/inter lúc build (angular.json assets). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PO 03/11/2026 (chữ hoa 2 dấu "NGUYỄN" mất dấu ngã trong ô nhập): Chrome / Safari cắt chữ trong <input> theo ascent của font,
   dấu chồng trên chữ hoa của Inter cao ~1,09 em > ascent 0,97 em. Họ font riêng cho ô nhập nới ascent; chữ ngoài ô giữ Inter gốc
   để không xê dịch bố cục. */
@font-face {
  font-family: 'Inter Field';
  font-style: normal;
  font-display: swap;
  ascent-override: 112%;
  font-weight: 100 900;
  src: url(./inter-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter Field';
  font-style: normal;
  font-display: swap;
  ascent-override: 112%;
  font-weight: 100 900;
  src: url(./inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Inter Field';
  font-style: normal;
  font-display: swap;
  ascent-override: 112%;
  font-weight: 100 900;
  src: url(./inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* !important vì hàng chục style ô nhập đặt `font: inherit` / font của ng-zorro - chỉ đổi họ font, cỡ / độ đậm vẫn theo style đó.
   Đặt ở tệp này (tài nguyên tĩnh) chứ không ở theme.scss để không cộng vào ngân sách bundle ban đầu. */
input,
textarea {
  font-family: 'Inter Field', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
