@import url("/qa2.css?v=8c36df50");
/* QA rounds after launch, Dec 5, 2026. Loaded after launch-fit.css on every page. */
/* Before and after hero photos fill the width on phones and small tablets; the phase wave is never clipped */
@media (max-width:899px){
  .hero-ba{width:100%!important;max-width:none!important;aspect-ratio:auto!important;height:min(32svh,440px)!important;max-height:none!important}
  .hero-ba figure{width:auto!important;height:100%!important;aspect-ratio:auto!important;max-height:none!important;margin:0}
  .hero-ba img{width:100%!important;height:100%!important;object-fit:cover}
  .hero .rating-chip .star:not(:first-child),.hero .rating-chip .rc-w{display:none}
  .hero .hero-proof{gap:10px!important;flex-wrap:nowrap!important}
}
@media (max-width:899px) and (max-height:760px){.hero-ba{height:24svh!important}}
@media (min-width:900px){.hero-ba{max-height:none!important}}
.split-media.pw-host{max-height:none!important;overflow:visible!important}

/* Round 2: tablets, the Duo and phones (Dec 5) */
/* Photos fill their column on tablets and the Duo: no short-screen caps once the layout is two columns */
@media (min-width:768px){
  .split-media,.split-media img,.pcard .pc-media,.pcard .pc-media img,.card-media,.card-media img,.hp-sarah-media,.hp-sarah-media img,img.zoomable{max-height:none!important}
  .pcard .pc-media img,.card-media img{width:100%!important;object-fit:cover}
  .split-media img{width:100%}
}
/* Short phones (Duo folded): card photos fill the card width, cropped to the room left */
@media (max-width:767px) and (max-height:600px){
  .pcard .pc-media,.card-media{height:26svh}
  .pcard .pc-media img,.card-media img{width:100%!important;height:100%!important;object-fit:cover!important}
}
/* Phase steps: two columns only while the section is one column; beside the photo they keep one column and their line */
@media (min-width:900px){
  ol.steps{grid-template-columns:1fr!important}
  ol.steps::before,ol.steps::after{display:block!important}
}
/* The story block stays one column below 900px (two narrow columns squeezed the photo and the text) */
@media (min-width:640px) and (max-width:899px){.story .split{grid-template-columns:1fr!important}}
/* Section bar: full labels, never cut mid-word; the bar scrolls sideways */
.pgnav button{max-width:none!important;overflow:visible!important;text-overflow:clip!important}
/* Tablets and the Duo: buttons size to their label instead of stretching across the screen */
@media (min-width:600px) and (max-width:1179px){
  .btns>.btn,.btns>a.btn,.hero .btns .btn{flex:0 0 auto!important;width:auto!important;min-width:220px}
}
/* Footer on phones: legal links in two even columns, addresses keep their unit numbers, icons apart, CTA buttons stacked */
@media (max-width:767px){
  .ftr-legal ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-items:center;column-gap:8px!important}
  .ftr-legal ul li{justify-content:center;text-align:center}
  .ftr .nw{white-space:nowrap!important}
  .ftr-brand .soc{gap:8px!important}
}
@media (max-width:449px){
  .ftr-cta .btns{grid-template-columns:1fr!important}
  .ftr-cta .btns .btn{font-size:.9375rem;width:100%}
}

/* Round 3 (Dec 5): team, patient pages, scar types row */
/* Team: the two stats sit side by side, each label under its number */
.split-text:has(>h2.h2+h2.h2){display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-content:center}
.split-text:has(>h2.h2+h2.h2)>*{grid-column:1/-1}
.split-text:has(>h2.h2+h2.h2)>h2.h2:has(+h2.h2){grid-column:1;margin-top:20px;margin-bottom:2px;font-size:clamp(2rem,1.6rem + 1.6vw,2.8rem)}
.split-text:has(>h2.h2+h2.h2)>h2.h2+h2.h2{grid-column:2;margin-top:20px;margin-bottom:2px;font-size:clamp(2rem,1.6rem + 1.6vw,2.8rem)}
.split-text:has(>h2.h2+h2.h2)>p.eyebrow:nth-of-type(2){grid-column:1;margin:0}
.split-text:has(>h2.h2+h2.h2)>h6{grid-column:2;margin:0;font:inherit;color:var(--tosca-d,#0d4a4b);font-weight:500}
/* Logos are shown whole, never cropped like photos; decorative pattern tiles are left out on phones and tablets */
.split-media img[src*="Logo"],.split-media img[src*="logo"]{object-fit:contain!important;background:#fff;padding:8%}
@media (max-width:899px){
  .split-media:has(img[src*="Pattern"]){display:none!important}
  .split-media:has(img[src*="Logo"]) img{height:150px!important;width:100%!important;padding:24px}
}
/* Patient pages: a single extra photo fills its row; case links side by side with full names; the results strip keeps the page gutter */
.pt-more .gallery:has(>li:only-child){display:block}
.pt-more .gallery>li:only-child .gl-item,.pt-more .gallery>li:only-child img{display:block;width:100%;max-width:640px;height:auto}
@media (min-width:600px){.cnavs{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}.cnavs .cnav{width:auto!important}}
.cnav-t b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.bstrip .bs-track{padding-inline:max(16px,var(--gut,16px))!important;scroll-padding-inline:max(16px,var(--gut,16px))}
/* Scar types row: cards keep a readable width between tablets and laptops (the row scrolls) */
@media (min-width:900px) and (max-width:1279px){.types .types-track>li{min-width:250px}}
