#ndovu-wa-root,
#ndovu-wa-root * {
  box-sizing: border-box;
}

#ndovu-wa-root {
  --ndovu-wa-green: #1fa855;
  --ndovu-wa-green-dark: #148844;
  --ndovu-wa-ink: #171717;
  --ndovu-wa-muted: #666;
  --ndovu-wa-border: #e8e8e8;
  --ndovu-wa-surface: #fff;
  position: fixed;
  bottom: var(--ndovu-wa-bottom, 24px);
  z-index: 99990;
  font-family: inherit;
  line-height: 1.35;
}

#ndovu-wa-root .ndovu-wa-fab {
  position: fixed;
  bottom: calc(var(--ndovu-wa-bottom, 24px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--ndovu-wa-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, padding .2s ease, gap .2s ease;
}

#ndovu-wa-root .ndovu-wa-fab[hidden] {
  display: none !important;
}

#ndovu-wa-root .ndovu-call-fab {
  position: fixed;
  bottom: calc(var(--ndovu-wa-bottom, 24px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:54px;
  padding:0 19px;
  border:2px solid var(--ndovu-call-border,#135f46);
  border-radius:999px;
  background:#fff;
  color:var(--ndovu-call-icon,#135f46);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:transform .18s ease,box-shadow .18s ease,padding .2s ease,gap .2s ease;
}
#ndovu-wa-root .ndovu-call-fab:hover { transform:translateY(-1px); box-shadow:0 13px 32px rgba(0,0,0,.25); }
#ndovu-wa-root .ndovu-call-icon {
  width:var(--ndovu-call-size,24px);
  height:var(--ndovu-call-size,24px);
  flex:0 0 auto;
  display:block;
  background:currentColor;
  -webkit-mask:url('call-icon.png') center/contain no-repeat;
  mask:url('call-icon.png') center/contain no-repeat;
}
#ndovu-wa-root .is-icon-only { width:54px; padding:0; }
#ndovu-wa-root .is-icon-only > span:not(.ndovu-call-icon) { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

#ndovu-wa-root .ndovu-wa-fab > span,
#ndovu-wa-root .ndovu-call-fab > span:not(.ndovu-call-icon) {
  display:inline-block;
  max-width:32ch;
  overflow:hidden;
  white-space:nowrap;
  opacity:1;
  transition:max-width .2s ease,opacity .15s ease;
}

/* A panel is the primary interaction surface. Keep every visible launcher as a
   compact fixed control until that panel closes, without changing saved mode. */
#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab,
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab {
  width:54px;
  min-width:54px;
  height:54px;
  padding:0;
  gap:0;
}

#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab > span,
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab > span:not(.ndovu-call-icon) {
  max-width:0;
  opacity:0;
}

#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab[aria-expanded="true"],
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab[aria-expanded="true"] {
  box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 0 0 3px rgba(0,0,0,.18);
}

#ndovu-wa-root .ndovu-wa-fab:hover {
  background: var(--ndovu-wa-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .25);
}

#ndovu-wa-root .ndovu-wa-fab:focus-visible,
#ndovu-wa-root .ndovu-call-fab:focus-visible,
#ndovu-wa-root .ndovu-wa-chat-button:focus-visible,
#ndovu-wa-root .ndovu-wa-close:focus-visible,
#ndovu-wa-root .ndovu-wa-directions:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

#ndovu-wa-root .ndovu-wa-fab .ndovu-wa-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
  color: var(--ndovu-wa-icon-color, #fff);
}

#ndovu-wa-root .ndovu-wa-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 110px));
  overflow: auto;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 18px;
  background: var(--ndovu-wa-surface);
  color: var(--ndovu-wa-ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

#ndovu-wa-root .ndovu-wa-panel[hidden] {
  display: none !important;
}

#ndovu-wa-root .ndovu-wa-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--ndovu-wa-border);
}

#ndovu-wa-root .ndovu-wa-panel-header strong {
  display: block;
  margin: 0 0 4px;
  font-size: 17px;
}

#ndovu-wa-root .ndovu-wa-panel-header p {
  margin: 0;
  color: var(--ndovu-wa-muted);
  font-size: 13px;
}

#ndovu-wa-root .ndovu-wa-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 25px;
  line-height: 30px;
  cursor: pointer;
}

#ndovu-wa-root .ndovu-wa-context {
  margin: 14px 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f7f6;
  color: #3a3a3a;
  font-size: 12px;
}

#ndovu-wa-root .ndovu-wa-locations {
  display: grid;
  gap: 10px;
  padding: 14px;
}

#ndovu-wa-root .ndovu-wa-location-card {
  padding: 14px;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 13px;
  background: #fff;
}

#ndovu-wa-root .ndovu-wa-location-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#ndovu-wa-root .ndovu-wa-location-heading strong {
  font-size: 15px;
}

#ndovu-wa-root .ndovu-wa-location-heading p {
  margin: 5px 0 0;
  color: var(--ndovu-wa-muted);
  font-size: 12px;
  line-height: 1.45;
}

#ndovu-wa-root .ndovu-wa-directions {
  flex: 0 0 auto;
  color: #454545;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#ndovu-wa-root .ndovu-wa-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#ndovu-wa-root .ndovu-wa-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--ndovu-wa-green);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#ndovu-wa-root .ndovu-wa-chat-button:hover {
  background: var(--ndovu-wa-green-dark);
}
#ndovu-wa-root .ndovu-wa-chat-button.is-call { background:#fff; color:var(--ndovu-call-icon,#135f46); border:1px solid var(--ndovu-call-border,#135f46); }
#ndovu-wa-root .ndovu-call-inline-icon {
  width:18px;
  height:18px;
  flex:0 0 auto;
  display:block;
  background:currentColor;
  -webkit-mask:url('call-icon.png') center/contain no-repeat;
  mask:url('call-icon.png') center/contain no-repeat;
}
#ndovu-wa-root .ndovu-wa-chat-button.is-call:hover { background:#f5f7f6; }

@media (max-width: 640px) {
  #ndovu-wa-root {
    bottom: calc(var(--ndovu-wa-mobile-bottom, 18px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  }

  #ndovu-wa-root .ndovu-wa-fab,
  #ndovu-wa-root .ndovu-call-fab { bottom:calc(var(--ndovu-wa-mobile-bottom,18px) + var(--ndovu-wa-mobile-safe-offset,0px)); }

  #ndovu-wa-root .ndovu-wa-fab {
    min-height: 52px;
    padding: 0 16px;
  }

  #ndovu-wa-root .ndovu-wa-panel {
    position: fixed;
    right: 14px !important;
    left: 14px !important;
    bottom: calc(var(--ndovu-wa-mobile-bottom, 18px) + var(--ndovu-wa-mobile-safe-offset, 0px) + 64px);
    width: auto;
    max-height: calc(100vh - 105px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ndovu-wa-root .ndovu-wa-fab,
  #ndovu-wa-root .ndovu-call-fab,
  #ndovu-wa-root .ndovu-wa-fab > span,
  #ndovu-wa-root .ndovu-call-fab > span:not(.ndovu-call-icon) {
    transition: none;
  }
}
