
/* NexGen rc117 — global readability baseline.
   Raises the visual floor for text that older module-specific CSS rendered at 7–10px. */
:root{--ng-readable-body:14px;--ng-readable-small:12px;--ng-readable-label:12.5px;--ng-readable-control:13px;--ng-readable-table:12px;--ng-readable-nav:12.5px}
html{font-size:16px}
body{font-size:var(--ng-readable-body);line-height:1.5;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body p,body li,body dd,body dt{line-height:1.55}
body small{font-size:var(--ng-readable-small)!important;line-height:1.4}
body label{font-size:var(--ng-readable-label)!important;line-height:1.35}
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body select,body textarea,body button{font-size:var(--ng-readable-control)!important}
body table,body th,body td{font-size:var(--ng-readable-table)!important;line-height:1.4}
body th{font-size:12px!important;letter-spacing:.035em}
body .sidebar a,body .sidebar button,body .admin-nav-body a,
body .student-portal-frame .sidebar a,body .teacher-site .sidebar a{font-size:var(--ng-readable-nav)!important}
body .sidebar small,body .admin-nav-group small,body .admin-topbar small{font-size:12px!important}
body .content [class*="eyebrow"],body .content [class*="kicker"],
body .content [class*="overline"]{font-size:12px!important;line-height:1.25}
body .content [class*="muted"],body .content [class*="hint"],
body .content [class*="note"]{font-size:12px!important;line-height:1.5}
body .content .btn,body .content [class*="btn"],body .content [class*="button"]{font-size:12.5px!important}
body .content [class*="badge"],body .content [class*="pill"],body .content [class*="status"]{font-size:12px!important;line-height:1.25}
body .content h1{line-height:1.15}body .content h2{line-height:1.25}body .content h3{line-height:1.3}
body .content input::placeholder,body .content textarea::placeholder{font-size:12.5px;opacity:.72}

/* Legacy inline micro-text floor. Many older module cards used 7–10px inline styles. */
body [style*="font-size:7px"],body [style*="font-size: 7px"],
body [style*="font-size:12px"],body [style*="font-size:12px"],
body [style*="font-size:12px"],body [style*="font-size:12px"],
body [style*="font-size:12px"],body [style*="font-size:12px"]{font-size:12px!important;line-height:1.4!important}

@media(max-width:720px){
 :root{--ng-readable-body:14px;--ng-readable-small:12px;--ng-readable-label:12px;--ng-readable-control:13px;--ng-readable-table:11.5px;--ng-readable-nav:12px}
 body .content{line-height:1.5}
}
@media print{
 body{font-size:11pt}body small{font-size:9pt!important}body table,body th,body td{font-size:9pt!important}
}
