/* ══════════════════════════════════════════════════════
   PORTAL GLOBAL OVERRIDES — font size + contrast boost
   Injected on every page via <link rel="stylesheet">
   ══════════════════════════════════════════════════════ */

/* ── Root scale-up ── */
:root {
  --text:#f4f6fa;          /* was #f0f2f5 — brighter white */
  --text2:#c9d0db;         /* was #9ca3af — much more readable */
  --text3:#8b95a6;         /* was #6b7280 */
  --muted:#8b95a6;
  --dim:#5a6475;
}

/* Base font up to 16px from 15px */
html { font-size: 16px; }

/* Body text bumped in all common containers */
.panel-body,
.audit-body,
.pi-desc,
.sc-desc,
.insight-body p,
.sec-sub,
.hero-sub,
.alert,
.jump-desc,
p {
  font-size: 14px !important;
  color: var(--text2) !important;
  line-height: 1.7 !important;
}

/* Table cells — bigger + lighter */
.tbl td,
.tbl-wrap td,
table td,
.data-table td,
.kw-table td,
.content-table td {
  font-size: 14px !important;
  color: var(--text) !important;
}

/* Table headers — slightly brighter */
.tbl th,
.tbl-wrap th,
table th,
.data-table th,
.kw-table th,
.content-table th {
  color: #a0aabb !important;
  font-size: 11px !important;
}

/* KPI labels */
.kpi-label, .kpi-l, .kpi-sub, .kpi-s,
.sc-lbl, .sc-label {
  font-size: 11px !important;
  color: var(--text3) !important;
}

/* KPI values stay large but brighter */
.kpi-value, .kpi-v, .kpi-val,
.sc-val, .sp-val {
  color: var(--text) !important;
}

/* Audit / content titles */
.audit-title,
.pi-title,
.jump-name,
.panel-title,
.insight-box h4,
.insight-box h3 {
  font-size: 14px !important;
  color: var(--text) !important;
}

/* Section labels / mono tags */
.section-label,
.sec-tag,
.page-tag,
.section-tag,
.kpi-label,
.hero-eyebrow,
.nav-link,
.badge,
.pill,
.mono,
.font-mono {
  color: var(--text3) !important;
}
/* Override for active/colored versions */
.nav-link.active { color: var(--cyan) !important; }
.section-label { color: var(--text3) !important; }

/* Alert text */
.alert div,
.alert p { color: var(--text2) !important; font-size: 14px !important; }
.alert strong { color: var(--text) !important; }

/* Code blocks */
.code-block { font-size: 12.5px !important; color: #b0bac9 !important; }
.cb-key { color: #c4b5fd !important; }
.cb-str { color: #6ee7b7 !important; }
.cb-val { color: #fbbf24 !important; }
.cb-comment { color: #5a6475 !important; }

/* Nav links brighter on hover */
.nav-link:hover { color: var(--text) !important; }

/* Muted text across all patterns */
.muted, .text-dim, .text-muted, [class*="muted"],
.footer, .page-footer, .page-footer span,
.panel-header span { color: var(--text3) !important; }

/* Hero subtitle */
.hero-meta, .header-sub, .hero-sub,
.hero-title .dim { color: #8b95a6 !important; }

/* Section title text brighter */
.sec-title, .page-title, .header-title,
.section-title, .sec-title { color: var(--text) !important; }

/* Jump card meta */
.jump-meta { color: var(--cyan) !important; }

/* Ensure insight box text is readable */
.insight-body { color: var(--text2) !important; }

/* Schema card descriptions */
.sc-desc { color: var(--text2) !important; }

/* Audit fix callout */
.audit-fix { color: #fbbf24 !important; font-size: 12px !important; }

/* Priority list desc */
.pi-desc { color: var(--text2) !important; }

/* Table odd-row contrast fix (enforce dark bg) */
tbody tr:nth-child(odd) td { background: rgba(255,255,255,.025) !important; }
tbody tr:hover td { background: rgba(255,255,255,.05) !important; }

/* Footer branding */
.footer-brand, .page-footer .footer-brand { color: #8b95a6 !important; }
