#chat-launcher{position:fixed;right:22px;bottom:22px;z-index:80;border:1px solid #E6ECF8;border-radius:99px;background:#fff;color:#1F2A44;padding:13px 20px;box-shadow:0 4px 18px #1F2A4414;font:600 14px inherit;cursor:pointer}
#haven-chat{font-family:inherit;color:#1F2A44;font-size:14px;line-height:1.5}#haven-chat *{box-sizing:border-box}#haven-chat button,#haven-chat textarea{font:inherit}#haven-chat button{cursor:pointer}#haven-chat button:disabled{opacity:.55;cursor:wait}#haven-chat button:focus-visible,#haven-chat a:focus-visible{outline:2px solid #4660B0;outline-offset:3px}
.chat-customer{position:fixed;right:22px;bottom:82px;z-index:90;width:min(390px,calc(100vw - 24px));height:min(570px,calc(100dvh - 110px));border:1px solid #E6ECF8;border-radius:20px;background:#fff;box-shadow:0 12px 48px #1F2A4426;overflow:hidden}
.chat-conversation{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden}.chat-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #E6ECF8;background:#F7F8FB}.chat-title strong,.chat-title small{display:block}.chat-title small{font-size:12px;color:#5D6678;margin-top:4px}.chat-title button{border:1px solid #E6ECF8;border-radius:10px;background:#fff;padding:8px 10px;color:#1F2A44}.chat-messages{flex:1;min-height:100px;overflow:auto;padding:16px;overscroll-behavior:contain}.chat-message{max-width:90%;width:fit-content;padding:10px 13px;border-radius:13px;margin:0 0 12px;background:#E6ECF8;overflow-wrap:anywhere}.chat-message p{margin:4px 0;white-space:pre-wrap}.chat-message small,.chat-message time{font-size:10px;color:#5D6678}.chat-customer .from-customer,.chat-admin .from-team{margin-left:auto;background:#E6ECF8}.chat-compose{display:flex;align-items:flex-end;gap:8px;padding:0 14px 10px;margin:0}.chat-compose textarea{min-width:0;flex:1;resize:vertical;max-height:140px;border:1px solid #E6ECF8;border-radius:12px;padding:10px;background:#fff;color:#1F2A44}.chat-compose button{background:#4660B0;color:white;border:0;border-radius:12px;padding:12px 14px;min-height:44px}.chat-feedback{font-size:12px;margin:0;padding:6px 16px;min-height:27px}.chat-privacy{display:block;font-size:10px;color:#5D6678;padding:0 16px 12px}.chat-empty{padding:24px;line-height:1.7}.chat-empty a{color:#4660B0;text-decoration:underline}.chat-older{display:block;margin:0 auto 16px;border:0;background:transparent;color:#4660B0;text-decoration:underline}.chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.chat-admin{display:grid;grid-template-columns:290px minmax(0,1fr);height:min(760px,80dvh);min-height:480px;background:#fff;border:1px solid #E6ECF8;border-radius:16px;overflow:hidden}.chat-inbox{border-right:1px solid #E6ECF8;overflow:auto}.chat-inbox>button{display:block;width:100%;padding:16px;text-align:left;background:#fff;border:0;border-bottom:1px solid #E6ECF8;color:#1F2A44}.chat-inbox>button[aria-pressed=true]{background:#E6ECF8}.chat-inbox strong,.chat-inbox span,.chat-inbox small{display:block}.chat-inbox span{font-size:12px;overflow-wrap:anywhere;margin:5px 0}.chat-inbox small{font-size:10px;color:#5D6678}.chat-count{display:inline-block;background:#4660B0;color:#fff;padding:1px 6px;border-radius:99px;font-size:11px}.chat-inbox>p{padding:18px}
@media(max-width:700px){#chat-launcher{right:14px;bottom:calc(16px + env(safe-area-inset-bottom));padding:11px 16px}.chat-customer{right:12px;bottom:calc(74px + env(safe-area-inset-bottom));height:min(540px,calc(100dvh - 100px))}.chat-admin{grid-template-columns:1fr;height:auto;min-height:0}.chat-inbox{max-height:200px;border-right:0;border-bottom:1px solid #E6ECF8}.chat-admin .chat-conversation{height:570px;max-height:80dvh}.chat-title{padding:14px}.chat-compose textarea{font-size:16px}}

/* Friendly, compact customer-service entry point. */
#chat-launcher{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 17px;background:#1F2A44;color:#fff;border-color:#1F2A44;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;box-shadow:0 4px 16px #1F2A4426}
#chat-launcher>svg{width:21px;height:21px;flex:none}#chat-launcher:hover{background:#1F2A44}#chat-launcher:focus-visible{outline:3px solid #D5DDEB;outline-offset:3px}
.chat-unread{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#fff;color:#1F2A44;border-radius:99px;font-size:10px}
@media(max-width:700px){#chat-launcher{min-height:44px;padding:10px 14px;font-size:12px;gap:7px}#chat-launcher>svg{width:19px;height:19px}body.has-mobile-buy #chat-launcher{bottom:calc(112px + env(safe-area-inset-bottom))}body.has-mobile-buy .chat-customer{bottom:calc(166px + env(safe-area-inset-bottom));height:min(490px,calc(100dvh - 190px))}}
@media(max-width:700px){body.has-mobile-buy #chat-launcher{width:44px;height:44px;padding:10px;font-size:0;gap:0;background:white;color:#4660B0;border:1px solid #E6ECF8;box-shadow:0 2px 8px #1F2A4412}body.has-mobile-buy #chat-launcher>svg{width:21px;height:21px}}
