/* HealthPiece Systems — Homepage Rebuild Checkpoint A v2
   Literal desktop composition against approved design master. */

body:has(#home:not(.hidden)) > header,
body:has(#home:not(.hidden)) > footer { display:none; }

#home {
  --hp-navy:#0F3B6E;
  --hp-teal:#2D9C9A;
  --hp-sage:#8FBC8F;
  --hp-gold:#E2A800;
  --hp-green:#4F9F31;
  --hp-ivory:#F9F6ED;
  background:#fff;
  color:var(--hp-navy);
}

#home button,#home input{font:inherit}

.hp-rebuild-shell{min-height:100vh;background:#fff}
.hp-rebuild-header{background:#fff;position:relative;z-index:20}
.hp-rebuild-header-inner{
  width:min(1212px,calc(100% - 44px));
  min-height:102px;
  margin:0 auto;
  display:flex;
  align-items:center;
}

.hp-rebuild-brand{
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  padding:0;
  background:transparent;
  color:var(--hp-navy);
}

.hp-brand-art{position:relative;width:94px;height:82px;flex:0 0 auto}
.hp-rebuild-logo{width:88px;height:78px;display:block}
.hp-brand-swoosh{position:absolute;left:13px;right:-16px;bottom:-2px;height:13px}
.hp-brand-swoosh i{position:absolute;height:3px;border-radius:50%;transform-origin:left center}
.hp-brand-swoosh i:nth-child(1){left:0;right:1%;bottom:7px;background:#2D9C9A;transform:rotate(2deg)}
.hp-brand-swoosh i:nth-child(2){left:4%;right:4%;bottom:3px;background:#0F3B6E;transform:rotate(-1.5deg)}
.hp-brand-swoosh i:nth-child(3){left:9%;right:62%;bottom:0;background:#E2A800;transform:rotate(-4deg)}

.hp-rebuild-wordmark{
  display:flex;
  flex-direction:column;
  font:900 34px/.93 Merriweather,Georgia,serif;
  letter-spacing:-.045em;
}
.hp-rebuild-wordmark>span{
  margin-top:4px;
  font:700 13px/1 Inter,Arial,sans-serif;
  letter-spacing:.17em;
}

.hp-rebuild-positioning{
  margin-left:24px;
  padding-left:24px;
  border-left:2px solid var(--hp-navy);
  font:700 15px/1.18 Inter,Arial,sans-serif;
  color:#102e55;
  white-space:nowrap;
}

.hp-rebuild-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:27px;
}
.hp-rebuild-nav>button{
  border:0;
  padding:8px 0;
  background:transparent;
  color:#071f45;
  font:800 17px/1 Merriweather,Georgia,serif;
  white-space:nowrap;
}
.hp-rebuild-search-link{width:42px;height:42px;display:grid;place-items:center}
.hp-rebuild-search-link svg{width:31px;height:31px;fill:none;stroke:var(--hp-navy);stroke-width:2.7}

.hp-rebuild-hero{
  position:relative;
  min-height:516px;
  overflow:hidden;
  background:
    radial-gradient(circle at 23% 20%, rgba(191,223,248,.78) 0 8%, transparent 31%),
    linear-gradient(90deg,#F8F3E8 0%,#F9F6ED 34%,#F2F6F4 48%,#F9F6ED 65%);
}
.hp-rebuild-photo{
  position:absolute;
  inset:0 0 0 42%;
  background:url("../assets/healthpiece_hero_mother_daughter.png") 54% 35%/cover no-repeat;
}
.hp-rebuild-wash{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 21% 27%, rgba(205,233,249,.72) 0 10%, transparent 34%),
    linear-gradient(90deg,
      #fbf7ee 0%,
      #fbf7eefc 27%,
      #fbf7eef4 35%,
      #fbf7eeb8 43%,
      #fbf7ee4f 52%,
      transparent 65%);
}
.hp-rebuild-content{
  position:relative;
  z-index:2;
  width:min(1212px,calc(100% - 44px));
  margin:0 auto;
  padding-top:58px;
  padding-bottom:170px;
}
.hp-rebuild-copy{max-width:560px}
.hp-rebuild-copy h1{
  margin:0 0 19px;
  max-width:560px;
  color:var(--hp-navy);
  font:900 54px/1.02 Merriweather,Georgia,serif;
  letter-spacing:-.045em;
}
.hp-rebuild-copy h1 span{position:relative;display:inline-block}
.hp-rebuild-copy h1 span::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:22%;
  right:-10%;
  bottom:-8px;
  height:14px;
  background:#E0A300;
  clip-path:polygon(0 57%,74% 2%,100% 100%,12% 71%);
}
.hp-rebuild-copy p{
  max-width:515px;
  margin:0 0 22px;
  color:#15395E;
  font:600 20px/1.45 Inter,Arial,sans-serif;
}
.hp-rebuild-actions{display:flex;gap:14px}
.hp-rebuild-primary,.hp-rebuild-secondary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:9px;
  padding:14px 20px;
  font:800 15px/1 Inter,Arial,sans-serif;
}
.hp-rebuild-primary{border:2px solid #073B70;background:#073B70;color:#fff}
.hp-rebuild-secondary{border:2px solid #073B70;background:#fff;color:#073B70}
.hp-action-icon{font-size:24px;line-height:1}

.hp-rebuild-pieces{
  position:absolute;
  z-index:7;
  right:max(6px,calc((100vw - 1212px)/2 - 2px));
  bottom:15px;
  width:690px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:end;
}
.hp-rebuild-piece{
  position:relative;
  height:190px;
  min-height:190px;
  margin-left:-24px;
  padding:40px 12px 21px;
  border:0;
  background:transparent;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  filter:drop-shadow(0 6px 6px rgb(10 55 105 / 26%));
}
.hp-rebuild-piece:first-child{margin-left:0}
.hp-piece-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hp-piece-blue .hp-piece-shape{fill:#0D80BD}
.hp-piece-gold .hp-piece-shape{fill:#E5A900}
.hp-piece-green .hp-piece-shape{fill:#4FA334}
.hp-piece-navy .hp-piece-shape{fill:#073A6C}
.hp-piece-icon,.hp-rebuild-piece strong{font:900 21px/1.02 Merriweather,Georgia,serif;text-align:center;text-shadow:0 1px 1px rgb(0 0 0 / 12%)}
.hp-rebuild-piece strong{font:900 20px/1.03 Merriweather,Georgia,serif;text-align:center}
.hp-piece-icon{width:48px;height:48px;margin-bottom:8px;display:block;position:relative}
.hp-icon-search::before{
  content:"";
  position:absolute;
  width:21px;height:21px;
  border:4px solid #fff;border-radius:50%;
  left:6px;top:3px;
}
.hp-icon-search::after{
  content:"";
  position:absolute;
  width:18px;height:4px;
  background:#fff;
  transform:rotate(45deg);
  left:24px;top:27px;border-radius:4px;
}
.hp-icon-balance{font-size:40px;line-height:44px;text-align:center}
.hp-icon-book::before{
  content:"";
  position:absolute;
  inset:6px 3px 4px;
  border:4px solid #fff;
  border-radius:4px;
}
.hp-icon-book::after{
  content:"";
  position:absolute;
  width:4px;top:5px;bottom:4px;left:20px;background:#fff;
}
.hp-icon-chat::before,.hp-icon-chat::after{
  content:"";
  position:absolute;
  width:24px;height:16px;
  border:3px solid #fff;
  border-radius:50%;
  top:6px;
}
.hp-icon-chat::before{left:2px}
.hp-icon-chat::after{left:15px;top:15px}

.hp-rebuild-wave{
  position:absolute;
  left:-2%;
  right:-2%;
  pointer-events:none;
}
.hp-wave-one{
  z-index:5;
  bottom:18px;
  height:42px;
  background:#fff;
  clip-path:polygon(0 65%,13% 45%,31% 49%,48% 29%,67% 49%,84% 34%,100% 44%,100% 100%,0 100%);
}
.hp-wave-two{
  z-index:4;
  bottom:7px;
  height:48px;
  background:linear-gradient(90deg,#69B64A 0%,#8BCFBC 36%,#B4D7E9 68%,#F3D36B 100%);
  clip-path:polygon(0 56%,13% 36%,31% 46%,49% 26%,67% 48%,84% 31%,100% 41%,100% 100%,0 100%);
}
.hp-wave-three{
  z-index:3;
  bottom:-1px;
  height:34px;
  background:#F8F3E9;
  clip-path:polygon(0 42%,16% 23%,32% 39%,48% 19%,68% 42%,84% 22%,100% 34%,100% 100%,0 100%);
}

.hp-checkpoint-hook{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}

.hp-rebuild-nav button:focus-visible,
.hp-rebuild-brand:focus-visible,
.hp-rebuild-actions button:focus-visible,
.hp-rebuild-piece:focus-visible{
  outline:3px solid var(--hp-teal);
  outline-offset:4px;
}

@media(max-width:1050px){
  .hp-rebuild-positioning{display:none}
  .hp-rebuild-nav{gap:16px}
  .hp-rebuild-nav>button{font-size:15px}
  .hp-rebuild-pieces{width:58%}
}
@media(max-width:820px){
  .hp-rebuild-header-inner{flex-wrap:wrap;padding:10px 0 14px}
  .hp-rebuild-nav{width:100%;margin:8px 0 0;justify-content:flex-start;flex-wrap:wrap}
  .hp-rebuild-hero{min-height:710px}
  .hp-rebuild-photo{left:34%}
  .hp-rebuild-copy h1{font-size:49px}
  .hp-rebuild-pieces{left:22px;right:22px;width:auto}
}
@media(max-width:560px){
  .hp-rebuild-header-inner,.hp-rebuild-content{width:calc(100% - 36px)}
  .hp-brand-art{width:56px;height:54px}
  .hp-rebuild-logo{width:50px;height:50px}
  .hp-rebuild-wordmark{font-size:25px}
  .hp-rebuild-nav{gap:13px}
  .hp-rebuild-nav>button{font-size:12px}
  .hp-rebuild-search-link{width:34px;height:34px}
  .hp-rebuild-hero{min-height:0;padding-bottom:22px}
  .hp-rebuild-photo{position:relative;inset:auto;width:100%;height:300px;background-position:center 30%}
  .hp-rebuild-wash{display:none}
  .hp-rebuild-content{padding-top:28px;padding-bottom:24px}
  .hp-rebuild-copy h1{font-size:42px}
  .hp-rebuild-copy p{font-size:16px}
  .hp-rebuild-actions{flex-direction:column}
  .hp-rebuild-actions button{width:100%}
  .hp-rebuild-pieces{position:relative;left:auto;right:auto;bottom:auto;width:calc(100% - 36px);margin:-22px auto 0;grid-template-columns:1fr 1fr;gap:7px}
  .hp-rebuild-piece{margin-left:0;height:145px;min-height:145px;padding:34px 10px 20px}
  .hp-rebuild-piece strong{font-size:17px}
  .hp-rebuild-wave{display:none}
}

.hp-piece-path{stroke:#fff;stroke-width:7;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.hp-piece-blue .hp-piece-path{fill:#0D80BD}
.hp-piece-gold .hp-piece-path{fill:#E5A900}
.hp-piece-green .hp-piece-path{fill:#4FA334}
.hp-piece-navy .hp-piece-path{fill:#073A6C}


/* Checkpoint A v3 — desktop uses approved master artwork as the literal visual authority.
   Interactive controls remain live as transparent hit areas over the approved artwork. */
.hp-approved-brand img{
  display:block;
  width:336px;
  max-width:100%;
  height:auto;
}
.hp-approved-brand{flex:0 0 336px}

@media(min-width:821px){
  .hp-rebuild-header-inner{
    width:min(1221px,calc(100% - 30px));
    min-height:100px;
  }
  .hp-rebuild-positioning{
    margin-left:20px;
    padding-left:20px;
  }
  .hp-rebuild-nav{gap:27px}

  .hp-rebuild-hero{
    min-height:510px;
    background:#fff; /* Damaged legacy artwork retired; native hero takes precedence below. */
  }
  .hp-rebuild-photo,
  .hp-rebuild-wash,
  .hp-rebuild-wave{display:none}

  /* The approved artwork already contains the hero typography, CTA art,
     photograph, four jigsaw pieces, and layered wave. Keep the actual
     controls in the DOM as accessible/clickable overlays. */
  .hp-rebuild-content{
    position:absolute;
    inset:0;
    width:100%;
    padding:0;
    margin:0;
    pointer-events:none;
  }
  .hp-rebuild-copy h1,
  .hp-rebuild-copy>p{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }
  .hp-rebuild-actions{
    position:absolute;
    left:3.3%;
    top:76.2%;
    width:40.6%;
    height:10.8%;
    gap:2.4%;
    pointer-events:auto;
  }
  .hp-rebuild-primary,
  .hp-rebuild-secondary{
    opacity:0;
    padding:0;
    border:0;
    border-radius:9px;
    height:100%;
  }
  .hp-rebuild-primary{width:53.2%}
  .hp-rebuild-secondary{width:44.4%}

  .hp-rebuild-pieces{
    left:46.2%;
    right:2.5%;
    bottom:3.6%;
    width:auto;
    height:34.5%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
  }
  .hp-rebuild-piece{
    opacity:0;
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    min-height:0;
    filter:none;
  }
  .hp-rebuild-piece:first-child{margin-left:0}
}
@media(max-width:820px){
  .hp-approved-brand{flex:0 0 auto}
  .hp-approved-brand img{width:280px}
}
@media(max-width:560px){
  .hp-approved-brand img{width:235px}
}


/* Checkpoint B — approved principles + philosophy/search panel */
.hp-checkpoint-b{
  background:#fff;
  padding:0 28px 26px;
}
.hp-principles{
  max-width:1165px;
  margin:0 auto;
  min-height:90px;
  display:grid;
  grid-template-columns:1fr 1px 1fr;
  align-items:center;
  gap:30px;
}
.hp-principle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:#0B2D57;
}
.hp-principle strong{
  font:800 24px/1.15 Merriweather,Georgia,serif;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.hp-principle-icon{display:grid;place-items:center;flex:0 0 auto}
.hp-shield-icon svg{width:50px;height:50px;fill:none;stroke:#419B34;stroke-width:3.3}
.hp-gears-icon svg{width:64px;height:48px;fill:none;stroke-width:5;stroke-linecap:round}
.hp-gears-icon svg g:first-child{stroke:#0D69A3}
.hp-gears-icon svg g:last-child{stroke:#55A637}
.hp-principle-divider{height:50px;background:#234C7D}

.hp-philosophy-search{
  max-width:1165px;
  margin:0 auto;
  min-height:176px;
  border-radius:24px;
  background:linear-gradient(90deg,#D7EEFD 0%,#EAF6FD 46%,#D9EFFB 100%);
  display:grid;
  grid-template-columns:1.05fr 1px .95fr;
  align-items:center;
  gap:34px;
  padding:22px 30px;
}
.hp-philosophy{
  display:flex;
  align-items:center;
  gap:28px;
}
.hp-mini-puzzle{
  position:relative;
  width:108px;
  height:98px;
  flex:0 0 108px;
}
.hp-mini-piece{
  position:absolute;
  width:54px;
  height:54px;
  border:3px solid #fff;
  border-radius:8px;
  box-shadow:0 2px 2px rgb(0 0 0 / 6%);
}
.hp-mini-piece::before{
  content:"";
  position:absolute;
  width:18px;height:18px;
  border-radius:50%;
  background:inherit;
}
.hp-mini-blue{left:18px;top:0;background:#0C69A5;transform:rotate(45deg)}
.hp-mini-blue::before{left:18px;top:-11px}
.hp-mini-gold{left:50px;top:24px;background:#E4A800;transform:rotate(45deg)}
.hp-mini-gold::before{right:-11px;top:18px}
.hp-mini-green{left:0;top:42px;background:#4C9E35;transform:rotate(45deg)}
.hp-mini-green::before{left:18px;bottom:-11px}
.hp-mini-sage{left:32px;top:48px;background:#8FBC8F;transform:rotate(45deg)}
.hp-mini-sage::before{left:-11px;top:18px}

.hp-philosophy-copy h2,
.hp-home-search h2{
  margin:0;
  color:#0B2D57;
  font-family:Merriweather,Georgia,serif;
  letter-spacing:-.025em;
}
.hp-philosophy-copy h2{
  font-size:28px;
  line-height:1.08;
  font-weight:900;
}
.hp-philosophy-copy p{
  margin:10px 0 0;
  font:900 italic 21px/1.2 Merriweather,Georgia,serif;
  color:#0B2D57;
}
.hp-philosophy-copy p span{
  position:relative;
  display:inline-block;
  z-index:0;
  padding:1px 6px 3px;
}
.hp-philosophy-copy p span::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-3px -10px;
  background:#F9D978;
  border-radius:45% 40% 38% 42%/50% 46% 48% 45%;
  transform:rotate(-1deg);
  clip-path:polygon(2% 18%,94% 4%,100% 78%,4% 100%);
}
.hp-philosophy-divider{height:120px;background:#31598A}

.hp-home-search h2{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  line-height:1.1;
  font-weight:900;
  margin-bottom:14px;
}
.hp-pin-icon svg{width:36px;height:36px;fill:#0B2D57;stroke:none}
.hp-pin-icon svg circle{fill:#fff}
.hp-home-search-form{
  display:grid;
  grid-template-columns:1fr 66px;
  height:52px;
}
.hp-home-search-form input{
  min-width:0;
  border:2px solid #6F9CC7;
  border-right:0;
  border-radius:9px 0 0 9px;
  padding:0 14px;
  background:#fff;
  color:#243B55;
  font:500 17px/1 Inter,Arial,sans-serif;
}
.hp-home-search-form button{
  border:0;
  border-radius:0 9px 9px 0;
  background:#0A2E59;
  display:grid;
  place-items:center;
}
.hp-home-search-form button svg{
  width:30px;height:30px;
  fill:none;
  stroke:#fff;
  stroke-width:2.6;
}

@media(max-width:980px){
  .hp-principle strong{font-size:19px;white-space:normal}
  .hp-philosophy-search{grid-template-columns:1fr;gap:22px}
  .hp-philosophy-divider{display:none}
}
@media(max-width:700px){
  .hp-checkpoint-b{padding:8px 18px 22px}
  .hp-principles{grid-template-columns:1fr;gap:14px;padding:16px 0}
  .hp-principle-divider{width:100%;height:1px}
  .hp-principle{justify-content:flex-start}
  .hp-principle strong{font-size:18px}
  .hp-philosophy-search{padding:22px 18px;border-radius:18px}
  .hp-philosophy{align-items:flex-start;gap:16px}
  .hp-mini-puzzle{width:82px;height:78px;flex-basis:82px;transform:scale(.78);transform-origin:top left}
  .hp-philosophy-copy h2{font-size:23px}
  .hp-philosophy-copy p{font-size:18px}
  .hp-home-search h2{font-size:21px}
  .hp-home-search-form{grid-template-columns:1fr 56px}
  .hp-home-search-form input{font-size:15px}
}


/* Checkpoint B v2 — refine to approved full-page master */
@media(min-width:821px){
  .hp-checkpoint-b{
    padding:0 28px 28px;
  }
  .hp-principles{
    max-width:1165px;
    min-height:96px;
    gap:28px;
  }
  .hp-principle{
    gap:14px;
  }
  .hp-principle strong{
    font-size:23px;
    line-height:1.08;
  }
  .hp-principle-divider{
    height:50px;
  }

  .hp-philosophy-search{
    max-width:1165px;
    min-height:176px;
    border-radius:25px;
    grid-template-columns:1.06fr 1px .94fr;
    gap:34px;
    padding:18px 31px 18px 30px;
  }
  .hp-philosophy{
    gap:22px;
  }
  .hp-mini-puzzle{
    width:116px;
    height:112px;
    flex-basis:116px;
  }
  .hp-philosophy-copy h2{
    font-size:29px;
    line-height:1.03;
  }
  .hp-philosophy-copy p{
    margin-top:9px;
    font-size:20px;
    line-height:1.13;
  }
  .hp-philosophy-copy p span{
    padding:2px 7px 4px;
  }
  .hp-philosophy-divider{
    height:122px;
  }
  .hp-home-search{
    align-self:center;
  }
  .hp-home-search h2{
    font-size:24px;
    margin-bottom:13px;
    gap:9px;
  }
  .hp-home-search-form{
    height:54px;
    grid-template-columns:1fr 64px;
  }
  .hp-home-search-form input{
    font-size:17px;
    padding-left:14px;
    border-radius:8px 0 0 8px;
  }
  .hp-home-search-form button{
    border-radius:0 8px 8px 0;
  }
}

/* Approved-master icon replacements. */
.hp-shield-icon{
  width:52px;
  height:54px;
  background:url("data:image/webp;base64,UklGRuoEAABXRUJQVlA4IN4EAAAQGQCdASpBAEQAPjEWiUMiISEUe23EIAMEoA0L6Z+aVWn7hxpEwecLzZzu/xX6D/SA8wH3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CG5d0/w4dx6md84tLOtDdlufwbd4YPrg7WiaCL78jPMfG25D2NfqOi8vimZKYq4lIFMciEjvnEUF9Esy6WAHiP+KODyin1KD31RLDZS2oN2ydLdP6K9PAsYNy6xH+XGuBDsoXH5Ce1utwpYhW7FSCZ8Dv0P4jBMB6qxT682wZQRXRFRVBWDDI0rZov2JwzwkKYL0K/Z8okSYdsEBEPDr9lyILLh1Ujcgt8DBFMbhlBK4fuGbMgDqBwXyltbTdIXYs3IMzIeXsU/OQl+weZaZkFOqba7HP/zNjnZLp6cMgdSi97ul3V8SZrfhqMSrPCpZeTo//4ZG8Jie+JeaFF8j/Sjxfgnz1TwRu1eh7Ig4iO09ztFpRf/jfRzLCP4VWeqAS6gIO7GUn/Zh1PuzCenAWm+UyoBl4Sn91NVaH8ajGmB31WQ8FA1Sl3Oq6WvOPar0MUOEE15QBdhPQUKJ7bi5AJODVq5d3p8N55Ahl/3QLZ4NcE4EaamgAAAAA") center/contain no-repeat;
}
.hp-shield-icon svg{display:none}

.hp-gears-icon{
  width:70px;
  height:52px;
  background:url("data:image/webp;base64,UklGRkgGAABXRUJQVlA4IDwGAAAQHwCdASpaAEMAPjEYiUMiIaEU2420IAMEswBp6tC/K9SI555sdK/rv4G4tMzHYtOA/N/+K9wD9TPNy9QHmA/Zj9o+xF6Bf9D6gf0APLn9kL+0/9+hm83fpr1zyhz3j8pdFR/ZslT+Z/67jZ70H84/2fG7UAP0j/xvS1/2/Kh+af4f/pf4f4BP5Z/Tf+nwOR5RVtYBZj56sFr2mteSFNZY273ls7NPzUbc8skZf0yX0A1Hu6xxKOriHbyI88otThOJCZlCwmKFYupbCaFOYQAPI2Fd2A+1lzeNSlr/x0JtrFV8EQuFSDM91u8sV0XZxTOR4ZrjTIps+722/eZtBjv9oAD+/tkZtLhs+ddvKHrHgCD0oiQDNFTFUpLJ/NH3lyUrwwAIqhPZUr/ZKE/O1AufxO9YfydgVKIf2HooLT0rt0wFw/rCQZZ6WUvwjAf5p10MFvAEg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1wKb78AHhHtzoa8wvO8UD7qhrKrGBN8XYPP2O69lywkNlni1Nrm//ZjiPMWUOQsNoEsanYdGETi/oVB0J7hlgAe9G3Ch1gf3o5z1WQ1K0MIRnxmEvgMz73bVvVuT28gTZuTh4nusHeT1tCFbZTiL1pcSgwO09zqcZ8JxtNDB8E40FWZfsCUAaH9pY9u1kX9Cj7nOyh3uLsoTBfei3qRv6g9huEfLFt3BdpzOuNTGVTDQM/cy6oDkAGgRqC1mxzm+Fmx8vq3/FdqqDXWnvHO1zAvgMP2xIe4UhOxLDfbAiepf+DLVnNnW2jgO0YO09pn/9R2pS6lmnkCrfhRBJ1iae7YgkZcqVHAe7aGksZAf4JtOM5fbU/z76bt49/iWDSp8aO9IuqAffLUkJdgUp36SGiZydlW+ir/xOj+FtQTpnLmeoyH1YSid2kWhaueljrzYYusRB8PNXNZC3tzPIrvTBRzw26fPHd5KJqvJzzM5tgpxvzBcwSaSban7a5KXRtUe5CnayqQ6bCUQsBojIJTgFBBVN8ayGguGwBu9bSXm+efAR2BGD0cSsPg5sgDZ7OdIyLAAAAA=") center/contain no-repeat;
}
.hp-gears-icon svg{display:none}

.hp-mini-puzzle{
  background:url("data:image/webp;base64,UklGRiwQAABXRUJQVlA4ICAQAABQPgCdASpzAIIAPjEWiUMiISEU60U0IAMEtABlHIq9Wx77uP2ge7bXX6v94/yn+Gfk70B5wHK/+q/r35O/Az9ZvcL+g/9H7gH6Tf63+5da/zAfs9+1Xu6f631Nf4r1AP6h/s+sS9AD9s/TS/b74KP7V/s/24+A79ev/L7AHoAZgDxF/Ffqf8V+T+gT/Jvud+M/Mr+y8zPxD/sfUC/GP5F/dvy3/Mb58wAPxv+bf6n+5fkr6SOqt1Re4B/L/6L/sPzV5q6gB/Nv7H/0f717p/8d/4/855zfyz+0/9D/N/AF/I/59/q/7z/lf/T/iP//9ZnsS/cz2gP2vZqYFATzmUkxAUB5DhZwL8TC80xkWr9o01i2Jquhe7Q2KRajvEw5/UiXd3h+mQRBZJ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fFMXEHhrz9DkDfxnmblYLEcwYl+hblxVPz/s1qBJFwzihoRZw0SFJhXC40ITwHzD4a09jsNabPsMWiWsy8Q9Q4Gi8DxZNj0wDcEQ5lqiwf6/r/e7m87iXpnSdQglcQnv8XaYPWSCSO9dFf0U1DGRBdmnrDWkSDISNZlNwL71FoCWrZycrawLy5N5r6bqW+uxGWmS/m0jGDgfRzJf9d9Mp68K4iOInxUxT14r628MsN+zDghGLPv/LjapmLCYQy7j2bXjCunt55+UHVwM+OZ44SSE1ELrII6bS7Ikriw4hCNeVbi/pEycUJMBpGAt50szdownbSBkVHr/etXU0UnFBMeK2Yc3PWYbwfIEOpbBhVpw2ryRjx/cahAHgvY/cyaS+LY+owORvNZgQHJ9YrJUxOuMtz5wrhy6b6udh2HNGOrFYyYp32SAGntJMUGHJhIVxRRnGbyjoGvWjpb6CPJnx1PMIDCWHCBZZJB/HNAfpNm0+PK6VsuUZRaAD3yNb+/u5GvYnO4p5DjbmG3alcld9+liya8/YHuwcSD8uTCSf7fs3tHbKjvuSL0B7PRWjdyMBn/mAHDogZ0wtzNlOPQIX0OvpzIbjkSpm8zfbQ8wo+gQ+ajiTLkLLioAEIjSM6jAAW4z4IVqililM6GjeQFPTlvy5VgEVfJAwILv2vUcf+izdvsgz9tshn04OzEbClmp6l5n38lyabL7YUkn7QMK37oB9I0oWKj/OHCw3v4Z2JUGTYxEgvfvIpw9EAWLFliyXsvOk0ikEAAA=") center/contain no-repeat;
}
.hp-mini-puzzle .hp-mini-piece{display:none}


/* Checkpoint B v3 — desktop visual is the approved master artwork.
   The live search control overlays the artwork at the exact approved location. */
@media(min-width:821px){
  .hp-checkpoint-b{
    position:relative;
    width:100%;
    aspect-ratio:1221 / 296;
    min-height:0;
    padding:0;
    margin:0;
    background:#fff; /* Damaged legacy artwork retired; native layout takes precedence below. */
    overflow:hidden;
  }
  .hp-checkpoint-b .hp-principles,
  .hp-checkpoint-b .hp-philosophy,
  .hp-checkpoint-b .hp-philosophy-divider,
  .hp-checkpoint-b .hp-home-search h2{
    visibility:hidden;
  }
  .hp-checkpoint-b .hp-philosophy-search{
    position:absolute;
    inset:0;
    max-width:none;
    min-height:0;
    padding:0;
    margin:0;
    display:block;
    background:transparent;
    border-radius:0;
  }
  .hp-checkpoint-b .hp-home-search{
    position:absolute;
    inset:0;
    visibility:hidden;
  }
  .hp-checkpoint-b .hp-home-search-form{
    visibility:visible;
    position:absolute;
    left:55.45%;
    top:61.5%;
    width:39.65%;
    height:17.9%;
    display:grid;
    grid-template-columns:1fr 13.3%;
    margin:0;
  }
  .hp-checkpoint-b .hp-home-search-form input{
    height:100%;
    border:2px solid #6F9CC7;
    border-right:0;
    border-radius:8px 0 0 8px;
    background:#fff;
    padding:0 14px;
    color:#243B55;
    font:500 17px/1 Inter,Arial,sans-serif;
    box-sizing:border-box;
  }
  .hp-checkpoint-b .hp-home-search-form button{
    height:100%;
    border-radius:0 8px 8px 0;
    background:#0A2E59;
  }
  .hp-checkpoint-b .hp-home-search-form button svg{
    width:30px;
    height:30px;
  }
}


/* Checkpoint C — approved four cards + scenic ending */
.hp-checkpoint-c{position:relative}
@media(min-width:821px){
  .hp-checkpoint-c{
    width:100%;
    aspect-ratio:1221 / 404;
    background:#fff; /* Phase 5 — broken legacy scenic data-image removed; native checkpoint cards below remain active. */
    overflow:hidden;
  }
  .hp-checkpoint-c-hitareas{
    position:absolute;
    inset:0;
  }
  .hp-c-card{
    position:absolute;
    top:6.2%;
    height:50.8%;
    opacity:0;
    border:0;
    padding:0;
    background:transparent;
    cursor:pointer;
  }
  .hp-c-results{left:2.25%;width:22.9%}
  .hp-c-compare{left:26.45%;width:22.8%}
  .hp-c-learn{left:50.55%;width:22.8%}
  .hp-c-questions{left:74.75%;width:22.8%}
}
@media(max-width:820px){
  .hp-checkpoint-c{
    padding:18px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    background:#fff;
  }
  .hp-checkpoint-c-hitareas{display:contents}
  .hp-c-card{
    min-height:140px;
    border:1px solid #cfd9e5;
    border-radius:18px;
    background:#fff;
  }
  .hp-c-results::after{content:"Results"}
  .hp-c-compare::after{content:"Compare"}
  .hp-c-learn::after{content:"Learn"}
  .hp-c-questions::after{content:"Questions to Ask"}
  .hp-c-card::after{
    color:#0B2D57;
    font:800 22px/1.2 Merriweather,Georgia,serif;
  }
}
@media(max-width:520px){
  .hp-checkpoint-c{grid-template-columns:1fr}
}


/* Phase 5 stability reset — remove dependency on corrupted approved WebP slices.
   Re-enable the native responsive homepage while preserving all live controls. */
@media(min-width:821px){
  .hp-rebuild-hero{
    min-height:516px;
    background:
      radial-gradient(circle at 23% 20%, rgba(191,223,248,.78) 0 8%, transparent 31%),
      linear-gradient(90deg,#F8F3E8 0%,#F9F6ED 34%,#F2F6F4 48%,#F9F6ED 65%);
  }
  .hp-rebuild-photo{
    display:block;
    position:absolute;
    inset:0 0 0 42%;
    background:url("../assets/healthpiece_hero_mother_daughter.png") 54% 35%/cover no-repeat;
  }
  .hp-rebuild-wash{
    display:block;
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 21% 27%, rgba(205,233,249,.72) 0 10%, transparent 34%),
      linear-gradient(90deg,#fbf7ee 0%,#fbf7eefc 27%,#fbf7eef4 35%,#fbf7eeb8 43%,#fbf7ee4f 52%,transparent 65%);
  }
  .hp-rebuild-wave{display:block}

  .hp-rebuild-content{
    position:relative;
    inset:auto;
    z-index:2;
    width:min(1212px,calc(100% - 44px));
    margin:0 auto;
    padding-top:58px;
    padding-bottom:170px;
    pointer-events:auto;
  }
  .hp-rebuild-copy h1,
  .hp-rebuild-copy>p{
    position:static!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    clip-path:none!important;
    white-space:normal!important;
  }
  .hp-rebuild-copy h1{
    margin:0 0 19px;
    max-width:560px;
    color:var(--hp-navy);
    font:900 54px/1.02 Merriweather,Georgia,serif;
    letter-spacing:-.045em;
  }
  .hp-rebuild-copy>p{
    max-width:515px;
    margin:0 0 22px;
    color:#15395E;
    font:600 20px/1.45 Inter,Arial,sans-serif;
  }
  .hp-rebuild-actions{
    position:static;
    width:auto;
    height:auto;
    display:flex;
    gap:14px;
    pointer-events:auto;
  }
  .hp-rebuild-primary,
  .hp-rebuild-secondary{
    opacity:1;
    height:auto;
    padding:14px 20px;
    border-radius:9px;
  }
  .hp-rebuild-primary{width:auto;border:2px solid #073B70;background:#073B70;color:#fff}
  .hp-rebuild-secondary{width:auto;border:2px solid #073B70;background:#fff;color:#073B70}

  .hp-rebuild-pieces{
    position:absolute;
    z-index:7;
    left:auto;
    right:max(6px,calc((100vw - 1212px)/2 - 2px));
    bottom:15px;
    width:690px;
    height:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:end;
    gap:0;
  }
  .hp-rebuild-piece{
    opacity:1;
    position:relative;
    width:auto;
    height:190px;
    min-height:190px;
    margin-left:-24px;
    padding:40px 12px 21px;
    filter:drop-shadow(0 6px 6px rgb(10 55 105 / 26%));
  }
  .hp-rebuild-piece:first-child{margin-left:0}

  .hp-checkpoint-b{
    position:relative;
    width:auto;
    aspect-ratio:auto;
    min-height:0;
    padding:0 28px 26px;
    margin:0;
    background:#fff;
    overflow:visible;
  }
  .hp-checkpoint-b .hp-principles,
  .hp-checkpoint-b .hp-philosophy,
  .hp-checkpoint-b .hp-philosophy-divider,
  .hp-checkpoint-b .hp-home-search h2{
    visibility:visible;
  }
  .hp-checkpoint-b .hp-philosophy-search{
    position:relative;
    inset:auto;
    max-width:1165px;
    min-height:176px;
    margin:0 auto;
    padding:22px 30px;
    display:grid;
    grid-template-columns:1.05fr 1px .95fr;
    align-items:center;
    gap:34px;
    background:linear-gradient(90deg,#D7EEFD 0%,#EAF6FD 46%,#D9EFFB 100%);
    border-radius:24px;
  }
  .hp-checkpoint-b .hp-home-search{
    position:static;
    inset:auto;
    visibility:visible;
  }
  .hp-checkpoint-b .hp-home-search-form{
    visibility:visible;
    position:static;
    width:auto;
    height:52px;
    display:grid;
    grid-template-columns:1fr 66px;
    margin:0;
  }

  .hp-checkpoint-c{
    width:auto;
    aspect-ratio:auto;
    padding:28px max(28px,calc((100vw - 1165px)/2));
    background:
      linear-gradient(180deg,#fff 0%,#fff 72%,#F9F1DF 100%);
    overflow:visible;
  }
  .hp-checkpoint-c-hitareas{
    position:static;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
  }
  .hp-c-card{
    position:relative;
    inset:auto;
    width:auto;
    height:auto;
    min-height:210px;
    opacity:1;
    border:1px solid #cfd9e5;
    border-radius:20px;
    padding:24px 18px;
    background:#fff;
    color:#0B2D57;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:9px;
  }
  .hp-c-results{border-color:#8fc7eb;background:linear-gradient(180deg,#eef8ff,#fff)}
  .hp-c-compare{border-color:#e8c871;background:linear-gradient(180deg,#fff8e7,#fff)}
  .hp-c-learn{border-color:#a9caa7;background:linear-gradient(180deg,#eff8ef,#fff)}
  .hp-c-questions{border-color:#c8b7dc;background:linear-gradient(180deg,#f7f1fc,#fff)}
}

.hp-c-card::after{content:none!important}
.hp-c-card .hp-c-icon{
  display:block;
  font:700 34px/1 Inter,Arial,sans-serif;
  color:#0B2D57;
}
.hp-c-card strong{
  display:block;
  font:900 29px/1.1 Merriweather,Georgia,serif;
  color:#0B2D57;
}
.hp-c-card>span:last-child{
  display:block;
  font:500 16px/1.35 Inter,Arial,sans-serif;
  color:#243B55;
  max-width:240px;
}

@media(max-width:820px){
  .hp-checkpoint-c{
    padding:18px;
    background:#fff;
  }
  .hp-checkpoint-c-hitareas{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
  }
  .hp-c-card{
    min-height:175px;
    padding:20px 16px;
    border:1px solid #cfd9e5;
    border-radius:18px;
    background:#fff;
    color:#0B2D57;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:8px;
  }
  .hp-c-card strong{font-size:24px}
  .hp-c-card>span:last-child{font-size:14px}
  .hp-c-results{border-color:#8fc7eb;background:linear-gradient(180deg,#eef8ff,#fff)}
  .hp-c-compare{border-color:#e8c871;background:linear-gradient(180deg,#fff8e7,#fff)}
  .hp-c-learn{border-color:#a9caa7;background:linear-gradient(180deg,#eff8ef,#fff)}
  .hp-c-questions{border-color:#c8b7dc;background:linear-gradient(180deg,#f7f1fc,#fff)}
}
@media(max-width:520px){
  .hp-checkpoint-c-hitareas{grid-template-columns:1fr}
}


/* Approved-master puzzle strip refinement */
.hp-rebuild-piece .hp-piece-shape{z-index:0}
.hp-rebuild-piece .hp-piece-icon,
.hp-rebuild-piece strong{
  position:relative;
  z-index:2;
}
.hp-piece-path{
  stroke-width:4.5;
}
.hp-rebuild-piece{
  filter:drop-shadow(0 4px 4px rgb(10 55 105 / 18%));
}
.hp-rebuild-piece strong{
  font-size:18px;
  line-height:1.02;
  margin-top:1px;
}
.hp-piece-icon{
  width:42px;
  height:42px;
  margin-bottom:4px;
}
.hp-icon-balance{font-size:35px;line-height:40px}
.hp-icon-search::before{
  width:19px;height:19px;border-width:3px;left:5px;top:3px;
}
.hp-icon-search::after{
  width:16px;height:3px;left:21px;top:25px;
}
.hp-icon-book::before{
  inset:6px 4px 5px;
  border-width:3px;
}
.hp-icon-book::after{
  width:3px;left:19px;
}
.hp-icon-chat::before,.hp-icon-chat::after{
  border-width:2.5px;
}

@media(min-width:821px){
  .hp-rebuild-pieces{
    width:650px;
    bottom:18px;
    right:max(12px,calc((100vw - 1212px)/2 + 2px));
  }
  .hp-rebuild-piece{
    height:170px;
    min-height:170px;
    margin-left:-18px;
    padding:34px 10px 16px;
  }
}

@media(max-width:820px){
  .hp-rebuild-pieces{
    width:calc(100% - 28px);
    left:14px;
    right:14px;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
  }
  .hp-rebuild-piece{
    margin-left:-8px;
    height:132px;
    min-height:132px;
    padding:27px 4px 13px;
  }
  .hp-rebuild-piece:first-child{margin-left:0}
  .hp-rebuild-piece strong{
    font-size:13px;
    line-height:1.02;
  }
  .hp-piece-icon{
    width:34px;
    height:34px;
    margin-bottom:3px;
  }
  .hp-icon-balance{font-size:27px;line-height:32px}
}

@media(max-width:560px){
  .hp-rebuild-pieces{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    width:calc(100% - 18px);
    margin:-18px auto 0;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    align-items:end;
  }
  .hp-rebuild-piece{
    margin-left:-6px;
    height:112px;
    min-height:112px;
    padding:22px 2px 10px;
  }
  .hp-rebuild-piece:first-child{margin-left:0}
  .hp-rebuild-piece strong{
    font-size:10px;
    line-height:1.0;
    letter-spacing:-.01em;
  }
  .hp-piece-icon{
    width:28px;
    height:28px;
    margin-bottom:2px;
  }
  .hp-icon-balance{font-size:22px;line-height:26px}
  .hp-icon-search::before{
    width:13px;height:13px;border-width:2px;left:4px;top:3px;
  }
  .hp-icon-search::after{
    width:11px;height:2px;left:15px;top:18px;
  }
  .hp-icon-book::before{
    inset:5px 3px 4px;
    border-width:2px;
  }
  .hp-icon-book::after{
    width:2px;left:13px;top:4px;bottom:4px;
  }
  .hp-icon-chat::before,.hp-icon-chat::after{
    width:16px;height:11px;border-width:2px;
  }
  .hp-icon-chat::before{left:1px;top:4px}
  .hp-icon-chat::after{left:10px;top:10px}
}


/* Puzzle strip fine alignment — closer to approved master */
.hp-piece-path{
  stroke-width:3.2;
}
@media(min-width:821px){
  .hp-rebuild-pieces{
    width:625px;
    bottom:28px;
    right:max(18px,calc((100vw - 1212px)/2 + 10px));
  }
  .hp-rebuild-piece{
    height:158px;
    min-height:158px;
    margin-left:-15px;
    padding:31px 8px 14px;
  }
  .hp-rebuild-piece strong{
    font-size:17px;
  }
}
@media(max-width:820px){
  .hp-rebuild-pieces{
    width:68%;
    max-width:470px;
    left:auto;
    right:10px;
    margin:-18px 0 0 auto;
  }
  .hp-rebuild-piece{
    height:118px;
    min-height:118px;
    margin-left:-6px;
    padding:23px 3px 10px;
  }
  .hp-rebuild-piece strong{
    font-size:11px;
  }
}
@media(max-width:560px){
  .hp-rebuild-pieces{
    width:70%;
    max-width:none;
    margin:-16px 8px 0 auto;
  }
  .hp-rebuild-piece{
    height:104px;
    min-height:104px;
    margin-left:-5px;
    padding:20px 2px 9px;
  }
  .hp-rebuild-piece strong{
    font-size:9.5px;
  }
}

/* Phase 5 tablet header containment.
   Homepage-only presentation correction; does not affect application behavior. */
@media (min-width:821px) and (max-width:1050px){
  #home .hp-rebuild-header-inner{width:calc(100% - 28px)}
  #home .hp-approved-brand{flex:0 0 250px}
  #home .hp-approved-brand img{width:250px}
  #home .hp-rebuild-nav{gap:14px;min-width:0}
  #home .hp-rebuild-nav>button{font-size:clamp(12px,1.35vw,15px)}
  #home .hp-rebuild-search-link{width:34px;flex:0 0 34px}
}
/* Keep the decorative divider hidden once the philosophy/search panel stacks. */
@media (min-width:821px) and (max-width:980px){
  #home .hp-philosophy-divider{display:none}
}

/* Phase 5 small-phone puzzle readability guard.
   Avoid four tiny, unreadable puzzle buttons on narrow phones.
   Scope to homepage presentation only; keep existing click handlers intact. */
@media (max-width:560px){
  #home .hp-rebuild-pieces{
    width:calc(100% - 32px);
    max-width:480px;
    left:auto;
    right:auto;
    margin:-14px auto 14px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  #home .hp-rebuild-piece,
  #home .hp-rebuild-piece:first-child{
    margin-left:0;
    height:138px;
    min-height:138px;
    padding:24px 10px 14px;
  }
  #home .hp-rebuild-piece strong{
    font-size:15px;
    line-height:1.12;
  }
  #home .hp-piece-icon{
    width:34px;
    height:34px;
    margin-bottom:5px;
  }
}

/* Phase 5 intermediate-screen hero clearance
   Prevent text/buttons and puzzle controls from colliding between phone and full desktop.
   Native homepage only; no application logic or CMS styles are changed. */
@media (min-width:821px) and (max-width:1100px){
  #home .hp-rebuild-content{
    padding-bottom:230px;
  }
  #home .hp-rebuild-copy h1{
    font-size:clamp(40px,4.4vw,49px);
    max-width:min(560px,62vw);
  }
  #home .hp-rebuild-copy>p{
    font-size:clamp(16px,1.75vw,18px);
    max-width:min(515px,60vw);
  }
  #home .hp-rebuild-pieces{
    width:min(625px,calc(100% - 48px));
    bottom:32px;
  }
}

/* Phase 5 screenshot-reviewed responsive correction (Nov 6).
   Reflow our native interactive homepage before narrow-screen desktop scaling.
   The >=1101px approved desktop composition remains unchanged. */
#home .hp-rebuild-shell{min-height:0}
#home .hp-checkpoint-c::after{
  content:"";
  display:block;
  width:100vw;
  max-width:none;
  height:clamp(105px,13.2vw,190px);
  margin:24px 0 -28px calc(50% - 50vw);
  background:#f7f1e6 url("../assets/healthpiece-approved-landscape.avif") center center/cover no-repeat;
  pointer-events:none;
}
@media(max-width:1100px){
  #home .hp-rebuild-header-inner{
    width:calc(100% - 32px);
    min-height:0;
    padding:12px 0;
    flex-wrap:wrap;
    gap:12px;
  }
  #home .hp-approved-brand{flex:0 1 280px;min-width:0}
  #home .hp-approved-brand img{width:min(260px,100%)}
  #home .hp-rebuild-nav{
    width:100%;min-width:0;margin-left:0;
    display:flex;justify-content:space-between;
    gap:8px 14px;flex-wrap:wrap;
  }
  #home .hp-rebuild-nav>button{font-size:clamp(12px,1.6vw,15px)}
  #home .hp-rebuild-hero{min-height:0;padding:0 0 22px}
  #home .hp-rebuild-photo{
    display:block;position:relative;inset:auto;
    width:100%;height:clamp(230px,38vw,370px);
    background-position:center 30%;
  }
  #home .hp-rebuild-wash,#home .hp-rebuild-wave{display:none}
  #home .hp-rebuild-content{
    position:relative;inset:auto;
    width:calc(100% - 36px);margin:0 auto;
    padding:24px 0 12px;pointer-events:auto;
  }
  #home .hp-rebuild-copy{max-width:760px}
  #home .hp-rebuild-copy h1{
    position:static!important;clip-path:none!important;
    overflow:visible!important;width:auto!important;height:auto!important;
    max-width:none;font-size:clamp(32px,4.5vw,48px);
    line-height:1.1;white-space:normal!important;
  }
  #home .hp-rebuild-copy>p{
    position:static!important;clip-path:none!important;
    overflow:visible!important;width:auto!important;height:auto!important;
    max-width:650px;font-size:clamp(15px,2vw,18px);
    white-space:normal!important;
  }
  #home .hp-rebuild-actions{
    position:static;width:auto;height:auto;opacity:1;
    display:flex;flex-wrap:wrap;gap:10px;pointer-events:auto;
  }
  #home .hp-rebuild-actions button{
    opacity:1;flex:1 1 220px;width:auto;height:auto;
    min-height:44px;padding:12px 15px;
    display:inline-flex;justify-content:center;
  }
  #home .hp-rebuild-pieces{
    position:relative;inset:auto;
    width:calc(100% - 36px);max-width:650px;height:auto;
    margin:10px auto 0;display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;align-items:stretch;
  }
  #home .hp-rebuild-piece,#home .hp-rebuild-piece:first-child{
    position:relative;opacity:1;width:auto;
    height:144px;min-height:144px;margin-left:0;
    padding:28px 10px 16px;filter:drop-shadow(0 4px 3px #143f6130);
  }
  #home .hp-rebuild-piece strong{font-size:clamp(15px,2vw,19px)}
  #home .hp-checkpoint-b{
    position:relative;width:100%;aspect-ratio:auto;
    min-height:0;padding:12px 18px 24px;
    background:#fff;overflow:visible;
  }
  #home .hp-principles{
    display:grid;grid-template-columns:minmax(0,1fr);
    gap:12px;min-height:0;padding:8px 0 20px;
  }
  #home .hp-principle{justify-content:flex-start;min-width:0}
  #home .hp-principle strong{
    font-size:clamp(16px,2.2vw,21px);white-space:normal;
  }
  #home .hp-principle-divider{height:1px;width:100%}
  #home .hp-checkpoint-b .hp-principles,
  #home .hp-checkpoint-b .hp-philosophy,
  #home .hp-checkpoint-b .hp-home-search h2{visibility:visible}
  #home .hp-checkpoint-b .hp-philosophy-search{
    position:relative;inset:auto;display:grid;
    grid-template-columns:minmax(0,1fr);
    width:100%;max-width:1165px;min-height:0;
    margin:0 auto;padding:22px 18px;gap:20px;
    background:linear-gradient(90deg,#D7EEFD,#EAF6FD 47%,#D9EFFB);
    border-radius:20px;
  }
  #home .hp-philosophy-divider{display:none}
  #home .hp-philosophy{min-width:0;gap:14px}
  #home .hp-philosophy-copy{min-width:0}
  #home .hp-philosophy-copy h2{font-size:clamp(21px,2.8vw,28px)}
  #home .hp-philosophy-copy p{font-size:clamp(16px,2.1vw,20px)}
  #home .hp-checkpoint-b .hp-home-search{
    position:static;visibility:visible;min-width:0;
  }
  #home .hp-checkpoint-b .hp-home-search h2{
    font-size:clamp(20px,2.5vw,25px);
  }
  #home .hp-checkpoint-b .hp-home-search-form{
    position:static;visibility:visible;
    display:grid;grid-template-columns:minmax(0,1fr) 56px;
    width:100%;height:52px;margin:0;min-width:0;
  }
  #home .hp-checkpoint-b .hp-home-search-form input{
    min-width:0;width:100%;height:100%;
    padding:0 12px;font-size:16px;
    border:2px solid #6F9CC7;border-right:0;
    border-radius:8px 0 0 8px;
  }
  #home .hp-checkpoint-b .hp-home-search-form button{
    min-width:0;height:100%;border-radius:0 8px 8px 0;
  }
  #home .hp-checkpoint-c{
    position:relative;display:block;width:100%;aspect-ratio:auto;
    padding:18px;overflow:visible;
    background:linear-gradient(180deg,#fff 0%,#fff 76%,#F9F1DF 100%);
  }
  #home .hp-checkpoint-c-hitareas{
    position:static;display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  }
  #home .hp-c-card{
    position:relative;inset:auto;display:flex;
    width:auto;height:auto;min-height:195px;opacity:1;
    border:1px solid #cfd9e5;border-radius:18px;
    background:#fff;padding:20px 14px;
    flex-direction:column;align-items:center;justify-content:center;
    text-align:center;gap:8px;
  }
  #home .hp-c-card strong{font-size:clamp(21px,2.6vw,26px)}
  #home .hp-c-card>span:last-child{font-size:clamp(13px,1.6vw,15px)}
  #home .hp-checkpoint-c::after{margin:22px -18px -18px;height:clamp(105px,18vw,170px)}
}
@media(max-width:600px){
  #home .hp-rebuild-nav{justify-content:flex-start;gap:10px 16px}
  #home .hp-rebuild-nav>button{font-size:12px}
  #home .hp-rebuild-photo{height:250px}
  #home .hp-rebuild-copy h1{font-size:clamp(30px,8vw,40px)}
  #home .hp-rebuild-actions button{flex-basis:100%}
  #home .hp-rebuild-pieces{gap:9px}
  #home .hp-rebuild-piece,#home .hp-rebuild-piece:first-child{height:136px;min-height:136px}
  #home .hp-rebuild-piece strong{font-size:15px}
  #home .hp-checkpoint-c-hitareas{grid-template-columns:minmax(0,1fr)}
  #home .hp-c-card{min-height:150px}
  #home .hp-philosophy{gap:12px;align-items:flex-start}
  #home .hp-mini-puzzle{flex:0 0 72px;transform:scale(.7);transform-origin:top left}
}

/* Phase 5 desktop jigsaw edge alignment.
   First three pieces have outward right-hand tabs; the following left-hand
   notches now receive those tabs. Butt-align the grid tracks (old negative
   margins shifted the mating edges) and layer prior tabs above the notches.
   Leave compact two-column phone pathways untouched for readability. */
@media (min-width:1101px){
  #home .hp-rebuild-pieces{
    grid-template-columns:repeat(4,minmax(0,1fr));
    column-gap:0;
  }
  #home .hp-rebuild-piece,
  #home .hp-rebuild-piece:first-child{
    margin-left:0;
    width:100%;
    min-width:0;
  }
  #home .hp-piece-blue{z-index:4}
  #home .hp-piece-gold{z-index:3}
  #home .hp-piece-green{z-index:2}
  #home .hp-piece-navy{z-index:1}
}

/* Live puzzle-label contrast, including desktop after the stability reset.
   Keep artwork, shapes, sizing and actions intact; all labels exceed 4.5:1. */
#home .hp-piece-blue .hp-piece-path{fill:#0B75AE}
#home .hp-piece-gold strong,
#home .hp-piece-green strong{color:#0B2438}

/* Phase 5 interior-page brand foundation.
   Match the approved HealthPiece lockup without changing the shared
   navigation markup, click handlers, other page content, or CMS assets. */
body:has(#home.hidden) > header{
  background:#fff;
  border-bottom:1px solid #dce9ee;
  box-shadow:0 2px 12px rgb(15 59 110 / 4%);
}
body:has(#home.hidden) > header .head{
  min-height:88px;
  height:auto;
  padding-top:7px;
  padding-bottom:7px;
  align-items:center;
  gap:16px 24px;
}
body:has(#home.hidden) > header .brand{
  display:block;
  position:relative;
  flex:0 0 306px;
  width:306px;
  height:74px;
  margin:0;
  background:transparent url("../assets/healthpiece-approved-brand-lockup.jpg") left center/contain no-repeat;
}
body:has(#home.hidden) > header .brand > svg,
body:has(#home.hidden) > header .brand > span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}
body:has(#home.hidden) > header .nav{
  margin-left:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px 24px;
}
body:has(#home.hidden) > header .nav button{
  color:#0F3B6E;
  font:700 13px/1.35 Inter,Arial,sans-serif;
}
body:has(#home.hidden) > header .nav button:hover{
  color:#216f6e;
}
@media(max-width:900px){
  body:has(#home.hidden) > header .head{
    gap:8px 16px;
  }
  body:has(#home.hidden) > header .brand{
    flex:0 0 260px;
    width:260px;
    height:66px;
  }
}
@media(max-width:560px){
  body:has(#home.hidden) > header .head{
    padding:10px 0;
    gap:10px;
  }
  body:has(#home.hidden) > header .brand{
    flex:0 1 232px;
    width:min(232px,100%);
    height:61px;
  }
  body:has(#home.hidden) > header .nav{
    margin:0;
    width:100%;
    justify-content:flex-start;
    gap:7px 17px;
  }
  body:has(#home.hidden) > header .nav button{
    font-size:12px;
    padding:7px 0;
  }
}

/* Phase 5 Results visual alignment.
   Preserve live search, filters, cards, ratings, labels, and campus order. */
#results{
  background:#f7fafc;
}
#results .results-head{
  position:relative;
  padding:35px 0 32px;
  background:linear-gradient(108deg,#F9F6ED 0%,#F8F7F0 55%,#edf7fc 100%);
  border-bottom:1px solid #d8e8ed;
}
#results .results-head::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,#2D9C9A 0 25%,#8FBC8F 25% 50%,#E2A800 50% 75%,#0F3B6E 75%);
}
#results .results-head h1{
  color:#0F3B6E;
  font-weight:900;
  line-height:1.22;
  letter-spacing:-.025em;
  margin-bottom:13px;
}
#results .results-head p{
  color:#31506e;
  max-width:850px;
}
#results .results-refinement{
  min-width:0;
  padding:18px 20px;
  border:1px solid #d3e5ec;
  border-left:4px solid #2D9C9A;
  border-radius:15px;
  background:linear-gradient(110deg,#f1f9fd 0%,#fff 100%);
}
#results .results-search label{
  color:#0F3B6E;
  font-weight:700;
}
#results .results-search-controls input{
  min-height:46px;
  border-color:#b9d4e3;
  background:#fff;
}
#results .results-search-controls .primary{
  min-height:46px;
  padding:11px 20px;
}
#results .results-list{
  min-width:0;
}
#results .results-list > p:first-child{
  color:#0F3B6E;
  font-weight:600;
}
#results .results-list > .facility{
  border-color:#d6e6ed;
  border-top:3px solid #BFDFF8;
  border-radius:18px;
  box-shadow:0 7px 22px rgb(15 59 110 / 5%);
}
#results .facility .rating{
  background:#f0f7fc;
  border-color:#d9e9f3;
}
#results .cms-care-label{
  background:#eaf4fb;
  border-left:3px solid #2D9C9A;
  border-radius:6px;
}
#results .campus-result{
  border-color:#d6e6ed;
  box-shadow:0 7px 22px rgb(15 59 110 / 5%);
}
#results aside .card{
  border-color:#d2e3e9;
  background:linear-gradient(170deg,#fff,#f7fbfd);
  border-top:3px solid #8FBC8F;
  border-radius:17px;
}
#results aside h3{
  color:#0F3B6E;
  font-weight:900;
}
#results .primary:focus-visible,
#results .secondary:focus-visible,
#results .results-search-controls input:focus-visible,
#results aside select:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:3px;
}
@media(max-width:900px){
  #results .results-head{padding:27px 0 25px}
  #results .results-refinement{padding:16px 18px}
}
@media(max-width:560px){
  #results .results-head h1{font-size:clamp(24px,7vw,31px)}
  #results .results-refinement{padding:14px}
  #results .results-search-controls{gap:9px}
  #results .results-search-controls input{min-width:0;flex:1 1 190px}
  #results .results-search-controls .primary{flex:0 0 auto}
}

