/* Self-hosted fonts for the CNTE demo (B12). Source: Google Fonts css2 API, Chrome UA, fetched 2026-11-11.
 Noto Kufi Arabic and Readex Pro are variable fonts: Google serves one file per subset for every weight,
 so each family/subset is declared once with the full axis (Kufi 100-900, Readex 160-700); the suite uses
 Kufi 500/800/900 and Readex 300-700. Same files Google serves for any weight request (checked 2026-11-11).
 Subsets: arabic + latin (latin covers French accents and Œœ). Licence: SIL OFL 1.1, see OFL.txt. */

/* arabic, rare letters only (the full Google file): loads only if a page shows a letter that the subset below lacks */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./noto-kufi-arabic-arabic.woff2) format('woff2');
  unicode-range: U+0600-060B, U+060D-061A, U+061C-061E, U+0620, U+063B-063F, U+066E-066F, U+0672-067D, U+067F-0685, U+0687-0697, U+0699-06A0, U+06A2-06A3, U+06A5-06A7, U+06AA-06AE, U+06B0-06B9, U+06BB-06BD, U+06BF-06C0, U+06C2-06CB, U+06CD-06D1, U+06D4-06EF, U+06FA-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* arabic subset (perf 2026-11-24, fontTools pyftsubset, all layout features kept, full weight axis):
 every Arabic letter, hamza form, tashkeel mark (U+064B-065F, U+0670), Arabic and Persian digits, Arabic punctuation,
 tatweel and the Maghreb/Persian letters ڤ ڨ پ چ ژ ک گ ی; 30 KB instead of 121 KB. Built from noto-kufi-arabic-arabic.woff2 with
 pyftsubset --unicodes=<the range below> --layout-features='*' --flavor=woff2 */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./noto-kufi-arabic-arabic-sub.woff2) format('woff2');
  unicode-range: U+060C, U+061B, U+061F, U+0621-063A, U+0640-066D, U+0670-0671, U+067E, U+0686, U+0698, U+06A1, U+06A4, U+06A8-06A9, U+06AF, U+06BA, U+06BE, U+06C1, U+06CC, U+06D2-06D3, U+06F0-06F9, U+200C-200E;
}
/* latin */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./noto-kufi-arabic-latin.woff2) format('woff2');
  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;
}
/* latin, digits and punctuation only (perf budget 25 Nov 2026, tools/budgets.mjs): an Arabic page needs the space, the
 Western digits and « » - . : / but rarely a Latin letter, so these 9 KB load instead of the 30 KB file above, which
 still loads (declared earlier = tried later) when a Latin letter or accent is on screen. Built with
 pyftsubset noto-kufi-arabic-latin.woff2 --unicodes=<the range below> --layout-features='*' --flavor=woff2 */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./noto-kufi-arabic-latin-sub.woff2) format('woff2');
  unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2212, U+FEFF;
}
/* arabic */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(./readex-pro-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(./readex-pro-latin.woff2) format('woff2');
  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;
}
/* latin, digits and punctuation only (perf budget 25 Nov 2026, tools/budgets.mjs): an Arabic page needs the space, the
 Western digits and « » - . : / but rarely a Latin letter, so these 9 KB load instead of the 30 KB file above, which
 still loads (declared earlier = tried later) when a Latin letter or accent is on screen. Built with
 pyftsubset readex-pro-latin.woff2 --unicodes=<the range below> --layout-features='*' --flavor=woff2 */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(./readex-pro-latin-sub.woff2) format('woff2');
  unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2212, U+FEFF;
}

/* Noto Naskh Arabic (2026-11-24): the face of printed official documents (pn-docprint.js: class lists, attendance,
 marks, groups, visits). Variable 400-700, SIL OFL 1.1 (see OFL.txt). Source: Google Fonts css2 API, v44, Chrome UA.
 arabic subset, 26 KB: same code points as the Kufi subset above plus the bidi isolates U+200F, U+2066-2069;
 latin subset, 13 KB: ASCII (Western digits, «/» of the dates, punctuation, Latin names) plus « » · × – — ‘ ’ “ ” … −.
 Built with: pyftsubset <google file> --unicodes=<the range below> --layout-features='*' --flavor=woff2
 The full Google arabic file stays as the fallback for rare letters, exactly like Kufi. */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./noto-naskh-arabic.woff2) format('woff2');
  unicode-range: U+0600-060B, U+060D-061A, U+061C-061E, U+0620, U+063B-063F, U+066E-066F, U+0672-067D, U+067F-0685, U+0687-0697, U+0699-06A0, U+06A2-06A3, U+06A5-06A7, U+06AA-06AE, U+06B0-06B9, U+06BB-06BD, U+06BF-06C0, U+06C2-06CB, U+06CD-06D1, U+06D4-06EF, U+06FA-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./noto-naskh-arabic-sub.woff2) format('woff2');
  unicode-range: U+060C, U+061B, U+061F, U+0621-063A, U+0640-066D, U+0670-0671, U+067E, U+0686, U+0698, U+06A1, U+06A4, U+06A8-06A9, U+06AF, U+06BA, U+06BE, U+06C1, U+06CC, U+06D2-06D3, U+06F0-06F9, U+200C-200F, U+2066-2069;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./noto-naskh-latin-sub.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00D7, U+2010-2014, U+2018-201D, U+2026, U+2212;
}
