/* Doctor demo only — five-slot package-ready PWA navigation, 2026-11-13 R7. */
.doctor-pwa-demo-five-nav {display:none!important}
@media(max-width:620px){
 body:has(.doctor-pwa-standalone) {padding-bottom:calc(85px + env(safe-area-inset-bottom))!important}
 .doctor-pwa-demo-five-nav,
 .merchant-themed-store.theme-doctor_practice .merchant-app-bottom-nav.merchant-doctor-practice-mobile-nav.doctor-pwa-demo-five-nav {
   display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
   align-items:center!important;justify-content:stretch!important;gap:0!important;
   box-sizing:border-box!important;position:fixed!important;left:50%!important;bottom:0!important;
   transform:translateX(-50%)!important;width:min(100%,430px)!important;max-width:430px!important;
   height:calc(73px + env(safe-area-inset-bottom))!important;min-height:73px!important;
   padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;
   background:rgba(255,255,255,.97)!important;border:1px solid #e6ebf5!important;
   border-bottom:0!important;border-radius:18px 18px 0 0!important;
   box-shadow:0 -9px 26px rgba(19,50,103,.11)!important;
   overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;
   z-index:2000!important;scroll-snap-type:none!important;
 }
 .doctor-pwa-demo-five-nav :is(a,button),
 .theme-doctor_practice .merchant-doctor-practice-mobile-nav.doctor-pwa-demo-five-nav :is(a,button){
   width:100%!important;max-width:none!important;min-width:0!important;flex:initial!important;
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   align-items:center!important;gap:3px!important;margin:0!important;padding:2px 0!important;
   color:#667699!important;border:none!important;background:none!important;box-shadow:none!important;
   text-decoration:none!important;font-family:inherit!important;font-size:9.5px!important;line-height:1.18!important;
   font-weight:650!important;text-align:center!important;white-space:nowrap!important;cursor:pointer!important;
   scroll-snap-align:none!important;
 }
 .doctor-pwa-demo-five-nav :is(a,button) span[data-doctor-fixed-icon]{
   display:grid!important;place-items:center!important;width:27px!important;height:27px!important;
   padding:0!important;margin:0!important;color:inherit!important;background:transparent!important;
 }
 .doctor-pwa-demo-five-nav :is(a,button) svg{display:block!important;width:20px!important;height:20px!important;
   stroke:currentColor!important;stroke-width:1.9!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 .doctor-pwa-demo-five-nav .is-active{color:#1b5cbd!important}
 .doctor-pwa-demo-five-nav .is-primary{color:#1959b4!important;font-weight:800!important}
 .doctor-pwa-demo-five-nav .is-primary span[data-doctor-fixed-icon]{
   width:34px!important;height:34px!important;margin-top:-5px!important;
   border-radius:12px!important;background:#205ac0!important;color:white!important;
   box-shadow:0 4px 9px rgba(30,83,180,.2)!important;
 }
 .doctor-pwa-demo-five-nav .is-primary svg{stroke:white!important}
 .doctor-pwa-demo-five-nav :is(a,button):focus-visible{outline:2px solid #1e62c7!important;outline-offset:2px!important;border-radius:8px!important}
}

/* R7b: keep labels compact even when legacy doctor nav sets child spans larger. */
@media(max-width:620px){
 .doctor-pwa-demo-five-nav :is(a,button)>span.doctor-pwa-nav-label,
 .theme-doctor_practice .merchant-doctor-practice-mobile-nav.doctor-pwa-demo-five-nav :is(a,button)>span.doctor-pwa-nav-label{
   display:block!important;font-size:10px!important;line-height:1.15!important;font-weight:650!important;
   letter-spacing:-.1px!important;white-space:nowrap!important;overflow:visible!important;
   width:auto!important;height:auto!important;max-width:100%!important;padding:0!important;margin:0!important;
 }
 .doctor-pwa-demo-five-nav .is-primary>span.doctor-pwa-nav-label{font-size:9.8px!important;font-weight:800!important}
}