/* The Compare selection is retained, but its fixed action bar does not cover
   educational and explanatory pages. It remains available in Results,
   Profiles, and Compare, including the one-facility guidance. */
body:has(#care:not(.hidden)) #compareBar,
body:has(#about:not(.hidden)) #compareBar{
  display:none!important;
}

/* Phase 5 Facility Profile visual alignment.
   Presentation only: CMS and Missouri profile content, data, and actions
   remain owned by the existing application. Match the approved interior
   header and Results palette without changing their shared behavior. */
#profile .profile-hero{
  position:relative;
  background:linear-gradient(108deg,#F9F6ED 0%,#F8F7F0 55%,#EDF7FC 100%);
  border-bottom:1px solid #d8e8ed;
  padding:35px 0 33px;
}
#profile .profile-hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#2D9C9A 0 25%,#8FBC8F 25% 50%,#E2A800 50% 75%,#0F3B6E 75%);
}
#profile .profile-hero h1{
  color:#0F3B6E;
  font-weight:900;
  letter-spacing:-.025em;
  line-height:1.22;
}
#profile .cms-source-meta{
  background:#fff;
  border-color:#d2e4eb;
  border-left:3px solid #8FBC8F;
}
#profile .tabs{
  border-bottom-color:#d5e7ed;
  box-shadow:0 3px 12px rgb(15 59 110 / 4%);
  z-index:12;
}
#profile .tabs button{
  min-height:44px;
  white-space:nowrap;
}
#profile .tabs button:focus-visible,
#profile .textbtn:focus-visible,
#profile .secondary:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:2px;
}
#profile .profile-grid .section h2{
  letter-spacing:-.018em;
}
#profile .rbox{
  box-shadow:0 3px 10px rgb(15 59 110 / 4%);
}
#profile #p-staff table,
#profile #p-quality table{
  box-shadow:0 6px 18px rgb(15 59 110 / 4%);
}
#profile #p-inspect .card,
#profile #p-quality .card,
#profile #p-owner .card{
  border-top:3px solid #BFDFF8;
}
#profile #p-q .card{
  border-top:3px solid #8FBC8F;
}
#profile aside .card:first-child{
  border-top:3px solid #8FBC8F;
}
#profile aside .card:nth-child(2){
  border-top:3px solid #BFDFF8;
}
#profile .mo-profile-content>section.card{
  border-top:3px solid #8FBC8F;
}
@media(max-width:900px){
  #profile .profile-hero{padding:28px 0}
}
@media(max-width:560px){
  #profile .profile-hero{padding:24px 0}
  #profile .profile-hero h1{font-size:clamp(26px,7vw,34px)}
  #profile .tabs .wrap{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    gap:4px;
  }
  #profile .tabs button{
    flex:0 0 auto;
    min-height:44px;
    padding:12px 10px;
  }
}

