/*
 * PaperDesk protected-app critical typography.
 *
 * Khmer remains a first-paint requirement. The larger Latin brand face is a
 * progressive enhancement owned by runtime-khmer-typography.js so a cold app
 * start can paint immediately with the platform UI font.
 */
@font-face {
  font-family: "PaperDesk Noto Sans Khmer";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/noto-sans-khmer/noto-sans-khmer-khmer-wght-normal.woff2?v=5.2.8") format("woff2");
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}

:root {
  --pd-font-latin: system-ui, "Segoe UI", Arial, sans-serif;
  --pd-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --pd-font-khmer: "PaperDesk Noto Sans Khmer";
  --pd-font-ui: var(--pd-font-khmer), var(--pd-font-latin), "Noto Sans Khmer", "Khmer OS Siemreap", "Khmer OS Battambang", system-ui, sans-serif;
  --font-sans: var(--pd-font-ui);
  --font-mono: var(--pd-font-mono);
  --font-heading: var(--pd-font-ui);
  --default-font-family: var(--pd-font-ui);
  --pd-font-weight-body: 400;
  --pd-font-weight-body-strong: 450;
  --pd-font-weight-control: 500;
  --pd-font-weight-heading: 600;
  --pd-font-weight-title: 700;
}
