/* ft-fixes.css · 2026-11-25: readability fixes found by the audit sweep (tools/audit-sweep). Link AFTER the page's own styles.
   Light mode: the shared top bar & bottom bar stayed dark while the words went dark (dark on dark), headlines were hardcoded white
   (white on white), small print was too faint. Dark mode: tiny footer print was 2.2:1. */
@media (prefers-color-scheme: light){
  :root{--dim:rgba(15,23,42,.64);--muted:rgba(15,23,42,.56)}
  nav,#rsAppNav{background:rgba(248,250,252,.96)!important}
  .hl,#hl-0,.sec-title,.modal-title{color:var(--text)}
  .footer-tm,.footer-note,.cs-footer-text,.cs-consent,.cs-form-label,.cs-benefits-hed,#stats-disclaimer{color:#52627a!important}
  #stats-disclaimer{color:#8a5a00!important}
  #fe-strip{color:#7a1d4a!important}
  .reddit-post,.x-post{background:#fff;border-color:rgba(15,23,42,.16)}   /* the pretend Reddit & X posts were always dark cards */
  .brand-quote{background:rgba(15,23,42,.05)}
  td.tn,.tier-name,.tier-range,.tier-desc,td.tm-,td.tc,td.tl,div.tier-name{color:var(--text)!important}
  .hi{color:var(--accent)}
  .footer-links a,.footer-desc,.footer-logo,.footer-col-title,.rs-marker,.rs-marker a,.footer-inner a{color:var(--text)!important}
  .pro-callout-verdict{filter:none}
  .pro-callout-verdict.unverified{color:#a3173f!important}   /* the page's own pink was 3.0:1 on its tint (2026-11-25 sweep) */
  #rs-adv-greet-txt{color:#f1f5f9!important}   /* the advisor's greeting bubble is always dark, so its words must be light */
  #bm-code{color:#1e293b!important}   /* the bookmarklet box is light in light mode; its grey-blue text was 1.9:1 */
  a[href*="for-org"],.rsfam a,.rsfam-body a{color:#14181f!important}
  .reddit-post-body,.reddit-post-action,.x-post-body,.x-post-handle,.x-post-stat-l,.x-post-logo{color:var(--text)}
}
@media (prefers-color-scheme: dark){
  .footer-tm,.footer-note,.cs-footer-text,.cs-consent,.cs-form-label,.cs-benefits-hed{color:rgba(232,234,240,.62)!important}
  #rsAppNav .ani,#rsAppNav .app-nav-item{color:#e8eaf0}
  .x-post-logo{color:var(--text)}
}
/* 2026-11-30 page-basics check: on a phone the long buttons ("... on ReallySolved →") ran up to 49px past the screen edge &
   made the whole page scroll sideways. Let a button's words wrap on a narrow screen instead (same as the .qcv-wrap fix). */
@media (max-width:520px){.btn{white-space:normal;max-width:100%;line-height:1.25;letter-spacing:.08em;text-align:center}}
