/* Failure-only retry control. The original provider owns Zia's logo and popup. */
#clinic-chat-launcher[hidden] { display: none !important; }
#clinic-chat-launcher {
  position: fixed;
  z-index: 1060;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: var(--primary-dark, #6b3a6b);
  color: white;
  box-shadow: 0 5px 20px rgba(53,45,54,.2);
  font: inherit;
  font-style: normal;
  text-align: left;
  cursor: pointer;
}
#clinic-chat-launcher:hover { text-decoration: underline; text-underline-offset: 3px; }
#clinic-chat-launcher:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#clinic-chat-launcher:disabled { opacity: .7; cursor: wait; }
#clinic-chat-status { position: fixed; z-index: 1060; right: 18px; bottom: 82px; display: block; max-width: min(20rem, calc(100vw - 36px)); padding: .65rem .85rem; border: 1px solid #e7dfe5; border-radius: 8px; background: #fffdfa; color: #352d36; font-style: normal; font-size: .85rem; box-shadow: 0 4px 14px rgba(53,45,54,.12); }
#clinic-chat-status:empty { display: none; }
@media print { #clinic-chat-launcher, #clinic-chat-status { display: none !important; } }
