#pwa-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  height: 62px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .07);
  overflow: visible;
}
#pwa-nav a {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 10px;
  font-family: system-ui, sans-serif;
}
#pwa-nav a.active:not(.pwa-nav-center)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--pwa-color, #0d6efd);
}
#pwa-nav a svg {
  width: 24px;
  height: 24px;
}
#pwa-nav a.active,
#pwa-nav a:hover {
  color: var(--pwa-color, #0d6efd);
}
#pwa-nav a.pwa-nav-center {
  position: relative;
  top: -18px;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--pwa-color, #0d6efd);
  color: #fff !important;
  box-shadow: 0 0 0 5px #fff, 0 4px 18px var(--pwa-shadow, rgba(13, 110, 253, .45));
}
#pwa-nav a.pwa-nav-center svg {
  width: 26px;
  height: 26px;
}
#pwa-nav a.pwa-nav-center:hover,
#pwa-nav a.pwa-nav-center.active {
  color: #fff;
  opacity: .88;
}
#pwa-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2147483000;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
  font-family: system-ui, sans-serif;
}
#pwa-bi img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
#pwa-bt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#pwa-bt strong {
  font-size: 15px;
  color: #111;
  font-weight: 700;
}
#pwa-bt span {
  font-size: 13px;
  color: #6b7280;
}
#pwa-btn {
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
#pwa-x {
  border: 0;
  background: none;
  color: #9ca3af;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
}

/* fix: move chat buttons above nav (not just add padding — avoids blocking clicks) */
body.pwa-active .integration-fixed__bottom-right,
body.pwa-active .integration-fixed__bottom-left {
  bottom: 70px;
}
