.site-chat{position:fixed;right:24px;bottom:24px;z-index:850;font-family:Manrope,system-ui,sans-serif;color:#19434b;max-width:calc(100vw - 32px)}.site-chat [hidden]{display:none!important}.chat-launch{display:flex;align-items:center;gap:10px;padding:15px 20px;border:1px solid #d0e5dd;border-radius:30px;background:#176b61;color:white;box-shadow:0 8px 30px #143e4030;font:700 13px Manrope,system-ui;cursor:pointer}.chat-launch:hover{background:#12554d;color:#fff}.chat-launch svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}.chat-launch b,.chat-unread{border-radius:20px;padding:3px 7px;background:#e3f2e9;color:#176b61;font-size:11px}.chat-nudge{position:absolute;bottom:68px;right:0;width:265px;padding:16px 34px 16px 18px;background:#fff;border:1px solid #d7e6e1;border-radius:18px;box-shadow:0 8px 32px #143e4018;font-size:13px;line-height:1.6}.chat-nudge button{position:absolute;right:8px;top:9px;border:0;background:transparent;color:#456d68;cursor:pointer}.chat-panel{width:360px;max-width:calc(100vw - 48px);position:absolute;bottom:65px;right:0;border:1px solid #d5e6df;background:#fff;border-radius:22px;box-shadow:0 18px 60px #183e4030;overflow:hidden}.chat-panel>header,.admin-chat-dialog>header{display:flex;gap:12px;align-items:center;padding:20px;background:#edf6f1;border-bottom:1px solid #dce9e2}.chat-team{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#176b61;color:#fff;font-weight:800}.chat-panel header small{display:block;font-size:11px;color:#54736d;margin-top:4px}.chat-close,[data-chat-close]{margin-left:auto;background:white;border:1px solid #d8e5df;color:#19434b;border-radius:12px;width:34px;height:34px;cursor:pointer}.chat-messages{height:280px;max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;padding:18px;background:#f8fbf9;display:flex;flex-direction:column;gap:10px}.chat-bubble{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-width:88%;padding:11px 14px;border-radius:15px;margin:0}.chat-bubble.admin{background:#fff;border:1px solid #dae7e0;align-self:flex-start}.chat-bubble.visitor{background:#176b61;color:white;align-self:flex-end}.chat-bubble time{display:block;font-size:10px;opacity:.7;margin-top:5px}.chat-send{display:flex;gap:10px;padding:14px;margin:0;border-top:1px solid #e1eae5;align-items:flex-end}.chat-send textarea{min-height:58px;max-height:150px;resize:vertical;flex:1;width:0;margin:0!important;border:1px solid #d3e4db;border-radius:12px;padding:12px;color:#19434b;background:white;font:13px/1.5 Manrope,system-ui}.chat-send button{background:#176b61;color:white;border:0;border-radius:12px;width:43px;height:43px;cursor:pointer;font-size:23px}.chat-send button:disabled{opacity:.55;cursor:wait}.chat-panel>footer{font-size:10px;line-height:1.5;color:#617d76;padding:0 15px 14px}.chat-state{font-size:12px;line-height:1.5;color:#965226;padding:0 16px;margin:6px 0}.chat-state:empty{display:none}.chat-admin-filter{display:flex;gap:14px;align-items:flex-end;margin-bottom:20px}.chat-admin-filter label{flex:1}.chat-admin-filter button{height:44px}.admin-chat-dialog{width:680px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 36px);border:1px solid #d6e5dc;border-radius:24px;padding:0;color:#19434b;box-shadow:0 25px 90px #123b4033}.admin-chat-dialog::backdrop{background:#193b4666;backdrop-filter:blur(5px)}.admin-chat-dialog h2{margin:6px 0;font-size:22px}.admin-chat-dialog header p{font-size:12px;margin:4px 0}.admin-chat-dialog .chat-messages{height:350px;max-height:40dvh}.admin-chat-dialog>footer{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 20px;border-top:1px solid #e1eae5}.admin-chat-dialog footer small{color:#647e77;font-size:11px}.chat-admin-state{font-size:11px}.chat-unread{display:inline-block;margin:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.site-chat{right:16px;bottom:16px}.chat-launch{padding:13px 17px}.chat-panel{bottom:61px}.chat-admin-filter{flex-wrap:wrap}.chat-admin-filter label{flex-basis:100%}.admin-chat-dialog>footer{flex-wrap:wrap}.admin-chat-dialog>header{padding:16px}}

.admin-chat-dialog .chat-bubble.admin{align-self:flex-end;background:#176b61;color:#fff;border-color:#176b61}.admin-chat-dialog .chat-bubble.visitor{align-self:flex-start;background:#fff;color:#19434b;border:1px solid #dae7e0}

.chat-panel{max-height:calc(100dvh - 120px);overflow-y:auto}.chat-offline{display:grid;gap:12px;background:#f8fbf9}.chat-offline p{font-size:13px;line-height:1.7;margin:0 0 4px}.chat-offline label{display:grid;gap:6px;font-size:12px;font-weight:600}.chat-offline input,.chat-offline textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d3e4db;border-radius:12px;background:white;color:#19434b;font:13px/1.5 Manrope,system-ui}.chat-offline button{border:0;border-radius:12px;background:#176b61;color:white;padding:13px;font-weight:700;cursor:pointer}.chat-offline button:disabled{opacity:.5}.chat-offline input:focus,.chat-offline textarea:focus{outline:2px solid #90c6b1;outline-offset:2px}

.site-chat .chat-send{align-items:stretch}.site-chat .chat-send textarea{box-sizing:border-box}.site-chat .chat-send button{height:auto;align-self:stretch;min-height:58px;flex:0 0 43px;display:grid;place-items:center;margin:0}.site-chat .chat-state{padding:10px 14px;margin:0 14px 12px;background:#fff7e9;border-radius:12px;color:#79602b}.site-chat .chat-state.is-connected{background:#edf6f1;color:#176b61}
