/* BPF 5.15.2.16 — last targeted accessibility polishing, STAGING ONLY.
   Correct selectors verified against 5.15.2.15 HTML and independent QA.
   Presentation only: no business logic, workout, nutrition or coaching changes.
   Keep WCAG 4.5:1 normal text/3:1 large and nontext visual controls.
   ID-weight :not() booster beats existing !important rules while matching existing DOM. */
:root{--bpf516-dark:#0b304f;--bpf516-text:#f4faff;--bpf516-ink:#061427;--bpf516-blue1:#62b2ff;--bpf516-blue2:#2f8bff}
/* Home's real action-number badges: old rule incorrectly targeted .step-number. */
body.bpf-app-home #page-ask .bpf-today-action .bpf-today-num:not(#bpf516-never){
 background:var(--bpf516-dark)!important;background-image:none!important;
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;
 opacity:1!important;border:1px solid #62b2ff!important;
}
/* Home exercise snack CTA: light text on bright gradient previously ~2.25:1. */
body.bpf-app-home #page-ask a.bpf-snack-btn:not(#bpf516-never),
body.bpf-app-home #page-ask a.bpf-snack-btn:not(#bpf516-never) *{
 background:linear-gradient(180deg,var(--bpf516-blue1),var(--bpf516-blue2))!important;
 color:var(--bpf516-ink)!important;-webkit-text-fill-color:var(--bpf516-ink)!important;
 border-color:#77c3ff!important;opacity:1!important;
}
body.bpf-app-home #page-ask a.bpf-snack-btn:focus-visible:not(#bpf516-never){outline:3px solid #87cfff!important;outline-offset:3px!important}
/* Free Workouts: 'Options' is span.start-mini; Workout Systems label is .card .group-label. */
body .card span.start-mini:not(#bpf516-never),
body span.start-mini:not(#bpf516-never){
 background:var(--bpf516-dark)!important;background-image:none!important;
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;
 opacity:1!important;border:1px solid #62b2ff!important;
}
body .card.library-card .group-label:not(#bpf516-never){
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;opacity:1!important;
}
/* Calculator descriptions and guide labels: actual selectors instead of fictitious .hero .kicker/.copy. */
body.bpf-wave2-calculators .bpf-hub-guide__eyebrow:not(#bpf516-never),
body.bpf-wave2-calculators .bpf-hub-guide__step:not(#bpf516-never),
body.bpf-wave2-calculators .calc-support-card p:not(#bpf516-never),
body.bpf-wave2-calculators .navcard em:not(#bpf516-never){
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;opacity:1!important;
}
body.bpf-wave2-calculators .bpf-hub-guide__step:not(#bpf516-never){background:var(--bpf516-dark)!important;border-color:#488abf!important}
/* Recovery numbered checklist b badges: previously white on bright background. */
body .protocol .step > b:not(#bpf516-never){
 background:var(--bpf516-dark)!important;background-image:none!important;
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;
 border:1px solid #62b2ff!important;opacity:1!important;
}
/* Help player jump headings are a.anchor strong, not .module-title. */
body a.anchor strong:not(#bpf516-never){
 color:var(--bpf516-text)!important;-webkit-text-fill-color:var(--bpf516-text)!important;opacity:1!important;
}
/* The Perpetual Trainer This Week and Progress links are header.pt-top nav.pt-topnav a. */
body header.pt-top nav.pt-topnav a:focus-visible:not(#bpf516-never){
 outline:3px solid #87cfff!important;outline-offset:4px!important;
 box-shadow:0 0 0 5px #061427!important;text-decoration:underline!important;
}
/* Tiny phone 320px: contain the premium command hero, preserve padding and sentence wrapping. */
@media(max-width:350px){
 body.bpf-app-home #page-ask .bpf-premium-home:not(#bpf516-never){
  box-sizing:border-box!important;width:calc(100vw - 40px)!important;
  max-width:calc(100vw - 40px)!important;margin-left:auto!important;margin-right:auto!important;
  min-width:0!important;
 }
 body.bpf-app-home #page-ask .bpf-premium-command:not(#bpf516-never){
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  grid-template-columns:minmax(0,1fr)!important;padding:18px 12px!important;
 }
 body.bpf-app-home #page-ask .bpf-premium-command-main:not(#bpf516-never),
 body.bpf-app-home #page-ask .bpf-premium-command-copy:not(#bpf516-never){
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
  overflow-wrap:break-word!important;
 }
 body.bpf-app-home #page-ask .bpf-exercise-snacks-card a.bpf-snack-btn:not(#bpf516-never),
 body.bpf-app-home #page-ask .bpf-featured-age-card a.bpf-age-btn:not(#bpf516-never){
  box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
 }
}