/* Phase 5 Compare and Learn visual alignment.
   Scoped CSS only. No data values, selection handlers, CMS labels,
   education content, or comparison calculations are modified. */
#compare .results-head,
#care .care-hero{
  position:relative;
  background:linear-gradient(108deg,#F9F6ED 0%,#F8F7F0 55%,#EDF7FC 100%);
  border-bottom:1px solid #d8e8ed;
}
#compare .results-head::before,
#care .care-hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#2D9C9A 0 25%,#8FBC8F 25% 50%,#E2A800 50% 75%,#0F3B6E 75%);
}
#compare .results-head h1,
#care .care-hero h1{
  color:#0F3B6E;
  font-weight:900;
  letter-spacing:-.025em;
  line-height:1.22;
}
#compare #compareEmpty{
  background:#F9F6ED;
  border:1px solid #d6e6ed;
  border-left:4px solid #8FBC8F;
  border-radius:11px;
  padding:16px 20px;
}
#compare #demoButtons{
  gap:9px;
}
#compare #demoButtons .secondary{
  border-color:#c7dce6;
  box-shadow:0 2px 8px rgb(15 59 110 / 3%);
  min-height:44px;
}
#compare #demoButtons .secondary[aria-pressed="true"]{
  background:#e7f5f3;
  border-color:#2D9C9A;
  color:#0F3B6E;
  box-shadow:inset 0 0 0 1px #2D9C9A;
}
#compare #demoButtons .secondary:focus-visible,
#compare .compare-profile:focus-visible,
#compare .textbtn:focus-visible,
#compare .secondary:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:3px;
}
#compare .compare-scroll{
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#9dbfce #edf6fa;
}
#compare .compare-table{
  width:max-content;
  min-width:100%;
}
#compare .compare-table th{
  background:#e7f2fa;
}
#compare .compare-table th:first-child{
  background:#dcecf7;
}
#compare .compare-table th[scope="row"]{
  font-weight:700;
  color:#0F3B6E;
}
#compare .compare-table tr:hover td:not(:first-child){
  background:#f4fafc;
}
#compare .compare-profile{
  color:#0F3B6E;
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:#a9cbd9;
  text-underline-offset:4px;
}
#compare .compare-profile:hover{
  color:#216f6e;
  text-decoration-color:currentColor;
}
#compare #compareTable>div.note{
  border-left-color:#8FBC8F;
}
#care .care-card{
  border-top:3px solid #BFDFF8;
  box-shadow:0 6px 20px rgb(15 59 110 / 4%);
}
#care .care-card:nth-child(3n+2){
  border-top-color:#8FBC8F;
}
#care .care-card:nth-child(3n){
  border-top-color:#2D9C9A;
}
#care .choice{
  min-height:48px;
  box-shadow:0 2px 8px rgb(15 59 110 / 3%);
}
#care .choice:focus-visible,
#care .textbtn:focus-visible,
#care .care-card button:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:3px;
}
#care .choice[aria-pressed="true"]{
  box-shadow:0 0 0 2px rgb(45 156 154 / 12%);
}
#care .wizard-answer .card{
  border-top:3px solid #8FBC8F;
}
#care .goodnote{
  border-radius:11px;
}
#care .pale{
  background:linear-gradient(180deg,#f3f8fb 0%,#f7fafc 100%);
}
@media(max-width:900px){
  #compare .results-head,
  #care .care-hero{
    padding-top:28px;
  }
}
@media(max-width:560px){
  #compare .results-head h1,
  #care .care-hero h1{
    font-size:clamp(25px,7vw,33px);
  }
  #compare #demoButtons{
    gap:8px;
  }
  #compare #demoButtons .secondary{
    min-height:44px;
  }
  #compare .compare-scroll{
    border-radius:11px;
  }
  #care .care-card{
    box-shadow:0 3px 12px rgb(15 59 110 / 3%);
  }
}

