/* ServeWell CRM: shared readable typography and accessible text sizing. */
:root { --sw-readable-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sw-readable-font) !important; font-size: 17px !important; line-height: 1.65 !important; }
/* One font family across text-bearing elements; keep icon-font glyphs intact. */
body *:not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not(.glyphicon):not([class*="glyphicon-"]):not([class^="icon-"]):not([class*=" icon-"]) { font-family: var(--sw-readable-font) !important; }
body :where(p, li, dd, dt, td, th, label, input, textarea, select, button, small, span, .small, .text-muted, .form-text, .help-block, .navbar a, .dropdown-menu a, .breadcrumb, .pagination, .alert, .badge, .list-group-item, .card-text, .price, .plan-feature, .feature-list, .footer, .copyright-section) {
  font-family: var(--sw-readable-font) !important;
  font-size: max(16px, 1em) !important;
  line-height: 1.55 !important;
}
body :where(h1, h2, h3, h4, h5, h6) { font-family: var(--sw-readable-font) !important; line-height: 1.25 !important; }
body h1 { font-size: clamp(30px, 3.2vw, 40px) !important; }
body h2 { font-size: clamp(26px, 2.6vw, 34px) !important; }
body h3 { font-size: clamp(22px, 2.1vw, 28px) !important; }
body h4 { font-size: 20px !important; }
body h5 { font-size: 18px !important; }
body h6 { font-size: 16px !important; }
body :where(input, textarea, select) { min-height: 42px; }
body textarea { min-height: 100px; }
body :where(button, .btn, input[type="button"], input[type="submit"], input[type="reset"]) { font-size: 16px !important; min-height: 42px; }
body :where(th, td) { padding: 9px 10px; }
body :where(.fa, .fas, .far, .fab, [class^="icon-"], [class*=" icon-"]) { line-height: 1; }
@media (max-width: 767px) {
  body { font-size: 16.5px !important; line-height: 1.65 !important; }
  body h1 { font-size: 29px !important; }
  body h2 { font-size: 25px !important; }
  body h3 { font-size: 22px !important; }
  body :where(th, td) { padding: 8px 7px; }
}
