/* Launch fit pass, Dec 5, 2026. Loaded after site.css and hp.css on every page.
   Build rules 5, 10, 13 and 14: tap targets, nothing drags, every block, section and the footer fit the screen. */
img,a{-webkit-user-drag:none;-webkit-touch-callout:none}

/* Tap targets at least 44px */
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center}
.crumbs li{display:inline-flex;align-items:center}
.crumbs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 2px}
.topbar a{display:inline-flex;align-items:center;min-height:44px;padding-block:0;margin-block:-8px}
a[href^="tel:"],a[href^="mailto:"]{display:inline-flex;align-items:center;min-height:44px}
.prose a[href^="tel:"],.prose a[href^="mailto:"],.ftr .contact a{display:inline;min-height:0}
a[href^="tel:"].ib,.hdr a.ib,.hdr .ib{min-width:44px;min-height:44px}
.rating-chip{min-height:44px!important}
.btns{align-items:stretch}
.btns .btn,.btns .rating-chip{box-sizing:border-box}
.btns .rating-chip{min-height:0!important;height:auto!important;align-self:stretch}
a.chip,.chips a{display:inline-flex;align-items:center;min-height:44px}
[role=tab],.tablist button,.sec button{min-height:44px}
.mnav .soc a{width:44px!important;height:44px!important}
.mlist .d1>a,.mlist .d2 a{display:flex!important;align-items:center;min-height:44px!important}
.toc summary{display:flex;align-items:center;min-height:44px}
a.stretch{display:inline-flex;align-items:center;min-height:44px}
.tcard2 a.stretch{display:flex;align-items:center;gap:6px}
.tcard2 .tnum{align-self:center;line-height:1}
.tcard2 a.stretch h3{margin:0;line-height:1.2}
#sort,.sel select{font-size:16px!important;height:44px!important;min-height:44px!important}
.car-pause{min-height:44px}
.ftr .soc a,.ftr .office-l{display:inline-flex;align-items:center;min-height:44px}
/* Footer legal links: 44px tall to the finger, compact in the layout */
.ftr-legal ul a{display:inline-flex;align-items:center;min-height:44px;margin-block:-10px}
.ftr-legal ul{row-gap:0}
.ftr-legal p a{display:inline}
.ph-cta{margin-top:14px}

/* Text under a stretched card link: shown above it, taps still open the card */
.pcard .pc-cat,.pcard time,.has-link .more,span.more{position:relative;z-index:2;pointer-events:none}

/* Rows sit even */
ul.tiles>li{display:flex}
ul.tiles a.tile{width:100%;height:100%}
.chips li,ul.tiles li{transform:none!important;translate:none!important;margin:0!important}
.cs-head{align-items:center}

/* Patient pages: the score sits before its bar, so nothing is stranded at the right edge */
.sat-row dd{display:flex;align-items:center;gap:10px;margin:0}
.sat-row .sat-bar{flex:1}
.sat-row .sat-n{order:-1;min-width:3.2em}
body:has(.pgnav.on) .art-fig{top:calc(var(--hdr,64px) + 120px)!important}

/* Tablets and up: the phase steps and the treatment selector use the width */
@media (min-width:768px){
  ol.steps{display:grid!important;grid-template-columns:1fr 1fr;gap:12px 28px}
  .selector [role=tabpanel] .prose{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-auto-flow:column;column-gap:32px}
  .selector [role=tabpanel] .prose>*{margin-top:0}
  .selector .tabpanels [role=tabpanel]{max-width:1000px!important}
}
@media (min-width:640px) and (max-width:899px){
  .story .split{grid-template-columns:1fr 1.2fr;align-items:center;gap:24px}
  .case-top .pt-grid{grid-template-columns:1fr 1fr;gap:20px}
  .case-top .pt-info{display:block}
}
@media (max-height:900px){
  .tcard p,.tcard .qtext{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden}
}