/* Phase 5 compact CMS profile header — desktop visual review correction.
   Use the unused right-hand space for the existing CMS source note.
   Do not alter the facility record, reporting date, or profile behavior. */
@media(min-width:801px){
  #profile .profile-hero .wrap:has(> .cms-source-meta){
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,305px);
    column-gap:32px;
    row-gap:8px;
    align-items:start;
  }
  #profile .profile-hero .wrap:has(> .cms-source-meta) > .textbtn,
  #profile .profile-hero .wrap:has(> .cms-source-meta) > h1,
  #profile .profile-hero .wrap:has(> .cms-source-meta) > p{
    grid-column:1;
    margin:0;
    min-width:0;
  }
  #profile .profile-hero .wrap:has(> .cms-source-meta) > .textbtn{
    justify-self:start;
    margin-bottom:5px;
  }
  #profile .profile-hero .wrap:has(> .cms-source-meta) > h1{
    margin:0;
  }
  #profile .profile-hero .wrap:has(> .cms-source-meta) > .cms-source-meta{
    grid-column:2;
    grid-row:2 / span 3;
    align-self:center;
    justify-self:stretch;
    display:block;
    margin:0;
    padding:14px 16px;
    border-radius:11px;
    box-shadow:0 5px 16px rgb(15 59 110 / 5%);
  }
  #profile .profile-hero:has(.cms-source-meta){
    padding:24px 0 25px;
  }
}
@media(max-width:800px){
  #profile .profile-hero:has(.cms-source-meta){
    padding:22px 0 24px;
  }
  #profile .profile-hero .cms-source-meta{
    margin-top:12px;
  }
}

