@charset "UTF-8";
/* ════════════════════════════════════════════════════════════════════
   FONT DELLA SUITE — self-hosted (nessuna dipendenza da Google Fonts).
   Caricato staticamente dal guscio nell'<head>: i font sono la primissima
   cosa che serve, non possono passare dal caricamento lazy dei moduli.

   Sono VARIABLE FONT: un solo file copre TUTTI i pesi dell'intervallo
   dichiarato in font-weight. Per questo non esiste "il file del 600":
   qualunque peso tra 300 e 800 (Open Sans) o 100 e 800 (JetBrains Mono)
   è disponibile senza aggiungere file. Se un domani servisse un peso
   nuovo, non c'è nulla da scaricare.

   Sottoinsiemi: latin + latin-ext (copre italiano, accenti e lingue
   dell'Europa centrale). Cirillico/greco/vietnamita sono esclusi: sono
   inutili qui e peserebbero il triplo. La unicode-range fa sì che il
   browser scarichi latin-ext SOLO se la pagina contiene quei caratteri.

   font-display: swap → il testo è subito leggibile con il font di
   sistema e viene sostituito appena il woff2 è pronto: mai una schermata
   vuota (FOIT), al massimo un brevissimo cambio di forma.

   Licenze (SIL Open Font License 1.1) in suite/font/LICENSE-*.txt.
   ════════════════════════════════════════════════════════════════════ */

/* ── Open Sans — testo dell'interfaccia (--sans) ── */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../font/open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../font/open-sans-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;
}

/* Corsivo: serve davvero (es. il nome utente nell'intestazione della
   sidebar). Senza questo file il browser inclinerebbe le lettere a forza,
   con risultati mediocri su Open Sans. */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../font/open-sans-italic-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: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../font/open-sans-italic-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;
}

/* ── JetBrains Mono — numeri e tecnicismi (--mono) ──
   Prima non veniva caricato: su iPhone i numeri (KPI, importi, quantità)
   ripiegavano su Courier. Ora è garantito ovunque. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../font/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../font/jetbrains-mono-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;
}

/* ── Cifre a larghezza fissa (tabular figures) ──
   In un gestionale i numeri stanno in colonna e si aggiornano: con le
   cifre proporzionali "ballano" a ogni ridisegno (evidente nei KPI dello
   scadenzario, che cambiano a ogni batch dello stream) e gli importi non
   si incolonnano. Open Sans include il set `tnum`.

   Lo attiviamo su TUTTA l'interfaccia via body (la proprietà si eredita):
   qui non c'è prosa, è tutta UI con numeri, quindi è la scelta giusta e
   non richiede di toccare i CSS delle singole app. Se un giorno servisse
   il comportamento proporzionale in un punto specifico, basta
   `font-variant-numeric: proportional-nums` su quell'elemento. */
body {
  font-variant-numeric: tabular-nums;
}
