/* Shared dashboard scale. Load after feature styles; keep metric numerals distinct.
   The targeted !important rules retire older readability overrides in styles.css. */
:root {
  --text-body: 15px;
  --text-control: 14px;
  --text-detail: 13px;
  --text-caption: 12px;
  --text-card-title: 18px;
  --text-section-title: 30px;
}
main p { font-size: var(--text-body) !important; line-height: 1.6; }
main small { font-size: var(--text-detail) !important; line-height: 1.5; }
main label { font-size: var(--text-control) !important; }
main :is(button, select, input, textarea) { font-size: var(--text-control); line-height: 1.4; }
main :is(.contract-list,.citation-table,.activity-table,.context-workbench,.workload-table,.freshness-table,.movement-table,.research-table,.search-page-table,.overlap-list,.analytics-page-table,.page-change-table,.automation-pipeline,.brief-readiness,.queue-details,.access-table,.legacy-work-table,.identity-form,.cutover-gates) :is(span,strong,b,em,code,summary,small) {
  font-size: var(--text-detail) !important;
  line-height: 1.5;
}
main .automation-pipeline h3, main .automation-toolbar h3 { font-size: var(--text-card-title); line-height: 1.35; }
main .topic-map-card header span, main .topic-map-card header>b,
main .topic-brief-state, main .draft-workspace>summary { font-size: var(--text-control) !important; }
main .topic-map-card header strong, main .topic-map-bulk strong { font-size: var(--text-card-title) !important; }
main :is(.change-performance,.draft-analysis,.brief-on-page,.backlink-review-workspace) :is(span,strong,b,small) {
  font-size: var(--text-detail) !important;
  line-height: 1.5;
}
main .eyebrow { font-size: var(--text-caption) !important; }
main :is(.client-portal-intro,.client-rival-list,.client-work-list,.client-change-list,.client-explainer) { font-size: var(--text-body); }
main .client-portal-intro h2 { font-size: var(--text-section-title); line-height: 1.28; }
main .client-explainer strong { font-size: 30px; }
@media (max-width: 760px) {
  :root { --text-body: 14px; --text-detail: 12px; --text-section-title: 26px; }
}
