/* QA round 4 onward (Dec 5, 2026). Imported at the top of qa.css; rules here use !important or higher specificity. */
@media (min-width:900px){.hv .hv-in{padding-bottom:clamp(88px,10svh,112px)!important}}
@media (max-width:899px){.cta-bg::after{background:linear-gradient(180deg,rgba(9,34,35,.9),rgba(9,34,35,.78))!important}}

/* Round 5 (Dec 6, 2026) */
/* Short screens: before/after sliders keep their full column width (no shrinking to a thumbnail) */
@media (min-height:461px){
  .ba{max-width:min(100%,var(--nat,1200px))!important}
  .case-top .pt-stage .ba{max-width:min(100%,var(--nat,1200px),560px)!important;margin-inline:auto!important}
  .clamp:not(.open){max-height:11.5em!important}
}
/* Legal pages: show the full text, no fold, comfortable line length */
.k-page .clamp:has(>.prose>p:first-child>em:first-child){max-height:none!important;-webkit-mask-image:none!important;mask-image:none!important}
.k-page .clamp:has(>.prose>p:first-child>em:first-child)+.more-btn{display:none!important}
.article-body .art-sec:not(.art-split) .prose{max-width:72ch}
/* Before/after rows: every card the same square frame */
.ba-row .ba-frame{aspect-ratio:1!important}
.ba-row .ba{max-width:none!important}
@media (min-width:600px) and (max-width:899px){
  .ba-row.many{grid-auto-columns:calc((100% - 16px)/2.15)!important}
  .tlist{grid-auto-columns:calc((100% - 16px)/2)!important}
}
/* Four photos sit in one row instead of three plus an orphan */
@media (min-width:600px){.masonry:has(>li:nth-child(4):last-child)>li{flex-basis:calc((100% - 48px)/4)!important}}
/* Text cards: copy starts at the top, link pinned to the bottom */
.cards:has(.card-media)>.card:not(.has-media) .card-body{justify-content:flex-start!important}
.cards>.card:not(.has-media) .card-body>.more{margin-top:auto!important;padding-top:18px}
/* Phone carousels: the frame is capped, not just the photo, so no empty band under it */
@media (max-width:767px){
  ul.cards.c3 .card-media{max-height:28svh}
  ul.cards.c3 .card-media img{max-height:none!important;height:100%}
}
/* Odd card counts in two-column grids: the last card centers instead of hanging left */
@media (min-width:600px) and (max-width:1149px){
  ul.cards:not(.c3)>li:last-child:nth-child(odd),ul.pgrid>li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - clamp(7px,1vw,14px))}
}
@media (min-width:768px) and (max-width:1149px){
  ul.cards.c3>li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - clamp(7px,1vw,12px))}
}
@media (min-width:768px) and (max-width:899px){
  ol.steps>li:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 14px)}
}
/* Patient galleries: tablet columns instead of stretched phone tiles */
@media (min-width:600px){.ptgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1000px){.ptgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Tabs wrap on tablets instead of being cut off */
@media (min-width:700px) and (max-width:1179px){
  .tablist{flex-wrap:wrap;justify-content:center;width:auto!important;border-radius:22px;gap:4px}
  .tablist .tab-ink{display:none}
  .tablist button[aria-selected=true]{background:var(--tosca)}
}
/* Section bar: long headings end in an ellipsis inside the screen */
.pgnav ol li button{display:block!important;line-height:32px!important;max-width:min(20em,calc(100vw - 56px))!important;overflow:hidden!important;text-overflow:ellipsis!important}
/* Under 900px the dock carries Book, so the header does not repeat it */
@media (max-width:899px){
  .hdr-act .book{display:none!important}
  .hero .hero-proof{justify-content:flex-start!important;text-align:left}
}
/* Proof panel over photography: darker scrim so copy never sits on faces */
@media (min-width:600px){
  .cta.has-proof .cta-bg::after{background:linear-gradient(100deg,rgba(18,16,14,.92) 30%,rgba(18,16,14,.74))!important}
  .cta.has-proof .cta-proof{background:rgba(18,16,14,.5)!important}
}
/* Quotes stay fully readable at rest */
.lit .lw{opacity:1!important}
/* Scar types row: five cards fit at iPad landscape */
@media (min-width:1100px) and (max-width:1279px){.types .types-track>li,.types .carousel .track>li{min-width:0!important}}
/* Narrow phones (320 to 374): long button labels wrap inside the pill instead of running off the screen */
@media (max-width:374px){.btn{max-width:100%;white-space:normal!important;text-align:center;line-height:1.25}}
/* Headings never break at a hyphen (Phase-Out, Non-Acne) */
.nw{white-space:nowrap}
/* Every hero fits above the dock on phones and small tablets (Dec 6). --ih is the visible screen height, set once per
   width by dock.js, so browsers whose 100svh runs under their toolbars (Chrome on iPhone) still fit. */
@media (max-width:899px){
  .hv{min-height:var(--ih,100svh)!important}
  .hero{min-height:calc(var(--ih,100svh) - var(--hdr) - env(safe-area-inset-top))!important;padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
  .hero:has(.hero-ba) .hero-ba{flex:1 1 0!important;height:auto!important;min-height:112px!important;max-height:none!important}
  .hero .hero-in{flex:none}
}
@media (max-width:599px) and (max-height:700px){
  .hero .hero-sub+.hero-sub{display:none}
  .hero .hero-sub .prose p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
}
/* Header icons over the homepage film: plain matched line icons like the Hazany standard, no glass circles (Dec 6) */
.hdr.on-dark .hdr-act .ib{background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;margin-left:0!important;filter:drop-shadow(0 1px 3px rgba(0,0,0,.45))}
.hdr .hdr-act .ib svg{width:24px!important;height:24px!important}
.hdr .hdr-act .call svg path{fill:none!important;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
@media (max-width:1179px){.hdr .hdr-act a.ib.call{display:inline-grid!important;place-items:center!important;padding:0!important}}
/* Video play button: compact, anchored bottom left so it never sits on a face, no pulsing ring (Dec 6) */
.yt .yt-play{inset:auto auto 16px 16px!important;margin:0!important;width:56px!important;height:56px!important;box-shadow:0 6px 18px rgba(0,0,0,.28)!important}
.yt .yt-play::before{display:none!important}
.yt .yt-play .i{width:22px!important;height:22px!important;margin-left:3px!important}
@media (max-width:599px){.yt .yt-play{width:48px!important;height:48px!important;left:12px!important;bottom:12px!important}.yt .yt-play .i{width:20px!important;height:20px!important}}
/* Icons sit dead center in their circles, and pill labels center in their pills (Dec 6) */
.soc a,.ftr .soc a{display:inline-grid!important;place-items:center!important;padding:0!important}
.soc a svg,.soc a .i{display:block}
.chips li{justify-content:center!important;text-align:center}
.chips a{justify-content:center!important;text-align:center}
@media (max-width:767px){.areas ul.chips a,.related-links ul.chips a{justify-content:center!important;text-align:center}}
/* Short phones: hero buttons share one row and the intro holds to two lines, so the rating also clears the dock */
@media (max-width:599px){.hero .btns{flex-wrap:nowrap!important;align-items:center;gap:14px}.hero .btns .btn{flex:1 1 auto!important}.hero .btns .hero-link{flex:0 0 auto!important;width:auto!important;white-space:nowrap}}
@media (max-width:599px) and (max-height:620px){.hero .hero-sub .prose p{-webkit-line-clamp:2}}
/* Tablets: the case page slider leaves room for the patient title above the dock */
@media (min-width:600px) and (max-width:899px) and (min-height:761px){.case-top .pt-stage .ba{max-width:min(100%,560px,calc((var(--ih,100svh) - var(--hdr) - 300px) * var(--ar,1)))!important}}
@media (max-width:420px){.hero .btns .hero-link{flex:0 1 auto!important;min-width:0}.hero .btns .hero-link svg{display:none}}
/* Phone menu: Book and Call follow the links directly (no empty gap), and the dock and the accessibility and cookie
   buttons step aside while the menu is open, as on the Hazany standard (Dec 6) */
.mnav .mnav-cta{margin-top:20px!important}
body.lock #cw-widget-root,body.lock .mbar{display:none!important}
/* Phone footer legal links: compact rows, and only the room the dock needs below them (Dec 6) */
@media (max-width:767px){
  .ftr-legal ul a{min-height:30px!important;line-height:18px!important;padding-block:6px!important}
  .ftr-legal ul{row-gap:0!important}
  .ftr-legal p{margin-bottom:4px!important}
}
@media (max-width:899px){.ftr-legal{padding-bottom:calc(52px + env(safe-area-inset-bottom))!important}}
/* Contact form: room reserved for the booking form so the page does not jump when it loads (Dec 6) */
.chero-form .hsf-target{min-height:800px}
@media (max-width:599px){.chero-form .hsf-target{min-height:960px}}
/* Design pass (Dec 6, evening) */
/* Phase wave: each numbered circle sits exactly at the middle of its arc (the drawing starts at -22, so plain 10/30/50% were off) */
.pw-node[data-pw-n="0"]{left:11.686%!important}
.pw-node[data-pw-n="1"]{left:30.843%!important}
.pw-node[data-pw-n="2"]{left:50%!important}
.pw-node[data-pw-n="3"]{left:69.157%!important}
.pw-node[data-pw-n="4"]{left:88.314%!important}
/* Section bar: lighter and compact, edges fade instead of cutting words */
.pgnav ol{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);padding-block:5px!important;gap:2px!important}
.pgnav ol li button{min-height:34px!important;line-height:34px!important;padding:0 13px!important;font:500 .8125rem/34px var(--ui)!important;color:var(--muted)!important;background:transparent!important}
.pgnav ol li button[aria-current]{background:var(--tosca-10)!important;color:var(--tosca-d)!important;font-weight:600!important}
.pgnav{box-shadow:0 1px 0 rgba(0,11,27,.06)!important}
/* Phone treatment carousels: one card style, even heights, link pinned to the bottom */
@media (max-width:767px){
  ul.cards.c3{align-items:stretch!important}
  ul.cards.c3:has(>li:not(.has-media))>li.has-media .card-media{display:none}
  ul.cards.c3:has(>li:not(.has-media))>li.has-media .card-body{background:var(--mint)}
  ul.cards.c3>li .card-body h3+.prose{margin-top:10px}
}
/* Phone heroes: the intro reads in full, the second link drops under the button when it does not fit beside it */
@media (max-width:599px){
  .hero .btns{flex-wrap:wrap!important;row-gap:4px}
  .hero .btns .hero-link{flex:0 1 auto!important;white-space:normal!important;min-height:40px}
  .hero .hero-sub .prose p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  .hero:has(.hero-ba) .hero-ba{min-height:96px!important}
}
/* Footer: the legal links come first and the copyright line is the very last thing on the page (Dec 6) */
.ftr-legal ul{order:1}
.ftr-legal p{order:2}
@media (max-width:767px){.ftr-legal p{margin:6px 0 0!important}}
/* Short phones: the secondary in-page link steps aside so the rating row also clears the dock */
@media (max-width:599px) and (max-height:700px){.hero .btns .hero-link{display:none!important}}
/* Phone phase steps: a horizontal stepper. Number on top, copy below, nothing clipped, and the connecting line
   draws left to right toward the next step as each card comes into view (Dec 6) */
@media (max-width:767px){
  ol.steps{padding-top:8px!important}
  ol.steps::before,ol.steps::after{display:none!important}
  ol.steps>li.step{position:relative;grid-template-columns:1fr!important;gap:6px!important;padding:6px 2px 8px!important;align-content:start}
  ol.steps>li.step .step-n{margin-left:6px}
  ol.steps>li.step:not(:last-child)::before,ol.steps>li.step:not(:last-child)::after{content:"";position:absolute;top:27px;left:62px;right:-12px;height:2px;border-radius:2px}
  ol.steps>li.step:not(:last-child)::before{background:rgba(0,11,27,.12)}
  ol.steps>li.step:not(:last-child)::after{background:var(--tosca-50);transform:scaleX(0);transform-origin:0 50%;transition:transform 1s var(--ease) .35s}
  ol.steps>li.step.in::after,html:not(.js) ol.steps>li.step::after{transform:none}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){ol.steps>li.step:not(:last-child)::after{transition:none;transform:none}}
/* Scar type cards: the number is a small badge on the same line as the title, both vertically centered (Dec 6) */
.tcard2 a.stretch{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px}
.tcard2 .tnum{display:inline-grid!important;place-items:center;flex:none;width:28px;height:28px;margin:0!important;border-radius:50%;background:var(--tosca-10);color:var(--tosca-d);font:600 .8125rem/1 var(--ui)!important}
.tcard2 a.stretch h3{margin:0!important}
/* Pause and play controls: off the screen for visitors, still reachable by keyboard and screen readers, and they
   reappear when focused, so moving content can always be paused (Dec 6) */
:is(.car-pause,.tick-pause,.hv-pause,[data-hv-pause],[data-reel-pause]):not(:focus-visible){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}
/* Phone tabs: clear, equal chips in a two-column grid with one obvious selected state */
@media (max-width:699px){
  .tablist{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;padding:0!important;background:none!important;border-radius:0!important;width:100%!important}
  .tablist button{width:100%;min-height:44px!important;padding:8px 10px!important;border-radius:999px!important;background:#fff!important;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink-2)!important;font-weight:500;white-space:normal!important;line-height:1.2}
  .tablist button[aria-selected=true]{background:var(--tosca)!important;box-shadow:none;color:#fff!important}
  .tablist button:last-of-type:nth-of-type(odd){grid-column:1/-1}
  .tablist .tab-ink{display:none!important}
}
/* Phone plan cards: photo on top at a fixed frame, a solid dark panel below with a white title, no grey wash (Dec 6) */
@media (max-width:767px){
  ul.bigcards>li.bigcard{flex-direction:column;align-items:stretch;min-height:0!important;background:var(--char,#12100e)}
  ul.bigcards .bc-media{position:relative!important;inset:auto!important;z-index:0;aspect-ratio:4/3;flex:none}
  ul.bigcards .bc-media img{max-height:none!important;width:100%;height:100%;object-fit:cover}
  ul.bigcards .bc-media::after{display:none!important}
  ul.bigcards .bc-body{padding:18px 20px 22px!important;display:flex;flex-direction:column;gap:10px;flex:1}
  ul.bigcards .bigcard .h3,ul.bigcards .bigcard .h3 a{color:#fff!important;font-size:1.375rem;line-height:1.2}
  ul.bigcards .bigcard .more{color:var(--tosca-25);margin-top:auto}
}
/* Phone heroes: no blank band under the rating. The dock clearance is taken from the hero height instead of padding,
   so the next section starts right under the proof row (Dec 6) */
@media (max-width:899px){
  .hero{min-height:calc(var(--ih,100svh) - var(--hdr) - env(safe-area-inset-top) - 50px)!important;padding-bottom:28px!important}
  .crumbs>*{padding-top:14px!important;padding-bottom:0!important;margin-block:0!important}
  .crumbs+.sec{padding-top:18px!important}
}
/* Phone menu: a real result, the proof numbers and the offices fill the space under Book and Call (Dec 6) */
.mnav-proof{margin-top:22px;display:grid;gap:12px}
.mnav-proof .mp-res{display:flex;align-items:center;gap:14px;padding:10px;border-radius:18px;background:var(--mint,#eef4f3);color:var(--ink,#000b1b);text-decoration:none}
.mnav-proof .mp-ba{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:112px;flex:none;border-radius:12px;overflow:hidden}
.mnav-proof .mp-ba img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.mnav-proof .mp-txt{display:grid;gap:4px;font:400 .875rem/1.35 var(--ui)}
.mnav-proof .mp-txt strong{font:600 1rem/1.25 var(--ui)}
.mnav-proof .mp-txt span{color:var(--tosca-d)}
.mnav-proof .mp-txt span::after{content:" \2192"}
.mnav-proof .mp-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:0;font:500 .875rem/1.3 var(--ui);color:var(--ink-2)}
.mnav-proof .mp-stats b{color:#e3b23c;font-weight:700}
.mnav-proof .mp-stats span:last-child b{color:var(--ink)}
.mnav-proof .mp-loc{margin:0;text-align:center;font:400 .8125rem/1.3 var(--ui);color:var(--muted)}
.mnav-proof+.soc{margin-top:14px}
/* Gallery viewer: full screen, swipe between photos, counter and close on top, arrows on desktop (Dec 6) */
dialog.lbx{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0b0a09;color:#fff;overflow:hidden}
dialog.lbx::backdrop{background:#0b0a09}
html.lbx-on{overflow:hidden}
.lbx-track{display:flex;height:100%;margin:0;padding:0;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.lbx-track::-webkit-scrollbar{display:none}
.lbx-track li{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:calc(64px + env(safe-area-inset-top)) 12px calc(28px + env(safe-area-inset-bottom));box-sizing:border-box}
.lbx-track img{display:block;max-width:100%;max-height:calc(100dvh - 160px);width:auto;height:auto;object-fit:contain;border-radius:12px}
.lbx-track p{margin:0;font:400 .875rem/1.4 var(--ui);color:rgba(255,255,255,.72);text-align:center;max-width:42ch}
.lbx-bar{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 20px;pointer-events:none}
.lbx-n{font:500 .9375rem/1 var(--ui);font-variant-numeric:tabular-nums;color:rgba(255,255,255,.85)}
.lbx-x,.lbx-p,.lbx-nx{pointer-events:auto;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.lbx-p,.lbx-nx{position:absolute;top:50%;z-index:2;transform:translateY(-50%)}
.lbx-p{left:20px}.lbx-nx{right:20px}
.lbx-p:disabled,.lbx-nx:disabled{opacity:.3;cursor:default}
@media (hover:none),(max-width:767px){.lbx-p,.lbx-nx{display:none}}
/* Header icons: the phone glyph drawn at the same optical size as the search and menu glyphs (Dec 6) */
.hdr .hdr-act .call svg{width:21px!important;height:21px!important}
/* Phone treatment photo (Phase-Out section): a 4:3 frame on both faces and the device, not a thin strip (Dec 6) */
@media (max-width:767px){
  .phase-media.hp-treat-media{height:auto!important;max-height:none!important;aspect-ratio:4/3;overflow:hidden}
  .phase-media.hp-treat-media img{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:50% 25%!important}
}
