:root {
  --mhb-coach-black: rgba(0, 0, 0, 0.65);
  --mhb-coach-white: #fffaf4;
  --mhb-coach-muted: rgba(255, 250, 244, 0.72);
  --mhb-lane-color: #E05A12;
}

.mhb-coach-bubble {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: none;
  width: 100vw;
  max-height: min(46vh, 420px);
  overflow: auto;
  padding: clamp(26px, 3vw, 42px) clamp(20px, 5vw, 72px) clamp(24px, 4vw, 46px);
  color: var(--mhb-coach-white);
  background: var(--mhb-coach-black);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -28px 90px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translate3d(0, 108%, 0);
  transition: transform 520ms cubic-bezier(.20,.78,.22,1), opacity 340ms ease;
  font-family: inherit;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mhb-coach-bubble.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.mhb-coach-bubble.is-hiding {
  opacity: 0;
  transform: translate3d(0, 112%, 0);
}

.mhb-coach-bubble__accent {
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent 0%, var(--mhb-lane-color) 20%, rgba(255,255,255,.58) 50%, var(--mhb-lane-color) 80%, transparent 100%);
  opacity: .72;
}

.mhb-coach-bubble__header,
.mhb-coach-bubble__domain,
.mhb-coach-bubble__message {
  width: min(1120px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

.mhb-coach-bubble__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.mhb-coach-bubble__eyebrow,
.mhb-coach-bubble__domain {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mhb-coach-bubble__eyebrow {
  font-weight: 750;
  color: var(--mhb-coach-white);
}

.mhb-coach-bubble__domain {
  margin-bottom: 12px;
  color: var(--mhb-coach-muted);
}

.mhb-coach-bubble__message {
  max-width: 980px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.68;
  font-weight: 400;
  color: var(--mhb-coach-white);
}

.mhb-coach-bubble__close {
  appearance: none;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mhb-coach-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mhb-coach-bubble__close:hover,
.mhb-coach-bubble__close:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mhb-coach-bubble {
    max-height: 54vh;
    padding: 24px 18px 26px;
    border-radius: 24px 24px 0 0;
  }

  .mhb-coach-bubble__header,
  .mhb-coach-bubble__domain,
  .mhb-coach-bubble__message {
    width: 100%;
  }

  .mhb-coach-bubble__message {
    font-size: 13.75px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mhb-coach-bubble {
    transition: opacity 180ms ease;
    transform: translate3d(0, 0, 0);
  }
  .mhb-coach-bubble.is-hiding {
    transform: translate3d(0, 0, 0);
  }
}

/* HPL primary palette override */
.hpl-coach-popup,
.fhb-coach-popup,
.mhb-coach-popup{
  background:rgba(47,33,26,.65) !important;
  color:#FFFDF9 !important;
}
.hpl-coach-popup strong,
.fhb-coach-popup strong,
.mhb-coach-popup strong{
  color:#0F8E9D !important;
}

/* Tier identity in the post-question-five decision panel. */
.hpl-tier-decision__card.is-light{background:rgba(30,95,153,.20)!important;border-color:rgba(102,171,224,.70)!important}
.hpl-tier-decision__card.is-guided{background:rgba(201,154,58,.22)!important;border-color:rgba(235,202,128,.76)!important}
.hpl-tier-decision__card.is-coach{background:rgba(165,31,43,.22)!important;border-color:rgba(226,118,128,.68)!important}
.hpl-tier-decision__card.is-light .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-light>strong{color:#9DD1F5!important}
.hpl-tier-decision__card.is-guided .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-guided>strong{color:#F0D38F!important}
.hpl-tier-decision__card.is-coach .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-coach>strong{color:#F2A7AE!important}
.hpl-tier-decision__card.is-light>a{color:#FFFFFF!important;background:#143B52!important;border-color:#4E91C7!important;text-decoration:none!important}
.hpl-tier-decision__card.is-guided>a{color:#2F241E!important;background:#0F8E9D!important;border-color:#E1BB67!important;text-decoration:none!important}
.hpl-tier-decision__card.is-coach>a{color:#FFFFFF!important;background:#E05A12!important;border-color:#D05A66!important;text-decoration:none!important}
.hpl-tier-decision__card.is-light>a:hover{background:#0D2638!important;transform:translateY(-1px)}
.hpl-tier-decision__card.is-guided>a:hover{background:#0B7481!important;transform:translateY(-1px)}
.hpl-tier-decision__card.is-coach>a:hover{background:#B94710!important;transform:translateY(-1px)}

/* v1.12.8 — compact Coach L card with progressive disclosure. */
.fhb-coach-bubble,
.mhb-coach-bubble{
  left:auto!important;
  right:clamp(16px,2.5vw,34px)!important;
  bottom:clamp(16px,2.5vw,30px)!important;
  width:min(620px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 32px)!important;
  padding:23px 24px 21px!important;
  overflow:auto!important;
  color:#FFFDF9!important;
  background:rgba(43,34,29,.975)!important;
  background-image:none!important;
  border:1px solid rgba(201,154,58,.28)!important;
  border-radius:20px!important;
  box-shadow:0 24px 70px rgba(25,18,14,.30)!important;
  opacity:0;
  transform:translate3d(0,24px,0) scale(.985);
  transition:transform 360ms cubic-bezier(.20,.78,.22,1),opacity 240ms ease!important;
  -webkit-backdrop-filter:blur(16px)!important;
  backdrop-filter:blur(16px)!important;
}

.fhb-coach-bubble.is-visible,
.mhb-coach-bubble.is-visible{
  opacity:1!important;
  transform:translate3d(0,0,0) scale(1)!important;
}

.fhb-coach-bubble.is-hiding,
.mhb-coach-bubble.is-hiding{
  opacity:0!important;
  transform:translate3d(0,18px,0) scale(.985)!important;
}

.fhb-coach-bubble__accent,
.mhb-coach-bubble__accent{
  left:0!important;
  right:auto!important;
  top:20px!important;
  bottom:20px!important;
  width:3px!important;
  height:auto!important;
  border-radius:0 999px 999px 0!important;
  background:var(--fhb-lane-color,var(--mhb-lane-color,#0F8E9D))!important;
  opacity:.88!important;
}

.fhb-coach-bubble__header,
.fhb-coach-bubble__domain,
.fhb-coach-bubble__message,
.fhb-coach-bubble__actions,
.mhb-coach-bubble__header,
.mhb-coach-bubble__domain,
.mhb-coach-bubble__message,
.mhb-coach-bubble__actions{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

.fhb-coach-bubble__header,
.mhb-coach-bubble__header{
  margin-bottom:7px!important;
}

.fhb-coach-bubble__eyebrow,
.mhb-coach-bubble__eyebrow{
  color:#E7C97F!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
}

.fhb-coach-bubble__domain,
.mhb-coach-bubble__domain{
  margin-bottom:13px!important;
  color:rgba(255,253,249,.64)!important;
  font-size:10px!important;
  letter-spacing:.1em!important;
}

.fhb-coach-bubble__summary,
.mhb-coach-bubble__summary{
  margin:0!important;
  color:#FFFDF9!important;
  font-size:15px!important;
  font-weight:520!important;
  line-height:1.58!important;
}

.fhb-coach-bubble__details,
.mhb-coach-bubble__details{
  max-height:44vh!important;
  margin-top:17px!important;
  padding:16px 4px 2px 0!important;
  overflow:auto!important;
  border-top:1px solid rgba(255,255,255,.13)!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(231,201,127,.45) transparent;
}

.fhb-coach-bubble__details[hidden],
.mhb-coach-bubble__details[hidden]{
  display:none!important;
}

.fhb-coach-bubble__details p,
.mhb-coach-bubble__details p{
  margin:0 0 13px!important;
  padding:0!important;
  color:rgba(255,253,249,.79)!important;
  font-size:13.5px!important;
  font-weight:400!important;
  line-height:1.58!important;
  opacity:0;
  animation:hpl-coach-detail-rise 260ms ease forwards;
}

.fhb-coach-bubble__details p:nth-child(2),
.mhb-coach-bubble__details p:nth-child(2){animation-delay:40ms}
.fhb-coach-bubble__details p:nth-child(3),
.mhb-coach-bubble__details p:nth-child(3){animation-delay:80ms}
.fhb-coach-bubble__details p:nth-child(n+4),
.mhb-coach-bubble__details p:nth-child(n+4){animation-delay:120ms}

.fhb-coach-bubble__details p.is-quote,
.mhb-coach-bubble__details p.is-quote{
  padding-left:13px!important;
  color:#E7C97F!important;
  border-left:2px solid rgba(201,154,58,.55)!important;
  font-style:italic!important;
}

.fhb-coach-bubble__actions,
.mhb-coach-bubble__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:18px!important;
  padding-top:16px!important;
  border-top:1px solid rgba(255,255,255,.13)!important;
}

.fhb-coach-bubble__more,
.fhb-coach-bubble__continue,
.mhb-coach-bubble__more,
.mhb-coach-bubble__continue{
  min-height:40px!important;
  padding:9px 14px!important;
  border-radius:10px!important;
  font:inherit!important;
  font-size:10.5px!important;
  font-weight:780!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease!important;
}

.fhb-coach-bubble__more,
.mhb-coach-bubble__more{
  margin-right:auto!important;
  color:#FFFDF9!important;
  background:transparent!important;
  border:1px solid rgba(255,255,255,.25)!important;
}

.fhb-coach-bubble__more:hover,
.fhb-coach-bubble__more:focus-visible,
.mhb-coach-bubble__more:hover,
.mhb-coach-bubble__more:focus-visible{
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,255,255,.42)!important;
}

.fhb-coach-bubble__continue,
.mhb-coach-bubble__continue{
  color:#FFFFFF!important;
  background:#E05A12!important;
  border:1px solid #E05A12!important;
}

.fhb-coach-bubble__continue:hover,
.fhb-coach-bubble__continue:focus-visible,
.mhb-coach-bubble__continue:hover,
.mhb-coach-bubble__continue:focus-visible{
  background:#B94710!important;
  border-color:#B94710!important;
  transform:translateY(-1px)!important;
}

.fhb-coach-bubble__close,
.mhb-coach-bubble__close{
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  font-size:18px!important;
}

@keyframes hpl-coach-detail-rise{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:640px){
  .fhb-coach-bubble,
  .mhb-coach-bubble{
    right:10px!important;
    bottom:10px!important;
    width:calc(100vw - 20px)!important;
    max-height:calc(100vh - 20px)!important;
    padding:20px 18px 18px!important;
    border-radius:18px!important;
  }

  .fhb-coach-bubble__actions,
  .mhb-coach-bubble__actions{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  .fhb-coach-bubble__more,
  .mhb-coach-bubble__more{
    width:100%!important;
    margin-right:0!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .fhb-coach-bubble,
  .mhb-coach-bubble,
  .fhb-coach-bubble__details p,
  .mhb-coach-bubble__details p{
    animation:none!important;
    transition:none!important;
  }
}

/* v1.12.11 market alignment — purchase decision + Coach L surfaces. */
.hpl-coach-popup,.fhb-coach-popup,.mhb-coach-popup{background:rgba(16,24,32,.88)!important;color:#FBFAF7!important}
.hpl-coach-popup strong,.fhb-coach-popup strong,.mhb-coach-popup strong{color:#C8B384!important}
.fhb-coach-bubble,.mhb-coach-bubble{background:rgba(16,24,32,.98)!important;border-color:rgba(200,179,132,.22)!important}
.hpl-tier-decision__card.is-light,.hpl-tier-decision__card.is-coach{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.16)!important}
.hpl-tier-decision__card.is-guided{background:rgba(182,149,87,.14)!important;border-color:rgba(200,179,132,.52)!important}
.hpl-tier-decision__card.is-light .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-light>strong,
.hpl-tier-decision__card.is-coach .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-coach>strong{color:#D9E0DD!important}
.hpl-tier-decision__card.is-guided .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-guided>strong{color:#D8C08C!important}
.hpl-tier-decision__card.is-light>a,.hpl-tier-decision__card.is-coach>a{color:#FFFFFF!important;background:#26332F!important;border-color:#47575F!important;text-decoration:none!important}
.hpl-tier-decision__card.is-guided>a{color:#151B1A!important;background:#AD915C!important;border-color:#C8B384!important;text-decoration:none!important}
.hpl-tier-decision__card.is-light>a:hover,.hpl-tier-decision__card.is-coach>a:hover{background:#34454D!important;transform:translateY(-1px)!important}
.hpl-tier-decision__card.is-guided>a:hover{background:#A5864E!important;transform:translateY(-1px)!important}
.fhb-coach-bubble__continue,.mhb-coach-bubble__continue{color:#FFFFFF!important;background:#26332F!important;border-color:#47575F!important}
.fhb-coach-bubble__continue:hover,.fhb-coach-bubble__continue:focus-visible,.mhb-coach-bubble__continue:hover,.mhb-coach-bubble__continue:focus-visible{background:#34454D!important;border-color:#566970!important}

/* =========================================================
   v1.12.18 — Coach L / Q5 overlay aligned with HPL site system.
   ========================================================= */
.fhb-coach-bubble,.mhb-coach-bubble{
  color:#FCFAF6!important;
  background:rgba(13,38,56,.975)!important;
  background-image:linear-gradient(145deg,rgba(20,59,82,.98),rgba(13,38,56,.985))!important;
  border:1px solid rgba(23,184,201,.22)!important;
  box-shadow:0 28px 78px rgba(13,38,56,.34)!important;
}
.fhb-coach-bubble__eyebrow,.mhb-coach-bubble__eyebrow{color:#17B8C9!important}
.fhb-coach-bubble__domain,.mhb-coach-bubble__domain{color:rgba(252,250,246,.62)!important}
.fhb-coach-bubble__message,.mhb-coach-bubble__message{color:#FCFAF6!important;font-weight:400!important}
.fhb-coach-bubble__close,.mhb-coach-bubble__close{color:#FCFAF6!important;border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.06)!important}
/* Offer wall / Q5: three orange depths, one coherent commerce family. */
.hpl-tier-decision__card.is-light{background:rgba(217,121,69,.13)!important;border-color:rgba(217,121,69,.52)!important}
.hpl-tier-decision__card.is-guided{background:rgba(200,90,30,.16)!important;border-color:rgba(200,90,30,.66)!important}
.hpl-tier-decision__card.is-coach{background:rgba(169,71,24,.16)!important;border-color:rgba(169,71,24,.64)!important}
.hpl-tier-decision__card.is-light .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-light>strong{color:#F1B28E!important}
.hpl-tier-decision__card.is-guided .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-guided>strong{color:#F28D52!important}
.hpl-tier-decision__card.is-coach .hpl-fifth-popover__eyebrow,.hpl-tier-decision__card.is-coach>strong{color:#E87B3D!important}
.hpl-tier-decision__card.is-light>a{color:#FFF!important;background:#D97945!important;border-color:#D97945!important;text-decoration:none!important}
.hpl-tier-decision__card.is-guided>a{color:#FFF!important;background:#E05A12!important;border-color:#E05A12!important;text-decoration:none!important}
.hpl-tier-decision__card.is-coach>a{color:#FFF!important;background:#B94710!important;border-color:#B94710!important;text-decoration:none!important}
.hpl-tier-decision__card.is-light>a:hover{background:#B95E2C!important}
.hpl-tier-decision__card.is-guided>a:hover{background:#B94710!important}
.hpl-tier-decision__card.is-coach>a:hover{background:#843812!important}
