/* One typeface for the whole tool (Roboto, already loaded by every layout).
   Replaces the mix of Roboto Slab headings, Open Sans, Inter and Arial found on individual pages,
   and lifts Material's thin 300 body weight so values and labels read clearly.
   Loaded after material-dashboard.css and bird_core.css. Does not touch icon fonts or PDF/print styles. */
:root {
    --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--font-ui);
}

html, html body {
    font-family: var(--font-ui);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings: same sans family, strong weight, tight tracking (no slab serif) */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
}

/* Form controls and buttons do not inherit the page font by default */
input, select, textarea, button, .btn, .form-control, .form-select { font-family: var(--font-ui); }
p, li, td, small, .text-sm, .text-xs, .text-secondary, .text-muted, .text-body, .form-control, .form-select { font-weight: 400; }
th, label { font-weight: 600; }

/* Material's "light" utilities become regular so no text looks washed out */
.font-weight-light, .fw-light { font-weight: 400 !important; }

/* Tabular figures for numbers in tables and result cards */
table, .table { font-variant-numeric: tabular-nums; }

/* sidebar entries that are not styled by sidebar_ui.css */
.sidenav .nav-link-text { font-weight: 600; }
