/* Signature-platform text fonts — same TTF files the backend embeds.
 *
 * `./signature/` is a relative symlink to `srb_dev_backend/static/fonts/`, so
 * these @font-face rules load the exact glyph data the Rust PDF overlay
 * measures against. A dedicated family namespace (Srb*) prevents collision
 * with the global Roboto/Noto webfonts already loaded via fonts/google.
 *
 * Weight 700 is the only weight declared because the backend only embeds
 * -Bold.ttf variants — `.box-textarea` is pinned to font-weight: 700 to
 * match.
 *
 * This file lives under public/ (not src/assets) so webpack's css-loader
 * doesn't try to resolve the url() paths at build time — they are absolute
 * runtime URLs served alongside the TTF symlink.
 */

@font-face {
  font-family: 'SrbRoboto';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('signature/Roboto-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'SrbRobotoMono';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('signature/RobotoMono-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'SrbNotoSans';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('signature/NotoSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'SrbNotoSerif';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('signature/NotoSerif-Bold.ttf') format('truetype');
}
