.rr-chat{position:fixed;right:20px;bottom:20px;z-index:1000;font:14px/1.45 Inter,Arial,sans-serif;color:#243c55}
.rr-chat-launcher,.rr-chat button{border:0;border-radius:8px;background:#1f5fae;color:#fff;font:600 14px Inter,Arial,sans-serif;padding:11px 15px;cursor:pointer}
.rr-chat-launcher{border-radius:24px;box-shadow:0 4px 18px #172b443d}
.rr-chat button:disabled{opacity:.6;cursor:wait}
.rr-chat-panel{position:absolute;right:0;bottom:62px;width:min(360px,calc(100vw - 28px));height:min(540px,calc(100dvh - 110px));min-height:320px;background:#fff;border:1px solid #d5deea;border-radius:12px;box-shadow:0 10px 38px #172b4433;display:flex;flex-direction:column;overflow:hidden}
.rr-chat-panel[hidden],.rr-chat [hidden]{display:none}
.rr-chat-header{display:flex;align-items:flex-start;justify-content:space-between;padding:15px 16px;background:#243c55;color:#fff}
.rr-chat-header h2{margin:0;font-size:17px;font-weight:700}
.rr-chat-header p{margin:4px 0 0;color:#e3edf8;font-size:12px}
.rr-chat .rr-chat-close{padding:0 5px;background:transparent;font-size:24px;line-height:1}
.rr-chat-status{padding:0 15px;margin:12px 0 4px;color:#52677d;font-size:12px}
.rr-chat-messages{list-style:none;padding:10px 14px;margin:0;overflow:auto;flex:1}
.rr-chat-message{max-width:90%;margin:7px 0;padding:9px 11px;border-radius:10px;background:#eef3f8;overflow-wrap:anywhere;white-space:pre-wrap}
.rr-chat-message[data-sender="customer"]{margin-left:auto;background:#e4efff}
.rr-chat-message time{display:block;margin-top:4px;color:#60758b;font-size:10px}
.rr-chat-start,.rr-chat-reply{padding:12px 14px;display:grid;gap:9px}
.rr-chat-start label{display:grid;gap:4px;font-size:12px;font-weight:600}
.rr-chat-start input,.rr-chat-start textarea,.rr-chat-reply textarea{box-sizing:border-box;width:100%;border:1px solid #c9d4df;border-radius:6px;padding:8px;font:14px/1.4 Inter,Arial,sans-serif;color:#243c55}
.rr-chat-reply{grid-template-columns:1fr auto}
.rr-chat-reply textarea{resize:vertical;min-height:44px}
.rr-chat-reply .rr-chat-new{grid-column:1/-1;background:#edf2f7;color:#243c55}
.rr-chat-honeypot,.rr-chat-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.rr-chat{right:12px;bottom:12px}.rr-chat-panel{position:fixed;right:8px;bottom:74px;width:calc(100vw - 16px);height:min(600px,calc(100dvh - 96px));max-height:none}}

.rr-chat-launcher{display:inline-flex;align-items:center;gap:8px}
.rr-chat-presence{font-size:11px;font-weight:600;opacity:.92;padding-left:8px;border-left:1px solid #ffffff60}
.rr-chat-presence[data-presence="online"]:before,.rr-footer-chat-presence[data-presence="online"]:before{content:"● ";color:#55d990}
.rr-chat-presence[data-presence="offline"]:before,.rr-footer-chat-presence[data-presence="offline"]:before{content:"● ";color:#f0ba69}
.rr-footer-chat-presence{display:inline-block;margin-left:7px;font-size:11px;color:#b9c8d9}
.rr-chat textarea{resize:none!important}
@media(max-width:480px){.rr-chat-launcher{font-size:12px;padding:10px}.rr-chat-presence{font-size:10px}}
