.support-chat-launcher {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1000; padding: 15px 22px; border: 1px solid #fff; border-radius: 999px;
  background: #165c35; color: #fff; box-shadow: 0 4px 20px #102c2a30;
  font: 600 15px/1.2 system-ui, sans-serif; cursor: pointer;
}
.support-chat-launcher:hover { background: #0e4226; }
.support-chat-launcher:focus-visible, .support-chat-heading button:focus-visible { outline: 3px solid #63b6d1; outline-offset: 3px; }
.support-chat-panel {
  box-sizing: border-box; padding: 0; margin: 0;
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 32px)); height: min(680px, calc(100dvh - 32px));
  z-index: 1001; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #dce7e0; border-radius: 20px; background: #f9fbfc;
  color: #163529; box-shadow: 0 12px 48px #152c3330; font: 14px/1.4 system-ui, sans-serif;
}
.support-chat-panel[hidden], .support-chat-launcher[hidden], .support-chat-status[hidden] { display: none; }
.support-chat-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 6px 18px; flex: 0 0 auto; font-weight: 600; }
.support-chat-heading button { background: transparent; border: 0; color: #163529; font: 28px/1 system-ui; width: 44px; height: 44px; cursor: pointer; }
.support-chat-status { margin: 8px 18px; }
.support-chat-fallback { margin: 0 18px 8px; color: #165c35; font-size: 12px; text-decoration: underline; }
.support-chat { display: block; border: 0; width: 100%; flex: 1; min-height: 0; background: transparent; }
@media (max-width: 480px) {
  .support-chat-panel { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100vw - 16px); height: min(680px, calc(100dvh - 16px)); }
}