/* Phase 5 staffing desktop composition — review correction.
   Pair explanatory context with the CMS table instead of leaving an
   unused right-hand column. Preserve original DOM order and CMS data. */
@media(min-width:1100px){
  #profile #p-staff{
    display:grid;
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
    column-gap:26px;
    row-gap:13px;
    align-items:start;
  }
  #profile #p-staff > h2,
  #profile #p-staff > .staffing-unit-context{
    grid-column:1/-1;
    margin-top:0;
    margin-bottom:0;
  }
  #profile #p-staff > .cms-staffing-explanations{
    grid-column:1;
    grid-row:3;
    max-width:none;
    background:#f3f8fb;
    border:1px solid #d7e7ed;
    border-radius:12px;
    padding:14px 17px;
  }
  #profile #p-staff > .cms-staffing-period{
    grid-column:1;
    grid-row:4;
    max-width:none;
    margin:0;
    padding:14px 17px;
  }
  #profile #p-staff > table{
    grid-column:2;
    grid-row:3 / span 2;
    width:100%;
    max-width:none;
    margin:0;
    align-self:start;
  }
  #profile #p-staff > .cms-question-pathway{
    grid-column:2;
    grid-row:5;
    justify-self:start;
  }
  #profile #p-staff th:first-child{
    width:74%;
  }
}

/* Phase 5 readable inspection citations.
   Progressive disclosure keeps all original CMS fields available. */
#profile #p-inspect .cms-citation-followup-intro{
  max-width:78ch;
  background:#f3f8fb;
  border-left:4px solid #2D9C9A;
  border-radius:9px;
  padding:15px 18px;
  color:#31506e;
  font-size:14px;
  line-height:1.7;
  margin:18px 0;
}
#profile #p-inspect .cms-inspection-details ul{
  display:grid;
  gap:14px;
  margin:16px 0;
  padding:0;
  list-style:none;
}
#profile #p-inspect .cms-citation{
  padding:19px 22px;
  border:1px solid #d8e6ec;
  border-left:4px solid #8FBC8F;
  border-radius:13px;
  background:#fff;
  box-shadow:0 4px 16px rgb(15 59 110 / 4%);
  max-width:100%;
}
#profile #p-inspect .cms-citation-topline{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  align-items:center;
  font-size:12px;
  color:#536575;
  margin-bottom:12px;
}
#profile #p-inspect .cms-citation-tag{
  display:inline-block;
  background:#e9f4fb;
  color:#0F3B6E;
  font-weight:700;
  padding:5px 9px;
  border-radius:6px;
}
#profile #p-inspect .cms-citation h4{
  color:#0F3B6E;
  font:700 13px/1.5 Inter,Arial,sans-serif;
  margin:0 0 5px;
}
#profile #p-inspect .cms-citation-description{
  color:#203b54;
  font-size:15px;
  line-height:1.7;
  max-width:78ch;
  margin:0 0 14px;
}
#profile #p-inspect .cms-citation-record{
  border-top:1px solid #e0ebf0;
  padding-top:11px;
}
#profile #p-inspect .cms-citation-record summary{
  display:list-item;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
