/* Clinic explorer: reserved controls, independent list scroll, no overlay navigation. */
body.dh26-clinic-exploring #dh26PortalNav,
body.dh26-clinic-exploring #dh26App>.dh26-bottom-nav,
body.dh26-clinic-exploring .dh26-dhara-bubble{display:none!important;pointer-events:none!important}
#dh26Portal #dh26NearbyListView{grid-template-rows:auto auto minmax(0,1fr)!important}
#dh26Portal #dh26NearbyListView .dh26-view-head>.dh26-icon-button:first-child{display:grid!important}
@media(min-width:1024px){#dh26Portal #dh26NearbyListView .dh26-view-head{grid-template-columns:44px minmax(0,1fr) 44px!important}}
#dh26Portal #dh26NearbyListView .dh26-clinic-view-dock{position:absolute!important;top:auto!important;right:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;left:50%!important;display:flex;align-items:center;justify-content:center;width:max-content!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:800;transform:translateX(-50%)!important;pointer-events:none}
#dh26Portal .dh26-clinic-view-dock .dh26-map-switch{pointer-events:auto;box-shadow:0 5px 20px #0f4c3a20}
#dh26Portal .dh26-map-switch{display:flex;flex:none;gap:3px;border:1px solid #dce7df;padding:4px;border-radius:30px;background:#f4f7f3;box-shadow:0 3px 14px #0f4c3a0a}
#dh26Portal .dh26-map-switch button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;padding:10px 18px;border-radius:24px;color:#617269;font:650 13px 'Plus Jakarta Sans',sans-serif;min-height:40px;min-width:100px;cursor:pointer;white-space:nowrap}
#dh26Portal .dh26-map-switch button[aria-pressed=true]{background:#0f4c3a;color:#fff;box-shadow:0 2px 6px #0f4c3a20}
#dh26Portal #dh26NearbyListView .dh26-clinic-explorer{min-height:0!important;overscroll-behavior:contain;touch-action:pan-y}
#dh26Portal #dh26NearbyListView:not(.is-map-view) .dh26-clinic-results{padding-bottom:96px!important;min-height:0!important}
#dh26Portal #dh26NearbyListView .dh26-map-note{font-size:11px;line-height:1.5;color:#718078;margin:0 0 10px}
#dh26Portal #dh26NearbyListView .dh26-clinic-map-panel[hidden],#dh26Portal [hidden].dh26-map-note{display:none!important}
#dh26Portal #dh26NearbyListView.is-map-view .dh26-clinic-explorer{display:grid!important;grid-template-columns:minmax(300px,36%) minmax(0,1fr);overflow:hidden!important;padding:0!important;touch-action:auto!important}
#dh26Portal #dh26NearbyListView.is-map-view .dh26-clinic-results{width:100%!important;max-width:none!important;height:100%;min-height:0!important;overflow:auto!important;padding:16px 18px 96px!important;box-sizing:border-box;border-right:1px solid #e2eae4;overscroll-behavior:contain;touch-action:pan-y}
#dh26Portal .dh26-clinic-map-panel{position:relative;isolation:isolate;min-height:0;background:#eaf0e7;overflow:hidden}
#dh26ClinicMap{width:100%;height:100%;position:absolute;inset:0;background:#eaf0e7;font-family:'Plus Jakarta Sans',sans-serif;touch-action:none}
#dh26Portal .dh26-map-actions{position:absolute;z-index:500;top:12px;left:12px;right:12px;display:flex;justify-content:center;gap:8px;pointer-events:none}
#dh26Portal .dh26-map-actions button,#dh26Portal .dh26-map-status button{pointer-events:auto;min-height:40px;padding:10px 16px;border:1px solid #dbe6dc;border-radius:30px;background:#fff;color:#0f4c3a;box-shadow:0 4px 20px #123d2920;font:700 12px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
#dh26Portal .dh26-map-actions [data-map-search]{background:#0f4c3a;color:#fff;border-color:#0f4c3a}
#dh26Portal .dh26-map-actions [hidden]{display:none!important}
#dh26Portal .dh26-map-legend{position:absolute;z-index:450;left:8px;bottom:24px;background:#fffffff2;border-radius:8px;padding:5px 7px;font-size:10px;color:#45604f;pointer-events:none;max-width:calc(100% - 65px)}
#dh26Portal .dh26-map-status{position:absolute;z-index:600;top:68px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;max-height:calc(100% - 100px);overflow:auto;padding:14px;background:#fffffff5;border:1px solid #dbe6dc;border-radius:18px;font-size:12px;line-height:1.5;box-shadow:0 8px 24px #0f4c3a12;pointer-events:auto}
#dh26Portal .dh26-map-status[hidden]{display:none}
#dh26Portal .dh26-map-pin{border:0;background:none;color:#0f4c3a;filter:drop-shadow(0 3px 4px #0f4c3a40)}
#dh26Portal .dh26-map-pin>svg{display:block;width:38px!important;height:50px!important;overflow:visible;transform:none!important;stroke:none!important;fill:none!important}
#dh26Portal .dh26-map-pin .dh26-pin-body{fill:currentColor!important;stroke:#fff!important;stroke-width:2.5!important;stroke-linejoin:round}
#dh26Portal .dh26-map-pin .dh26-pin-cross{fill:#fff!important;stroke:none!important}
#dh26Portal .dh26-map-pin.is-cluster>span{display:flex;width:42px;height:42px;align-items:center;justify-content:center;background:#fff;color:#0f4c3a;border:2px solid #0f4c3a;border-radius:50%;font:800 14px 'Plus Jakarta Sans',sans-serif;box-sizing:border-box}
#dh26Portal .dh26-map-pin.is-selected{color:#a3d65c;filter:drop-shadow(0 4px 6px #0f4c3a55)}
#dh26Portal .dh26-map-pin.is-selected .dh26-pin-cross{fill:#0f4c3a!important}
#dh26Portal .dh26-map-pin.is-selected.is-cluster>span{background:#a3d65c}
#dh26Portal #dh26NearbyListList .is-map-selected{outline:2px solid #0f4c3a;outline-offset:-2px;background:#f6faef!important}
#dh26Portal #dh26NearbyListList .dh26-map-clinic-card{display:grid!important;grid-template-rows:auto auto auto auto;align-content:start;gap:7px!important;min-width:0;padding:14px!important;border:1px solid #e0e9e2;border-radius:18px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 3px 12px #0f4c3a06}
#dh26Portal .dh26-map-card-name{display:block;color:#143e30;font-size:14px;font-weight:800;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#dh26Portal .dh26-map-card-name strong{font:inherit!important}
#dh26Portal .dh26-map-card-meta{font-size:11px;color:#75837a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:14px}
#dh26Portal .dh26-map-card-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:750;color:#0f4c3a}
#dh26Portal .dh26-pin-popup{display:grid;gap:8px}
#dh26Portal .dh26-pin-popup button{display:grid;gap:7px;padding:8px 0;border:0;border-bottom:1px solid #e4ece5;background:#fff;text-align:left;font:inherit;cursor:pointer;width:100%;color:#0f4c3a}
#dh26Portal .dh26-pin-popup strong{font-size:14px;line-height:1.45}
#dh26Portal .dh26-pin-popup small{font-size:11px;color:#6f8176}
#dh26Portal .dh26-pin-popup span{font-size:12px;font-weight:700}
#dh26Portal #dh26ClinicMap .leaflet-control-attribution{font-size:9px;background:#fffffff0}
#dh26Portal #dh26ClinicMap .leaflet-control-zoom a{color:#0f4c3a}
#dh26Portal #dh26ClinicMap .leaflet-tile{max-width:none!important;max-height:none!important}
@media(max-width:767px){
 #dh26Portal #dh26NearbyListView.is-map-view .dh26-clinic-explorer{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(100px,1fr) auto}
 #dh26Portal .dh26-clinic-map-panel{grid-row:1;min-height:0!important}
 #dh26Portal #dh26NearbyListView.is-map-view .dh26-clinic-results{grid-row:2;height:auto!important;padding:8px 0 max(80px,calc(68px + env(safe-area-inset-bottom)))!important;border:0;overflow:visible!important;background:#f7faf6;touch-action:auto}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListCount{padding:0 16px;margin:0 0 3px!important;font-size:12px;line-height:18px;min-height:18px!important}
 #dh26Portal #dh26NearbyListView.is-map-view .dh26-map-note{padding:0 16px;font-size:10px;margin:0 0 5px;line-height:14px}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList{display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;padding:2px 16px 9px;scroll-padding:16px;box-sizing:border-box;touch-action:pan-x pinch-zoom;overscroll-behavior-x:contain}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList>.dh26-map-clinic-card{flex:0 0 84%;max-width:340px!important;min-height:128px!important;height:128px!important;padding:11px 13px!important;gap:5px!important;scroll-snap-align:center;grid-template-rows:minmax(20px,40px) 16px 14px 18px;align-content:start;overflow:hidden}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList .dh26-clinic-directory-divider{display:none}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList .dh26-clinic-hours-line{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px!important;line-height:16px!important;margin:0!important}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList .dh26-clinic-hours-line strong{font-size:11px!important;line-height:16px!important}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList .dh26-empty{min-width:100%;padding:12px!important;min-height:64px!important}
}
@media(max-width:767px) and (max-height:600px){
 #dh26Portal #dh26NearbyListView.is-map-view .dh26-map-note{display:none!important}
 #dh26Portal #dh26NearbyListView.is-map-view #dh26NearbyListList>.dh26-map-clinic-card{height:112px!important;min-height:112px!important;grid-template-rows:20px 16px 14px 18px}
 #dh26Portal .dh26-map-card-name{-webkit-line-clamp:1}
}
@media(prefers-reduced-motion:reduce){#dh26Portal .dh26-map-pin{transition:none!important}}
@media(min-width:1024px){
 #dh26Portal #dh26NearbyListView.is-map-view .dh26-clinic-explorer{width:min(calc(100% - var(--dh26-desktop-frame-inset,48px)),var(--dh26-desktop-max,1240px))!important;max-width:var(--dh26-desktop-max,1240px)!important;margin:10px auto 12px!important;grid-template-columns:minmax(280px,34%) minmax(0,1fr);border:1px solid #e0e9e2;border-radius:22px;background:#fff;box-shadow:0 8px 28px #0f4c3a05}
}
@media(max-width:1023px){
 #dh26Portal #dh26NearbyListView{top:var(--dh26-vv-top,0px)!important;bottom:auto!important;height:var(--dh26-vv-height,100dvh)!important;min-height:0!important;max-height:var(--dh26-vv-height,100dvh)!important}
}
/* A small visual viewport (for example the phone keyboard) keeps map + switch reachable. */
@media(max-width:767px){
 #dh26Portal #dh26NearbyListView.is-map-view.is-short-map-viewport .dh26-clinic-results{display:none!important}
 #dh26Portal #dh26NearbyListView.is-map-view.is-short-map-viewport .dh26-clinic-explorer{grid-template-rows:minmax(0,1fr)}
}

#dh26Portal .dh26-map-area-pin{background:none;border:0;filter:drop-shadow(0 3px 6px #0f4c3a22)}
#dh26Portal .dh26-map-area-pin>span{display:flex;flex-direction:column;justify-content:center;gap:2px;width:138px;height:46px;box-sizing:border-box;padding:5px 10px;border:1.5px dashed #60816f;border-radius:16px;background:#fbfdf5;color:#244a36;text-align:center}
#dh26Portal .dh26-map-area-pin strong{font:750 11px/1.2 'Plus Jakarta Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dh26Portal .dh26-map-area-pin small{font:500 10px/1.2 'Plus Jakarta Sans',sans-serif;color:#64806e}
#dh26Portal .dh26-map-area-pin.is-selected>span{background:#e8f4d5;border-color:#0f4c3a;box-shadow:0 0 0 3px #a3d65c30}
#dh26Portal .dh26-area-popup p{font-size:12px;line-height:1.6;margin:0;color:#6b7d71}
#dh26Portal .dh26-map-legend{display:flex;flex-wrap:wrap;gap:3px 8px}
#dh26Portal .dh26-map-legend>span{height:auto;width:auto;border:0;border-radius:0}
#dh26Portal .dh26-map-actions [data-map-locate]{display:flex;align-items:center;gap:6px;background:#fff;color:#0f4c3a}
#dh26Portal .dh26-map-actions [data-map-locate]>span{font-size:18px;line-height:1}
#dh26Portal .dh26-map-actions [data-map-locate]:disabled{opacity:.7;cursor:wait}
#dh26Portal .dh26-my-location{border:0;background:none;z-index:700}
#dh26Portal .dh26-my-location>span{display:block;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#3285ed;box-sizing:border-box;box-shadow:0 0 0 5px #3285ed25,0 2px 8px #19375250}