@media (max-width:767px){
  .phase-grid,.phase-grid>*,.split>*,.wrap>*{min-width:0;max-width:100%}
  .prose ul li,ul.ticks li{padding-right:1.6em}
  .art-fig figcaption,figure figcaption{text-align:center!important}
  .hero-bg{max-height:32svh!important}
  ul.cards.c3,ul.bigcards,ol.steps{display:flex!important;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:12px;padding:0 0 8px;margin-inline:0;max-width:100%;scrollbar-width:none;grid-template-columns:none}
  ul.cards.c3::-webkit-scrollbar,ul.bigcards::-webkit-scrollbar,ol.steps::-webkit-scrollbar{display:none}
  ul.cards.c3>li,ul.bigcards>li,ol.steps>li{flex:0 0 84%;scroll-snap-align:start;min-width:0}
  ul.cards.c3 .card-media img,ul.bigcards .bc-media img{max-height:28svh;object-fit:cover}
  .phase-media,.hp-treat-media{max-height:24svh;overflow:hidden}
  .phase-media img,.hp-treat-media img{max-height:24svh;width:100%;object-fit:cover}
  ul.tiles{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;align-items:stretch}
  .areas ul.chips{display:grid!important;grid-template-columns:repeat(3,1fr);gap:6px;align-items:stretch}
  ul.tiles>li,.areas ul.chips>li{display:flex}
  ul.tiles a.tile,.areas ul.chips a{display:flex;align-items:center;width:100%;height:100%;min-height:46px;padding:6px 8px;line-height:1.2;font-size:.8125rem}
  .areas ul.chips a svg{display:none}
  /* The two offices are in the footer of every page; the areas section keeps to the areas on phones */
  .areas .offices-row{display:none}
  .tcard p,.tcard .qtext{-webkit-line-clamp:6}
  .tabpanels [role=tabpanel]{padding:14px 16px!important}
  .tablist{margin-bottom:12px!important}
  .pt-facts{padding:14px!important}
  .pt-facts .pt-dl{grid-template-columns:1fr 1fr;gap:6px 12px!important}
  .pt-facts dl div{padding-bottom:4px!important}
  .pt-facts .sat{gap:6px!important}
  .prose ol,.article-body ol{background:none!important;box-shadow:none!important;border:0!important;padding-inline-start:1.2em}
  .ftr,.ftr.no-cta{padding-top:20px!important}
  .ftr-cta .ftr-h{font-size:1.3rem!important;line-height:1.15}
  .ftr-cta .btns{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px!important}
  .ftr-cta .btns .btn{padding-inline:10px;font-size:.875rem;white-space:nowrap}
  .ftr-glass{margin-top:12px!important;padding:12px 14px 14px!important;border-radius:20px}
  .ftr-grid{grid-template-columns:1fr 1fr!important;gap:6px 12px!important;padding-bottom:4px!important}
  .ftr-brand{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}
  .ftr-brand img{width:120px!important;margin:0!important}
  .ftr-brand .soc{display:flex;gap:2px}
  .ftr-posts{display:none}
  .ftr .fh{font-size:.8125rem;margin:0 0 2px}
  .ftr .offices li,.ftr .contact li{font-size:.75rem;line-height:1.3;margin:0 0 3px}
  .ftr .nw{white-space:normal}
  .ftr .offices .office-l{min-height:0}
  .ftr .offices svg,.ftr .contact svg{display:none}
  .ftr-legal{justify-content:center;text-align:center;gap:0;padding-top:4px;font-size:.6875rem}
  .ftr-legal p{width:100%;margin:0 0 8px}
  .ftr-legal ul{display:grid!important;grid-template-columns:repeat(3,auto);justify-content:center;gap:2px 12px}
  .ftr-legal ul a{min-height:44px;margin-block:-11px;line-height:22px}
}
@media (max-width:359px){
  .areas ul.chips{grid-template-columns:1fr 1fr}
}
@media (max-width:340px){
  .hp-sarah-media{margin-inline:auto}
  .prose,.prose p{line-height:1.5}
}

/* Short screens: tighter rhythm, and photos and films sized to the room left */
@media (max-width:991px) and (max-height:760px){
  .sec{padding-block:22px!important}
  .shead{margin-bottom:10px!important}
  .shead .prose p{margin:0 0 6px}
  .hero{min-height:0!important}
  .clamp{max-height:9em}
  .ba{max-width:min(100%,calc((100svh - 300px) * var(--ar,1)))!important;margin-inline:auto!important}
  .yt{max-width:min(100%,calc((100svh - 300px) * 16 / 9));margin-inline:auto}
  .split-media{max-height:38svh;overflow:hidden}
  .split-media img{max-height:38svh;object-fit:cover;width:100%}
}
@media (max-height:600px){
  .sec{padding-block:16px!important}
  .h2{font-size:clamp(1.2rem,1rem + 1.3vw,1.6rem)!important}
  .h1,.hero-title,.post-title{font-size:clamp(1.45rem,1.2rem + 2vw,2rem)!important}
  .prose{font-size:.9375rem}
  .clamp{max-height:7em}
  .tcard p,.tcard .qtext{-webkit-line-clamp:3}
  .qtext.sm,.shead .lede{font-size:1rem!important}
  .hero-bg{max-height:24svh!important}
  .hero{padding-bottom:12px!important}
  .post-hero,.arch-hero,.chero{padding-top:0!important}
  .ftr-cta .ftr-h{font-size:1.1rem!important}
  .ftr-cta .btns .btn{min-height:44px;padding-block:8px}
  .ftr-legal p{font-size:.625rem}
  .ba{max-width:min(100%,calc((100svh - 330px) * var(--ar,1)))!important}
  .yt{max-width:min(100%,calc((100svh - 300px) * 16 / 9))}
  .pcard .pc-media,.card-media{max-height:26svh;overflow:hidden}
  .split-media,.split-media img{max-height:28svh}
  .tabpanels [role=tabpanel]{padding:10px 12px!important;font-size:.9375rem}
}
/* Phones on their side and flip covers: no booking bar (the header carries Book), every card and photo fits whole */
@media (max-height:460px){
  .mbar{display:none!important}
  .ba{max-width:min(100%,calc((100svh - 120px) * var(--ar,1)))!important;margin-inline:auto!important}
  .yt{max-width:min(100%,calc((100svh - 120px) * 16 / 9));margin-inline:auto}
  .pcard .pc-media,.card-media,.bs-card img{max-height:calc(100svh - 210px);overflow:hidden}
  .pcard .pc-media img,.card-media img{height:100%;object-fit:cover}
  .tcard,.tcard2{padding:12px!important;gap:6px!important}
  .tcard p,.tcard .qtext,.tcard2 p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .card-body{padding:10px 14px!important}
  .split-media,.split-media img,img.zoomable{max-height:calc(100svh - 140px)}
  .prose p{font-size:.9375rem;line-height:1.45}
}

