/* Noto Sans Thai — สัญญาอนุญาต SIL Open Font License 1.1 (แจกจ่ายซ้ำได้)
   ฝังไฟล์ไว้ในโปรแกรมเพราะระบบต้องทำงานออฟไลน์ 100% ห้ามโหลดจากอินเทอร์เน็ต
   ผลพลอยได้: มือถือกับ iPad เห็นฟอนต์เดียวกับเครื่องคอมพอดี ไม่ต้องพึ่งฟอนต์ในเครื่อง
   เก็บเฉพาะชุดอักษรไทยกับละติน (ตัด latin-ext/vietnamese ที่ไม่ได้ใช้ออก) */

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-400-thai.woff2?v=2026-10-02.lite33-store1.af664ad6) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-400-latin.woff2?v=2026-10-02.lite33-store1.af664ad6) 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;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-500-thai.woff2?v=2026-10-02.lite33-store1.af664ad6) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-500-latin.woff2?v=2026-10-02.lite33-store1.af664ad6) 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;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-600-thai.woff2?v=2026-10-02.lite33-store1.af664ad6) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-600-latin.woff2?v=2026-10-02.lite33-store1.af664ad6) 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;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-700-thai.woff2?v=2026-10-02.lite33-store1.af664ad6) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(NotoSansThai-700-latin.woff2?v=2026-10-02.lite33-store1.af664ad6) 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;
}

/* TH Sarabun New — ฟอนต์ราชการสำหรับเอกสารพิมพ์/PDF เท่านั้น (สร้างด้วย tools/make_sarabun_woff.py)
   ตั้งชื่อครอบครัวแยก เพื่อไม่ชนกับฟอนต์ชื่อเดียวกันที่อาจติดตั้งในเครื่อง (รุ่นต่างกันระยะบรรทัดต่างกัน)
   เบราว์เซอร์ไม่โหลดจนกว่าจะใช้ — printNow() ใน app.js สั่งโหลดก่อนเปิดหน้าต่างพิมพ์ */
@font-face {
  font-family: 'CM Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(THSarabunNew-400.woff?v=2026-10-02.lite33-store1.af664ad6) format('woff');
}
@font-face {
  font-family: 'CM Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(THSarabunNew-700.woff?v=2026-10-02.lite33-store1.af664ad6) format('woff');
}