#profile #p-inspect .cms-citation-record summary:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:4px;
}
#profile #p-inspect .cms-citation-meta{
  background:#f5f9fb;
  border-radius:8px;
  padding:12px 15px;
  margin-top:12px;
  font-size:13px;
  line-height:1.65;
}
#profile #p-inspect .cms-citation-meta p{
  margin:5px 0;
}
#profile #p-inspect .cms-citation-glossary,
#profile #p-inspect .cms-citation-caveat{
  color:#536575;
  font-size:13px;
  line-height:1.7;
  max-width:78ch;
  margin:12px 0 0;
}
#profile #p-inspect .cms-citation-caveat{
  background:#F9F6ED;
  border-left:3px solid #8FBC8F;
  border-radius:5px;
  padding:10px 12px;
}
@media(max-width:600px){
  #profile #p-inspect .cms-citation{
    padding:15px;
  }
  #profile #p-inspect .cms-citation-followup-intro{
    padding:13px 14px;
  }
}

/* Phase 5 readable quality measures — visual review correction.
   More space for descriptions, a compact values column, and a readable
   measure width without changing any CMS number or reporting period. */
#profile #p-quality table{
  display:table;
  width:100%;
  max-width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  overflow:visible;
}
#profile #p-quality th:first-child,
#profile #p-quality td:first-child{
  width:76%;
  min-width:0;
}
#profile #p-quality th:nth-child(2),
#profile #p-quality td:nth-child(2){
  width:24%;
  min-width:0;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
#profile #p-quality th[scope="row"]{
  font-size:14px;
  line-height:1.6;
  padding:15px 18px;
}
#profile #p-quality td{
  padding:15px 18px;
  font-size:15px;
  font-weight:700;
  vertical-align:middle;
}
#profile #p-quality th[scope="col"]{
  font-size:13px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
#profile #p-quality .cms-quality-period{
  margin-top:6px;
  font-size:12px;
  font-weight:400;
  line-height:1.6;
}
#profile #p-quality .cms-quality-explanations{
  max-width:88ch;
  background:#f3f8fb;
  border-left:3px solid #8FBC8F;
  border-radius:8px;
  padding:12px 17px;
  margin:0 0 16px;
}
#profile #p-quality .cms-quality-explanations p:last-child{
  margin-bottom:0;
}
@media(max-width:600px){
  #profile #p-quality th:first-child,
  #profile #p-quality td:first-child{
    width:69%;
  }
  #profile #p-quality th:nth-child(2),
  #profile #p-quality td:nth-child(2){
    width:31%;
  }
  #profile #p-quality th[scope="row"],
  #profile #p-quality td{
    padding:12px 10px;
    font-size:13px;
  }
  #profile #p-quality .cms-quality-explanations{
    padding:12px 13px;
  }
}

/* Shared HealthPiece back-navigation buttons.
   Presentation only: all existing back/return destinations remain unchanged. */
:is(#care,#profile,#compare,#about) button.back-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  max-width:100%;
  padding:10px 16px;
  border:1px solid #bfd5e1;
  border-radius:10px;
  background:#fff;
  color:#0F3B6E;
  font:700 13px/1.5 Inter,Arial,sans-serif;
  box-shadow:0 2px 8px rgb(15 59 110 / 5%);
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
:is(#care,#profile,#compare,#about) button.back-button:hover{
  background:#F9F6ED;
  border-color:#2D9C9A;
  box-shadow:0 3px 10px rgb(15 59 110 / 9%);
}
:is(#care,#profile,#compare,#about) button.back-button:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:3px;
}

/* Phase 5 Compare review: readable measure labels and non-obstructing layout.
   No change to the CMS values, selection state, or comparison logic. */
@media(min-width:701px){
  #compare .compare-table th:first-child,
  #compare .compare-table td:first-child{
    width:300px;
    min-width:300px;
    max-width:300px;
    line-height:1.65;
  }
}
body:has(#compare:not(.hidden)) #compareBar{
  display:none!important;
}
body:has(#compare:not(.hidden)):has(#compareBar:not(.hidden)){
  padding-bottom:0;
}
@media(max-width:560px){
  body:has(#compare:not(.hidden)):has(#compareBar:not(.hidden)){
    padding-bottom:0;
  }
  #compare>.section{
    padding-bottom:40px;
  }
}

/* HealthPiece interior warmth pass — restrained visual rhythm across pages.
   Decorative elements are non-interactive; data, navigation and copy remain
   unchanged. Mobile and reduced-motion behavior are included. */
#care .care-hero{
  overflow:hidden;
  padding:44px 0 48px;
  background:
    radial-gradient(ellipse at 91% 15%,rgb(191 223 248 / 42%),transparent 37%),
    linear-gradient(115deg,#fffaf1 0%,#f7f8f4 48%,#eaf6fb 100%);
}
#care .care-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(275px,0.85fr);
  gap:clamp(24px,4vw,64px);
  align-items:center;
}
#care .care-hero-copy{min-width:0}
#care .care-hero h1{
  max-width:740px;
  margin:24px 0 17px;
  font-size:clamp(29px,3.1vw,41px);
  line-height:1.22;
}
#care .care-hero-copy>p{
  max-width:68ch;
  font-size:15px;
  line-height:1.85;
}
#care .care-hero .note{
  max-width:68ch;
  margin:20px 0 0;
  background:#fff;
  border:1px solid #e4e9df;
  border-left:4px solid #8FBC8F;
  box-shadow:0 5px 17px rgb(15 59 110 / 5%);
}
#care .care-hero-guide{
  position:relative;
  min-width:0;
  padding:25px 26px 22px;
  border:1px solid #d2e5e9;
  border-top:4px solid #2D9C9A;
  border-radius:18px;
  background:rgb(255 255 255 / 94%);
  box-shadow:0 16px 36px rgb(15 59 110 / 10%);
}
#care .care-guide-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
#care .care-guide-eyebrow{
  font:700 11px/1.4 Inter,Arial,sans-serif;
  letter-spacing:.15em;
  color:#216f6e;
}
#care .care-guide-mark{
  display:block;
  width:118px;
  height:auto;
  max-height:58px;
  flex-shrink:0;
  object-fit:contain;
  border-radius:4px;
}
#care .care-guide-title{
  margin:0 0 19px;
  font-size:21px;
  line-height:1.35;
}
#care .care-guide-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:0;
}
#care .care-guide-steps li{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:13px 0;
  border-top:1px solid #e5edf0;
}
#care .care-guide-number{
  display:grid;
  place-items:center;
  width:35px;
  height:35px;
  flex:0 0 35px;
  border-radius:11px;
  background:#e8f4f7;
  color:#0F3B6E;
  font:700 12px Inter,Arial,sans-serif;
}
#care .care-guide-steps li:nth-child(2) .care-guide-number{background:#edf5e9}
#care .care-guide-steps li:nth-child(3) .care-guide-number{background:#fff2d8}
#care .care-guide-steps strong{
  display:block;
  color:#0F3B6E;
  font:700 13px/1.5 Inter,Arial,sans-serif;
}
#care .care-guide-steps small{
  display:block;
  margin-top:3px;
  color:#536575;
  font:400 12px/1.6 Inter,Arial,sans-serif;
}
#care>.section{
  padding:52px 0;
}
#care>.section:nth-of-type(2){
  background:#fff;
}
#care>.section:nth-of-type(4){
  background:linear-gradient(180deg,#f4f9fc 0%,#f9fcfd 100%);
}
#care>.section:nth-of-type(5){
  background:#fff;
}
#care>.section:nth-of-type(6){
  background:linear-gradient(180deg,#f8faf5 0%,#fff 100%);
}
#care>.section:nth-of-type(7){
  background:linear-gradient(180deg,#f1f8fb 0%,#fff 100%);
}
#care>.section h2:not(.care-guide-title){
  position:relative;
  padding-bottom:14px;
  margin-bottom:23px;
}
#care>.section h2:not(.care-guide-title)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:62px;
  height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,#2D9C9A 0 50%,#E2A800 50%);
}
#care .care-card{
  background:#fff;
  border-radius:17px;
  box-shadow:0 10px 25px rgb(15 59 110 / 6%);
  transition:box-shadow .18s ease,transform .18s ease;
}
#care .care-card:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 32px rgb(15 59 110 / 9%);
}
#care .care-card .tag{
  display:inline-block;
  align-self:flex-start;
  padding:5px 9px;
  border-radius:6px;
  background:#edf7fa;
}
#care .care-card:nth-child(3n+2) .tag{background:#f0f6e9}
#care .care-card:nth-child(3n) .tag{background:#fff5df}
#care .care-card .note{
  border-radius:10px;
  background:#fbf8f0;
}
#care .wizard{
  max-width:1000px;
}
#care .wizard .choice{
  border-left:3px solid #8FBC8F;
}
#results .results-head,
#compare .results-head,
#about .about-head{
  background:
    radial-gradient(ellipse at 95% 12%,rgb(191 223 248 / 40%),transparent 36%),
    linear-gradient(110deg,#fffaf1 0%,#f8f8f3 55%,#edf7fb 100%);
}
#about .about-head{
  position:relative;
  border-bottom:1px solid #d8e8ed;
  padding:40px 0 35px;
}
#about .about-head::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,#2D9C9A 0 25%,#8FBC8F 25% 50%,#E2A800 50% 75%,#0F3B6E 75%);
}
#about .about-content{
  max-width:1120px;
  gap:22px;
  padding-top:38px;
  padding-bottom:48px;
}
#about .about-content>.card{
  border-radius:16px;
  border-color:#dbe8ed;
  border-top:3px solid #BFDFF8;
  box-shadow:0 8px 24px rgb(15 59 110 / 5%);
  background:#fff;
}
#about .about-content>.card:nth-child(3n+2){border-top-color:#8FBC8F}
#about .about-content>.card:nth-child(3n){border-top-color:#2D9C9A}
#about .about-roles>div{
  background:#f3f9fc;
  border:1px solid #deebf1;
  border-radius:11px;
  padding:17px;
}
#about .about-roles>div:nth-child(2){background:#f6faf1}
#about .about-roles>div:nth-child(3){background:#fff9ed}
#results>.section{
  background:linear-gradient(180deg,#f5f9fc 0%,#fff 100%);
}
#results .facility,
#results .campus-result,
#results .results-refinement,
#results aside>.card{
  box-shadow:0 8px 22px rgb(15 59 110 / 6%);
}
#compare>.section{
  background:linear-gradient(180deg,#f5f9fc 0%,#fff 100%);
}
#compare #compareTable>div:first-child:not(.note){
  box-shadow:0 10px 28px rgb(15 59 110 / 7%);
}
#profile .profile-hero{
  background:
    radial-gradient(ellipse at 95% 15%,rgb(191 223 248 / 36%),transparent 40%),
    linear-gradient(110deg,#fffaf1 0%,#f7f8f3 55%,#edf7fb 100%);
}
@media(max-width:900px){
  #care .care-hero-layout{
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }
  #care .care-hero-guide{
    max-width:650px;
  }
  #care .care-guide-steps{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  #care .care-guide-steps li{
    display:block;
  }
  #care .care-guide-number{
    margin-bottom:10px;
  }
}
@media(max-width:600px){
  #care .care-hero{padding:26px 0 30px}
  #care .care-hero h1{margin-top:18px;font-size:clamp(27px,7vw,34px)}
  #care .care-hero-guide{padding:19px 20px}
  #care .care-guide-steps{grid-template-columns:1fr;gap:0}
  #care .care-guide-steps li{display:flex;align-items:flex-start}
  #care .care-guide-number{margin:0}
  #care>.section{padding:36px 0}
  #about .about-head{padding:30px 0}
  #about .about-content{padding-top:26px}
  #care .care-card:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
  #care .care-card{transition:none}
  #care .care-card:hover{transform:none}
}

/* About mission and Compare focus polish.
   Keep content, focus accessibility and CMS information unchanged. */
#about .about-head-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,0.9fr);
  align-items:center;
  gap:clamp(22px,4vw,58px);
}
#about .about-head-copy{min-width:0}
#about .about-head-copy .back-button{margin:0 0 20px}
#about .about-head-lead{
  max-width:57ch;
  margin:15px 0 0;
  color:#31506e;
  font-size:15px;
  line-height:1.8;
}
#about .about-principle{
  position:relative;
  padding:23px 26px 20px;
  background:#fff;
  border:1px solid #d7e7ed;
  border-top:4px solid #2D9C9A;
  border-radius:16px;
  box-shadow:0 12px 28px rgb(15 59 110 / 8%);
}
#about .about-principle-kicker{
  color:#216f6e;
  font:700 11px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.12em;
}
#about .about-principle p{
  margin:12px 0 18px;
  color:#0F3B6E;
  font:700 clamp(15px,1.35vw,18px)/1.65 Merriweather,Georgia,serif;
  overflow-wrap:break-word;
}
#about .about-principle-pieces{
  display:flex;
  align-items:center;
  gap:7px;
}
#about .about-principle-pieces span{
  display:block;
  width:28px;
  height:8px;
  border-radius:3px;
  background:#0F3B6E;
}
#about .about-principle-pieces span:nth-child(2){background:#E2A800}
#about .about-principle-pieces span:nth-child(3){background:#2D9C9A}
#about .about-principle-pieces span:nth-child(4){background:#8FBC8F}
#about .about-roles>div{
  border-top:3px solid #BFDFF8;
}
#about .about-roles>div:nth-child(2){border-top-color:#8FBC8F}
#about .about-roles>div:nth-child(3){border-top-color:#E2A800}
/* Compare headings can receive focus after a keyboard interaction.
   Keep a visible keyboard cue without an oversized black rectangle. */
