/* =====================================================================
   Medvisor - site layout (header, footer, home page)
   Ported from the "reference html" registry layout. Loaded after
   app.css; everything is scoped to header.site, footer.site and
   .mv-home so the inner pages keep their existing styling.
   ===================================================================== */
:root {
  --display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main#main { flex: 1 0 auto; }
body.page-home { background: #fff; }
html { scroll-behavior: smooth; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 34px; }
@media (max-width: 620px) { .wrap { padding: 0 20px; } }

/* ============ HEADER ============ */
header.site {
  position: sticky; top: 0; z-index: 100; background: rgba(250, 249, 253, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 35, 80, .07);
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, background .25s ease;
}
header.site .wrap { max-width: 100%; padding: 0 34px; }
header.site.header-hidden { transform: translateY(-100%); box-shadow: none; }
header.site.scrolled { box-shadow: 0 8px 24px rgba(30, 35, 80, .08); }
header.site .bar { display: flex; align-items: center; gap: 24px; height: 72px; }
header.site a:hover { text-decoration: none; }
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
header.site .brand img { display: block; height: 47px; width: auto; mix-blend-mode: multiply; flex: none; max-width: none; }
header.site nav.main { display: flex; gap: 5px; margin-left: 8px; align-items: center; }
header.site nav.main a {
  padding: 8px 15px; border-radius: 999px; text-decoration: none;
  font: 600 16px/1.4 var(--body); color: #4C5675; transition: all .15s ease;
}
header.site nav.main a:hover { background: #0000000f; color: #5A23E0; }
header.site nav.main a.on { color: #121B4A; font-weight: 700; background: #0000000f; }
header.site nav.main a.nav-cta { display: none; }
header.site .hdr-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; flex: none; }
header.site .hdr-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px;
  background: linear-gradient(105deg, #5A23E0, #9B4BFF); color: #fff; font: 600 13.5px/1.4 var(--body);
  box-shadow: 0 8px 22px rgba(90, 35, 224, .28); white-space: nowrap;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .22s cubic-bezier(.16, 1, .3, 1);
}
header.site .hdr-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(90, 35, 224, .36); }
header.site .navburger { display: none; }

@media (max-width: 1200px) {
  header.site nav.main { gap: 4px; margin-left: 4px; }
  header.site nav.main a { padding: 7px 11px; font-size: 14.5px; }
}
@media (max-width: 1040px) {
  header.site .bar { height: auto; padding-block: 12px; position: relative; gap: 12px; }
  header.site .navburger {
    display: inline-grid; place-content: center; gap: 5px; width: 46px; height: 46px; flex: none;
    border: 1px solid rgba(30, 35, 80, .15); border-radius: 12px; background: #fff; cursor: pointer; padding: 0;
  }
  header.site .navburger span {
    display: block; width: 19px; height: 2px; border-radius: 2px; background: #121B4A;
    transition: transform .24s cubic-bezier(.16, 1, .3, 1), opacity .18s ease;
  }
  header.site .navburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.site .navburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  header.site .navburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  header.site nav.main {
    display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-top: 1px solid rgba(30, 35, 80, .09); box-shadow: 0 18px 40px rgba(30, 35, 80, .10);
    padding: 8px 20px 16px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .26s cubic-bezier(.16, 1, .3, 1), visibility .22s;
    max-height: calc(100vh - 100%); overflow-y: auto; z-index: 60;
  }
  header.site nav.main.open { opacity: 1; visibility: visible; transform: translateY(0); }
  header.site nav.main a {
    display: flex; align-items: center; width: 100%; padding: 15px 4px; font-size: 16px;
    border-bottom: 1px solid rgba(30, 35, 80, .09); border-radius: 0;
  }
  header.site nav.main a:hover, header.site nav.main a.on { background: transparent; }
  header.site nav.main a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  header.site .wrap { padding: 0 16px; }
  header.site .brand img { height: 40px; }
  header.site .hdr-btn { display: none; }
  header.site nav.main a.nav-cta { display: flex; color: #5A23E0; font-weight: 700; }
}

.doc-reply { margin-top: 14px; padding: 12px 16px; border-left: 3px solid #6D2EE6; background: #F6F2FF; border-radius: 0 10px 10px 0; }
.doc-reply-h { margin-bottom: 4px; }
.doc-reply summary { cursor: pointer; color: #5B21D6; font-weight: 600; }
.rv-reply { margin: 14px 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--spec, #5A23E0); background: rgba(90, 35, 224, .06); border-radius: 0 10px 10px 0; }
.rv-reply-h { margin: 0 0 4px; font-size: .92rem; }
.rv-reply-h .rv-date { margin-left: 8px; font-weight: 400; }
.rv-reply-body { margin: 0; white-space: pre-line; }

/* ============ FOOTER ============ */
footer.site { background: linear-gradient(180deg, #241A5C 0%, #1B1249 55%, #150E3B 100%); color: #B7B2DC; margin-top: auto; }
footer.site a:hover { text-decoration: none; }
footer.site p { margin: 0; }
footer.site .foot-alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 17px 21px; border-radius: 12px;
  background: rgba(240, 166, 255, .12); border: 1px solid rgba(240, 166, 255, .22); font-size: 14px;
  line-height: 1.55; color: #EFEBFF; margin-top: 34px;
}
footer.site .foot-alert b { color: #fff; }
footer.site .fa-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #F0A6FF; margin-top: 7px; }
footer.site .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 48px 0 34px; }
footer.site .foot-logo-wrap { display: inline-block; padding: 9px 13px; border-radius: 12px; background: #fff; margin-bottom: 16px; }
footer.site .foot-logo-wrap img { height: 38px; width: auto; display: block; mix-blend-mode: multiply; }
footer.site .foot-brand p { font-size: 13.5px; line-height: 1.6; color: #B7B2DC; max-width: 38ch; }
footer.site .foot-brand p.foot-note { margin-top: 10px; font-size: 12px; color: #9D97C8; }
footer.site .foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
footer.site .foot-badges span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .20); font-size: 13.5px; font-weight: 600; color: #D5D1EE; }
footer.site .foot-col h5 { font: 600 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #B7B2DC; margin: 0 0 16px; }
footer.site .foot-col a { display: block; margin-bottom: 11px; font-size: 13.5px; color: #D5D1EE; text-decoration: none; transition: color .15s ease; }
footer.site .foot-col a:hover { color: #fff; }
footer.site .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13); padding: 21px 0; display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: space-between; font-size: 12px; color: #B7B2DC;
}
@media (max-width: 980px) { footer.site .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { footer.site .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  footer.site .foot-col a { padding: 9px 0; margin-bottom: 4px; display: inline-block; width: 100%; }
  footer.site .foot-bottom { gap: 10px; }
}

@media print { header.site, footer.site { display: none !important; } }

/* ============ HOME ============ */
.mv-home { color: #121B4A; font-family: var(--body); }
.mv-home h1, .mv-home h2, .mv-home h3 { font-family: var(--display); color: #121B4A; margin: 0; text-wrap: balance; }
.mv-home p { margin: 0; }
.mv-home a:hover { text-decoration: none; }
.mv-home .hscroll { scrollbar-width: none; -ms-overflow-style: none; }
.mv-home .hscroll::-webkit-scrollbar { display: none; }

/* pills */
.mv-home .pill-grad, .mv-home .pill-ink, .mv-home .pill-violet, .mv-home .pill-white, .mv-home .pill-outline-light {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 999px; white-space: nowrap;
  font: 600 16px/1.4 var(--body); text-decoration: none;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .22s cubic-bezier(.16, 1, .3, 1), background-color .18s ease, color .18s ease;
}
.mv-home .pill-grad { background: linear-gradient(105deg, #5A23E0, #9B4BFF); color: #fff; box-shadow: 0 10px 26px rgba(90, 35, 224, .24); }
.mv-home .pill-ink { background: #121B4A; color: #fff; }
.mv-home .pill-violet { background: #5A23E0; color: #fff; box-shadow: 0 8px 24px rgba(90, 35, 224, .22); padding: 15px 28px; }
.mv-home .pill-white { background: #fff; color: #121B4A; padding: 12px 20px; box-shadow: 0 4px 14px rgba(30, 35, 80, .06); }
.mv-home .pill-outline-light { border: 1px solid rgba(255, 255, 255, .26); color: #fff; }
.mv-home .pill-grad:hover, .mv-home .pill-ink:hover, .mv-home .pill-violet:hover, .mv-home .pill-white:hover, .mv-home .pill-outline-light:hover { transform: translateY(-1px); }
.mv-home .pill-grad:hover, .mv-home .pill-ink:hover, .mv-home .pill-violet:hover, .mv-home .pill-outline-light:hover { color: #fff; }
.mv-home .pill-white:hover { color: #5A23E0; }
.mv-home .pill-outline-light:hover { background: rgba(255, 255, 255, .08); }

/* hero */
.hero-redesign {
  position: relative; overflow: hidden; padding: 0;
  background: linear-gradient(125deg, #100526 0%, #1c0842 28%, #0f0528 50%, #260a52 75%, #0d0421 100%);
  background-size: 200% 200%;
  animation: heroBgShift 7.5s ease-in-out infinite alternate;
}
@media (min-width: 1024px) {
  .hero-redesign { min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; }
}
@keyframes heroBgShift { 0% { background-position: 0% 20%; } 50% { background-position: 100% 80%; } 100% { background-position: 20% 100%; } }
.hero-glow-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform, opacity; }
.hero-orb-1 {
  top: -10%; left: 15%; width: clamp(260px, 72vw, 1100px); height: clamp(260px, 72vw, 1100px);
  background: radial-gradient(circle, #6B21F5 0%, rgba(107, 33, 245, .7) 40%, rgba(107, 33, 245, .2) 60%, rgba(107, 33, 245, 0) 75%);
  filter: blur(90px); opacity: .85; animation: heroMoveViolet 6s ease-in-out infinite alternate;
}
.hero-orb-2 {
  top: 10%; left: 42%; width: clamp(240px, 68vw, 1050px); height: clamp(240px, 68vw, 1050px);
  background: radial-gradient(circle, #9B4BFF 0%, rgba(185, 60, 242, .65) 40%, rgba(185, 60, 242, .18) 60%, rgba(185, 60, 242, 0) 75%);
  filter: blur(90px); opacity: .8; animation: heroMoveMagenta 7s ease-in-out infinite alternate;
}
.hero-orb-3 {
  top: 15%; left: -8%; width: clamp(200px, 54vw, 800px); height: clamp(200px, 54vw, 800px);
  background: radial-gradient(circle, #5A23E0 0%, rgba(90, 35, 224, .7) 40%, rgba(90, 35, 224, .2) 60%, rgba(90, 35, 224, 0) 75%);
  filter: blur(85px); opacity: .85; animation: heroMoveLeft 5.5s ease-in-out infinite alternate;
}
@keyframes heroMoveViolet { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(120px, 70px, 0) scale(1.15); } 100% { transform: translate3d(-70px, 90px, 0) scale(.92); } }
@keyframes heroMoveMagenta { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-100px, -60px, 0) scale(1.16); } 100% { transform: translate3d(80px, 80px, 0) scale(.90); } }
@keyframes heroMoveLeft { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(80px, -50px, 0) scale(1.18); } 100% { transform: translate3d(-40px, 60px, 0) scale(.94); } }
@keyframes fadeInHeroItem { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-redesign .hero-anim-1 { animation: fadeInHeroItem .70s cubic-bezier(.22, 1, .36, 1) .08s both; }
.hero-redesign .hero-anim-2 { animation: fadeInHeroItem .75s cubic-bezier(.22, 1, .36, 1) .22s both; }
.hero-redesign .hero-anim-3 { animation: fadeInHeroItem .75s cubic-bezier(.22, 1, .36, 1) .36s both; }
.hero-redesign .hero-anim-4 { animation: fadeInHeroItem .80s cubic-bezier(.22, 1, .36, 1) .50s both; }
.hero-redesign .hero-anim-5 { animation: fadeInHeroItem .75s cubic-bezier(.22, 1, .36, 1) .64s both; }
.hero-redesign .hero-anim-6 { animation: fadeInHeroItem .80s cubic-bezier(.22, 1, .36, 1) .78s both; }
.hero-redesign button[type="submit"] { transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease; }
.hero-redesign button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(90, 35, 224, .36); }
.mv-home .symptom-tag {
  display: inline-block; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: rgba(255, 255, 255, .82);
  padding: 9px 16px; border-radius: 999px; font: 500 16px/1.4 var(--body); text-decoration: none; transition: all .15s ease;
}
.mv-home .symptom-tag:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); color: #fff; }
#hl { padding: 16px 0; }

/* stats */
.mv-home .stat-card { padding: 4px 30px 4px 0; }
.mv-home .stat-ico-tile { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #F2F0FD; margin: 0 0 20px; }
.mv-home .stat-ico { display: block; width: 34px; height: 34px; color: #5A23E0; }
.mv-home .stat-num { font: 600 clamp(56px, 4.6vw, 72px)/.95 var(--display); letter-spacing: -.04em; color: #121B4A; }
.mv-home .stat-lbl { margin-top: 13px !important; font: 600 16px/1.3 var(--body); color: #121B4A; }
.mv-home .stat-sub { margin-top: 7px !important; font: 400 16px/1.62 var(--body); color: #4C5675; }

/* speciality carousel */
.mv-home .circ-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(30, 35, 80, .14); background: #fff; color: #121B4A;
  cursor: pointer; font: 400 18px/1 var(--body); display: grid; place-items: center; transition: all .15s ease; user-select: none;
}
.mv-home .circ-btn:disabled { opacity: .4; cursor: default; transform: none; border-color: rgba(30, 35, 80, .14); color: #121B4A; }
.mv-home .circ-btn:not(:disabled):hover { transform: translateY(-1px); border-color: #5A23E0; color: #5A23E0; }
.mv-home .spec-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scroll-padding-left: 4px; padding: 6px 4px 20px; margin: 0 -4px;
}
.mv-home .spec-tile {
  flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; position: relative; display: block; height: 430px;
  border-radius: 16px; overflow: hidden; background: #121B4A; color: #fff; text-decoration: none;
  box-shadow: 0 14px 36px rgba(30, 35, 80, .14); transition: transform .24s cubic-bezier(.16, 1, .3, 1), box-shadow .24s ease;
}
.mv-home .spec-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(30, 35, 80, .16); }
.mv-home .spec-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.94) brightness(1.05) contrast(1.02); }
.mv-home .spec-cap {
  position: absolute; inset: auto 0 0 0; padding: 70px 24px 26px;
  background: linear-gradient(180deg, rgba(18, 27, 74, 0) 0%, rgba(18, 27, 74, .30) 46%, rgba(18, 27, 74, .58) 74%, rgba(18, 27, 74, .70) 100%);
}
.mv-home .spec-name { font: 600 24px/1.2 var(--display); letter-spacing: -.015em; color: #fff; }
.mv-home .spec-go { margin-top: 14px !important; font: 600 14px/1.4 var(--body); color: #CFC6FF; }
@media (max-width: 1180px) { .mv-home .spec-tile { flex: 0 0 calc((100% - 48px) / 3); } }
@media (max-width: 860px) { .mv-home .spec-tile { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .mv-home .spec-tile { flex: 0 0 100%; height: 380px; } }

/* cards */
.mv-home .score-card {
  background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 8px 30px rgba(30, 35, 80, .06);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease;
}
.mv-home .score-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(30, 35, 80, .10); }
.mv-home .score-bar-fill { width: 0%; transition: width 1.25s cubic-bezier(.16, 1, .3, 1); }
.mv-home .step-card { position: relative; padding: 0 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1280px) { .mv-home .seq-rail { display: none; } }
.mv-home .fit-card { flex: 1 1 380px; min-width: 0; background: #F7F9FD; border-radius: 16px; padding: 40px; }
.mv-home .fit-card .pill-ink { padding: 12px 20px; font-size: 15px; }
.mv-home .tick, .mv-home .cross {
  flex: none; margin-top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 13.5px/1 var(--body);
}
.mv-home .tick { background: #F2F5FF; color: #5A23E0; }
.mv-home .cross { background: #FBEAFE; color: #9A22C4; font-size: 15px; }
.mv-home .verify-media {
  border-radius: 24px; background-color: #F2F5FF; background-position: center; background-size: cover; background-repeat: no-repeat;
  width: 100%; aspect-ratio: 4 / 5; box-shadow: 0 20px 60px rgba(30, 35, 80, .12);
  filter: saturate(.94) brightness(1.05) contrast(1.02); transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.mv-home .verify-media:hover { transform: scale(1.012); }

/* review gate */
.mv-home .gate-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.mv-home .gate-film { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #F5F7FC; box-shadow: 0 24px 64px rgba(30, 35, 80, .14); }
.mv-home .gate-film video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 580px; object-fit: cover; border: none; }
.mv-home .gate-cap { position: absolute; left: 32px; bottom: 32px; right: 32px; max-width: 400px; background: #fff; border-radius: 16px; padding: 24px 26px; box-shadow: 0 12px 36px rgba(30, 35, 80, .18); }
.mv-home .gate-strip { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.mv-home .gate-col { min-width: 0; padding: 28px 0 0; border-top: 2px solid rgba(90, 35, 224, .18); }
@media (max-width: 1100px) { .mv-home .gate-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (max-width: 820px) {
  .mv-home .gate-head { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  .mv-home .gate-cap { position: static; max-width: none; border-radius: 0; box-shadow: none; background: transparent; padding: 22px 0 0; }
  .mv-home .gate-film { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .mv-home .gate-film video { border-radius: 20px; max-height: 380px; box-shadow: 0 18px 48px rgba(30, 35, 80, .14); }
}
@media (max-width: 600px) {
  .mv-home .gate-strip { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
  .mv-home .gate-film video { aspect-ratio: 4 / 3; }
}

/* directory rows */
.mv-home .row-card.dcard {
  background: #F5F7FC; border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease;
}
.mv-home .row-card.dcard:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(30, 35, 80, .08); }
.mv-home .rc-avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  font: 600 16px/1 var(--display); color: #5A23E0; overflow: hidden;
}
.mv-home .rc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mv-home .rc-go { flex: none; padding: 11px 18px; border-radius: 999px; white-space: nowrap; background: #121B4A; color: #fff; font: 600 14px/1.4 var(--body); text-decoration: none; transition: transform .18s ease, background .18s ease; }
.mv-home .rc-go:hover { color: #fff; background: #1B164A; transform: translateY(-1px); }
@media (max-width: 640px) {
  .mv-home .row-card.dcard { padding: 24px; }
  .mv-home .row-card.dcard > div:nth-child(2) { justify-content: flex-start !important; width: 100%; gap: 20px !important; }
  .mv-home .row-card.dcard > div:nth-child(2) > div { text-align: left !important; }
  .mv-home .row-card.dcard > div:nth-child(2) > a { width: 100%; text-align: center; justify-content: center; }
}

/* doctors card */
.mv-home .claim-card {
  border-radius: 24px; background: #0C0A24; background-image: radial-gradient(700px 360px at 88% 10%, rgba(185, 60, 242, .35), transparent 62%);
  overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; box-shadow: 0 20px 50px rgba(30, 35, 80, .10);
}
.mv-home .claim-photo { flex: 1 1 240px; min-width: 0; min-height: 320px; background: url('/img/for-doctors.jpg') center / cover no-repeat, linear-gradient(160deg, #F2F5FF, #E4EDFC); }

/* scroll reveal (only when JS adds .js-reveal to <html>) */
.js-reveal .mv-home .reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.js-reveal .mv-home .reveal.is-visible { opacity: 1; transform: none; }

/* responsive rhythm */
@media (max-width: 820px) { .hero-orb { filter: blur(64px); } }
@media (max-width: 700px) {
  .mv-home section > div[style*="padding:112px 34px"] { padding: 72px 22px !important; }
  .mv-home section > div[style*="padding:72px 34px 0"] { padding: 56px 22px 0 !important; }
  .mv-home section > div[style*="padding:10px 34px 112px"] { padding: 10px 22px 72px !important; }
  .mv-home .claim-card > div[style*="padding:55px 46px"] { padding: 36px 26px !important; }
  .mv-home .fit-card { padding: 28px; }
}
@media (max-width: 560px) {
  .mv-home h2[style*="clamp(32px,3.2vw,44px)"] { font-size: 30px !important; line-height: 1.14 !important; }
}
@media (max-width: 470px) { .hero-anim-1 { font-size: 12px !important; letter-spacing: .07em !important; padding: 8px 14px !important; } }
@media (max-width: 360px) { .hero-anim-1 { white-space: normal !important; max-width: 100%; text-align: center; line-height: 1.5; } }
@media (max-width: 620px) {
  .mv-home .stat-ico-tile { width: 60px; height: 60px; border-radius: 17px; margin-bottom: 16px; }
  .mv-home .stat-ico { width: 29px; height: 29px; }
}
@media (max-width: 640px) {
  #heroSearchForm { flex-direction: column; align-items: stretch; flex-wrap: nowrap; border-radius: 24px !important; padding: 10px !important; gap: 8px !important; max-width: 100%; }
  #heroSearchForm > div { flex: 1 1 auto !important; border-left: 0 !important; background: #fff; border-radius: 16px; min-height: 56px; padding: 0 16px; gap: 12px; }
  #heroSearchForm > div > input { padding: 17px 0 !important; font-size: 16px; }
  #heroSearchForm #hl { min-height: 56px; padding: 0; width: 100%; font-size: 16px; }
  #heroSearchForm > button { width: 100%; min-height: 56px; padding: 17px 24px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-redesign, .hero-orb, .hero-redesign [class*="hero-anim-"] { animation: none !important; }
  .mv-home .spec-tile, .mv-home .score-card, .mv-home .row-card.dcard, .mv-home .verify-media, .mv-home .reveal, header.site { transition: none !important; }
  .js-reveal .mv-home .reveal { opacity: 1; transform: none; }
  .mv-home #specTrack { scroll-behavior: auto; }
}

/* =====================================================================
   DIRECTORY (Find a Doctor) + PROFILE (doctor record)
   Ported from the reference registry: findbar, facets, record cards,
   dossier panels, credential grid, rating ledger, contact hand-off.
   ===================================================================== */
body.page-find, body.page-profile { background: #fff; }
.mv-dir, .mv-prof { --ink: #121B4A; --ink-2: #4C5675; --ink-3: #636E8E; --line: rgba(30, 35, 80, .09); --line-2: rgba(30, 35, 80, .15);
  --jade: #0B7349; --jade-hi: #095E3B; --jade-soft: #E7FBF1; --amber: #B87407; --amber-soft: #FBF0DC; --accent-blue: #1F6FD0;
  --shadow: 0 8px 30px rgba(30, 35, 80, .06); --shadow-lift: 0 14px 44px rgba(30, 35, 80, .10); font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.mv-dir h1, .mv-dir h2, .mv-dir h3, .mv-prof h1, .mv-prof h2, .mv-prof h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.mv-dir p, .mv-prof p { margin: 0; }
.mv-dir a:hover, .mv-prof a:hover { text-decoration: none; }
.mv-dir .eyebrow, .mv-prof .eyebrow { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-block; }

/* buttons */
.mv-dir .dir-btn, .mv-prof .dir-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(105deg, #5A23E0, #9B4BFF); color: #fff; font: 600 13.5px/1.4 var(--body);
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(90, 35, 224, .28);
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .22s cubic-bezier(.16, 1, .3, 1), background-color .18s ease, color .18s ease;
}
.mv-dir .dir-btn:hover, .mv-prof .dir-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(90, 35, 224, .36); }
.mv-dir .dir-btn.ghost, .mv-prof .dir-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.mv-dir .dir-btn.ghost:hover, .mv-prof .dir-btn.ghost:hover { background: #F2F5FF; border-color: #5A23E0; color: #5A23E0; }
.mv-dir .dir-btn.block, .mv-prof .dir-btn.block { width: 100%; }
.mv-dir .dir-btn.sm, .mv-prof .dir-btn.sm { padding: 9px 14px; }
.mv-dir .chip, .mv-prof .chip { padding: 7px 14px; border-radius: 999px; font: 500 13.5px/1.3 var(--body); background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer; transition: all .15s ease; }
.mv-dir .chip:hover, .mv-prof .chip:hover { color: var(--ink); background: rgba(30, 35, 80, .04); }

/* findbar */
.mv-dir .findbar {
  position: sticky; top: 72px; z-index: 90; background: rgba(250, 249, 253, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding: 14px 0; box-shadow: 0 4px 18px rgba(30, 35, 80, .04);
  transition: top .32s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
body.header-hidden .mv-dir .findbar { top: 0; box-shadow: 0 6px 24px rgba(30, 35, 80, .08); }
.mv-dir .findbar-in { display: flex; gap: 10px; align-items: center; }
.mv-dir .sbig { flex: 1; display: grid; grid-template-columns: 1fr 220px auto; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.mv-dir .sbig .f { display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-width: 0; }
.mv-dir .sbig .f + .f { border-left: 1px solid var(--line); }
.mv-dir .sbig input, .mv-dir .sbig select { border: 0; background: transparent; width: 100%; min-width: 0; font: 400 14.5px/1.4 var(--body); color: var(--ink); padding: 2px 0; }
.mv-dir .sbig input:focus, .mv-dir .sbig select:focus { outline: none; }
.mv-dir .sbig .f:focus-within { background: #FBFAFF; }
.mv-dir .sbig .kbd { font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; background: #F2F5FF; font-weight: 600; }
.mv-dir .sbig .go { padding: 6px; }
.mv-dir .btn-filters { display: none; }

/* results head */
.mv-dir .rhead { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 24px 0 16px; }
.mv-dir .rhead h2 { font-size: 24px; margin-top: 7px; }
.mv-dir .rhead .sp { margin-left: auto; display: flex; align-items: center; gap: 9px; font-size: 14px; }
.mv-dir .sel { border: 1px solid var(--line-2); background: #fff; border-radius: 12px; padding: 8px 12px; font: 400 13.5px/1.4 var(--body); color: var(--ink); cursor: pointer; }
.mv-dir .rcount { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; font-weight: 600; margin-bottom: 4px; }

/* facets */
.mv-dir .find-shell { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 70px; }
.mv-dir .facets { position: sticky; top: 160px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 180px); overflow-y: auto; scrollbar-width: thin; transition: top .32s cubic-bezier(.16, 1, .3, 1); }
body.header-hidden .mv-dir .facets { top: 88px; max-height: calc(100vh - 108px); }
.mv-dir .facet { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(30, 35, 80, .03); flex: none; }
.mv-dir .facet > summary { padding: 14px 16px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.mv-dir .facet > summary::-webkit-details-marker { display: none; }
.mv-dir .facet > summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.mv-dir .facet[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.mv-dir .facet > summary:hover { background: #F2F5FF; }
.mv-dir .facet .fbody { padding: 4px 16px 14px; }
.mv-dir .opt { display: flex; align-items: center; gap: 9px; padding: 6px 0; cursor: pointer; font-size: 13.5px; color: var(--ink-2); margin: 0; font-weight: 400; }
.mv-dir .opt:hover { color: var(--ink); }
.mv-dir .opt input { accent-color: #5A23E0; width: 15px; height: 15px; margin: 0; flex: none; }
.mv-dir .fnote { font-size: 12px; margin-top: 6px !important; line-height: 1.45; color: var(--ink-2); }
.mv-dir .dir-note { font-size: 12px; color: var(--ink-3); margin-top: 24px !important; }

/* record cards */
.mv-dir .results { display: flex; flex-direction: column; gap: 16px; }
.mv-dir .sk-row { height: 150px; border-radius: 16px; }
.mv-dir .dcard {
  position: relative; display: grid; grid-template-columns: auto 1fr 190px; gap: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  animation: fadeUpDir .26s ease both;
}
@keyframes fadeUpDir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mv-dir .dcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: rgba(90, 35, 224, .22); }
.mv-dir .dcard .stripe { position: absolute; left: 0; top: 18px; bottom: 18px; width: 3.5px; border-radius: 0 3px 3px 0; background: var(--spec, #5A23E0); }
.mv-dir .dc-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mv-dir .dc-head { display: flex; flex-direction: column; gap: 3px; }
.mv-dir .dc-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mv-dir .dc-name { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.mv-dir .dc-name h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.mv-dir .dc-name a { color: inherit; transition: color .15s ease; }
.mv-dir .dc-name a:hover { color: #5A23E0; }
.mv-dir .dc-post { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.mv-dir .dc-badges { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mv-dir .dc-spec { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.mv-dir .dc-spec b { color: var(--spec, #5A23E0); font-weight: 600; }
.mv-dir .dc-clinic { color: var(--ink-3); }
.mv-dir .dc-meta-strip { display: flex; flex-direction: column; gap: 7px; padding: 10px 14px; background: rgba(250, 249, 253, .9); border-radius: 12px; }
.mv-dir .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.mv-dir .fact { display: inline-flex; align-items: center; gap: 5px; }
.mv-dir .fact svg { width: 13px; height: 13px; color: var(--ink-3); flex: none; opacity: .85; }
.mv-dir .dc-rate { border-left: 1px solid var(--line); padding-left: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: space-between; }
.mv-dir .dc-rate-top { display: flex; flex-direction: column; gap: 4px; }
.mv-dir .dc-rate .num { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.mv-dir .dc-rate .of { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.mv-dir .empty, .mv-prof .empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--ink-2); background: #fff; }
.mv-dir .empty p, .mv-prof .empty p { max-width: 46ch; margin: 0 auto; }
.mv-dir .empty-t, .mv-prof .empty-t { font-family: var(--display); font-size: 19px; display: block; margin-bottom: 8px; color: var(--ink); }
.mv-dir .sugg { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.mv-dir .pager { margin-top: 24px; }

/* shared: avatar, badges, stars */
.mv-dir .mono-av, .mv-prof .mono-av { border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; flex: none; letter-spacing: -.02em; position: relative; }
.mv-dir .mono-av img, .mv-prof .mono-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mv-dir .mono-av .vtick, .mv-prof .mono-av .vtick { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--jade); border: 2px solid #fff; display: grid; place-items: center; }
.mv-prof .mono-av .vtick { right: 2px; bottom: 2px; width: 22px; height: 22px; }
.mv-dir .mono-av .vtick svg, .mv-prof .mono-av .vtick svg { width: 9px; height: 9px; }
.mv-dir .bdot { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--jade-hi); }
.mv-dir .bdot svg { width: 11.5px; height: 11.5px; color: var(--jade); flex: none; }
.mv-dir .stars, .mv-prof .stars { display: inline-flex; gap: 2px; align-items: center; }
.mv-dir .stars svg, .mv-prof .stars svg { width: 15px; height: 15px; display: block; }
.mv-prof .stars.lg svg { width: 20px; height: 20px; }

/* profile: dossier */
.mv-prof .back-link { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.mv-prof .back-link:hover { color: #5A23E0; }
.mv-prof .dossier { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.mv-prof .stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mv-prof .panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mv-prof .panel-h { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mv-prof .panel-h h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.mv-prof .panel-tag { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.mv-prof .panel-b { padding: 22px; }
.mv-prof .prof-head { display: flex; gap: 22px; align-items: flex-start; }
.mv-prof .prof-name { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.mv-prof .prof-spec { font-size: 16px; font-weight: 600; line-height: 1.4; }
.mv-prof .prof-sub { font-size: 14px; margin-top: 4px; line-height: 1.4; color: var(--ink-2); }
.mv-prof .prof-bio { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); max-width: 64ch; white-space: pre-line; }
.mv-prof .prof-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.mv-prof .bdgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; align-items: center; }
.mv-prof .bdg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--jade-soft); color: var(--jade-hi); border: 1px solid rgba(14, 143, 91, .2); white-space: nowrap; }
.mv-prof .bdg svg { width: 12px; height: 12px; flex: none; color: var(--jade); }
.mv-prof .bdg.claimed { background: #F7F5FF; color: var(--accent-blue); border-color: rgba(46, 144, 250, .24); }
.mv-prof .bdg.claimed svg { color: var(--accent-blue); }
.mv-prof .bdg.founding { background: var(--amber-soft); color: #8A6410; border-color: rgba(184, 116, 7, .24); }
.mv-prof .bdg.founding svg { color: #8A6410; }
.mv-prof .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3.5px 9px; border-radius: 999px; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.mv-prof .pill svg { width: 11px; height: 11px; flex: none; }
.mv-prof .pill.jade { background: var(--jade-soft); color: var(--jade); border-color: rgba(14, 143, 91, .24); }
.mv-prof .notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: rgba(30, 35, 80, .03); font-size: 14px; color: var(--ink-2); line-height: 1.55; border: 1px solid var(--line); }
.mv-prof .notice svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; margin-top: 2px; }
.mv-prof .notice.amber { background: var(--amber-soft); border-color: rgba(184, 116, 7, .2); color: #664103; }
.mv-prof .notice.amber svg { color: var(--amber); }
.mv-prof .notice b { color: inherit; }
.mv-prof .mono-d { font-family: var(--f-mono); font-size: 13px; }
.mv-prof .credgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 16px 0 0; }
.mv-prof .cred { background: #fff; padding: 13px 15px; min-width: 0; }
.mv-prof .cred dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.mv-prof .cred dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.mv-prof .cred dd.m { font-family: var(--f-mono); letter-spacing: -.01em; }
.mv-prof .cred.full { grid-column: 1 / -1; }
.mv-prof .cred-note { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }

/* profile: ledger */
.mv-prof .ledger { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.mv-prof .score { text-align: center; }
.mv-prof .score b { font-family: var(--display); font-size: 48px; font-weight: 700; letter-spacing: -.04em; display: block; line-height: 1; margin-bottom: 6px; }
.mv-prof .hist { display: grid; gap: 5px; min-width: 0; }
.mv-prof .hrow { display: grid; grid-template-columns: 26px 1fr 34px; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.mv-prof .hbar { height: 6px; border-radius: 3px; background: #F7F5FF; overflow: hidden; }
.mv-prof .hbar i { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.mv-prof .hrow .c { text-align: right; }

/* profile: contact */
.mv-prof .acts { display: flex; flex-direction: column; gap: 10px; }
.mv-prof .act { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.mv-prof a.act:hover { border-color: rgba(90, 35, 224, .28); background: #F2F5FF; transform: translateY(-1px); box-shadow: var(--shadow); }
.mv-prof .act.off { cursor: default; }
.mv-prof .act .ai { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(90, 35, 224, .07); color: #5A23E0; }
.mv-prof .act .ai.wa { background: #E7FBF1; color: #0E8F5B; }
.mv-prof .act b { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
.mv-prof .act small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; overflow-wrap: anywhere; }
.mv-prof .side-note { margin-top: 14px !important; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.mv-prof .side-note b { color: var(--ink); }
.mv-prof .side-p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.mv-prof .side-fine { font-size: 12px; margin-top: 10px !important; text-align: center; color: var(--ink-3); }

/* profile: reviews */
.mv-prof .review { padding: 20px 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; margin: 0; }
.mv-prof .review:first-child { border-top: 0; padding-top: 4px; }
.mv-prof .rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mv-prof .rv-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.mv-prof .rv-date { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-left: auto; }
.mv-prof .rv-body { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px; white-space: pre-line; }
.mv-prof .rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.mv-prof .tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 3.5px 9px; border-radius: 6px; background: #F2F5FF; color: var(--ink-2); border: 1px solid rgba(30, 35, 80, .09); }

/* responsive */
@media (max-width: 1040px) {
  .mv-dir .findbar { top: 70px; }
}
@media (max-width: 980px) {
  .mv-dir .find-shell { grid-template-columns: 1fr; }
  .mv-dir .btn-filters { display: inline-flex; }
  .mv-dir .facets { display: none; position: static; max-height: none; overflow: visible; }
  .mv-dir .facets.open { display: flex; }
  .mv-prof .dossier { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mv-dir .findbar { position: static; }
  .mv-dir .findbar-in { flex-direction: column; align-items: stretch; }
  .mv-dir .sbig { grid-template-columns: 1fr; }
  .mv-dir .sbig .f + .f { border-left: 0; border-top: 1px solid var(--line); }
  .mv-dir .sbig .kbd { display: none; }
  .mv-dir .sbig .go .dir-btn { width: 100%; }
  .mv-dir .rhead .sp { margin-left: 0; }
  .mv-dir .dcard { grid-template-columns: auto 1fr; gap: 16px; padding: 18px; }
  .mv-dir .dc-main { grid-column: 2; }
  .mv-dir .dc-rate { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 16px; border-top: 1px solid var(--line); flex-direction: row; align-items: center; }
  .mv-dir .dc-rate .dir-btn { width: auto; }
  .mv-prof .prof-head { flex-direction: column; gap: 16px; }
  .mv-prof .prof-name { font-size: 24px; }
  .mv-prof .panel-b { padding: 18px; }
  .mv-prof .panel-h { padding: 16px 18px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .mv-prof .credgrid { grid-template-columns: 1fr; }
  .mv-prof .ledger { grid-template-columns: 1fr; }
  .mv-dir .dcard .mono-av { width: 52px !important; height: 52px !important; font-size: 19px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mv-dir .dcard { animation: none; transition: none; }
  .mv-dir .findbar, .mv-dir .facets { transition: none; }
}

/* =====================================================================
   FLOWS (Leave a Review, Doctor registration) + TRUST & POLICY
   Ported from the reference: step rail + card form, field styling,
   route cards, trust hero, principle cards, journey timeline, panels.
   ===================================================================== */
body.page-flow, body.page-trust { background: #fff; }
.mv-flow, .mv-trust { --ink: #121B4A; --ink-2: #4C5675; --ink-3: #636E8E; --line: rgba(30, 35, 80, .09); --line-2: rgba(30, 35, 80, .15);
  --jade: #0B7349; --jade-hi: #095E3B; --jade-soft: #E7FBF1; --amber: #B87407; --amber-soft: #FBF0DC; --flag: #B92D1E;
  --shadow: 0 8px 30px rgba(30, 35, 80, .06); --shadow-lift: 0 14px 44px rgba(30, 35, 80, .10); font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.mv-flow h1, .mv-flow h2, .mv-flow h3, .mv-flow h4, .mv-trust h1, .mv-trust h2, .mv-trust h3, .mv-trust h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.mv-flow p, .mv-trust p { margin: 0; }
.mv-flow a:hover, .mv-trust a:hover { text-decoration: none; }
.mv-flow .eyebrow, .mv-trust .eyebrow { font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-block; }
.mv-flow .notice, .mv-trust .notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: rgba(30, 35, 80, .03); font-size: 14px; color: var(--ink-2); line-height: 1.55; border: 1px solid var(--line); }
.mv-flow .notice svg, .mv-trust .notice svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; margin-top: 2px; }
.mv-flow .notice b, .mv-trust .notice b { color: var(--ink); }

/* buttons */
.mv-flow .flow-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(105deg, #5A23E0, #9B4BFF); color: #fff; font: 600 13.5px/1.4 var(--body);
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(90, 35, 224, .28);
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .22s cubic-bezier(.16, 1, .3, 1), background-color .18s ease, color .18s ease;
}
.mv-flow .flow-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(90, 35, 224, .36); }
.mv-flow .flow-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.mv-flow .flow-btn.ghost:hover { background: #F2F5FF; border-color: #5A23E0; color: #5A23E0; }
.mv-flow .flow-btn.ink { background: #121B4A; box-shadow: none; }
.mv-flow .flow-btn.ink:hover { background: #1B164A; }
.mv-flow .flow-btn.sm { padding: 9px 14px; font-size: 13px; }
.mv-flow .flow-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.mv-flow .flow-btn.hidden { display: none; }

/* wizard shell */
.mv-flow .wiz { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 32px; align-items: start; padding: 40px 0 56px; }
.mv-flow .rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 0; margin: 0; }
.mv-flow .rstep { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 0 0 20px; position: relative; min-width: 0; flex: none;
  background: none; border: 0; border-radius: 0; box-shadow: none; font-size: inherit; font-weight: inherit; color: inherit; align-items: start; }
.mv-flow .rstep:last-child { padding-bottom: 0; }
.mv-flow .rstep::before { content: ""; position: absolute; left: 12.5px; top: 24px; bottom: 0; width: 1.5px; background: var(--line); }
.mv-flow .rstep:last-child::before { display: none; }
.mv-flow .rnum { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--ink-3); background: #fff; z-index: 1; position: relative; }
.mv-flow .rstep b { font-size: 14px; font-weight: 500; display: block; line-height: 1.9; color: var(--ink-3); }
.mv-flow .rstep small { font-size: 12px; color: var(--ink-3); display: block; margin-top: -2px; }
.mv-flow .rstep.on b, .mv-flow .rstep.active b, .mv-flow .rstep.done b { color: var(--ink); font-weight: 600; }
.mv-flow .rstep.on .rnum, .mv-flow .rstep.active .rnum { border-color: #5A23E0; color: #5A23E0; background: #F2F5FF; }
.mv-flow .rstep.done .rnum { background: #5A23E0; border-color: #5A23E0; color: transparent; }
.mv-flow .rstep.done .rnum::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; }
.mv-flow .rstep.done::before { background: rgba(90, 35, 224, .35); }

.mv-flow .card-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.mv-flow .cf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mv-flow .cf-title { margin: 10px 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.mv-flow .cf-lede { margin-bottom: 22px !important; max-width: 64ch; }
.mv-flow .cf-sep { height: 1px; background: var(--line); margin: 8px 0 22px; }

/* fields (reuse existing .form-group/.input markup that the scripts rely on) */
.mv-flow .form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.mv-flow .form-group > label:not(.check) { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 0; }
.mv-flow .form-group > label .req { color: var(--flag); }
.mv-flow .form-group > label .opt-note { text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 500; }
.mv-flow .form-group .hint { font-size: 12px; color: var(--ink-3); margin-top: 0; }
.mv-flow .input, .mv-flow .select, .mv-flow .textarea { border: 1px solid var(--line-2); background: #fff; border-radius: 8px; padding: 10px 12px; font: 400 14.5px/1.5 var(--body); color: var(--ink); width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.mv-flow .input:focus, .mv-flow .select:focus, .mv-flow .textarea:focus { outline: none; border-color: #5A23E0; box-shadow: 0 0 0 3px rgba(90, 35, 224, .14); }
.mv-flow .textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.mv-flow .input.mono { font-family: var(--f-mono); }
.mv-flow .input.is-invalid, .mv-flow .select.is-invalid, .mv-flow .textarea.is-invalid { border-color: var(--flag); box-shadow: 0 0 0 3px rgba(185, 45, 30, .10); }
.mv-flow .field-error { margin-top: 0; }
.mv-flow .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mv-flow .input-group { display: flex; gap: 8px; }
.mv-flow .input-group .input { flex: 1; min-width: 0; }
.mv-flow .otp-input { font-family: var(--f-mono); font-size: 24px; letter-spacing: 12px; text-align: center; max-width: 280px; padding: 12px; border-radius: 12px; }
.mv-flow .otp-box { padding: 16px; border-radius: 12px; background: #F7F5FF; border: 1px solid rgba(90, 35, 224, .14); }
.mv-flow .file-drop { padding: 14px; border-style: dashed; background: #F2F5FF; cursor: pointer; color: var(--ink-2); }
.mv-flow .file-drop:hover { border-color: #5A23E0; }
.mv-flow .file-drop::file-selector-button { border: 1px solid rgba(90, 35, 224, .25); background: #fff; color: #5A23E0; font: 600 13px/1 var(--body); padding: 8px 14px; border-radius: 999px; margin-right: 12px; cursor: pointer; }
.mv-flow .file-drop:disabled,
.mv-flow .file-drop[disabled] { background: #F8FAFC; border-color: #CBD5E1; color: #94A3B8; cursor: not-allowed; opacity: .65; pointer-events: none; }
.mv-flow .file-drop:disabled:hover,
.mv-flow .file-drop[disabled]:hover { border-color: #CBD5E1; }
.mv-flow .file-drop:disabled::file-selector-button,
.mv-flow .file-drop[disabled]::file-selector-button { background: #E2E8F0; border-color: #CBD5E1; color: #94A3B8; cursor: not-allowed; }
.mv-flow .check.consent { padding: 14px 16px; border-radius: 12px; background: rgba(30, 35, 80, .03); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; }
.mv-flow .seg { align-self: flex-start; }
.mv-flow .star-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mv-flow .star-input label { font-size: 32px; color: #D6D9E8; }
.mv-flow .star-input label:hover, .mv-flow .star-input label:hover ~ label, .mv-flow .star-input input:checked ~ label { color: #B87407; }
.mv-flow .tag-picks label { font-weight: 500; }
.mv-flow .tag-picks label:has(input:checked) { background: #F2F5FF; border-color: #5A23E0; color: #5A23E0; }
.mv-flow .picker-results { border-radius: 12px; }
.mv-flow .form-actions { display: flex; gap: 14px; margin-top: 28px; align-items: center; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.mv-flow .form-actions .sp { margin-left: auto; }
.mv-flow .done-card .form-actions .sp { margin-left: 0; }
.mv-flow .wizard-nav { justify-content: flex-start; }
.mv-flow .summary-group h4 { font-family: var(--display); font-size: 16px; }
.mv-flow .summary-table th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }

/* chosen doctor */
.mv-flow .revdoc { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #F2F5FF; border: 1px solid var(--line); border-left: 4px solid #5A23E0; border-radius: 12px; }
.mv-flow .revdoc .avatar { width: 48px; height: 48px; font-size: 16px; }
.revdoc-avatar-wrap { width: 52px !important; height: 52px !important; min-width: 52px !important; min-height: 52px !important; max-width: 52px !important; max-height: 52px !important; border-radius: 50% !important; position: relative !important; flex-shrink: 0 !important; }
#selAvatar { width: 100% !important; height: 100% !important; border-radius: 50% !important; overflow: hidden !important; position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #F1F5F9 !important; }
#selAvatar img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: cover !important; object-position: top center !important; border-radius: 50% !important; display: block !important; }
#selAvatar .avatar { width: 100% !important; height: 100% !important; border-radius: 50% !important; overflow: hidden !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#selAvatar .avatar img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: cover !important; object-position: top center !important; }
.mv-flow .revdoc-t { flex: 1; min-width: 0; }
.mv-flow .rd-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.mv-flow .rd-meta { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.mv-flow .bdg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--jade-soft); color: var(--jade-hi); border: 1px solid rgba(14, 143, 91, .2); white-space: nowrap; }
.mv-flow .rd-bdg { margin-left: auto; flex: none; }

/* verify / done */
.mv-flow .ref-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; background: #F2F5FF; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.mv-flow .ref-chip span { font-family: var(--f-mono); font-weight: 700; color: var(--ink); }
.mv-flow .done-card { text-align: center; max-width: 680px; }
.mv-flow .done-card .cf-lede { margin-left: auto; margin-right: auto; }
.mv-flow .done-ico { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--jade-soft); color: var(--jade); box-shadow: 0 0 0 6px rgba(11, 115, 73, .06); }
.mv-flow .ref-big { display: inline-flex; flex-direction: column; gap: 6px; padding: 14px 26px; border-radius: 12px; background: #F2F5FF; border: 1px solid var(--line); margin-bottom: 14px; }
.mv-flow .ref-big b { font-family: var(--f-mono); font-size: 22px; color: var(--ink); letter-spacing: .02em; }

/* review routes */
.mv-flow .flow-routes { padding: 0 0 70px; }
.mv-flow .flow-routes h3 { font-size: 20px; margin: 9px 0 6px; }
.mv-flow .flow-routes > p { max-width: 62ch; font-size: 14px; }
.mv-flow .channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.mv-flow .chan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .2s ease; }
.mv-flow .chan:hover { transform: translateY(-4px); border-color: #5A23E0; box-shadow: 0 14px 32px rgba(12, 10, 36, .1); }
.mv-flow .chan b { display: block; font-size: 16px; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.mv-flow .chan > span:not(.badge) { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.mv-flow .chan .badge { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #5A23E0; background: #F2F5FF; border: 1px solid rgba(90, 35, 224, .18); margin-bottom: 10px; }

/* trust */
.mv-trust .blk { padding: 64px 0; }
.mv-trust .trust-hero { padding: 54px 0 28px; }
.mv-trust .th-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.mv-trust .th-left h1 { margin: 12px 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.mv-trust .lede { font-size: 15.5px; color: var(--ink-2); line-height: 1.62; }
.mv-trust .th-notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid #5A23E0; border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.mv-trust .th-ico svg { width: 20px; height: 20px; color: #5A23E0; display: block; margin-top: 2px; }
.mv-trust .th-notice b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mv-trust .th-notice p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.mv-trust .sec-head { margin-bottom: 28px; }
.mv-trust .sec-head h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; }
.mv-trust .sec-head p { color: var(--ink-2); margin-top: 6px; max-width: 60ch; }
.mv-trust .pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mv-trust .pcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .2s ease; }
.mv-trust .pcard:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(75, 29, 240, .14); border-color: rgba(90, 35, 224, .22); }
.mv-trust .pk { font-family: var(--body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #5A23E0; font-weight: 700; display: block; margin-bottom: 8px; }
.mv-trust .pcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.mv-trust .journey-timeline { display: flex; flex-direction: column; max-width: 840px; margin: 24px 0 0; padding-left: 4px; }
.mv-trust .jt-step { display: grid; grid-template-columns: 44px 1fr; gap: 20px; position: relative; padding-bottom: 28px; }
.mv-trust .jt-step:last-child { padding-bottom: 8px; }
.mv-trust .jt-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: rgba(90, 35, 224, .2); }
.mv-trust .jt-step:last-child::before { display: none; }
.mv-trust .jt-node { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #5A23E0; color: #5A23E0; display: grid; place-items: center; font-family: var(--display); font-size: 16px; font-weight: 700; box-shadow: 0 0 0 5px #F2F5FF; position: relative; z-index: 2; transition: all .18s ease; }
.mv-trust .jt-step:hover .jt-node { background: #5A23E0; color: #fff; transform: scale(1.05); box-shadow: 0 0 0 6px rgba(90, 35, 224, .22); }
.mv-trust .jt-content { padding-top: 4px; }
.mv-trust .jt-content h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: -.01em; }
.mv-trust .jt-badge { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #5A23E0; background: #F2F5FF; padding: 2px 8px; border-radius: 999px; }
.mv-trust .jt-content p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.mv-trust .two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mv-trust .stack { display: flex; flex-direction: column; gap: 16px; }
.mv-trust .panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mv-trust .panel-h { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mv-trust .panel-h h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.mv-trust .panel-link { font-size: 13px; font-weight: 600; white-space: nowrap; }
.mv-trust .panel-b { padding: 22px; }
.mv-trust .panel-p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.mv-trust .content-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.mv-trust .content-body p { margin: 0 0 1em; }
.mv-trust .content-body p:last-child { margin-bottom: 0; }
.mv-trust .content-body h2, .mv-trust .content-body h3 { font-size: 18px; margin: 1.2em 0 .5em; }
.mv-trust .content-body > :first-child { margin-top: 0; }
.mv-trust .pledge-title { margin: 10px 0 18px; font-size: 26px; font-weight: 600; }
.mv-trust .pledge { display: grid; gap: 12px; }
.mv-trust .pl-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.mv-trust .pl-row .tk { width: 22px; height: 22px; border-radius: 50%; background: var(--jade-soft); color: var(--jade); flex: none; display: grid; place-items: center; margin-top: 1px; }
.mv-trust hr.rule { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* responsive */
@media (max-width: 1040px) { .mv-trust .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .mv-trust .th-grid, .mv-trust .two { grid-template-columns: 1fr; gap: 24px; }
  .mv-flow .channels { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mv-flow .wiz { grid-template-columns: 1fr; gap: 20px; padding: 24px 0 44px; }
  .mv-flow .rail { position: static; flex-direction: row; overflow-x: auto; gap: 18px; padding-bottom: 10px; scrollbar-width: none; }
  .mv-flow .rail::-webkit-scrollbar { display: none; }
  .mv-flow .rstep { grid-template-columns: 26px auto; padding-bottom: 0; white-space: nowrap; }
  .mv-flow .rstep::before, .mv-flow .rstep small { display: none; }
  .mv-flow .rstep b { line-height: 26px; font-size: 13px; }
}
@media (max-width: 680px) {
  .mv-flow .form-row { grid-template-columns: 1fr; gap: 0; }
  .mv-flow .card-form { padding: 20px; }
  .mv-flow .cf-title { font-size: 22px; }
  .mv-flow .input-group { flex-direction: column; }
  .mv-flow .revdoc { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .mv-trust .pgrid { grid-template-columns: 1fr; }
  .mv-trust .blk { padding: 44px 0; }
  .mv-trust .jt-step { grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 24px; }
  .mv-trust .jt-step::before { left: 17px; top: 36px; }
  .mv-trust .jt-node { width: 36px; height: 36px; font-size: 14px; box-shadow: 0 0 0 4px #F2F5FF; }
  .mv-trust .panel[style*="padding:30px"] { padding: 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mv-trust .pcard, .mv-trust .jt-node, .mv-flow .chan, .mv-flow .flow-btn { transition: none; }
}
/* neutralise the old wizard-step boxes so the rail matches the reference */
.mv-flow .wizard-steps { margin: 0; flex-wrap: nowrap; gap: 0; }
.mv-flow .wizard-steps .ws.rstep, .mv-flow .wizard-steps .ws.rstep.active, .mv-flow .wizard-steps .ws.rstep.done {
  flex: none; min-width: 0; padding: 0 0 20px; border: 0; border-radius: 0; background: none; box-shadow: none; display: grid; font-size: inherit; font-weight: inherit; color: inherit; }
.mv-flow .wizard-steps .ws .rnum { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.mv-flow .wizard-steps .ws.active .rnum { background: #F2F5FF; color: #5A23E0; border-color: #5A23E0; }
.mv-flow .wizard-steps .ws.done .rnum { background: #5A23E0; border-color: #5A23E0; color: transparent; }
.mv-flow .wizard-steps .ws.done b { color: var(--ink); font-weight: 600; }
.mv-flow .form-group label.check, .mv-flow label.check { font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.mv-flow .tag-picks label, .mv-flow .seg label { font-family: var(--body); text-transform: none; letter-spacing: 0; }
@media (max-width: 820px) {
  .mv-flow .wizard-steps .ws.rstep, .mv-flow .wizard-steps .ws.rstep.active, .mv-flow .wizard-steps .ws.rstep.done { padding: 0; }
}

/* ---------- Find a Doctor: slim filter scrollbar, visible on hover only ---------- */
.mv-dir .facets {
  padding-right: 6px; margin-right: -6px; scrollbar-gutter: stable;
  scrollbar-width: thin; scrollbar-color: transparent transparent;
  transition: scrollbar-color .2s ease, top .32s cubic-bezier(.16, 1, .3, 1);
}
.mv-dir .facets:hover, .mv-dir .facets:focus-within { scrollbar-color: rgba(90, 35, 224, .32) transparent; }
.mv-dir .facets::-webkit-scrollbar { width: 5px; }
.mv-dir .facets::-webkit-scrollbar-track { background: transparent; }
.mv-dir .facets::-webkit-scrollbar-thumb { background: transparent; border-radius: 999px; }
.mv-dir .facets:hover::-webkit-scrollbar-thumb, .mv-dir .facets:focus-within::-webkit-scrollbar-thumb { background: rgba(90, 35, 224, .32); }
.mv-dir .facets::-webkit-scrollbar-thumb:hover { background: rgba(90, 35, 224, .55); }
@media (max-width: 980px) { .mv-dir .facets { padding-right: 0; margin-right: 0; } }

/* ---------- Doctor registration: email verification code ---------- */
.mv-flow .email-state:not(:empty) {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 2px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: var(--jade-soft); color: var(--jade-hi); border: 1px solid rgba(14, 143, 91, .2); font-size: 12px; font-weight: 600;
}
.mv-flow .email-state:not(:empty)::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2L9 4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.mv-flow #sendCode { border-color: rgba(90, 35, 224, .35); color: #5A23E0; }
.mv-flow #sendCode:disabled { color: var(--ink-3); border-color: var(--line-2); opacity: 1; }

.mv-flow .otp-card {
  gap: 0; padding: 20px 22px; border-radius: 12px; background: #FAF9FF; border: 1px solid rgba(90, 35, 224, .16);
  box-shadow: inset 3px 0 0 #5A23E0;
}
.mv-flow .otp-head { display: flex; gap: 14px; align-items: flex-start; }
.mv-flow .otp-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #5A23E0; border: 1px solid rgba(90, 35, 224, .16); }
.mv-flow .otp-card .otp-title { display: block; margin: 0; font: 600 15px/1.35 var(--body); color: var(--ink); text-transform: none; letter-spacing: -.005em; }
.mv-flow .otp-sub { margin-top: 3px !important; font-size: 13px; color: var(--ink-2); line-height: 1.5; max-width: 52ch; }
.mv-flow .otp-sub b { color: var(--ink); font-weight: 600; }
.mv-flow .otp-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-left: 50px; }

.mv-flow .otp-cells { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.mv-flow .otp-cell {
  width: 46px; height: 54px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  display: grid; place-items: center; font: 600 22px/1 var(--f-mono); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.mv-flow .otp-sep { width: 10px; height: 2px; border-radius: 2px; background: var(--line-2); margin: 0 2px; }
.mv-flow .otp-cell.filled { border-color: rgba(90, 35, 224, .4); background: #fff; }
.mv-flow .otp-cells.is-focus .otp-cell.active { border-color: #5A23E0; box-shadow: 0 0 0 3px rgba(90, 35, 224, .14); }
.mv-flow .otp-cells.is-focus .otp-cell.active:empty::after { content: ""; width: 2px; height: 22px; border-radius: 1px; background: #5A23E0; animation: otpCaret 1s steps(1) infinite; }
@keyframes otpCaret { 50% { opacity: 0; } }
.mv-flow .otp-cells.is-done .otp-cell { border-color: rgba(14, 143, 91, .45); }
/* the real input sits on top, invisible, so typing, paste and SMS autofill all work */
.mv-flow .otp-cells .otp-input {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; z-index: 2;
  border: 0; background: transparent; box-shadow: none !important; color: transparent; caret-color: transparent;
  font-size: 16px; letter-spacing: 0; text-align: left; cursor: text; outline: none;
}
.mv-flow .otp-cells .otp-input::selection { background: transparent; }
.mv-flow .otp-cells .otp-input.is-invalid ~ .otp-cell { border-color: var(--flag); }
.mv-flow .otp-row #verifyCode { height: 54px; padding: 0 24px; }
.mv-flow .otp-msg:empty { display: none; }
.mv-flow .otp-msg { margin: 14px 0 0 50px; }
.mv-flow .otp-msg .alert { margin: 0; padding: 10px 14px; font-size: 13px; border-radius: 10px; }

@media (max-width: 680px) {
  .mv-flow .otp-card { padding: 18px 16px; }
  .mv-flow .otp-row, .mv-flow .otp-msg { padding-left: 0; margin-left: 0; }
  .mv-flow .otp-row { flex-direction: column; align-items: stretch; }
  .mv-flow .otp-cells { gap: 6px; justify-content: space-between; }
  .mv-flow .otp-cell { width: auto; flex: 1; height: 50px; }
  .mv-flow .otp-sep { flex: none; width: 6px; }
  .mv-flow .otp-row #verifyCode { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .mv-flow .otp-cells.is-focus .otp-cell.active:empty::after { animation: none; } }

/* =====================================================================
   DOCTOR PROFILE (v2) - identity band, jump links, reading column,
   sticky contact card, mobile action bar
   ===================================================================== */
.mv-pf { --ink: #121B4A; --ink-2: #4C5675; --ink-3: #636E8E; --line: rgba(30, 35, 80, .09); --line-2: rgba(30, 35, 80, .15);
  --violet: #5A23E0; --jade: #0B7349; --jade-soft: #E7FBF1; --amber: #B87407; --amber-soft: #FBF0DC;
  color: var(--ink); font-size: 16px; line-height: 1.6; }
.mv-pf h1, .mv-pf h2, .mv-pf h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.mv-pf p { margin: 0; }
.mv-pf a:hover { text-decoration: none; }
.mv-pf svg { flex: none; }
.mv-pf .mono { font-family: var(--f-mono); font-size: 14.5px; }

/* buttons */
.mv-pf .pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 14px/1 var(--body); white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.mv-pf .pf-btn svg { width: 16px; height: 16px; }
.mv-pf .pf-btn:hover { border-color: var(--violet); color: var(--violet); }
.mv-pf .pf-btn.primary { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: 0 6px 16px rgba(90, 35, 224, .22); }
.mv-pf .pf-btn.primary:hover { background: #4B1BC7; color: #fff; }
.mv-pf .pf-btn.block { width: 100%; }
.mv-pf .pf-btn:disabled { opacity: .55; cursor: default; }
.mv-pf .pf-link { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--body); color: var(--violet); }
.mv-pf .pf-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.mv-pf .pf-link:hover svg { transform: translateX(2px); }
.mv-pf .pf-closed { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #7C4E03; background: var(--amber-soft); border: 1px solid rgba(184, 116, 7, .2); border-radius: 10px; padding: 10px 14px; }
.mv-pf .pf-closed svg { width: 16px; height: 16px; color: var(--amber); }
.mv-pf .pf-closed.block { display: flex; }

/* identity band */
.mv-pf .pf-band { background: #F7F8FD; border-bottom: 1px solid var(--line); padding: 24px 0 40px; }
.mv-pf .pf-crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.mv-pf .pf-crumb a { color: var(--ink-2); font-weight: 600; }
.mv-pf .pf-crumb a:hover { color: var(--violet); }
.mv-pf .pf-id { display: grid; grid-template-columns: auto minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.mv-pf .pf-av { position: relative; width: 132px; height: 132px; border-radius: 50%; background: color-mix(in srgb, var(--spec) 12%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--spec) 30%, transparent), 0 0 0 6px #fff, 0 10px 28px rgba(30, 35, 80, .10); display: grid; place-items: center; }
.mv-pf .pf-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mv-pf .pf-av > span:first-child { font: 700 44px/1 var(--display); color: var(--spec); letter-spacing: -.03em; }
.mv-pf .pf-av-tick { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; background: var(--jade); border: 3px solid #fff; display: grid; place-items: center; }
.mv-pf .pf-av-tick svg { width: 13px; height: 13px; }
.mv-pf .pf-who { padding-top: 4px; min-width: 0; }
.mv-pf .pf-spec { font: 600 13px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--spec); }
.mv-pf .pf-name { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.mv-pf .pf-qual { margin-top: 6px; font-size: 16px; color: var(--ink-2); font-weight: 500; }
.mv-pf .pf-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--ink-2); }
.mv-pf .pf-facts li { display: inline-flex; align-items: center; gap: 7px; }
.mv-pf .pf-facts svg { width: 16px; height: 16px; color: var(--ink-3); }
.mv-pf .pf-verified { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 12px; border-radius: 8px; background: var(--jade-soft); color: #095E3B; font-size: 13.5px; border: 1px solid rgba(11, 115, 73, .16); }
.mv-pf .pf-verified svg { width: 16px; height: 16px; color: var(--jade); }
.mv-pf .pf-verified b { font-weight: 700; }

.mv-pf .pf-score { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 8px 24px rgba(30, 35, 80, .05); }
.mv-pf .pf-score-top { display: flex; align-items: center; gap: 16px; }
.mv-pf .pf-score-num { font: 700 52px/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.mv-pf .pf-score-count { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.mv-pf .pf-score-count:hover { color: var(--violet); }
.mv-pf .pf-score-actions { display: grid; gap: 10px; margin-top: 20px; }
.mv-pf .stars { display: inline-flex; gap: 2px; align-items: center; }
.mv-pf .stars svg { width: 16px; height: 16px; display: block; }
.mv-pf .stars.lg svg { width: 20px; height: 20px; }

/* jump links */
.mv-pf .pf-tabs { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: top .32s cubic-bezier(.16, 1, .3, 1); }
body.header-hidden .mv-pf .pf-tabs { top: 0; }
.mv-pf .pf-tabs .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.mv-pf .pf-tabs .wrap::-webkit-scrollbar { display: none; }
.mv-pf .pf-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 16px 0 14px; font: 600 14.5px/1 var(--body); color: var(--ink-3); white-space: nowrap; }
.mv-pf .pf-tabs a:hover { color: var(--ink); }
.mv-pf .pf-tabs a.on { color: var(--ink); }
.mv-pf .pf-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--violet); }
.mv-pf .pf-tab-n { font-size: 12px; padding: 3px 7px; border-radius: 999px; background: #F2F0FD; color: var(--violet); }

/* body */
.mv-pf .pf-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 8px; padding-bottom: 80px; }
.mv-pf .pf-sec { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.mv-pf .pf-sec:last-child { border-bottom: 0; }
.mv-pf .pf-h2 { font-size: 26px; font-weight: 600; }
.mv-pf .pf-h3 { font-size: 17px; font-weight: 600; margin-top: 32px; letter-spacing: -.01em; }
.mv-pf .pf-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mv-pf .pf-bio { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 66ch; white-space: pre-line; }
.mv-pf .pf-bio.muted { font-size: 15px; color: var(--ink-3); }

.mv-pf .pf-dl { margin: 14px 0 0; }
.mv-pf .pf-dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.mv-pf .pf-dl > div:last-child { border-bottom: 1px solid var(--line); }
.mv-pf .pf-dl dt { font-size: 14px; color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.mv-pf .pf-dl dt svg { width: 16px; height: 16px; }
.mv-pf .pf-dl dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.mv-pf .pf-dl dd a { color: var(--violet); font-weight: 600; }
.mv-pf .pf-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--jade); }
.mv-pf .pf-ok svg { width: 16px; height: 16px; }
.mv-pf .pf-dd-note { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.mv-pf .pf-fine { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
.mv-pf .pf-fine svg { width: 16px; height: 16px; margin-top: 2px; }
.mv-pf .pf-fine a { color: var(--violet); font-weight: 600; }

.mv-pf .pf-practice { margin-top: 18px; }
.mv-pf .pf-clinic { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: #F7F8FD; border: 1px solid var(--line); }
.mv-pf .pf-clinic-ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--violet); flex: none; }
.mv-pf .pf-clinic-ico svg { width: 18px; height: 18px; }
.mv-pf .pf-clinic-name { font: 600 17px/1.3 var(--display); color: var(--ink); }
.mv-pf .pf-clinic-addr { margin-top: 4px !important; font-size: 14.5px; color: var(--ink-2); }
.mv-pf .pf-dl-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 8px; }
.mv-pf .pf-dl-2 > div { grid-template-columns: 1fr; gap: 4px; }
.mv-pf .pf-dl-2 > div:last-child { border-bottom: 0; }

/* reviews */
.mv-pf .pf-ledger { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.mv-pf .pf-ledger-score { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mv-pf .pf-ledger-num { font: 700 56px/1 var(--display); letter-spacing: -.04em; }
.mv-pf .pf-ledger-sub { font-size: 13px; color: var(--ink-3); }
.mv-pf .pf-hist { display: grid; gap: 8px; }
.mv-pf .pf-hrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 36px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.mv-pf .pf-hlab { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.mv-pf .pf-hlab svg { width: 12px; height: 12px; color: var(--amber); }
.mv-pf .pf-hbar { height: 8px; border-radius: 99px; background: #F0F1F7; overflow: hidden; }
.mv-pf .pf-hbar i { display: block; height: 100%; border-radius: 99px; background: var(--amber); }
.mv-pf .pf-hcnt { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.mv-pf .pf-reviews { margin-top: 12px; }
.mv-pf .review { padding: 24px 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; margin: 0; }
.mv-pf .review:first-child { border-top: 0; }
.mv-pf .rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mv-pf .rv-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.mv-pf .rv-date { font-size: 13px; color: var(--ink-3); margin-left: auto; }
.mv-pf .rv-body { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-line; max-width: 70ch; }
.mv-pf .rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mv-pf .tag { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: #F2F5FF; color: var(--ink-2); border: 1px solid var(--line); }
.mv-pf .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.mv-pf .pill svg { width: 13px; height: 13px; }
.mv-pf .pill.jade { background: var(--jade-soft); color: var(--jade); border: 1px solid rgba(14, 143, 91, .2); }
.mv-pf .pf-more { margin-top: 8px; text-align: center; }
.mv-pf .pf-empty { text-align: center; padding: 40px 24px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--ink-2); font-size: 14.5px; }
.mv-pf .pf-empty-t { font: 600 18px/1.3 var(--display); color: var(--ink); margin-bottom: 6px !important; }
.mv-pf .pf-empty .pf-btn { margin-top: 18px; }

/* sticky contact card */
.mv-pf .pf-side { position: sticky; top: 140px; padding-top: 40px; transition: top .32s cubic-bezier(.16, 1, .3, 1); }
body.header-hidden .mv-pf .pf-side { top: 68px; }
.mv-pf .pf-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(30, 35, 80, .05); overflow: hidden; }
.mv-pf .pf-card-k { padding: 20px 22px 0; font: 600 12px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mv-pf .pf-card-t { padding: 4px 22px 0; font: 600 18px/1.3 var(--display); color: var(--ink); }
.mv-pf .pf-acts { display: grid; padding: 12px 10px 10px; }
.mv-pf .pf-act { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; color: inherit; transition: background-color .15s ease; }
.mv-pf a.pf-act:hover { background: #F7F8FD; }
.mv-pf .pf-act-ico { width: 34px; height: 34px; border-radius: 10px; background: #F2F0FD; color: var(--violet); display: grid; place-items: center; flex: none; }
.mv-pf .pf-act.static .pf-act-ico { background: #F2F4F8; color: var(--ink-3); }
.mv-pf .pf-act-ico svg { width: 16px; height: 16px; }
.mv-pf .pf-act b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.mv-pf .pf-act small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; line-height: 1.45; }
.mv-pf a.pf-act small { color: var(--violet); }
.mv-pf .pf-card-cta { padding: 20px 22px 22px; border-top: 1px solid var(--line); background: #FBFBFE; }
.mv-pf .pf-card-q { font: 600 16px/1.3 var(--display); color: var(--ink); }
.mv-pf .pf-card-p { margin: 6px 0 16px !important; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.mv-pf .pf-card-fine { margin-top: 10px !important; font-size: 12px; color: var(--ink-3); text-align: center; }
.mv-pf .pf-side-note { margin-top: 14px !important; font-size: 12.5px; color: var(--ink-3); padding: 0 4px; line-height: 1.5; }

/* mobile action bar */
.mv-pf .pf-mbar { display: none; }

@media (max-width: 1100px) {
  .mv-pf .pf-id { grid-template-columns: auto minmax(0, 1fr); }
  .mv-pf .pf-score { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .mv-pf .pf-score-actions { margin-top: 0; grid-auto-flow: column; }
  .mv-pf .pf-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 900px) {
  .mv-pf .pf-body { grid-template-columns: 1fr; gap: 0; padding-bottom: 96px; }
  .mv-pf .pf-side { position: static; padding-top: 8px; padding-bottom: 32px; }
  .mv-pf .pf-mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(30, 35, 80, .08); }
  .mv-pf .pf-mbar .pf-btn { flex: 1; }
  .mv-pf .pf-score-actions { display: none; }
}
@media (max-width: 1040px) { .mv-pf .pf-tabs { top: 70px; } }
@media (max-width: 680px) {
  .mv-pf .pf-band { padding: 16px 0 28px; }
  .mv-pf .pf-crumb { margin-bottom: 20px; }
  .mv-pf .pf-id { grid-template-columns: 1fr; gap: 20px; }
  .mv-pf .pf-av { width: 96px; height: 96px; }
  .mv-pf .pf-av > span:first-child { font-size: 32px; }
  .mv-pf .pf-av-tick { right: 2px; bottom: 2px; width: 24px; height: 24px; }
  .mv-pf .pf-score { padding: 16px 18px; }
  .mv-pf .pf-score-num { font-size: 42px; }
  .mv-pf .pf-sec { padding: 32px 0; }
  .mv-pf .pf-h2 { font-size: 22px; }
  .mv-pf .pf-bio { font-size: 16px; }
  .mv-pf .pf-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .mv-pf .pf-dl-2 { grid-template-columns: 1fr; }
  .mv-pf .pf-ledger { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .mv-pf .rv-date { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mv-pf .pf-tabs, .mv-pf .pf-side, .mv-pf .pf-link svg { transition: none; }
}
.mv-pf .pf-score-none { font: 600 20px/1.3 var(--display); color: var(--ink); }
.mv-pf .pf-score-none + .pf-score-count { margin-top: 4px; }

/* =====================================================================
   PATIENT REVIEW FORM (v2) - three guided sections, big star rating,
   length guide, readiness checklist, sticky submit bar
   ===================================================================== */
.mv-flow .rf { min-width: 0; }
.mv-flow .rf-intro { margin-bottom: 24px; }
.mv-flow .rf-title { margin: 10px 0 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; }
.mv-flow .rf-lede { font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.mv-flow .rf-promises { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--ink-2); }
.mv-flow .rf-promises li { display: inline-flex; align-items: center; gap: 7px; }
.mv-flow .rf-promises svg { width: 15px; height: 15px; color: var(--jade); flex: none; }

.mv-flow .rf-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.mv-flow .rf-sec { border: 0; margin: 0; padding: 28px 28px 8px; min-width: 0; border-top: 1px solid var(--line); }
.mv-flow .rf-sec:first-of-type { border-top: 0; }
.mv-flow .rf-sec-h { display: flex; gap: 14px; align-items: flex-start; padding: 0; margin: 0 0 20px; width: 100%; }
.mv-flow .rf-sec-h b { display: block; font: 600 19px/1.3 var(--display); color: var(--ink); letter-spacing: -.015em; }
.mv-flow .rf-sec-h small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.mv-flow .rf-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--f-mono);
  color: #5A23E0; background: #F2F0FD; border: 1px solid rgba(90, 35, 224, .18); transition: background-color .2s ease, color .2s ease; }
.mv-flow .rf-sec.is-done .rf-n { background: var(--jade); border-color: var(--jade); color: transparent; position: relative; }
.mv-flow .rf-sec.is-done .rf-n::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; font-family: var(--body); }
.mv-flow .rf-sec .form-group { padding-left: 44px; }
.mv-flow .rf-half { max-width: calc(50% + 22px); }

/* doctor picker */
.mv-flow .rf-picker { position: relative; }
.mv-flow .rf-picker-ico { position: absolute; left: 14px; top: 0; height: 48px; display: grid; place-items: center; color: var(--ink-3); pointer-events: none; z-index: 1; }
.mv-flow .rf-picker-ico svg { width: 18px; height: 18px; }
.mv-flow .rf-picker .input { height: 48px; padding-left: 42px; font-size: 15px; border-radius: 10px; }
.mv-flow .rf-picker .picker-item { padding: 12px 14px; }
.mv-flow .rd-bdg svg { width: 13px; height: 13px; }

/* stars */
.mv-flow .rf-stars { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mv-flow .rf-stars .star-input { gap: 6px; }
.mv-flow .rf-stars .star-input label { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; line-height: 1;
  color: #D6D9E8; background: #F7F8FD; border: 1px solid var(--line); transition: color .12s ease, background-color .12s ease, border-color .12s ease, transform .12s ease; }
.mv-flow .rf-stars .star-input label:hover, .mv-flow .rf-stars .star-input label:hover ~ label,
.mv-flow .rf-stars .star-input input:checked ~ label { color: #B87407; background: #FDF6E7; border-color: rgba(184, 116, 7, .3); }
.mv-flow .rf-stars .star-input label:hover { transform: translateY(-1px) scale(1.04); }
.mv-flow .rf-stars .star-input input:focus-visible + label { outline: 3px solid rgba(90, 35, 224, .45); outline-offset: 2px; }
.mv-flow .rf-rating-word { font: 600 16px/1 var(--display); color: #8A5A05; min-height: 16px; }
.mv-flow .rf-scale { display: flex; justify-content: space-between; width: 264px; font-size: 12px; color: var(--ink-3); }

/* review text */
.mv-flow .rf-prompts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.mv-flow .rf-prompts em { font-style: normal; padding: 3px 9px; border-radius: 6px; background: #F7F8FD; border: 1px solid var(--line); color: var(--ink-2); }
.mv-flow .rf .textarea { min-height: 140px; font-size: 15px; border-radius: 10px; }
.mv-flow .rf-meter { height: 4px; border-radius: 99px; background: #EEF0F6; overflow: hidden; }
.mv-flow .rf-meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: #B87407; transition: width .2s ease, background-color .2s ease; }
.mv-flow .rf-meter.ok i { background: var(--jade); }
.mv-flow .rf-count { display: flex; justify-content: space-between; gap: 16px; }
.mv-flow #commentHint.good { color: var(--jade); font-weight: 600; }

/* tags */
.mv-flow .rf-tags label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
.mv-flow .rf-tags label::before { content: "+"; font-weight: 600; color: var(--ink-3); width: 12px; text-align: center; }
.mv-flow .rf-tags label:has(input:checked)::before { content: "\2713"; color: #5A23E0; }
.mv-flow .rf-tags label:has(input:focus-visible) { outline: 3px solid rgba(90, 35, 224, .35); outline-offset: 2px; }

/* details */
.mv-flow .rf .input { height: 46px; font-size: 15px; border-radius: 10px; }
.mv-flow #namePreview b { color: var(--ink); }
.mv-flow .rf-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; padding: 4px; border-radius: 12px; background: #F2F4F8; }
.mv-flow .rf-seg label { display: block; padding: 0; border-radius: 9px; font-size: 14px; }
.mv-flow .rf-seg label span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; }
.mv-flow .rf-seg label span svg { width: 16px; height: 16px; }
.mv-flow .rf-seg label:has(input:checked) { background: #fff; color: #5A23E0; box-shadow: 0 2px 8px rgba(30, 35, 80, .1); }
.mv-flow .rf-seg label:has(input:focus-visible) { outline: 3px solid rgba(90, 35, 224, .35); }
.mv-flow .rf .form-group .hint svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; color: var(--jade); }
.mv-flow .rf-consent { padding: 16px 18px; gap: 12px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.mv-flow .rf-consent input { width: 20px; height: 20px; margin-top: 1px; }
.mv-flow .rf-consent:has(input:checked) { background: #F2FBF6; border-color: rgba(11, 115, 73, .3); }
.mv-flow .rf-consent b { color: var(--ink); font-weight: 600; }

/* submit bar */
.mv-flow .rf-submit { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 28px; margin-top: 12px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 -10px 24px rgba(30, 35, 80, .06); }
.mv-flow .rf-ready { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-3); }
.mv-flow .rf-ready li { display: inline-flex; align-items: center; gap: 6px; }
.mv-flow .rf-ready li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); box-sizing: border-box; transition: all .15s ease; }
.mv-flow .rf-ready li.ok { color: var(--ink); }
.mv-flow .rf-ready li.ok::before { border: 0; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2L9 4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.mv-flow .rf-submit-go { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.mv-flow .rf-submit-go .flow-btn { height: 48px; padding: 0 28px; font-size: 15px; }
.mv-flow .rf-next { font-size: 12px; color: var(--ink-3); }

@media (max-width: 680px) {
  .mv-flow .rf-sec { padding: 22px 18px 4px; }
  .mv-flow .rf-sec .form-group { padding-left: 0; }
  .mv-flow .rf-half { max-width: none; }
  .mv-flow .rf-stars .star-input label { width: 44px; height: 44px; font-size: 26px; }
  .mv-flow .rf-scale { width: 244px; }
  .mv-flow .rf-seg { max-width: none; }
  .mv-flow .rf-submit { padding: 14px 16px; }
  .mv-flow .rf-ready { display: none; }
  .mv-flow .rf-submit-go { width: 100%; align-items: stretch; margin: 0; }
  .mv-flow .rf-submit-go .flow-btn { width: 100%; }
  .mv-flow .rf-next { text-align: center; }
  .mv-flow .rf-count { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .mv-flow .rf-stars .star-input label, .mv-flow .rf-meter i { transition: none; }
}
.mv-flow .rf .form-group { gap: 8px; margin-bottom: 22px; }
.mv-flow .rf .form-group > label:not(.check) { font: 600 14px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); }
.mv-flow .rf .form-group > label .opt-note { color: var(--ink-3); font-weight: 400; }
.mv-flow .rf .form-group .hint { font-size: 12.5px; }
.mv-flow .rf-sec:first-child { border-top: 0; }
@media (max-width: 680px) {
  .mv-flow .rf .revdoc { flex-wrap: wrap; gap: 12px 14px; padding: 14px; }
  .mv-flow .rf .revdoc-t { flex: 1 1 calc(100% - 64px); }
  .mv-flow .rf .revdoc .rd-bdg, .mv-flow .rf .revdoc #changeDoctor { margin-left: 62px; }
}

/* ---------- Main menu: brand-purple active and hover states ---------- */
header.site nav.main a:hover { background: #F4F0FF; color: #5A23E0; }
header.site nav.main a.on { background: #EFE9FF; color: #5A23E0; font-weight: 700; box-shadow: none; }
header.site nav.main a.on:hover { background: #E9E1FF; }
@media (max-width: 1040px) {
  header.site nav.main a:hover { background: #F7F4FF; }
  header.site nav.main a.on { background: #F1ECFF; box-shadow: none; padding-left: 14px; border-radius: 10px; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .mv-dir .find-shell { grid-template-columns: 228px minmax(0, 1fr); gap: 24px; }
}

/* ---------- scroll reveal: Find a Doctor + doctor detail ---------- */
.js-sr .sr { opacity: 0; transform: translate3d(0, 26px, 0); animation: none !important; transition: opacity .55s ease, transform .7s cubic-bezier(.16, 1, .3, 1) !important; }
.js-sr .sr.sr-in { opacity: 1; transform: none; }
.js-sr .rv-card.sr { transform: translate3d(0, 16px, 0); }
.js-sr .sr-done { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .js-sr .sr { opacity: 1 !important; transform: none !important; transition: none !important; } }
