/* Profile identity and photography: preserve real images and honest fallbacks. */
html body .lp .lp-head{background:var(--pv-panel)!important;background-image:none!important;color:var(--pv-ink);border:1px solid var(--pv-line);border-top:5px solid #2854d9;padding:32px;gap:32px;grid-template-columns:minmax(0,1fr) 280px}
html body .lp .lp-head::before{display:none}
html body .lp .lp-head h1{color:var(--pv-ink);font-size:clamp(28px,3vw,40px);line-height:1.15;letter-spacing:-.035em;margin:10px 0 16px}
html body .lp .lp-head .eyebrow{color:var(--pv-muted);font-size:14px}
html body .lp .lp-head .lp-kind{background:var(--pv-tint);color:var(--pv-blue)}
html body .lp .lp-idwrap{gap:24px}
html body .lp .lp-head .lp-photo{width:128px;height:128px;box-shadow:0 0 0 1px var(--pv-line),0 8px 24px #10223c0d;border-radius:24px;background:var(--pv-tint);color:var(--pv-blue);object-position:center}
html body .lp .lp-kind-person .lp-photo{border-radius:50%;object-fit:cover}
html body .lp .lp-head img.lp-logo{object-fit:contain;padding:12px;background:#fff}
html body .lp .lp-head .lp-placemark{background:linear-gradient(145deg,var(--pv-tint),var(--pv-panel));gap:8px;align-content:center}
html body .lp .lp-head .lp-placemark svg{width:40px;height:40px}
html body .lp .lp-head .lp-placemark small{font:700 11px/1.2 system-ui;letter-spacing:.1em;text-transform:uppercase}
html body .lp .profile-photo-open{flex:none;display:block;border:0;padding:0;background:none;cursor:zoom-in;border-radius:24px;position:relative}
html body .lp .profile-photo-open::after{content:'View photo';display:block;color:var(--pv-muted);font:600 12px/1.4 system-ui;margin-top:9px;text-align:center}
html body .lp .profile-photo-open:focus-visible{outline:3px solid #3976ee;outline-offset:6px}
html body .lp .lp-head .lp-addr,html body .lp .lp-head .lp-access,html body .lp .lp-head .lp-managed,html body .lp .lp-head .lp-at{color:var(--pv-muted);line-height:1.55}
html body .lp .lp-head .lp-at a,html body .lp .lp-head .lp-managed a{color:var(--pv-blue)}
html body .lp .lp-head .pt-facts li{background:var(--pv-tint);color:var(--pv-ink)}
html body .lp .lp-pile{color:var(--pv-blue);margin:0 0 16px;font-size:14px}
html body .lp .lp-pile-faces span{box-shadow:0 0 0 2px var(--pv-panel)}
html body .lp .lp-head .lp-more-contact>summary{color:var(--pv-blue);min-height:44px;display:flex;align-items:center}
html body .lp .lp-today{background:var(--pv-tint);border:1px solid var(--pv-line);border-radius:20px;padding:22px;align-self:stretch;color:var(--pv-ink)}
html body .lp .lp-today-h{font-weight:700;color:var(--pv-ink);margin:0 0 8px}
html body .lp .lp-head .lp-open,html body .lp .lp-nohours{color:var(--pv-muted);font-size:14px;line-height:1.6}
html body .lp .lp-today-soon{margin-top:20px;color:var(--pv-muted);font-size:14px;line-height:1.6}
html body .lp .lp-today-soon>b{display:block;color:var(--pv-ink);font-size:16px;margin-bottom:5px}
html body .lp .lp-today-soon .btn{width:100%;justify-content:center;min-height:46px;border-radius:12px;margin-top:14px}
html body .lp .lp-today .lp-utilities{border-top:1px solid var(--pv-line)!important;gap:4px 16px;margin-top:20px;padding-top:12px}
html body .lp .lp-today .lp-utilities .btn{color:var(--pv-blue)!important;min-height:44px;font-size:13px;text-decoration:none}
html body .lp .lp-today #profileActionStatus{color:var(--pv-muted)!important}
html body .lp .pt-grid{align-items:stretch;gap:14px}
html body .lp .pt-card{border-radius:18px;overflow:hidden;transition:border-color .15s,box-shadow .15s}
html body .lp .pt-card:hover{border-color:#9cb8ef;box-shadow:0 8px 22px #1634510b}
html body .lp .pt-link{padding:20px;gap:16px;height:100%;align-items:flex-start}
html body .lp .pt-link>img,html body .lp .pt-link>.pt-ini{width:68px;height:68px;flex:0 0 68px;object-fit:cover;border-radius:50%;background:var(--pv-tint);border:1px solid var(--pv-line)}
html body .lp .pt-main>b{font-size:17px;line-height:1.35}
html body .lp .pt-main::after{content:'View profile →';display:block;font-size:13px;font-weight:650;color:var(--pv-blue);margin-top:12px}
html body .lp .pt-tags{font-size:14px;line-height:1.5}
html body .lp .profile-gallery .gallery-grid{grid-template-columns:2fr 1fr 1fr;gap:12px}
html body .lp .profile-gallery .gallery-grid figure:first-child{grid-row:span 2}
html body .lp .profile-gallery .gallery-grid figure:first-child img{aspect-ratio:4/3}
html body .lp .profile-gallery .gallery-grid img{border-radius:14px}
html body .lp .profile-gallery .gallery-grid figcaption{font-size:13px;color:var(--pv-muted)}
html body .lp .profile-gallery{scroll-margin-top:72px}
@media(max-width:1000px){html body .lp .lp-head{grid-template-columns:1fr}html body .lp .lp-today{display:block}html body .lp .lp-today-soon{margin-top:12px}}
@media(max-width:600px){html body .lp .lp-head{padding:22px 18px;gap:22px}html body .lp .lp-idwrap{flex-direction:column;gap:14px}html body .lp .lp-head .lp-photo{width:96px;height:96px;border-radius:22px}html body .lp .lp-kind-person .lp-photo{border-radius:50%}html body .lp .lp-head h1{font-size:29px;margin-top:8px}html body .lp .lp-today{padding:18px}html body .lp .pt-link{padding:16px;gap:12px}html body .lp .pt-link>img,html body .lp .pt-link>.pt-ini{width:56px;height:56px;flex-basis:56px}html body .lp .profile-gallery .gallery-grid{grid-template-columns:1fr 1fr}html body .lp .profile-gallery .gallery-grid figure:first-child{grid-column:1/-1;grid-row:auto}}
@media(prefers-reduced-motion:reduce){html body .lp .pt-card{transition:none}}
/* Inherit both explicit and system theme colours. */
html body .lp{--pv-tint:color-mix(in srgb,var(--pv-panel) 92%,#4078ed);--pv-blue:var(--link,#2453d8)}
html[data-theme=dark] body .lp{--pv-blue:#9abaff}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) body .lp{--pv-blue:#9abaff}}
html body .lp .lp-head .lp-placemark small{color:var(--pv-muted)}
html body .lp .profile-gallery .gallery-grid figure:only-child{grid-column:1/-1;grid-row:auto;max-width:780px}
html body .lp .profile-gallery .gallery-grid figure:only-child img{aspect-ratio:16/9}

/* Keep the team visible before optional refinements. */
.lp .pt-refine{border:1px solid var(--pv-line);border-radius:14px;padding:0 14px;background:var(--pv-panel)}
.lp .pt-refine>summary{padding:14px 0;min-height:44px;box-sizing:border-box;cursor:pointer;font-weight:650;color:var(--pv-blue)}
.lp .pt-refine[open]{padding-bottom:14px}.lp .pt-refine .pt-fgroup{margin-top:10px}
.lp .lp-section-nav{gap:6px;scrollbar-width:thin;scroll-padding-inline:12px}
.lp .lp-section-nav a{border-radius:10px;padding:12px 16px;white-space:nowrap;min-height:44px;box-sizing:border-box}
.lp .lp-section-nav a:hover,.lp .lp-section-nav a:focus-visible{background:var(--pv-tint);color:var(--pv-blue)}
@media(max-width:600px){.lp .lp-section-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}.lp .lp-section-nav a{flex:none}.lp .pt-fgroup{gap:8px}.lp .pt-chip{min-height:44px}.lp .lp-section-nav~*{scroll-margin-top:20px}}

html body .lp .pt-clear{color:var(--pv-blue);min-height:44px;padding:8px 0}.lp .pt-results{font-size:14px;color:var(--pv-muted);margin:12px 0 0}
html body .lp .lp-today-soon .btn.lp-book-online{background:var(--pv-blue,#2448d8);color:#fff;border-color:var(--pv-blue,#2448d8)}html body .lp .lp-today-soon .btn.lp-book-online+.btn{margin-top:8px}

/* Individual clinician profiles */
html body .lp-person{
  --clinician-wash:color-mix(in srgb,var(--pv-panel) 91%,#6c9cb5);
  --clinician-line:color-mix(in srgb,var(--pv-line) 80%,#7196ad);
}
html body .lp-person .lp-head{
  background:linear-gradient(145deg,var(--pv-panel) 35%,var(--clinician-wash))!important;
  border:1px solid var(--clinician-line);
  border-top:1px solid var(--clinician-line);
  border-radius:26px;
  padding:clamp(24px,4vw,48px);
  box-shadow:0 16px 40px #101e3a0b;
}
html body .lp-person .lp-idwrap{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:clamp(18px,2.5vw,36px);
}
html body .lp-person .lp-head .lp-photo{
  width:clamp(100px,11vw,156px);
  height:clamp(100px,11vw,156px);
  border-radius:24px;
  box-shadow:0 0 0 1px var(--clinician-line),0 10px 24px #10223c14;
}
html body .lp-person .lp-head h1{
  font-size:clamp(32px,4vw,54px);
  line-height:1.06;
  letter-spacing:-.04em;
  margin:10px 0 12px;
  overflow-wrap:anywhere;
}
html body .lp-person .lp-head .lp-identity-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 14px;
}
html body .lp-person .lp-head .lp-identity-badges>span{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:5px 9px;
  border:1px solid var(--clinician-line);
  border-radius:8px;
  background:var(--pv-panel);
  color:var(--pv-ink);
  font:650 .8125rem/1.35 system-ui,sans-serif;
}
html body .lp-person .lp-today{
  background:var(--pv-panel);
  border-color:var(--clinician-line);
  border-radius:18px;
}
html body .lp-person .lp-grid>div>section.lp-intro .lp-about{
  font-size:1.0625rem;
  line-height:1.7;
  max-width:70ch;
}
html body .lp-person .lp-section-nav{margin-top:12px}
@media(max-width:600px){
  html body .lp-person .lp-head{padding:20px 16px;gap:16px;border-radius:20px}
  html body .lp-person .lp-idwrap{grid-template-columns:minmax(0,1fr);gap:14px}
  html body .lp-person .lp-head .lp-photo{width:92px;height:92px;border-radius:18px}
  html body .lp-person .profile-photo-open{justify-self:start}
  html body .lp-person .lp-head h1{font-size:clamp(28px,8vw,38px)}
}
@media(max-width:600px){
  html body .lp-person .lp4-contact>.btn{grid-column:1/-1}
}
