/* Шрифты бланков — во всей системе (решение владельца 06.10.2026): IBM Plex
   Sans для латиницы, кириллицы и цифр, Sarabun для тайского. Те же, что в
   PDF (templates/docflow/document.html), чтобы система, кабинет бухгалтера и
   бланк выглядели одной компанией. Файлы — из /usr/local/share/fonts (TTF) в
   woff2; Sarabun урезан до тайского блока и грузится, только если на
   странице есть тайский текст. Лицензия обоих — SIL OFL 1.1 (fonts/OFL-*.txt). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
             src: url("fonts/IBMPlexSans-Regular.5899547f868a.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
             src: url("fonts/IBMPlexSans-Medium.af1e14414a04.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600 700; font-display: swap;
             src: url("fonts/IBMPlexSans-SemiBold.1293985101a6.woff2") format("woff2"); }

@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 400; font-display: swap;
             src: url("fonts/Sarabun-Regular.aae3ead94109.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 500; font-display: swap;
             src: url("fonts/Sarabun-Medium.fafafdb222d2.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 600; font-display: swap;
             src: url("fonts/Sarabun-SemiBold.1a06a33d8077.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 700; font-display: swap;
             src: url("fonts/Sarabun-Bold.d157aa32c2cf.woff2") format("woff2"); unicode-range: U+0E00-0E7F; }

/* Unfold берёт шрифт из --font-sans (его значение — в @layer theme, наше
   без слоя сильнее). Цифры — одной ширины: суммы сравнивают взглядом */
:root { --font-sans: "IBM Plex Sans", "Sarabun", ui-sans-serif, system-ui, sans-serif; }
body { font-variant-numeric: tabular-nums; }
