/* ==========================================================================
   TawiOs — default typefaces
   Inter (text and UI) + Plus Jakarta Sans (headings and brand names). The
   @font-face rules live in fonts.css (self-hosted, shared with System
   typography), which every TawiOs surface loads just before this file.

   Tokens: --t3-font / --t3-font-display, mapped onto fonts.css's
   --sf-font-sans / --sf-font-display (tawios-auth.css maps them the same way). Nothing here uses !important, so the Super Admin's
   System typography settings (StartFlow SystemTypography) win wherever a
   font is chosen there.
   ========================================================================== */

:root {
    --t3-font: var(--sf-font-sans);
    --t3-font-display: var(--sf-font-display);
}

/* --------------------------------------------------------------------------
   Headings on the landing and sign-in screens
   -------------------------------------------------------------------------- */

body.t3-body :is(h1, h2, h3, h4, h5, h6),
body.t3l-body :is(h1, h2, h3, h4, h5, h6),
.t3-brand-name,
.t3-title,
.t3-promo-title,
.t3-closed-title,
.t3l-brand-name,
.t3l-home-title,
.t3l-section-title {
    font-family: var(--t3-font-display);
}

/* Plus Jakarta Sans is wider and already tightly spaced at 800: ease the
   negative tracking the big titles were tuned with for Helvetica. */
body.t3-body .t3-promo-title,
body.t3l-body .t3l-home-title,
body.t3l-body .t3l-section-title {
    letter-spacing: -.015em;
}

/* Small uppercase labels read better in the text face. */
body.t3l-body .t3l-col-title,
body.t3-body .t3-login-heading {
    font-family: var(--t3-font);
}

/* --------------------------------------------------------------------------
   App chrome (body.t3-app-sidebar): replaces the core's Helvetica Neue on
   body and h1–h6 (main.css). Form controls inherit through Bootstrap.
   -------------------------------------------------------------------------- */

body.t3-app-sidebar {
    font-family: var(--t3-font);
}

body.t3-app-sidebar :is(h1, h2, h3, h4, h5, h6),
body.t3-app-sidebar .t3s-brand-name {
    font-family: var(--t3-font-display);
}

/* Figures line up in tables and stat cards. */
body.t3-app-sidebar :is(table, .table) {
    font-variant-numeric: tabular-nums;
}
