/* BPF 12.5.12.15 — customer-facing utility polish.
   Exercise Library: instant top search + comfortable utility controls.
   Free Training Library: transparent page header + actionable 1/2/3 row. */

/* Free Training Library — remove the black header slab while keeping brand/help accessible. */
body.bpf-wave2-training main.app > .top{
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  margin:0 0 10px!important;
  padding:4px 0 10px!important;
  background:transparent!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
body.bpf-wave2-training main.app > .top .brand{
  color:#eef6fb!important;
  text-shadow:none!important;
}

/* Make actionable 1/2/3 guide steps read and behave like real navigation controls. */
body.bpf-hub-polished .bpf-hub-guide__step--action{
  align-items:center;
  min-height:54px;
  color:#eef6fb!important;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
body.bpf-hub-polished .bpf-hub-guide__step--action span{font-weight:800}
body.bpf-hub-polished .bpf-hub-guide__step--action::after{
  content:'→';
  margin-left:auto;
  color:#8fd3ff;
  font-size:18px;
  font-weight:900;
}
@media (hover:hover) and (pointer:fine){
  body.bpf-hub-polished .bpf-hub-guide__step--action:hover{
    transform:translateY(-1px);
    border-color:rgba(92,177,255,.55);
    background:rgba(75,158,235,.12);
    box-shadow:0 10px 24px rgba(0,0,0,.16);
  }
}
body.bpf-hub-polished .bpf-hub-guide__step--action:focus-visible{
  outline:3px solid rgba(255,255,255,.78);
  outline-offset:3px;
}

/* Exercise Library — top utility row. */
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-hub-guide__steps.bpf-exercise-utility-row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(190px,.82fr) minmax(190px,.82fr);
  gap:10px;
  margin-top:24px;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search,
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-link{
  min-width:0;
  min-height:58px;
  border-radius:15px;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:5px 6px 5px 9px;
  background:#fff;
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 8px 22px rgba(0,0,0,.13);
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search:focus-within{
  border-color:#74baff;
  box-shadow:0 0 0 3px rgba(61,151,255,.20),0 8px 22px rgba(0,0,0,.13);
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-utility-number{
  flex:0 0 27px;
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#0a2b45;
  border:1px solid rgba(10,43,69,.14);
  font-size:12px;
  font-weight:900;
  line-height:1;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search .bpf-utility-number{
  background:#0a2b45;
  color:#fff;
  border-color:#0a2b45;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search input{
  width:100%;
  min-width:0;
  height:46px;
  min-height:46px!important;
  border:0!important;
  outline:0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#102536!important;
  font:inherit;
  font-size:16px!important;
  padding:10px 8px!important;
  box-shadow:none!important;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search input::placeholder{
  color:#637787!important;
  opacity:1!important;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search button{
  min-width:78px;
  height:46px;
  border:0;
  border-radius:11px;
  background:var(--hub-accent,#4da7f5);
  color:#fff;
  padding:0 14px;
  font:inherit;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-link{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:13px 15px;
  border:1px solid rgba(96,181,255,.78);
  background:rgba(64,151,226,.10);
  color:#80c8ff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:850;
  line-height:1.2;
  cursor:pointer;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-link b{
  color:#8fd3ff;
  font-size:18px;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-link:hover{
  border-color:#8fd3ff;
  background:rgba(64,151,226,.17);
}

/* Instant results stay directly beneath the top search instead of jumping the member elsewhere. */
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-instant-results{
  margin-top:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:17px;
  background:rgba(4,22,35,.88);
  box-shadow:0 14px 36px rgba(0,0,0,.18);
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-instant-results[hidden]{display:none!important}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-results__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
  color:#eef6fb;
  font-size:13px;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-results__head span{color:#9fb6c6;font-size:12px}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-results__list{display:grid;gap:8px}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:9px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:13px;
  background:rgba(255,255,255,.045);
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result img,
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-thumb-fallback{
  width:58px;
  height:58px;
  border-radius:10px;
  object-fit:cover;
  background:#071521;
  display:grid;
  place-items:center;
  color:#8fd3ff;
  font-weight:900;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__copy{min-width:0}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__copy strong{display:block;color:#fff;font-size:15px;line-height:1.2}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__copy span{display:block;margin-top:4px;color:#a8bdcb;font-size:12px;line-height:1.3}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__actions a,
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-open,
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-view-all{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(112,190,255,.55);
  background:rgba(74,160,235,.12);
  color:#9bd6ff!important;
  padding:9px 11px;
  text-decoration:none!important;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-open{
  background:#4da7f5;
  border-color:#4da7f5;
  color:#fff!important;
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-view-all{margin-top:10px;width:100%}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-empty{padding:13px;color:#c4d3dd;font-size:13px}

@media(max-width:920px){
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-hub-guide__steps.bpf-exercise-utility-row{
    grid-template-columns:1fr 1fr;
  }
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search{grid-column:1/-1}
}
@media(max-width:620px){
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-hub-guide__steps.bpf-exercise-utility-row{grid-template-columns:1fr}
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-search{grid-column:auto}
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result{grid-template-columns:50px minmax(0,1fr)}
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result img,
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-thumb-fallback{width:50px;height:50px}
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__actions{grid-column:1/-1;justify-content:stretch}
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-result__actions a,
  body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-instant-open{flex:1}
}
@media(prefers-reduced-motion:reduce){
  body.bpf-hub-polished .bpf-hub-guide__step--action{transition:none}
}
body.bpf-hub-polished[data-bpf-hub-id="exercise-library"] .bpf-exercise-utility-link::after{content:none!important;display:none!important}
