/* PEMIS – one modern typeface across the whole product.
   Inter for English, Noto Sans Tamil for Tamil (browser picks per character).
   Icon fonts (Font Awesome 4/5, Glyphicons) and code blocks are left alone. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

:root {
  --pemis-font: 'Inter', 'Noto Sans Tamil', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body,
body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class*=" fa-"]):not([class^="fa-"]):not(.glyphicon):not([class^="icon-"]):not(code):not(pre):not(kbd):not(samp) {
  font-family: var(--pemis-font) !important;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { letter-spacing: -0.015em; }

/* aligned numbers in tables, counters and stat tiles */
table td, table th, .pm-stat-value, .po-road-num, .badge, .pm-badge { font-variant-numeric: tabular-nums; }

/* Inter has a larger x-height; keep legacy Tamil-mode size boosts from overflowing */
body.tm p, body.tm li, body.tm label, body.tm td, body.tm th { line-height: 1.55; }

/* form controls inherit the face instead of the OS default */
input, select, textarea, button, optgroup { font-family: inherit; }
