/* V38: canonical content map + single floating citizen chat + unified admin navigation */
#runtime-messenger-bubble{
  position:fixed!important;
  left:18px!important;
  right:auto!important;
  bottom:18px!important;
  top:auto!important;
  z-index:2147483000!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  margin:0!important;
  border:0!important;
  border-radius:9999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#6d28d9!important;
  color:#fff!important;
  box-shadow:0 12px 32px rgba(31,41,55,.34)!important;
  transform:none!important;
}
#runtime-messenger-bubble.hidden{display:none!important}
#runtime-messenger{
  position:fixed!important;
  left:18px!important;
  right:auto!important;
  bottom:88px!important;
  top:auto!important;
  z-index:2147483001!important;
  width:min(400px,calc(100vw - 24px))!important;
  height:min(620px,calc(100dvh - 120px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 120px)!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid rgba(148,163,184,.35)!important;
  border-radius:22px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.34)!important;
  overflow:hidden!important;
  transform:none!important;
}
#runtime-messenger.hidden{display:none!important}
#runtime-messenger:not(.hidden){display:block!important}
@media(max-width:600px){
  #runtime-messenger-bubble{left:14px!important;bottom:14px!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
  #runtime-messenger{left:10px!important;bottom:78px!important;width:calc(100vw - 20px)!important;height:min(590px,calc(100dvh - 100px))!important;max-width:calc(100vw - 20px)!important;border-radius:18px!important}
}
/* Never allow the legacy citizen chat entry point to occupy page flow. */
#v23-contact-fab,
.floating-btn[onclick*="contactModal"],
header [onclick*="contactModal"],
footer [onclick*="contactModal"],
#hero-actions [onclick*="contactModal"]{display:none!important}

/* V38 map status */
#v9-content-map-body .v38-map-ok{background:#f0fdf4!important;border-color:#bbf7d0!important}
#v9-content-map-body .v38-map-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:9999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:800}