/* Phase steps in two columns on tablets and up: no single timeline line through them */
@media (min-width:768px){ol.steps::before,ol.steps::after{display:none}}

/* Round 4, Dec 5: solid bars, one-line buttons, 44px targets everywhere, compact chips */
.hdr:not(.on-dark){background:#fff}
.pgnav{background:#faf7f2}
.pgnav ol{padding-block:1px}
.pgnav button{display:flex;align-items:center;min-height:44px}
.btn{white-space:nowrap}
.btns>.rating-chip{align-self:stretch!important;height:auto!important}
.pager a{min-width:44px!important}
.toc ol a,.ftr .posts a,.prose li>a:only-child{display:inline-block;padding-block:11px;margin-block:-11px}
.chips li,.chips a,ul.tiles li{animation:none!important;transition:none!important}
@media (max-width:767px){
  .ftr .offices .office-l{min-height:44px}
  .ftr-legal ul{row-gap:0!important}
  .ftr-legal ul a{margin-block:0!important}
  .ftr-legal ul li{display:flex;align-items:center}
  .areas ul.chips>li,.related-links ul.chips>li{padding:0!important;min-height:44px}
  .areas ul.chips a,.related-links ul.chips a{display:flex;align-items:center;width:100%;min-height:44px;padding:6px 10px}
}
@media (max-width:767px) and (min-height:601px) and (max-height:760px){
  .h2{font-size:1.5rem!important;line-height:1.2!important}
}
@media (max-width:767px) and (max-height:760px){
  .btns{margin-top:16px!important}
  .ba-row{grid-auto-columns:min(68%,380px)!important}
  .tcard p,.tcard .qtext{-webkit-line-clamp:5}
  .hp-sarah-media{justify-self:stretch;width:100%!important;max-width:none!important}
  .hp-sarah-media img{width:100%!important;height:100%;object-fit:cover;object-position:50% 15%}
}
@media (max-height:460px){
  .hdr .book{display:inline-flex!important}
  .ba-row>li .ba{margin-left:0!important}
}

/* Ankord standard dock, as on Hazany Derm (Dec 5): on phones and small tablets the accessibility button, the Call and Book
   dock and the cookie button sit on one line at the bottom, one height, in the site's dark teal. dock.js sizes and places
   ComplyMo's two buttons; this places the dock between them. */
@media (max-width:899px){
  .mbar{left:68px!important;right:68px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;max-width:460px;margin-inline:auto;display:flex;gap:4px;height:54px;padding:4px!important;box-sizing:border-box;background:#092f30!important;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:translateY(calc(100% + 24px))}
  .mbar.show{transform:none}
  .mbar a{flex:1 1 0;min-width:0;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 10px!important;border-radius:10px!important;display:flex!important;align-items:center;justify-content:center;gap:7px;font:500 15px/1 var(--ui);text-decoration:none;white-space:nowrap;box-shadow:none!important}
  .mbar .dk-call{background:rgba(255,255,255,.09)!important;color:#fff!important}
  .mbar .dk-call svg{width:17px;height:17px;flex:none}
  .mbar .btn{flex:1.4 1 0;background:#fff!important;color:#092f30!important}
  .ftr-legal{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
}
@media (max-width:419px){.mbar .dk-x{display:none}}
@media (max-width:340px){.mbar{left:60px!important;right:60px!important}.mbar a{font-size:14px;padding:0 6px!important}}
@media (max-width:899px){.mbar .btn{gap:0}.mbar .dk-x{white-space:pre}}
/* Tablets: the story photo sits at the top of its column, beside the heading */
@media (min-width:640px) and (max-width:899px){.story .split{align-items:start}}
/* Dock stays in place on phones and small tablets from the first screen (Dec 5): the accessibility and cookie buttons never
   stand alone over the hero. The first screen keeps its buttons above the dock. */
@media (max-width:899px){
  .mbar{transform:none!important}
  .hv{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
}
@media (max-width:899px) and (max-height:760px){
  .hero .hero-bg{max-height:24svh!important}
  .hero .hero-in{padding-top:10px!important}
  .hero .hero-proof{margin-top:8px!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
}
