/* RXOPD canonical public-home design authority.
   PC + tablet + mobile usability repair. Page-scoped only. */
body.rx-standard-shell.rx-ui-home{
  --rxh-layout-max:1180px;
  --rxh-gutter:24px;
  --rxh-text:#111827;
  --rxh-text-secondary:#475569;
  --rxh-text-muted:#64748b;
  --rxh-primary:#2563eb;
  --rxh-primary-strong:#174fb4;
  --rxh-success:#0a9b70;
  --rxh-success-strong:#087a59;
  --rxh-warning:#b45309;
  --rxh-border:#e2e8f0;
  --rxh-surface:#fff;
  --rxh-bg:#f8fafc;
  --rxh-radius-control:8px;
  --rxh-radius-card:12px;
  --rxh-radius-large:16px;
  --rxh-radius-pill:999px;
  --rxh-shadow:0 1px 2px rgb(15 23 42 / .05);
  --rxh-shadow-raised:0 4px 12px rgb(15 23 42 / .08);
  --rxh-font-xs:12px;
  --rxh-font-sm:13px;
  --rxh-font-md:14px;
  --rxh-font-lg:16px;
  --rxh-title-sm:18px;
  --rxh-title-md:22px;
  color:var(--rxh-text)!important;
  background:linear-gradient(180deg,#f8fbff 0%,var(--rxh-bg) 48%,#fff 100%)!important;
  overflow-x:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rx-page{
  width:100%!important;
  max-width:100%!important;
  overflow-x:clip!important;
  padding-bottom:0!important;
}
body.rx-standard-shell.rx-ui-home .rxhome,
body.rx-standard-shell.rx-ui-home .rxhome *{box-sizing:border-box}
body.rx-standard-shell.rx-ui-home .rxhome{
  width:min(100%,var(--rxh-layout-max))!important;
  max-width:var(--rxh-layout-max)!important;
  margin:0 auto!important;
  padding:16px var(--rxh-gutter) 32px!important;
  color:var(--rxh-text)!important;
  font-size:var(--rxh-font-md)!important;
  overflow:visible!important;
}
body.rx-standard-shell.rx-ui-home .rxhome a{color:inherit;text-decoration:none}
body.rx-standard-shell.rx-ui-home .rxhome :is(p,small,em){color:var(--rxh-text-secondary)}
body.rx-standard-shell.rx-ui-home .rxhome :is(button,a,input,select):focus-visible{
  outline:3px solid rgb(37 99 235 / .32)!important;
  outline-offset:2px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome :is(.rxhome-shell,.rxhome-section,.rx20-home-block){
  border-color:var(--rxh-border)!important;
  box-shadow:var(--rxh-shadow)!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-section h2,
body.rx-standard-shell.rx-ui-home .rxhome-section-head h2{
  margin:0!important;
  color:var(--rxh-text)!important;
  font-size:var(--rxh-title-sm)!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}

/* Hero + search: inputs precede the action in both DOM and visual order. */
body.rx-standard-shell.rx-ui-home .rxhome-hero{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;
  align-items:center!important;
  gap:32px!important;
  min-height:300px!important;
  padding:24px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-large)!important;
  background:linear-gradient(120deg,#fff 0%,#f8fbff 55%,#eef7ff 100%)!important;
  box-shadow:var(--rxh-shadow-raised)!important;
  overflow:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-hero-copy{min-width:0!important}
body.rx-standard-shell.rx-ui-home .rxhome-hero-copy h1{
  max-width:620px!important;
  margin:0 0 8px!important;
  color:#0b2b62!important;
  font-size:clamp(30px,3.1vw,44px)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
  font-weight:900!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-hero-copy h1 strong{color:var(--rxh-success)!important}
body.rx-standard-shell.rx-ui-home .rxhome-hero-copy>p{
  margin:0 0 4px!important;
  color:#163b63!important;
  font-size:var(--rxh-font-lg)!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-hero-copy>small{
  display:block!important;
  max-width:620px!important;
  color:var(--rxh-text-secondary)!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1.4!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-hero-art{
  min-height:230px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:16px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-large)!important;
  background:#f8fbff!important;
  box-shadow:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-hero-art img{
  display:block!important;
  width:min(100%,470px)!important;
  height:auto!important;
  object-fit:contain!important;
  filter:none!important;
  transform:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact{
  width:min(100%,720px)!important;
  max-width:720px!important;
  display:grid!important;
  grid-template-columns:minmax(180px,.82fr) minmax(260px,1.25fr) 120px!important;
  gap:12px!important;
  align-items:stretch!important;
  margin:18px 0 12px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-field,
body.rx-standard-shell.rx-ui-home .rxhome-location-entry{
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  border:1px solid #cbd5e1!important;
  border-radius:var(--rxh-radius-control)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-field{
  display:flex!important;
  align-items:center!important;
  padding:0 12px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-field :is(input,select){
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--rxh-text)!important;
  font:600 var(--rxh-font-md)/1.2 Calibri,Candara,"Segoe UI",Arial,sans-serif!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-field select{padding-right:28px!important}
body.rx-standard-shell.rx-ui-home .rxhome-field input::placeholder{color:#94a3b8!important;opacity:1!important}
body.rx-standard-shell.rx-ui-home .rxhome-location-entry{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:stretch!important;
  overflow:hidden!important;
  padding:0!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-location-entry .rxhome-location-detect{
  position:static!important;
  grid-column:1!important;
  width:44px!important;
  min-width:44px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-right:1px solid var(--rxh-border)!important;
  border-radius:0!important;
  background:#f8fafc!important;
  color:var(--rxh-primary)!important;
  box-shadow:none!important;
  display:grid!important;
  place-items:center!important;
  font-size:18px!important;
  cursor:pointer!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-location-entry .rxhome-field-location{
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-btn{
  min-height:44px!important;
  height:44px!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:var(--rxh-radius-control)!important;
  font-size:var(--rxh-font-md)!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-btn-green{background:var(--rxh-success)!important;color:#fff!important}
body.rx-standard-shell.rx-ui-home .rxhome-btn-green:hover{background:var(--rxh-success-strong)!important}

/* Hero statistics are the single network summary; duplicate network section is removed in markup. */
body.rx-standard-shell.rx-ui-home .rxhome-stat-strip{
  width:min(100%,720px)!important;
  max-width:720px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-stat-strip span{
  min-width:0!important;
  min-height:58px!important;
  padding:8px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-card)!important;
  background:#fff!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  text-align:center!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-stat-strip b{color:var(--rxh-text)!important;font-size:var(--rxh-font-md)!important;line-height:1.1!important}
body.rx-standard-shell.rx-ui-home .rxhome-stat-strip em{color:var(--rxh-text-muted)!important;font-size:var(--rxh-font-xs)!important;line-height:1.15!important;font-style:normal!important;font-weight:600!important}

/* Quick Actions: consistent SVG language and touch geometry. */
body.rx-standard-shell.rx-ui-home .rxhome-actions-section{
  margin-top:16px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-actions-section>h2{text-align:center!important;margin:0 0 12px!important}
body.rx-standard-shell.rx-ui-home .rxhome-actions{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:12px!important;
  overflow:visible!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-actions a{
  min-width:0!important;
  min-height:88px!important;
  padding:12px 8px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-card)!important;
  background:#fff!important;
  color:#0f4f83!important;
  box-shadow:var(--rxh-shadow)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
  transform:none!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-actions a:hover{border-color:#bfdbfe!important;background:#f8fbff!important;box-shadow:var(--rxh-shadow-raised)!important;transform:none!important}
body.rx-standard-shell.rx-ui-home .rxhome-action-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  color:#0f6fae!important;
  font-size:0!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-action-icon svg{
  display:block!important;
  width:28px!important;
  height:28px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-actions b{
  color:var(--rxh-text)!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1.2!important;
  font-weight:700!important;
}

/* Explore Near You: five actual content cards + one consistent secondary View All action. */
body.rx-standard-shell.rx-ui-home .rxhome-near-section{
  margin-top:16px!important;
  padding:20px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-large)!important;
  background:#fff!important;
  box-shadow:var(--rxh-shadow)!important;
  overflow:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-section .rxhome-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0 0 12px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-pills{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0 0 16px!important;
  padding:0!important;
  overflow:visible!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-pills button,
body.rx-standard-shell.rx-ui-home .rxhome-viewall-link,
body.rx-standard-shell.rx-ui-home .rx20-home-links a,
body.rx-standard-shell.rx-ui-home .rx20-home-footer a{
  min-height:40px!important;
  height:auto!important;
  padding:0 14px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-pill)!important;
  background:#fff!important;
  color:#164e63!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1.15!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-pills button.active{
  border-color:var(--rxh-primary)!important;
  background:var(--rxh-primary)!important;
  color:#fff!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(170px,1.15fr) repeat(4,minmax(150px,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-map-card,
body.rx-standard-shell.rx-ui-home .rxhome-near-card{
  width:100%!important;
  min-width:0!important;
  min-height:176px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-card)!important;
  background:#fff!important;
  box-shadow:var(--rxh-shadow)!important;
  overflow:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-map-card{position:relative!important;display:block!important}
body.rx-standard-shell.rx-ui-home .rxhome-map-card img{display:block!important;width:100%!important;height:176px!important;object-fit:cover!important}
body.rx-standard-shell.rx-ui-home .rxhome-map-card span{
  position:absolute!important;
  left:12px!important;
  bottom:12px!important;
  min-height:36px!important;
  padding:0 12px!important;
  border-radius:var(--rxh-radius-control)!important;
  background:var(--rxh-primary)!important;
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:var(--rxh-font-sm)!important;
  font-weight:700!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card{
  display:grid!important;
  grid-template-rows:auto auto minmax(86px,1fr) auto!important;
  gap:5px!important;
  padding:12px!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card small{color:var(--rxh-primary-strong)!important;font-size:var(--rxh-font-xs)!important;font-weight:700!important;line-height:1.15!important}
body.rx-standard-shell.rx-ui-home .rxhome-near-card strong{min-height:0!important;margin:0!important;color:var(--rxh-text)!important;font-size:var(--rxh-font-sm)!important;line-height:1.25!important;font-weight:700!important;overflow:visible!important}
body.rx-standard-shell.rx-ui-home .rxhome-near-card img{
  align-self:center!important;
  display:block!important;
  width:100%!important;
  height:86px!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:var(--rxh-radius-control)!important;
  background:#f1f5f9!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card em{color:var(--rxh-warning)!important;font-size:var(--rxh-font-xs)!important;line-height:1.15!important;font-style:normal!important;font-weight:700!important}
body.rx-standard-shell.rx-ui-home .rxhome-near-footer{display:flex!important;justify-content:flex-start!important;margin-top:14px!important}
body.rx-standard-shell.rx-ui-home .rxhome-viewall-link{background:#eef8f4!important;color:var(--rxh-success-strong)!important;border-color:#cde9dc!important}
body.rx-standard-shell.rx-ui-home .rxhome-viewall-link span{font-size:18px!important;line-height:1!important}

/* Featured Doctors & Chambers: navigation is grouped with the section, copy is readable, addresses show two lines. */
body.rx-standard-shell.rx-ui-home .rx20-home-block{
  margin-top:16px!important;
  padding:20px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-large)!important;
  background:#fff!important;
  box-shadow:var(--rxh-shadow)!important;
  overflow:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rx20-home-head{
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:start!important;
  align-items:start!important;
  gap:10px!important;
  margin:0 0 14px!important;
  text-align:left!important;
}
body.rx-standard-shell.rx-ui-home .rx20-home-head>div:first-child{width:100%!important;text-align:left!important}
body.rx-standard-shell.rx-ui-home .rx20-home-head h2{text-align:left!important}
body.rx-standard-shell.rx-ui-home .rx20-home-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  width:auto!important;
  padding:4px!important;
  border-radius:var(--rxh-radius-card)!important;
  background:#f1f5f9!important;
}
body.rx-standard-shell.rx-ui-home .rx20-home-links a{min-height:36px!important;padding:0 12px!important;border-radius:var(--rxh-radius-control)!important;background:#fff!important}
body.rx-standard-shell.rx-ui-home .rx20-home-list{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  overflow:visible!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-card{
  min-width:0!important;
  max-width:none!important;
  min-height:180px!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:14px!important;
  padding:14px!important;
  border:1px solid var(--rxh-border)!important;
  border-radius:var(--rxh-radius-card)!important;
  background:#fff!important;
  box-shadow:var(--rxh-shadow)!important;
  overflow:hidden!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-photo{display:block!important;width:112px!important;height:112px!important;border-radius:var(--rxh-radius-card)!important;overflow:hidden!important;background:#f1f5f9!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-body{min-width:0!important;display:flex!important;flex-direction:column!important;gap:6px!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-title{display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-title>a{min-width:0!important;color:var(--rxh-text)!important;font-size:var(--rxh-font-lg)!important;line-height:1.2!important;font-weight:800!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-title>span{flex:0 0 auto!important;border-radius:var(--rxh-radius-pill)!important;font-size:var(--rxh-font-xs)!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;min-width:0!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-meta :is(b,em,strong){font-size:var(--rxh-font-xs)!important;line-height:1.2!important;font-style:normal!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-meta b{color:var(--rxh-warning)!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-meta em{color:var(--rxh-text-muted)!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-meta strong{color:var(--rxh-success-strong)!important}
body.rx-standard-shell.rx-ui-home #index-twenty .rx20-mini-card p{
  margin:0!important;
  color:var(--rxh-text-secondary)!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1.4!important;
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  display:block!important;
  -webkit-box-orient:initial!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  text-overflow:clip!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-body>small{font-size:var(--rxh-font-xs)!important;line-height:1.35!important;color:var(--rxh-text-muted)!important}
body.rx-standard-shell.rx-ui-home .rx20-mini-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  margin-top:auto!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-actions a{
  min-height:40px!important;
  height:40px!important;
  padding:0 14px!important;
  border-radius:var(--rxh-radius-control)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-actions .book{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:132px!important;
  max-width:180px!important;
  background:var(--rxh-success)!important;
  color:#fff!important;
}
body.rx-standard-shell.rx-ui-home .rx20-mini-actions .call{
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #bfdbfe!important;
  background:#eff6ff!important;
  color:var(--rxh-primary)!important;
}
body.rx-standard-shell.rx-ui-home .rx20-home-footer{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:14px!important;
  text-align:left!important;
}
body.rx-standard-shell.rx-ui-home .rx20-home-footer>span{
  color:var(--rxh-text-secondary)!important;
  font-size:var(--rxh-font-sm)!important;
  line-height:1.35!important;
}

/* Home advertisements use the same readable text floor and card geometry. */
body.rx-standard-shell.rx-ui-home .rxhome-ad,
body.rx-standard-shell.rx-ui-home .rx-universal-ad-rotator-home{border-radius:var(--rxh-radius-card)!important;box-shadow:var(--rxh-shadow)!important}
body.rx-standard-shell.rx-ui-home .rx-universal-ad-footer :is(span,a){font-size:var(--rxh-font-xs)!important}
body.rx-standard-shell.rx-ui-home .rx-universal-ad-btn{min-height:36px!important;border-radius:var(--rxh-radius-control)!important}

/* Public-home installer is in normal flow, never on top of Explore/Featured content. */
body.rx-standard-shell.rx-ui-home .rx-pwa-install{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:min(720px,calc(100% - 28px))!important;
  max-width:720px!important;
  min-height:52px!important;
  margin:8px auto 24px!important;
  padding:6px 8px!important;
  border-radius:var(--rxh-radius-card)!important;
  box-shadow:var(--rxh-shadow-raised)!important;
  z-index:auto!important;
}
body.rx-standard-shell.rx-ui-home.rx-pwa-dock-active{padding-bottom:0!important}
body.rx-standard-shell.rx-ui-home .rx-pwa-install-copy b{font-size:var(--rxh-font-sm)!important}
body.rx-standard-shell.rx-ui-home .rx-pwa-install-now{font-size:11px!important}
body.rx-standard-shell.rx-ui-home .rx-pwa-install-action{min-height:40px!important;height:40px!important;font-size:var(--rxh-font-md)!important;border-radius:var(--rxh-radius-control)!important}
body.rx-standard-shell.rx-ui-home .rx-pwa-install-close{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:var(--rxh-radius-pill)!important}

@media(max-width:1024px){
  body.rx-standard-shell.rx-ui-home{--rxh-gutter:20px}
  body.rx-standard-shell.rx-ui-home .rxhome-hero{grid-template-columns:minmax(0,1fr) minmax(280px,.78fr)!important;gap:20px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.rx-standard-shell.rx-ui-home .rx20-home-list{grid-template-columns:1fr!important}
}
@media(max-width:767px){
  body.rx-standard-shell.rx-ui-home{--rxh-gutter:14px}
  body.rx-standard-shell.rx-ui-home .rxhome{padding:8px var(--rxh-gutter) 24px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-hero{display:block!important;min-height:0!important;padding:16px!important;border-radius:var(--rxh-radius-large)!important}
  body.rx-standard-shell.rx-ui-home .rxhome-hero-copy h1{font-size:clamp(28px,9vw,38px)!important;line-height:1.04!important}
  body.rx-standard-shell.rx-ui-home .rxhome-hero-copy>p{font-size:var(--rxh-font-md)!important}
  body.rx-standard-shell.rx-ui-home .rxhome-hero-copy>small{display:block!important;font-size:var(--rxh-font-xs)!important}
  body.rx-standard-shell.rx-ui-home .rxhome-hero-art{display:none!important}
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:14px 0 12px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-field-select{order:1!important;display:flex!important;width:100%!important}
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-location-entry{order:2!important;width:100%!important}
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-btn{order:3!important;width:100%!important;min-height:44px!important;height:44px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-stat-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-stat-strip span{min-height:58px!important;padding:7px 3px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-stat-strip b{font-size:var(--rxh-font-sm)!important}
  body.rx-standard-shell.rx-ui-home .rxhome-stat-strip em{font-size:var(--rxh-font-xs)!important;white-space:normal!important}
  body.rx-standard-shell.rx-ui-home .rxhome-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-actions a{min-height:92px!important;padding:14px 10px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-section,
  body.rx-standard-shell.rx-ui-home .rx20-home-block{padding:16px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-pills{flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;padding:1px 0 5px!important;scrollbar-width:none!important}
  body.rx-standard-shell.rx-ui-home .rxhome-pills::-webkit-scrollbar{display:none!important}
  body.rx-standard-shell.rx-ui-home .rxhome-pills button{min-height:44px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-map-card,
  body.rx-standard-shell.rx-ui-home .rxhome-near-card{min-height:168px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-map-card img{height:168px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-card{grid-template-rows:auto auto minmax(76px,1fr) auto!important;padding:10px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-card img{height:76px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-viewall-link,
  body.rx-standard-shell.rx-ui-home .rx20-home-footer a{min-height:44px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-card{grid-template-columns:88px minmax(0,1fr)!important;gap:12px!important;padding:12px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-photo{width:88px!important;height:88px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-actions a{min-height:44px!important;height:44px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-actions .call{flex-basis:44px!important;width:44px!important;min-width:44px!important}
  body.rx-standard-shell.rx-ui-home .rx20-home-footer{align-items:flex-start!important;flex-direction:column!important}
  body.rx-standard-shell.rx-ui-home .rx-pwa-install{width:calc(100% - 28px)!important;max-width:none!important;min-height:52px!important;gap:6px!important;margin:8px auto 20px!important}
  body.rx-standard-shell.rx-ui-home .rx-pwa-install-action{min-height:44px!important;height:44px!important}
  body.rx-standard-shell.rx-ui-home .rx-pwa-install-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}
@media(max-width:480px){
  body.rx-standard-shell.rx-ui-home .rxhome-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-card{grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-photo{width:76px!important;height:76px!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-title>a{font-size:var(--rxh-font-md)!important}
  body.rx-standard-shell.rx-ui-home .rx20-mini-actions .book{min-width:0!important;max-width:100%!important;padding-inline:12px!important}
  body.rx-standard-shell.rx-ui-home .rx-pwa-install-brand{width:78px!important;min-width:78px!important}
  body.rx-standard-shell.rx-ui-home .rx-pwa-install-copy b{font-size:var(--rxh-font-xs)!important}
}

/* 2026-09 public-home search geometry correction.
   Keep Speciality + Location + Search aligned on tablet/desktop and use a clean
   two-row pattern on phones. */
@media(min-width:768px) and (max-width:1100px){
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact{
    display:grid!important;
    grid-template-columns:minmax(150px,.78fr) minmax(250px,1.3fr) 104px!important;
    gap:9px!important;
    align-items:stretch!important;
    width:min(100%,680px)!important;
    max-width:680px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-field-select,
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-location-entry,
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-btn{
    grid-row:1!important;
    grid-column:auto!important;
    order:initial!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-field-select{display:flex!important}
}
@media(max-width:767px){
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 84px!important;
    gap:8px!important;
    width:100%!important;
    max-width:none!important;
    margin:14px 0 12px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-field-select{
    display:flex!important;
    grid-column:1/-1!important;
    grid-row:1!important;
    order:initial!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-location-entry{
    grid-column:1!important;
    grid-row:2!important;
    order:initial!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
  }
  body.rx-standard-shell.rx-ui-home .rxhome-search.rxhome-location-search-compact>.rxhome-btn{
    display:flex!important;
    grid-column:2!important;
    grid-row:2!important;
    order:initial!important;
    width:84px!important;
    min-width:84px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 10px!important;
    border-radius:10px!important;
    font-size:12px!important;
  }
}

/* Repair: Explore Near You card artwork uses one predictable visual slot. */
body.rx-standard-shell.rx-ui-home .rxhome-near-grid{
  align-items:stretch!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card{
  grid-template-rows:auto minmax(32px,auto) minmax(88px,1fr)!important;
  align-content:start!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card small,
body.rx-standard-shell.rx-ui-home .rxhome-near-card strong{
  align-self:start!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-near-card img{
  align-self:end!important;
  justify-self:stretch!important;
  width:100%!important;
  height:88px!important;
  min-height:88px!important;
  max-height:88px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:6px!important;
  background:linear-gradient(180deg,#f8fbff,#f1f7fb)!important;
}
body.rx-standard-shell.rx-ui-home .rxhome-map-card,
body.rx-standard-shell.rx-ui-home .rxhome-near-card{min-height:176px!important}
body.rx-standard-shell.rx-ui-home .rxhome-map-card img{height:176px!important;min-height:176px!important;object-fit:cover!important;padding:0!important}
@media(max-width:767px){
  body.rx-standard-shell.rx-ui-home .rxhome-near-card{grid-template-rows:auto minmax(30px,auto) minmax(76px,1fr)!important}
  body.rx-standard-shell.rx-ui-home .rxhome-near-card img{height:76px!important;min-height:76px!important;max-height:76px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-map-card,
  body.rx-standard-shell.rx-ui-home .rxhome-near-card{min-height:168px!important}
  body.rx-standard-shell.rx-ui-home .rxhome-map-card img{height:168px!important;min-height:168px!important}
}
