/* X-IRIS unified typography
 * - Letters and punctuation: Chakra Petch
 * - Digits 0-9: Montserrat        (11/09/2026 (user) — trước đây là Orbitron)
 * Font icon families are excluded from the global override below.
 *
 * CÁCH HOẠT ĐỘNG — đọc trước khi sửa:
 * 'Xiris Unified' KHÔNG phải một file font. Nó là một họ GHÉP: mỗi @font-face bên dưới khai
 * cùng tên họ nhưng khác `unicode-range`, nên trình duyệt tự chọn file theo TỪNG KÝ TỰ.
 *   unicode-range: U+0030-0039  -> chữ SỐ   -> Montserrat
 *   các range còn lại           -> chữ/dấu  -> Chakra Petch
 * Vì vậy muốn đổi font của SỐ trên toàn web thì CHỈ sửa 3 khối U+0030-0039 (400/500/600)
 * ở dưới — không cần đụng tới bất kỳ file .tpl nào.
 *
 * ⚠ Dấu chấm/phẩy ngăn cách hàng nghìn (U+002C, U+002E) CỐ Ý vẫn thuộc Chakra Petch: kéo
 *   chúng sang Montserrat là mọi dấu chấm cuối câu trong văn bản cũng đổi font theo.
 * ⚠ Chỉ khai 3 cân nặng 400/500/600 đúng bằng với phần chữ. Thêm face 700 cho số mà chữ
 *   không có thì số in đậm sẽ nặng hơn chữ in đậm ngay cạnh nó.
 */

/* Weight 400. */
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/xiris/montserrat-400-latin.woff2') format('woff2'),
       local('Xiris Gotham'), local('Inter'), local('Segoe UI');
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-400-vietnamese.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-400-latin-ext.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-400-latin.woff2') format('woff2');
  unicode-range: U+0000-002F, U+003A-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;
}

/* Weight 500. */
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/xiris/montserrat-500-latin.woff2') format('woff2'),
       local('Xiris Gotham'), local('Inter'), local('Segoe UI');
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-500-vietnamese.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-500-latin-ext.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-500-latin.woff2') format('woff2');
  unicode-range: U+0000-002F, U+003A-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;
}

/* Weight 600. */
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/xiris/montserrat-600-latin.woff2') format('woff2'),
       local('Xiris Gotham'), local('Inter'), local('Segoe UI');
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Xiris Unified';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-600-vietnamese.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-600-latin-ext.woff2') format('woff2');
  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: 'Xiris Unified';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/xiris/chakrapetch-600-latin.woff2') format('woff2');
  unicode-range: U+0000-002F, U+003A-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;
}

:root {
  --xf-unified: 'Xiris Unified', 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --xf-base: 'Xiris Unified', 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --xf-tech: 'Xiris Unified', 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --xf-display: 'Xiris Unified', 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --num-font: 'Xiris Unified', 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  /* 11/09/2026 (user) — chuỗi font CHO SỐ, chép đúng nguyên văn yêu cầu. Chữ số trong HTML đã
     tự ăn Montserrat qua unicode-range ở trên rồi, KHÔNG cần gán biến này ở đâu cả. Biến này để
     dành cho chỗ nào KHÔNG đi qua CSS được — chữ vẽ trên <canvas> (biểu đồ), font nhúng khi
     xuất Excel/PDF — những nơi phải truyền chuỗi font bằng tay. */
  --xf-num: "Montserrat", "Xiris Gotham", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body#body,
body#body *:not(.fa):not(.fas):not(.far):not(.fal):not(.fat):not(.fad):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-thin):not(.fa-duotone):not(.fa-brands):not([class^='fa-']):not([class*=' fa-']):not([class^='icon-']):not([class*=' icon-']):not([class^='tlu-icon']):not([class*=' tlu-icon']):not([class^='jw-icon']):not([class*=' jw-icon']):not(.material-icons):not(.glyphicon):not(.-ap):not(.ap) {
  font-family: var(--xf-unified) !important;
  font-synthesis-weight: none;
}