#compare h1:focus{outline:none}
#compare h1:focus-visible{
  outline:2px solid #2D9C9A;
  outline-offset:5px;
  border-radius:3px;
}
@media(max-width:800px){
  #about .about-head-layout{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
  }
  #about .about-principle{max-width:660px}
}
@media(max-width:560px){
  #about .about-head-lead{font-size:14px}
  #about .about-principle{padding:18px 20px}
}
/* Phase 5 consolidated interior visual-review preview: About, Learn, Compare, profiles and Results. */


/* Results guidance sidebar: contextual help without changing facility data,
   search, filtering, CMS ratings, or comparison behavior. */
#results .results-sidebar{min-width:0;align-self:stretch}
#results .results-sidebar .results-guide{
  margin-top:18px;
  padding:20px 19px 18px;
  border-top:4px solid #2D9C9A;
  background:#fff;
  box-shadow:0 8px 22px rgb(15 59 110 / 6%);
}
#results .results-guide-kicker{
  margin:0 0 9px;
  color:#216f6e;
  font:700 10px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.13em;
}
#results aside .results-guide h3{
  margin:0 0 10px;
  font:700 18px/1.45 Merriweather,Georgia,serif;
  color:#0F3B6E;
}
#results .results-guide-intro{
  margin:0;
  color:#31506e;
  font-size:12px;
  line-height:1.75;
}
#results .results-guide-list{
  list-style:none;
  padding:0;
  margin:14px 0 0;
}
#results .results-guide-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:11px 0;
  border-top:1px solid #e4edf2;
}
#results .results-guide-number{
  flex:0 0 31px;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eaf4fb;
  color:#0F3B6E;
  font:700 11px Inter,Arial,sans-serif;
}
#results .results-guide-list li:nth-child(2) .results-guide-number{background:#edf5e9}
#results .results-guide-list li:nth-child(3) .results-guide-number{background:#fff2d8}
#results .results-guide-list strong,
#results .results-guide-list span:last-child{
  display:block;
  font-size:12px;
  line-height:1.5;
}
#results .results-guide-list strong{color:#0F3B6E;margin-bottom:2px}
#results .results-guide-list span:last-child{color:#536575}
#results .results-guide-note{
  display:grid;
  gap:5px;
  margin-top:9px;
  padding:11px 12px;
  background:#F9F6ED;
  border-left:3px solid #8FBC8F;
  border-radius:7px;
  color:#31506e;
  font-size:11px;
  line-height:1.65;
}
#results .results-guide-note strong{font-size:12px;color:#0F3B6E}
#results .results-guide-action{
  display:block;
  width:100%;
  min-height:44px;
  margin-top:14px;
  white-space:normal;
  line-height:1.5;
}
#care #read-facility-heading{scroll-margin-top:115px}
@media(min-width:901px) and (min-height:760px){
  #results .results-sidebar .results-guide{position:sticky;top:150px}
}
@media(max-width:900px){
  #results .results-sidebar{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:16px;
  }
  #results .results-sidebar .results-guide{margin-top:0}
}
@media(max-width:650px){
  #results .results-sidebar{grid-template-columns:minmax(0,1fr);gap:14px}
}


/* Facility profile guidance: a human-friendly reading path beside official
   CMS data. Decorative colors are fixed by position, never by rating value. */
#profile .profile-grid > div:first-child,
#profile .cms-profile-sidebar{min-width:0}
#profile .cms-profile-sidebar > .cms-profile-guide{
  padding:20px 19px 18px;
  border:1px solid #d7e7ed;
  border-top:4px solid #2D9C9A;
  border-radius:16px;
  background:#fff;
  box-shadow:0 9px 24px rgb(15 59 110 / 7%);
}
#profile .cms-profile-guide-kicker{
  margin:0 0 8px;
  color:#216f6e;
  font:700 10px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.13em;
}
#profile .cms-profile-guide h3{
  margin:0 0 10px;
  color:#0F3B6E;
  font:700 18px/1.45 Merriweather,Georgia,serif;
}
#profile .cms-profile-guide-intro{
  margin:0;
  color:#31506e;
  font-size:12px;
  line-height:1.75;
}
#profile .cms-profile-guide-list{
  margin:14px 0 0;
  padding:0;
  list-style:none;
}
#profile .cms-profile-guide-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:11px 0;
  border-top:1px solid #e4edf2;
}
#profile .cms-profile-guide-number{
  flex:0 0 31px;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eaf4fb;
  color:#0F3B6E;
  font:700 11px Inter,Arial,sans-serif;
}
#profile .cms-profile-guide-list li:nth-child(2) .cms-profile-guide-number{background:#edf5e9}
#profile .cms-profile-guide-list li:nth-child(3) .cms-profile-guide-number{background:#fff2d8}
#profile .cms-profile-guide-list strong,
#profile .cms-profile-guide-list li div span{
  display:block;
  font-size:12px;
  line-height:1.55;
}
#profile .cms-profile-guide-list strong{color:#0F3B6E;margin-bottom:2px}
#profile .cms-profile-guide-list li div span{color:#536575}
#profile .cms-profile-guide-note{
  display:grid;
  gap:4px;
  margin-top:9px;
  padding:11px 12px;
  background:#F9F6ED;
  border-left:3px solid #8FBC8F;
  border-radius:7px;
  color:#31506e;
  font-size:11px;
  line-height:1.65;
}
#profile .cms-profile-guide-note strong{font-size:12px;color:#0F3B6E}
#profile .cms-profile-guide-action{
  display:block;
  width:100%;
  min-height:44px;
  margin-top:14px;
  white-space:normal;
  line-height:1.5;
}
#profile #p-over > h2,
#profile #p-staff > h2,
#profile #p-inspect > h2,
#profile #p-quality > h2,
#profile #p-owner > h2,
#profile #p-q > h2{
  position:relative;
  padding-bottom:13px;
  margin-bottom:21px;
}
#profile #p-over > h2::after,
#profile #p-staff > h2::after,
#profile #p-inspect > h2::after,
#profile #p-quality > h2::after,
#profile #p-owner > h2::after,
#profile #p-q > h2::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:62px;
  height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,#2D9C9A 0 50%,#E2A800 50%);
}
#profile #p-over .rbox{
  border-top:3px solid #BFDFF8;
  background:#fff;
}
#profile #p-over .rbox:nth-child(4n+2){border-top-color:#8FBC8F}
#profile #p-over .rbox:nth-child(4n+3){border-top-color:#2D9C9A}
#profile #p-over .rbox:nth-child(4n+4){border-top-color:#E2A800}
@media(max-width:900px){
  #profile .cms-profile-sidebar{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    align-items:start;
  }
  #profile .cms-profile-sidebar > .card{margin:0}
}
@media(max-width:650px){
  #profile .cms-profile-sidebar{grid-template-columns:minmax(0,1fr)}
  #profile .cms-profile-sidebar > .cms-profile-guide{padding:19px 18px}
}


/* CMS profile desktop sidebar flow adjustment.
   Let Staffing & Turnover begin below the overview in the left column,
   while supporting sidebar cards continue at right. Later sections return
   to full width. This removes the empty gap without moving data or actions. */
@media(min-width:901px){
  #profile .profile-grid > aside.cms-profile-sidebar{
    grid-column:2;
    grid-row:1 / span 2;
  }
  #profile #p-staff{
    grid-column:1;
    grid-row:2;
  }
  #profile #p-inspect{grid-row:3}
  #profile #p-quality{grid-row:4}
  #profile #p-owner{grid-row:5}
  #profile #p-q{grid-row:6}
  #profile .profile-grid .goodnote{grid-row:7}
  #profile .profile-grid > div > .textbtn{grid-row:8}
}

/* Shared return-button clearance: all pages, presentation only. */
:is(#care,#profile,#compare,#about) button.back-button{
  display:flex;
  width:fit-content;
  margin:0 0 18px;
}
/* Bottom-of-page return actions should not crowd the notice above. */
#care .learn-return-actions{margin-top:22px}
#care .learn-return-actions button.back-button{margin:0}
#profile .profile-grid .goodnote + button.back-button{margin:22px 0 0}
/* Missouri profile uses a grid gap around its final return action. */
#profile .mo-profile-content > div:has(> button.back-button) button.back-button{margin:0}


/* Review refinements: preserve comparison selections without obscuring Home.
   The Home action remains visible in a compact corner control. */
body:has(#home:not(.hidden)) #compareBar:not(.hidden){
  left:auto;
  right:18px;
  bottom:18px;
  width:auto;
  max-width:min(340px,calc(100vw - 36px));
  padding:0;
  background:transparent;
  box-shadow:none;
}
body:has(#home:not(.hidden)) #compareBar:not(.hidden) .wrap{
  width:auto;
  padding:8px 10px;
  gap:10px;
  border-radius:12px;
  background:#1E3A5F;
  box-shadow:0 5px 18px rgb(15 59 110 / 20%);
}
body:has(#home:not(.hidden)) #compareBar:not(.hidden) .compare-status{
  min-width:0;
  font-size:12px;
  line-height:1.4;
}
body:has(#home:not(.hidden)) #compareBar:not(.hidden) #compareThreshold{display:none}
body:has(#home:not(.hidden)) #compareBar:not(.hidden) button{
  padding:8px 10px;
  min-height:36px;
  font-size:11px;
  white-space:nowrap;
}
body:has(#home:not(.hidden)):has(#compareBar:not(.hidden)){padding-bottom:0}
@media(max-width:560px){
  body:has(#home:not(.hidden)) #compareBar:not(.hidden){right:10px;bottom:10px;max-width:calc(100vw - 20px)}
  body:has(#home:not(.hidden)) #compareBar:not(.hidden) .wrap{flex-wrap:wrap;justify-content:flex-end}
  body:has(#home:not(.hidden)):has(#compareBar:not(.hidden)){padding-bottom:0}
}
/* Keep ten general visit questions readable in two columns on wide screens,
   and restore a single reading column on narrow screens. */
@media(min-width:760px){
  #care .questions-general-list{
    columns:2;
    column-gap:36px;
  }
  #care .questions-general-list li{
    break-inside:avoid;
    padding-right:10px;
    margin-bottom:9px;
  }
}

/* About visual pilot: bring the homepage palette and warmth into the existing
   About layout. Presentation only; no content, navigation or behavior changes. */
#about{
  background:linear-gradient(180deg,#f5f9fc 0%,#fffaf1 45%,#f7fbfd 100%);
}
#about .about-head{
  padding:clamp(42px,5vw,66px) 0 clamp(38px,4.5vw,58px);
  border-bottom:1px solid #cadfe8;
  background:
    radial-gradient(ellipse at 8% 85%,rgb(143 188 143 / 22%),transparent 38%),
    radial-gradient(ellipse at 92% 8%,rgb(191 223 248 / 75%),transparent 42%),
    linear-gradient(115deg,#fff9e9 0%,#f8f9f1 48%,#eaf5fc 100%);
}
#about .about-head::before{
  height:6px;
  background:linear-gradient(90deg,#0F3B6E 0 25%,#E2A800 25% 50%,#8FBC8F 50% 75%,#2D9C9A 75%);
}
#about .about-head-layout{
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:clamp(28px,5vw,68px);
}
#about .about-head-copy h1{
  max-width:14ch;
  font-size:clamp(36px,3.8vw,49px);
  line-height:1.14;
  letter-spacing:-.035em;
}
#about .about-head-copy h1::after{
  content:"";
  display:block;
  width:94px;
  height:6px;
  margin-top:20px;
  border-radius:5px;
  background:linear-gradient(90deg,#2D9C9A 0 50%,#E2A800 50%);
}
#about .about-head-lead{
  max-width:48ch;
  margin-top:20px;
  color:#31506e;
  font-size:clamp(15px,1.4vw,17px);
  line-height:1.75;
}
#about .about-principle{
  padding:clamp(24px,2.8vw,34px);
  color:#fffaf0;
  background:
    radial-gradient(circle at 100% 0%,rgb(45 156 154 / 23%),transparent 46%),
    linear-gradient(140deg,#0F3B6E 0%,#153F68 55%,#1E526E 100%);
  border:1px solid #235879;
  border-top:6px solid #2D9C9A;
  border-radius:19px;
  box-shadow:0 18px 40px rgb(15 59 110 / 19%);
}
#about .about-principle-kicker{
  color:#B9E8E0;
  font-size:12px;
  letter-spacing:.14em;
}
#about .about-principle p{
  margin:16px 0 24px;
  color:#FFF9ED;
  font-size:clamp(16px,1.45vw,19px);
  line-height:1.7;
  font-weight:700;
}
#about .about-principle-pieces span:first-child{background:#BFDFF8}
#about .about-principle-pieces span:nth-child(2){background:#E2A800}
#about .about-principle-pieces span:nth-child(3){background:#65C5BD}
#about .about-principle-pieces span:nth-child(4){background:#A9D2A5}
#about .about-content{
  gap:22px;
  padding-top:clamp(30px,4vw,46px);
  padding-bottom:54px;
}
#about .about-content>.card{
  padding:clamp(22px,2.6vw,31px);
  border:1px solid #d5e4eb;
  border-top:5px solid #0F3B6E;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 27px rgb(15 59 110 / 7%);
}
#about .about-content>.card:first-child{
  border-top-color:#E2A800;
  background:#fffaf0;
}
#about .about-content>.card:nth-child(3n+2){
  border-top-color:#8FBC8F;
  background:#f4f9f2;
}
#about .about-content>.card:nth-child(3n){
  border-top-color:#2D9C9A;
  background:#f3f9fd;
}
#about .about-content>.card h2{
  font-size:clamp(20px,2vw,24px);
  line-height:1.35;
}
#about .about-content>.card h2::after{
  content:"";
  display:block;
  width:54px;
  height:3px;
  margin-top:11px;
  border-radius:3px;
  background:linear-gradient(90deg,#2D9C9A 0 65%,#E2A800 65%);
}
#about .about-roles>div{
  background:#eaf4fc;
  border:1px solid #d2e4ef;
  border-top:4px solid #BFDFF8;
  border-radius:12px;
}
#about .about-roles>div:nth-child(2){
  background:#eaf5e8;
  border-color:#d0e4cd;
  border-top-color:#8FBC8F;
}
#about .about-roles>div:nth-child(3){
  background:#fff3d9;
  border-color:#ead9b5;
  border-top-color:#E2A800;
}
#about .about-content .note{
  background:#eaf5f5;
  border-left:5px solid #2D9C9A;
}
@media(max-width:800px){
  #about .about-head-layout{
    grid-template-columns:minmax(0,1fr);
    gap:26px;
  }
  #about .about-principle{max-width:none}
}
@media(max-width:560px){
  #about .about-head{padding:34px 0 38px}
  #about .about-head-copy h1{font-size:clamp(30px,8vw,39px)}
  #about .about-head-copy h1::after{margin-top:17px}
  #about .about-principle{padding:22px 20px}
  #about .about-principle p{font-size:16px;line-height:1.65}
  #about .about-content{padding-top:26px;gap:17px}
  #about .about-content>.card{padding:22px 19px}
  #about .about-content>.card h2{font-size:20px}
}

