/* Smart Shrimp Log — Global Typography System v2
   Canonical UI typeface: IBM Plex Sans Thai for Thai, Latin and numerals.
   Plus Jakarta Sans remains fallback only. Presentation-only; no domain semantics. */
:root{
  --ssl-font-ui:'IBM Plex Sans Thai','Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ssl-font-display:var(--ssl-font-ui);
  --ssl-font-body:var(--ssl-font-ui);
  --ssl-font-control:var(--ssl-font-ui);
}

html,body,
button,input,select,textarea,option,
table,thead,tbody,tfoot,tr,th,td{
  font-family:var(--ssl-font-ui)!important;
}

#app,
#app *,
#syncStatusToast,
.modal,
.modal *,
.production-network-status{
  font-family:var(--ssl-font-ui)!important;
}

/* Keep typographic roles, but never allow page/module font-family drift. */
#app :where(
  h1,h2,h3,h4,h5,h6,
  p,span,small,strong,b,em,label,
  button,input,select,textarea,option,
  table,thead,tbody,tfoot,tr,th,td,
  nav,header,footer,section,article,aside,
  .brand,.eyebrow,.page-title,.crumb,.nav-label,.nav-item,
  .primary-mobile-toolbar,.gm-farm-toolbar,.marix-reference-brand-copy,
  .gm-dashboard,.gm-farm-overview,.gm-converged-pond-overview,
  #inventoryWorkspace,.admin-primary-page,.settings-primary-page
){
  font-family:var(--ssl-font-ui)!important;
}

/* Explicit legacy drift neutralizers discovered in the canonical runtime. */
.shell.gm-farm-view,
.shell.gm-dashboard-view,
.shell.gm-farm-view button,
.shell.gm-dashboard-view button,
.shell.gm-farm-view input,
.shell.gm-dashboard-view input,
.shell.gm-farm-view select,
.shell.gm-dashboard-view select,
.shell.gm-farm-view textarea,
.shell.gm-dashboard-view textarea,
.ai-analysis-global,
.ai-analysis-global *,
.water-workspace,
.water-workspace *,
.health-route,
.health-route *,
.geo-workspace,
.geo-workspace *{
  font-family:var(--ssl-font-ui)!important;
}
