/**
 * TPApp v6.0 - fonts.css: tipografías auto-hosteadas.
 *
 * POR QUÉ ESTÁN ACÁ Y NO EN fonts.googleapis.com:
 * La app tiene que abrir y renderizar sin red (modo offline del vendedor). Una
 * hoja de estilos de un tercero en el <head> es una dependencia de red en el
 * camino crítico: sin señal, el navegador espera el timeout y después usa la
 * fuente del sistema.
 *
 * Importa especialmente **Tinos**: es la serif del membrete del PDF, elegida
 * por ser metric-compatible con Times New Roman. Si no carga, el PDF sale con
 * otra métrica y el membrete se corre.
 *
 * Los .woff2 son los mismos archivos que servía Google (subsets `latin` y
 * `latin-ext`, que es todo lo que necesita el español). No se bajaron los
 * subsets cyrillic/greek/vietnamese de Tinos: son 400 KB que nadie usa.
 *
 * Sora y DM Sans son fuentes VARIABLES: un solo archivo cubre todo el rango de
 * pesos, por eso el `font-weight` de esas reglas es un rango y no un número.
 * Tinos es estática, va un archivo por peso.
 *
 * PARA ACTUALIZARLAS: no editar a mano. Bajar de nuevo el CSS de Google con un
 * User-Agent moderno (devuelve woff2), quedarse con los bloques `latin` y
 * `latin-ext`, y reemplazar los archivos de assets/fonts/ conservando el nombre.
 *
 * Los `unicode-range` son los de Google, sin tocar: son los que hacen que el
 * navegador ni pida latin-ext si el texto de la pantalla no lo necesita.
 */

/* ===== Sora (títulos, números destacados) — variable 400..700 ===== */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/sora-var-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;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/sora-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== DM Sans (cuerpo de texto) — variable 400..500 ===== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/dmsans-var-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;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/dmsans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Tinos (serif del membrete del PDF) — estática, 400 y 700 ===== */
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/tinos-400-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;
}
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/tinos-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/tinos-700-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;
}
@font-face {
  font-family: 'Tinos';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/tinos-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