/* About header return link: keep the page introduction first and use a
   quiet, accessible navigation action instead of a boxed button. */
#about .about-head-copy button.back-button{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:fit-content;
  min-height:44px;
  margin:19px 0 0;
  padding:9px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#0F3B6E;
  font:700 14px/1.5 Inter,Arial,sans-serif;
  text-align:left;
  text-decoration:none;
  text-underline-offset:5px;
}
#about .about-head-copy button.back-button .about-back-arrow{
  color:#217D7B;
  font-size:19px;
  line-height:1;
}
#about .about-head-copy button.back-button:hover{
  border:0;
  background:transparent;
  box-shadow:none;
  color:#0F3B6E;
  text-decoration:underline;
}
#about .about-head-copy button.back-button:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:4px;
  border-radius:3px;
}

/* Facility contact links: recognizable, accessible, and consistent across
   CMS profiles and Missouri facility cards/profiles. */
.facility-phone-link{
  color:#0F3B6E;
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:#2D9C9A;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
.facility-phone-link:hover{color:#176F70;text-decoration-thickness:2px}
.facility-phone-link:focus-visible{outline:3px solid #2D9C9A;outline-offset:3px;border-radius:2px}


/* Compare visual pilot: a bolder HealthPiece identity with the existing CMS
   data, selection logic, table semantics, and integrity language untouched. */
#compare .results-head{
  padding:clamp(32px,4vw,51px) 0;
}
#compare .compare-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.9fr);
  align-items:center;
  gap:clamp(24px,4vw,55px);
}
#compare .compare-hero-copy{min-width:0}
#compare .compare-eyebrow{
  display:block;
  margin:3px 0 13px;
  color:#176F70;
  font:800 11px/1.4 Inter,Arial,sans-serif;
  letter-spacing:.15em;
}
#compare .compare-hero-copy h1{
  margin:0 0 13px;
  font-size:clamp(31px,3.3vw,46px);
  line-height:1.2;
}
#compare .compare-hero-copy h1::after{
  content:"";
  display:block;
  width:74px;
  height:4px;
  margin-top:16px;
  border-radius:3px;
  background:linear-gradient(90deg,#2D9C9A 0 68%,#E2A800 68%);
}
#compare .compare-hero-copy>p{
  max-width:54ch;
  font-size:15px;
  line-height:1.75;
}
#compare .compare-context{
  position:relative;
  min-width:0;
  padding:clamp(22px,2.8vw,31px);
  border:1px solid #245d78;
  border-top:6px solid #2D9C9A;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0%,rgb(45 156 154 / 25%),transparent 53%),
    linear-gradient(140deg,#0F3B6E 0%,#174c73 100%);
  box-shadow:0 15px 35px rgb(15 59 110 / 17%);
  color:#FFF9ED;
}
#compare .compare-context-kicker{
  color:#B9E8E0;
  font:800 11px/1.5 Inter,Arial,sans-serif;
  letter-spacing:.15em;
}
#compare .compare-context p{
  margin:13px 0 22px;
  color:#FFF9ED;
  font:700 clamp(16px,1.35vw,18px)/1.65 Merriweather,Georgia,serif;
}
#compare .compare-context-pieces{display:flex;gap:5px}
#compare .compare-context-pieces span{display:block;width:23px;height:5px;border-radius:3px}
#compare .compare-context-pieces span:first-child{background:#BFDFF8}
#compare .compare-context-pieces span:nth-child(2){background:#E2A800}
#compare .compare-context-pieces span:nth-child(3){background:#65C5BD}
#compare .compare-context-pieces span:nth-child(4){background:#A9D2A5}
#compare>.section{
  padding-top:clamp(27px,3vw,38px);
  background:linear-gradient(180deg,#f2f8fc 0%,#fff 100%);
}
#compare .compare-picker{
  margin:16px 0 25px;
  padding:clamp(19px,2.4vw,27px);
  border:1px solid #d5e5ed;
  border-top:5px solid #2D9C9A;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgb(15 59 110 / 6%);
}
#compare .compare-picker-heading h2{
  margin:0 0 6px;
  color:#0F3B6E;
  font:700 clamp(18px,1.9vw,22px)/1.4 Merriweather,Georgia,serif;
}
#compare .compare-picker-heading p{
  margin:0 0 16px;
  color:#31506e;
  font:400 13px/1.7 Inter,Arial,sans-serif;
}
#compare .compare-picker #demoButtons{
  margin:0!important;
  padding:0;
  gap:9px;
}
#compare #demoButtons .secondary[aria-pressed="true"]{
  background:#0F3B6E;
  border-color:#0F3B6E;
  color:#fff;
  box-shadow:0 3px 9px rgb(15 59 110 / 15%);
}
#compare #demoButtons .secondary[aria-pressed="true"]:hover{
  background:#194e7b;
  border-color:#194e7b;
  color:#fff;
}
#compare #demoButtons .secondary[aria-pressed="false"]:hover{
  background:#eaf4fc;
  border-color:#2D9C9A;
}
#compare #compareTable>div:first-child:not(.note){
  border-color:#cbdfe9;
  border-radius:15px;
  box-shadow:0 12px 30px rgb(15 59 110 / 9%);
}
#compare .compare-table thead th,
#compare .compare-table thead th:first-child{
  background:#0F3B6E;
  color:#fff;
  border-bottom-color:#285b83;
  border-right-color:#285b83;
  font-weight:700;
}
#compare .compare-table thead .compare-profile{
  color:#fff;
  text-decoration-color:#BFDFF8;
  font-weight:700;
}
#compare .compare-table thead .compare-profile:hover{
  color:#DDF4F3;
  text-decoration-color:currentColor;
}
#compare .compare-table .compare-section th:first-child{
  background:#eaf5ed;
  color:#0F3B6E;
  border-top-color:#d4e5dd;
  border-bottom-color:#d4e5dd;
  box-shadow:inset 5px 0 #8FBC8F;
  padding-top:12px;
  padding-bottom:12px;
}
#compare .compare-table tbody.compare-group:nth-of-type(even) .compare-section th:first-child{
  background:#fff5df;
  border-top-color:#ebdfc5;
  border-bottom-color:#ebdfc5;
  box-shadow:inset 5px 0 #E2A800;
}
#compare .compare-table tbody tr:not(.compare-section) th[scope="row"]{
  background:#e8f2f9;
  color:#0F3B6E;
}
#compare .compare-table tbody tr:nth-child(even):not(.compare-section) th[scope="row"]{
  background:#dcebf5;
}
#compare .compare-table tr.compare-overall td{
  background:#f4fafc;
}
#compare #compareTable>div.note{
  background:#f1f8f6;
  border-color:#d5e6e2;
  border-left:4px solid #2D9C9A;
  border-radius:10px;
  padding:17px 20px;
}
@media(max-width:850px){
  #compare .compare-hero-layout{
    grid-template-columns:minmax(0,1fr);
    gap:25px;
  }
  #compare .compare-context{max-width:none}
}
@media(max-width:560px){
  #compare .results-head{padding:30px 0 35px}
  #compare .compare-hero-copy h1{font-size:clamp(29px,8vw,37px)}
  #compare .compare-context{padding:22px 20px}
  #compare .compare-context p{font-size:16px}
  #compare .compare-picker{padding:19px 16px}
  #compare .compare-picker-heading h2{font-size:19px}
  #compare .compare-table thead th{padding:13px 12px}
}

/* Optional paper handouts for Learn > Questions Before Choosing. */
#care .care-print-intro{
  margin:12px 0 19px;
  padding:12px 15px;
  background:#f1f8f6;
  border-left:3px solid #2D9C9A;
  border-radius:7px;
  color:#264a57;
}
#care .care-print-row{
  display:flex;
  justify-content:flex-end;
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid #dce9e9;
}
#care .care-print-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #8fc4c1;
  border-radius:9px;
  background:#eff8f7;
  color:#0F3B6E;
  padding:10px 14px;
  font:700 13px/1.3 Inter,Arial,sans-serif;
  transition:background .15s,color .15s,border-color .15s;
}
#care .care-print-action:hover{
  background:#0F3B6E;
  border-color:#0F3B6E;
  color:#fff;
}
#care .care-print-action:focus-visible{
  outline:3px solid #2D9C9A;
  outline-offset:3px;
}
.hp-print-sheet{display:none!important}

/* Chrome's optional URL/date/page headers are outside website control.
   Zero page margins suppress them in most Chromium print previews; the sheet
   restores safe physical-printer margins as internal padding. */
@page{size:letter;margin:0}
@media print{
  body.hp-print-active{
    margin:0!important;
    /* Comparison selection clearance belongs to the screen, not the paper. */
    padding-bottom:0!important;
    background:#fff!important;
    color:#263c50!important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  body.hp-print-active > :not(#healthpiecePrintSheet){display:none!important}
  body.hp-print-active #healthpiecePrintSheet{
    display:flex!important;
    flex-direction:column;
    width:8.5in;
    max-width:100%;
    min-height:10.96in;
    margin:0;
    padding:.44in .5in .48in;
    font:10pt/1.34 Inter,Arial,sans-serif;
    color:#263c50;
    background:#fff;
    break-after:avoid;
  }
  .hp-print-sheet *{box-sizing:border-box}
  .hp-print-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
  .hp-print-brand img{display:block;width:190px;height:auto;max-height:62px;object-fit:contain;object-position:left center}
  .hp-print-brand-fallback{display:none;color:#0F3B6E;font:700 17pt/1.05 Merriweather,Georgia,serif}
  .hp-print-logo-fallback .hp-print-brand img{display:none}
  .hp-print-logo-fallback .hp-print-brand-fallback{display:block}
  .hp-print-type{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font:700 7.5pt/1.2 Inter,Arial,sans-serif;letter-spacing:.13em;color:#0F3B6E}
  .hp-print-type span+span{font-weight:500;letter-spacing:.08em;color:#536575}
  .hp-print-stripe{height:3px;margin:9px 0 12px;background:linear-gradient(90deg,#0F3B6E 0 25%,#2D9C9A 25% 50%,#8FBC8F 50% 75%,#E2A800 75%)}
  .hp-print-introduction h1{margin:0 0 4px;color:#0F3B6E;font:700 19pt/1.2 Merriweather,Georgia,serif}
  .hp-print-introduction p{margin:0;color:#536575;font:9.5pt/1.45 Inter,Arial,sans-serif}
  .hp-print-meta{display:grid;grid-template-columns:1.6fr .85fr 1.2fr;gap:17px;margin:16px 0 16px;padding:10px 12px;background:#f4f8fa;border:1px solid #dce8ed;border-radius:5px}
  .hp-print-meta>div{display:flex;align-items:baseline;gap:7px;white-space:nowrap;font-size:8.5pt;color:#0F3B6E}
  .hp-print-field{display:inline-block;flex:1;min-width:0;height:13px;border-bottom:1px solid #93aeba}
  .hp-print-questions-heading{margin:0 0 11px}
  .hp-print-questions-heading>span{display:block;margin-bottom:3px;color:#217D7B;font:700 7.5pt/1.3 Inter,Arial,sans-serif;letter-spacing:.12em}
  .hp-print-questions-heading h2{margin:0;color:#0F3B6E;font:700 12.5pt/1.25 Merriweather,Georgia,serif}
  .hp-print-questions{list-style:none;margin:0;padding:0}
  .hp-print-sheet--general .hp-print-questions{columns:2;column-gap:29px;column-rule:1px solid #e1e9ed}
  .hp-print-questions li{display:grid;grid-template-columns:21px minmax(0,1fr);gap:6px;break-inside:avoid;page-break-inside:avoid;margin:0 0 12px}
  .hp-print-sheet--general .hp-print-questions li{display:inline-grid;width:100%;margin-bottom:15px}
  .hp-print-number{font:700 9pt/1.5 Inter,Arial,sans-serif;color:#217D7B}
  .hp-print-question{margin:0 0 5px;font:600 10pt/1.42 Inter,Arial,sans-serif;color:#233f57}
  .hp-print-notes-label{margin:0;color:#687b86;font:7.5pt/1.2 Inter,Arial,sans-serif}
  .hp-print-note-lines{margin-top:0}
  .hp-print-note-line{display:block;height:18px;border-bottom:1px solid #b6c7cf}
  .hp-print-sheet--specific .hp-print-questions li{margin-bottom:14px}
  .hp-print-sheet--specific .hp-print-question{font-size:10.5pt}
  .hp-print-sheet--specific .hp-print-note-line{height:21px}
  .hp-print-followup{margin-top:12px;padding-top:9px;border-top:1px solid #cddde3;break-inside:avoid}
  .hp-print-followup strong{font:700 9pt/1.2 Inter,Arial,sans-serif;color:#0F3B6E}
  .hp-print-followup-rule{height:17px;border-bottom:1px solid #b6c7cf}
  .hp-print-footer{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:11px;border-top:1px solid #d5e2e7;color:#607481;font:7.5pt/1.25 Inter,Arial,sans-serif}
  .hp-print-footer span:last-child{text-align:right}
}
