.care-chat-trigger{position:fixed;right:24px;bottom:24px;z-index:1100;border:0;border-radius:24px;background:#6d3856;color:#fff;padding:13px 20px;box-shadow:0 5px 18px #0003;cursor:pointer;font-family:inherit;font-size:15px;font-weight:600}
.care-chat{position:fixed;right:24px;bottom:78px;z-index:1101;width:min(390px,calc(100vw - 24px));height:min(540px,calc(100dvh - 100px));display:flex;flex-direction:column;background:#fff;color:#30262c;border:1px solid #e8d8df;border-radius:18px;box-shadow:0 12px 35px #0003;overflow:hidden;font:14px/1.4 Arial,sans-serif}
.care-chat[hidden]{display:none}
.care-chat-head{display:flex;align-items:center;justify-content:space-between;background:#f8eaf0;padding:14px 16px}.care-chat-head strong,.care-chat-head small{display:block}.care-chat-head small{font-size:12px;color:#735f69}.care-chat-close{border:0;background:none;font-size:26px;cursor:pointer;color:#6d3856}
.care-chat-history{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.care-chat-message{max-width:88%;padding:9px 12px;border-radius:14px;background:#f3eef0;white-space:pre-wrap;overflow-wrap:anywhere}.care-chat-message.from-customer{align-self:flex-end;background:#f7dce8}.care-chat-message small{display:block;font-size:11px;color:#725e67;margin-bottom:3px}.care-chat-message a{color:#713655;text-decoration:underline}
.care-chat-status{margin:0;padding:4px 14px;color:#715f68;font-size:12px;min-height:25px}.care-chat-form{display:flex;gap:7px;padding:10px;border-top:1px solid #eee}.care-chat-form textarea{flex:1;min-width:0;resize:none;border:1px solid #d7c5ce;border-radius:8px;padding:8px;font:inherit}.care-chat-form button{border:0;border-radius:8px;padding:0 12px;background:#6d3856;color:#fff;cursor:pointer}.care-chat-form button:disabled{opacity:.6}
@media(max-width:500px){.care-chat-trigger{right:12px;bottom:12px}.care-chat{right:0;bottom:0;width:100vw;height:min(660px,100dvh);border-radius:16px 16px 0 0}}

/* Keep the three floating actions separated on desktop and mobile. */
.care-chat-trigger{right:18px;bottom:calc(88px + env(safe-area-inset-bottom));height:48px;padding:0 20px;white-space:nowrap}
#back-top{right:24px;bottom:calc(148px + env(safe-area-inset-bottom))}
body:has(.care-chat:not([hidden])) #back-top{opacity:0;pointer-events:none}
@media(max-width:650px){.care-chat-trigger{right:16px;bottom:calc(82px + env(safe-area-inset-bottom))}#back-top{right:22px;bottom:calc(142px + env(safe-area-inset-bottom))}}
