/* 24 Nov 2026 (Claude) profile v4: first-screen answer card, one main action ("Book or ask" panel), small verified badge,
   practice-facing line instead of the "Claimed" card. Loaded after profile-refresh.css. */

html body .lp .lp-head .lp-verified{
  --lp-check-ink:#fff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  vertical-align:middle;
  margin:0 0 0 8px;
  padding:4px 10px 4px 6px;
  border:1px solid #a9d9d2;
  border-radius:999px;
  background:#e5f5f2;
  color:#075d54;
  -webkit-text-fill-color:currentColor;
  font:700 13px/1.2 system-ui,sans-serif;
  letter-spacing:0;
  white-space:nowrap;
}
html body .lp .lp-head .lp-identity-badges .lp-verified{margin:0}
html[data-theme=dark] body .lp .lp-head .lp-verified{
  --lp-check-ink:#103b35;
  border-color:#38776d;
  background:#153e38;
  color:#a1eadc;
}
.lp-verified-mark{width:19px;height:19px;flex:none}
.lp-verified-check{stroke:var(--lp-check-ink)}

/* answer card */
.lp4-glance{margin:14px 0 6px;padding:12px;border:1px solid #DCE6F5;border-radius:16px;background:#F7FAFF}
.lp4-glance ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.lp4-glance li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #E5ECF7}
.lp4-glance li b{font-size:15px;line-height:1.25;color:#0E1B2E}
.lp4-glance li span{font-size:12.5px;color:#56657A}
.lp4-glance li.lp4-g-soon{background:#EAF7EE;border-color:#BFE5CB}.lp4-glance li.lp4-g-soon b{color:#14532D}.lp4-glance li.lp4-g-soon span{color:#2F6B45;font-weight:600}
.lp4-glance li.lp4-g-warn{background:#FFF6E8;border-color:#F3D7A6}
.lp4-cost{margin:10px 2px 0;font-size:13.5px;line-height:1.45;color:#334155}
.lp4-cost a{font-weight:600;white-space:nowrap}
html[data-theme=dark] .lp4-glance{background:#101a2e;border-color:#24364A}html[data-theme=dark] .lp4-glance li{background:#14212F;border-color:#24364A}
html[data-theme=dark] .lp4-glance li b{color:#E5EEF7}html[data-theme=dark] .lp4-glance li span,html[data-theme=dark] .lp4-cost{color:#A9B8C9}
html[data-theme=dark] .lp4-glance li.lp4-g-soon{background:#123323;border-color:#1E5236}html[data-theme=dark] .lp4-glance li.lp4-g-soon b,html[data-theme=dark] .lp4-glance li.lp4-g-soon span{color:#A7E9BE}

/* two buttons: Call and Book or ask */
html body .lp4-contact{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
html body .lp4-contact>.btn,html body .lp4-contact>a{width:100%;justify-content:center;min-height:50px!important;font-size:16px!important;font-weight:700!important}
html body .lp4-contact .lp4-book{background:#fff!important;color:#1D4ED8!important;border:1.5px solid #1D4ED8!important}
html body .lp4-contact .lp4-book:hover{background:#EEF4FF!important}
html body .lp4-contact>.rc-open-btn{display:none!important}   /* moved into the panel by profile-v4.js */
html[data-theme=dark] body .lp4-contact .lp4-book{background:transparent!important;color:#BFD0FF!important;border-color:#5B7BD6!important}
@media (max-width:380px){html body .lp4-contact{grid-template-columns:1fr!important}}

/* the panel: a bottom sheet on phones, a centred dialog on larger screens */
.lp4-sheet{position:fixed;inset:0;z-index:1200;background:rgba(10,20,40,.45);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s ease}
.lp4-sheet[hidden]{display:none}.lp4-sheet.on{opacity:1}
.lp4-panel{width:100%;max-width:560px;max-height:88dvh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(10,20,40,.25);transform:translateY(24px);transition:transform .18s ease}
.lp4-sheet.on .lp4-panel{transform:none}
@media (min-width:761px){.lp4-sheet{align-items:center}.lp4-panel{border-radius:22px;padding:22px}}
.lp4-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.lp4-top h2{margin:0;font-size:22px}
.lp4-x{width:44px;height:44px;border-radius:22px;border:1px solid #D5DEEA;background:#fff;font-size:18px;cursor:pointer;color:#0E1B2E}
.lp4-soonline{margin:0 0 12px;font-size:14px;color:#14532D}
.lp4-opts{display:flex;flex-direction:column;gap:8px}
.lp4-fd{display:contents}.lp4-fd[hidden]{display:none}
.lp4-opt{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;width:100%;text-align:left;padding:13px 14px!important;border:1.5px solid #D9E3F1!important;border-radius:14px!important;background:#fff!important;color:#0E1B2E!important;text-decoration:none;font:inherit;cursor:pointer;min-height:56px;box-shadow:none!important}
.lp4-opt b{font-size:16px;color:#1D4ED8}.lp4-opt span{font-size:13px;color:#56657A;line-height:1.4;font-weight:400}
.lp4-opt:hover{border-color:#1D4ED8!important;background:#F5F8FF!important}
.lp4-opt.lp4-pri{background:#1D4ED8!important;border-color:#1D4ED8!important}.lp4-opt.lp4-pri b{color:#fff}.lp4-opt.lp4-pri span{color:#DCE7FF}
.lp4-opt.lp4-fdbtn b{color:#0F766E}
.lp4-opt:focus-visible,.lp4-x:focus-visible{outline:3px solid #93C5FD;outline-offset:2px}
.lp4-panel .lp-more-contact{margin-top:12px!important}
.lp4-panel .lp-more-contact .lp-actions{margin-top:8px}
html.lp4-lock,html.lp4-lock body{overflow:hidden}
html[data-theme=dark] .lp4-panel{background:#14212F;color:#E5EEF7}html[data-theme=dark] .lp4-x{background:transparent;color:#E5EEF7;border-color:#36506A}
html[data-theme=dark] .lp4-opt{background:#14212F!important;border-color:#2B3F57!important;color:#E5EEF7!important}html[data-theme=dark] .lp4-opt b{color:#BFD0FF}html[data-theme=dark] .lp4-opt span{color:#A9B8C9}
html[data-theme=dark] .lp4-opt.lp4-pri{background:#2448d8!important}html[data-theme=dark] .lp4-opt.lp4-pri b{color:#fff}
@media (prefers-reduced-motion:reduce){.lp4-sheet,.lp4-panel{transition:none}}

/* practice-facing details: one quiet line instead of a "Claimed" card */
.lp4-owner{margin:4px 2px 0;font-size:13px;line-height:1.5;color:#56657A}
.lp4-owner a{white-space:nowrap}

/* the sticky bar's copy of "Book or ask" */
html body .lp-bar a[href="#book"]{background:#fff!important;color:#1D4ED8!important;border:1.5px solid #1D4ED8!important}

/* "More options" was pale blue on white (a dark-theme colour applied in light mode) */
html:not([data-theme=dark]) body .lp .lp-more-contact > summary{color:#1D4ED8!important;-webkit-text-fill-color:#1D4ED8}
/* phones: the answer card is two columns so Call / Book or ask stay near the top */
@media (max-width:760px){
  .lp4-glance{padding:10px}
  .lp4-glance ul{grid-template-columns:1fr 1fr;gap:6px}
  .lp4-glance li{padding:8px 10px}
  .lp4-glance li b{font-size:14px}.lp4-glance li span{font-size:12px}
  .lp4-glance li.lp4-g-soon{grid-column:1 / -1}
  .lp4-cost{font-size:12.5px}
}
.lp-cards li>b+span,.lp-cards li>p+span{display:block;margin-top:4px;font-size:13.5px;color:#56657A}
/* 25 Nov 2026 (Claude): fees set by the practice, payment and access, Medicare estimate */
.lp4-fees,.lp4-access{margin:10px 2px 0;font-size:14px;line-height:1.45;color:#1e293b}
.lp4-est b{color:#0f172a}
html[data-theme=dark] .lp4-fees,html[data-theme=dark] .lp4-access{color:#E5EEF7}
html[data-theme=dark] .lp4-est b{color:#fff}
/* 25 Nov 2026 (Claude): How we know this panel */
.lp-howknow{margin:24px 0 8px;border:1px solid #d9e2ec;border-radius:10px;padding:0 16px;background:#fbfcfe}
.lp-howknow summary{cursor:pointer;font-weight:600;padding:12px 0;list-style-position:inside}
.lp-howknow dl{margin:0 0 8px}
.lp-howknow dl div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 0;border-top:1px solid #eef2f6}
.lp-howknow dt{font-weight:600;color:#334}
.lp-howknow dd{margin:0}
@media (max-width:560px){.lp-howknow dl div{grid-template-columns:1fr;gap:2px}}
/* 25 Nov 2026 (Claude): moved or closed report form */
.lp-moved form{display:grid;gap:10px;padding:0 0 14px}.lp-moved label{display:grid;gap:4px;font-weight:600;font-size:14px}.lp-moved select,.lp-moved input{font:inherit;padding:9px 10px;border:1px solid #b8c4d0;border-radius:8px;min-height:44px}.lp-moved .btn{justify-self:start}
/* 25 Nov 2026 (Claude): Before you go */
.lp-byg dl{margin:8px 0}.lp-byg dl div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid #eef2f6}.lp-byg dt{font-weight:600}.lp-byg dd{margin:0;min-width:0;overflow-wrap:anywhere}
@media (max-width:560px){.lp-byg dl div{grid-template-columns:1fr;gap:2px}}

/* 27 Nov 2026 bug check: a long web address in 'Before your visit' widened the page sideways on narrow screens */
@media(max-width:600px){.lp-byg dl div{grid-template-columns:1fr;gap:2px}}
/* 27 Nov 2026 (Claude): phone profile header polish — photo beside the name, quieter labels, thin accent line,
   credentials as a calm line instead of a big bubble, and no clipped breadcrumb when "Back to results" is shown */
@media(max-width:600px){
html.lp-hasreturn body nav.crumbs{display:none!important}
html body #lpReturn:not([hidden]){display:inline-flex;align-items:center;gap:6px;font:600 15px/1.3 var(--body,system-ui,sans-serif);text-decoration:none;margin:4px 0 14px!important;color:var(--pv-blue,#2854d9)}
html body .lp:not(.lp-person) .lp-head{border-top-width:1px!important;background-image:linear-gradient(#2854d9,#2854d9)!important;background-size:100% 3px!important;background-repeat:no-repeat!important;border-radius:22px;padding:20px 18px!important}
html body .lp:not(.lp-person) .lp-idwrap{display:grid!important;grid-template-columns:76px minmax(0,1fr);column-gap:14px!important;row-gap:0!important;align-items:center}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext{display:contents}
html body .lp:not(.lp-person) .lp-idwrap>:first-child{grid-row:1/3;grid-column:1;align-self:center;margin:0!important}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>*{grid-column:1/-1}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.eyebrow{grid-column:2;grid-row:1;align-self:end;margin:0!important;font-size:13.5px!important;line-height:1.3}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>h1{grid-column:2;grid-row:2;align-self:start;font-size:clamp(22px,6.4vw,27px)!important;line-height:1.15!important;margin:2px 0 0!important;letter-spacing:-.02em}
html body .lp:not(.lp-person) .lp-kind-person .lp-idtext>.eyebrow .lp-kind{display:none}
html body .lp:not(.lp-person) .lp-head .lp-photo{width:76px!important;height:76px!important;box-shadow:0 0 0 1px var(--pv-line,#e3e8f0)!important}
html body .lp:not(.lp-person) .profile-photo-open::after{display:none!important}
html body .lp .lp-head h1 .lp-verified{display:flex;width:max-content;margin:6px 0 0}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>:nth-child(3){margin-top:18px!important}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.lp-at{margin-bottom:0!important}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.lp-managed{margin:10px 0 0!important}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.lp-addr{margin:14px 0 0!important;font-size:15px!important;line-height:1.5}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.lp-access{margin:8px 0 0!important}
html body .lp:not(.lp-person) .lp-idwrap>.lp-idtext>.lp4-glance{margin-top:16px!important}
html body .lp:not(.lp-person) .lp-head .lp-at,html body .lp:not(.lp-person) .lp-head .pt-part{font-size:15px}
html body .lp:not(.lp-person) .lp-head .pt-facts{margin:12px 0 4px!important;gap:6px}
html body .lp:not(.lp-person) .lp-head .pt-facts li{border-radius:12px!important;padding:8px 12px!important;font:500 14px/1.45 var(--body,system-ui,sans-serif)!important;background:var(--pv-tint,#eef3ff)!important}
}

/* 28 Nov 2026 (Claude): WCAG AA contrast for the small print under the Medicare estimate */
html body .lp .lp4-cost .lp-mute{color:#4B5D78}
html[data-theme=dark] body .lp .lp4-cost .lp-mute{color:#A9B8C9}

/* 28 Nov 2026 (Claude): "Details confirmed" beside the name */
html body .lp .lp-confirmed{display:inline-flex;align-items:center;vertical-align:middle;margin-left:8px;padding:3px 10px;border-radius:999px;background:#e8f6ee;color:#14633a;font:600 13px/1.3 var(--body-font,system-ui);letter-spacing:0}
html[data-theme=dark] body .lp .lp-confirmed{background:#123a26;color:#9be3b8}

.lp .lp-visit{scroll-margin-top:7rem}
.lp .lp-visit dt{color:var(--pv-muted,var(--ink))}
.lp .lp-visit dd,.lp .lp-intro .lp-about{white-space:pre-line}
.lp .lp-visit dl div{border-color:var(--pv-line,#e3e8f0)}
