/* Additive, theme-aware contextual Pewter launcher. No existing app styles replaced. */
.pq-context-chat-launcher{
  position:fixed;
  right:clamp(14px,2vw,26px);
  bottom:calc(20px + env(safe-area-inset-bottom,0px));
  z-index:69;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:54px;
  min-height:54px;
  padding:0 16px;
  border:1px solid color-mix(in srgb,var(--pq-accent,#f59e0b) 64%,white);
  border-radius:999px;
  background:color-mix(in srgb,var(--pq-surface,#121b2c) 80%,#0b1731);
  color:var(--pq-text,#fff);
  box-shadow:0 8px 26px rgba(0,0,0,.32),0 0 0 2px color-mix(in srgb,var(--pq-accent,#f59e0b) 18%,transparent);
  cursor:pointer;
  font:700 14px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.pq-context-chat-launcher svg{width:26px;height:26px;flex:none;color:var(--pq-accent,#f59e0b)}
.pq-context-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.4),0 0 0 3px color-mix(in srgb,var(--pq-accent,#f59e0b) 28%,transparent)}
.pq-context-chat-launcher:focus-visible{outline:3px solid var(--pq-accent,#f59e0b);outline-offset:4px}
.pq-context-chat-launcher[hidden],body.pq-chat-active .pq-context-chat-launcher,body.pq-modal-open .pq-context-chat-launcher,body.pq-menu-open .pq-context-chat-launcher,body.pq-overlay-open .pq-context-chat-launcher,body.pq-mobile-map-open .pq-context-chat-launcher{display:none!important}
.pq-context-chat-error{position:fixed;bottom:150px;right:16px;left:16px;max-width:420px;margin-left:auto;z-index:9999;padding:14px 18px;border-radius:14px;background:#462531;color:#fff;font:600 14px/1.4 system-ui,sans-serif;box-shadow:0 12px 36px rgba(0,0,0,.4)}
@media (max-width:900px){
  .pq-context-chat-launcher{
    right:16px;
    bottom:calc(90px + env(safe-area-inset-bottom,0px));
    width:54px;
    min-width:54px;
    height:54px;
    min-height:54px;
    padding:0;
  }
  .pq-context-chat-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){.pq-context-chat-launcher{transition:none}.pq-context-chat-launcher:hover{transform:none}}
