/* TCLMS PATCH-26L5 — Typography Activation & Final Visual Polish */
body.tclms-admin-shell,body.tclms-student-shell,body.tclms-auth-shell{font-family:var(--tclms-font-body,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important;font-size:var(--tclms-font-size,15px);line-height:var(--tclms-line-height,1.7);font-synthesis:none}
body.tclms-admin-shell :where(p,a,span,strong,b,small,label,button,input,select,textarea,option,td,th,li,dt,dd,figcaption),
body.tclms-student-shell :where(p,a,span,strong,b,small,label,button,input,select,textarea,option,td,th,li,dt,dd,figcaption),
body.tclms-auth-shell :where(p,a,span,strong,b,small,label,button,input,select,textarea,option,td,th,li){font-family:var(--tclms-font-body,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important}
body.tclms-admin-shell :is(h1,h2,h3,h4,h5,h6),body.tclms-student-shell :is(h1,h2,h3,h4,h5,h6),body.tclms-auth-shell :is(h1,h2,h3){font-family:var(--tclms-font-heading,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important}
body.tclms-public-shell{font-family:var(--tclms-front-font-body,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important;font-size:var(--tclms-front-font-size,16px);line-height:var(--tclms-front-line-height,1.78);font-synthesis:none}
body.tclms-public-shell :where(p,a,span,strong,b,small,label,button,input,select,textarea,option,td,th,li,dt,dd,figcaption){font-family:var(--tclms-front-font-body,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important}
body.tclms-public-shell :is(h1,h2,h3,h4,h5,h6){font-family:var(--tclms-front-font-heading,'Cairo','Tajawal',Tahoma,Arial,sans-serif)!important}
/* Keep icon font containers untouched; the patch never applies the text font to <i>. */
.tclms-dashboard-hero h1,.t76-hero h1{line-height:1.25!important}
.tclms-dashboard-hero p,.section-title p,.t76-panel-intro p{line-height:1.8!important}
.tclms-kpi-card small,.tclms-table th,.tclms-table td{letter-spacing:0!important}
.tclms-table th{font-weight:700!important}.tclms-table td{font-weight:400!important}
.tclms-nav>a,.tclms-nav-group>button,.tclms-subnav a{font-family:var(--tclms-font-body)!important}
.t77-font-runtime-warning{display:none;align-items:center;gap:8px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--t-warning) 35%,var(--t-border));border-radius:9px;background:color-mix(in srgb,var(--t-warning) 8%,var(--t-surface));color:var(--t-text);font-size:9px}
html[data-tclms-font-state="fallback"] .t77-font-runtime-warning{display:flex}
.t77-font-diagnostic{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:9px 10px;border:1px solid var(--t-border);border-radius:9px;background:var(--t-surface-2)}
.t77-font-diagnostic>div{display:grid;gap:2px}.t77-font-diagnostic b{font-size:9px}.t77-font-diagnostic small{font-size:7px;color:var(--t-muted)}
.t77-font-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:7px;background:color-mix(in srgb,var(--t-primary) 9%,var(--t-surface));color:var(--t-muted)}
.t77-font-status.ready{background:color-mix(in srgb,var(--t-success) 12%,var(--t-surface));color:var(--t-success)}
.t77-font-status.fallback{background:color-mix(in srgb,var(--t-warning) 12%,var(--t-surface));color:var(--t-warning)}
.t76-font .sample{font-size:17px!important;line-height:1.65!important}
