/* NHARE ERP — SYSTEM-WIDE TYPOGRAPHY STANDARD V1 (2026-11-27)
   Scope: the web application, authenticated module workspaces, home and sign-in.
   One central type scale; no changes to layout geometry, modal positioning,
   icon glyphs, printed documents, PDF layouts, editor content or chart artwork.
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@media screen {
:root {
  --nh-font-family: 'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --nh-type-body:14px;
  --nh-type-table:14px;
  --nh-type-label:13px;
  --nh-type-action:14px;
  --nh-type-secondary:12px;
  --nh-type-table-head:12px;
  --nh-type-section:16px;
  --nh-type-page:23px;
}
html { text-size-adjust:100%; -webkit-text-size-adjust:100%; }
body { font-family:var(--nh-font-family) !important; font-size:var(--nh-type-body) !important; }
body :is(input,select,textarea,button) {font-family:var(--nh-font-family);}
/* Navigation: keep icon font sizes and badge positioning independent. */
.sidebar :is(.nav-item,.nav-group-toggle,.nav-label),
.sidebar .nav-item .nav-label,
.sidebar .nav-group-toggle span,
.sidebar :is(.sidebar-user,.sidebar-logout) {font-size:14px !important;}
.sidebar :is(.nav-section,.sidebar-logo-inner p,.sidebar-logo p) {font-size:12px !important;}
.sidebar :is(.nav-badge,.nav-tooltip,.rail-tooltip-popover) {font-size:12px !important;}
/* Regular tables, including module-specific table classes. */
body :is(table,.table,.nps-table,.tr-table) :is(td,tbody th) {
  font-family:var(--nh-font-family);
  font-size:var(--nh-type-table) !important;
  line-height:1.45;
}
body :is(table,.table,.nps-table,.tr-table) thead th,
body :is(table,.table,.nps-table,.tr-table) thead td {
  font-size:var(--nh-type-table-head) !important;
  line-height:1.4;
}
/* Controls: field type, labels, actions; omit hidden/option icons & rich editors. */
body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
body select,body textarea,body .form-control,body .form-select,
body .nps-workspace :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea) {
  font-family:var(--nh-font-family) !important;
  font-size:var(--nh-type-body) !important;
}
body :is(.form-group>label,.form-group label,.form-label,.field>label,.field label,.nps-fields>label,.nps-check,label[for]) {
  font-size:var(--nh-type-label) !important;
}
body :is(.btn,.btn-sm,.btn-xs,.nfux-btn,.nps-primary,.nps-secondary,.nhui-page-actions .btn,.tr-quick a,.tr-quick button,.nps-external-link,.btn-signin,.btn-submit) {
  font-family:var(--nh-font-family) !important;
  font-size:var(--nh-type-action) !important;
}
/* Status pills are short auxiliary labels; maintain their compact proportions. */
body :is(.badge,.tr-badge,.status-badge,.nav-badge,.nps-status,.badge-zra,.comp-pill) {
  font-size:var(--nh-type-secondary) !important;
}
/* Core content and secondary text: typography, not arbitrary div or span targeting. */
body :is(.kpi-lbl,.kpi-note,.stat-label,.stat-sub,.topbar-breadcrumb,
  .nps-eyebrow,.nps-sidebar-heading,.nps-status,.nps-inline-status,.nps-notice,
  .nps-empty,.nps-brand-preview,.nps-brand-title,.nps-band-columns,
  .nhui-crumbs,.nhui-record-title span,.nhui-record-field dt,
  .tr-helper,.tr-empty,.tr-empty-compact,.tr-page-head p,
  .metric-lbl,.metric-sub,.student-contact,.student-stats,
  .tr-metric .k,.tr-metric .s,.tr-section-head span,
  .tr-row .sub,.tr-analytics-sub,.tr-stage-box .l,
  .nfux-eyebrow,.nfux-title-wrap p,.nfux-kpi-top,.nfux-kpi-foot,
  .nfux-panel-header p,.nfux-text-link,.nfux-month-strip small,
  .nfux-chart-scale,.text-muted,.form-text,.help-text,
  .nh-homebar-product small,.nh-user-copy small,.nh-user-menu-head span,
  .nh-section-heading p,.nh-summary small,.nh-backoffice-copy small,
  .nh-service-body p,.nh-service-metrics small,.nh-service-footer,
  .auth-sub,.back-link,.forgot-link,.login-intro,.form-foot) {
  font-size:var(--nh-type-secondary) !important;
  line-height:1.45;
}
/* Primary readable text inside component-specific panels. */
body :is(.nhui-record-field dd,.tr-row .main,.tr-analytics-top .label,
  .tr-analytics-top .value,.tr-quick a,.tr-quick button,.tr-tabs a,
  .tr-context-tabs a,.tr-section-head h3,.nps-sidebar a,
  .nps-brand-title,.nps-table tbody td,.nfux-tabs a,
  .nfux-month-strip span,.nfux-panel-header h2,
  .student-name,.nh-service-body h3,.nh-backoffice-copy strong,
  .nh-user-copy strong,.nh-user-menu-head strong,.nh-user-menu a) {
  font-size:var(--nh-type-body) !important;
}
body :is(.nps-workspace,.nfw-shell,.nhui-record,.nhui-card,.tr-card,.tr-panel) {
  font-family:var(--nh-font-family);
  font-size:var(--nh-type-body) !important;
}
/* Hierarchy, without flattening numeric KPIs or dashboard hero headings. */
body :is(.card-title,.section-title,.nhui-card-heading,.nps-subheading,.nfux-panel-header h2) {
  font-size:var(--nh-type-section) !important;
}
body :is(.topbar h1,.page-header h1,.nhui-page-heading h2,
  .tr-page-head h2,.nfux-title-wrap h1) {font-size:var(--nh-type-page) !important;}
body .nps-workspace h1{font-size:24px !important;}
body .nps-workspace h2{font-size:21px !important;}
/* Screen-only scope means that print/export stylesheet rules are unaffected. */
} /* end @media screen */
@media screen and (max-width:600px){
  body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  body select,body textarea,body .form-control,body .form-select,
  body .nps-workspace :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea) {
    font-size:16px !important;
  }
  body .nh-homebar :is(.nh-user-copy strong,.nh-user-copy small){font-size:12px !important;}
}
