.chat-launch{position:fixed;right:22px;bottom:22px;z-index:50;background:#1c6259;color:#fff;border:0;border-radius:28px;padding:15px 22px;font:600 15px Arial;box-shadow:0 8px 25px #173a3940;cursor:pointer}.chat-panel{position:fixed;right:22px;bottom:88px;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100dvh - 110px));z-index:50;background:#fffdf7;border:1px solid #d8dfd5;box-shadow:0 16px 50px #173a3933;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;font:14px/1.5 Arial,sans-serif;color:#173a39}.chat-panel[hidden]{display:none}.chat-top{background:#173a39;color:#fff;padding:18px;display:flex;justify-content:space-between;align-items:start}.chat-top strong{display:block;font:22px Georgia}.chat-top small{display:block;margin-top:6px;color:#d6e3da;font-size:11px}.chat-top button{background:none;border:0;color:white;font-size:26px;cursor:pointer;padding:0 4px}.chat-hint{font-size:11px;padding:9px 16px;margin:0;background:#e9eee5;color:#53675f}.chat-log{padding:16px;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.chat-msg{background:#e9eee5;border-radius:10px;padding:11px 13px;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere}.chat-msg.visitor{align-self:flex-end;background:#1c6259;color:#fff}.chat-msg.staff{border:1px solid #d5ab69;background:#faf0df}.chat-msg small{display:block;font-weight:bold;font-size:10px;margin-bottom:4px}.chat-shortcuts{display:flex;gap:6px;flex-wrap:wrap;padding:9px 14px;border-top:1px solid #d8dfd5}.chat-shortcuts button{background:#fff;border:1px solid #b6c7bd;border-radius:15px;padding:6px 9px;font-size:11px;color:#173a39;cursor:pointer}.chat-compose{padding:12px;border-top:1px solid #d8dfd5;display:flex;gap:7px;align-items:end}.chat-compose textarea{flex:1;width:100%;resize:none;font:14px Arial;border:1px solid #b6c7bd;border-radius:7px;padding:10px;min-height:44px;max-height:120px}.chat-compose button,.chat-handoff button{background:#1c6259;border:0;color:white;border-radius:7px;padding:11px 13px;font-weight:bold;cursor:pointer}.chat-compose button:disabled{opacity:.55}.chat-handoff{padding:13px;background:#f4f4eb;border-top:1px solid #d8dfd5}.chat-handoff[hidden]{display:none}.chat-handoff input{margin-bottom:7px;padding:9px;font-size:13px}.chat-handoff button{width:100%;font-size:12px}.chat-error{color:#8b2828;font-size:12px;margin:0;padding:0 13px 9px}.chat-panel a{color:#1c6259}.chat-panel button:focus-visible,.chat-panel textarea:focus-visible,.chat-launch:focus-visible{outline:3px solid #d5ab69;outline-offset:2px}.chat-panel label{font-size:11px;margin-bottom:3px}@media(max-width:650px){.chat-panel{right:14px;bottom:82px}.chat-launch{right:14px;bottom:16px}}
.chat-invite{position:fixed;right:22px;bottom:88px;z-index:49;width:min(310px,calc(100vw - 28px));padding:20px;background:#fffdf7;border:1px solid #d8dfd5;border-radius:16px;box-shadow:0 12px 36px #173a3930;color:#173a39;font:14px/1.5 Arial,sans-serif}.chat-invite[hidden]{display:none}.chat-invite p{margin:0 20px 9px 0;font-size:16px;font-weight:bold}.chat-invite small{display:block;color:#53675f;font-size:12px;margin-bottom:14px}.chat-invite-close{position:absolute;top:8px;right:8px;background:transparent;border:0;color:#173a39;font-size:24px;padding:2px 8px;cursor:pointer}.chat-invite-open{background:#1c6259;color:white;border:0;border-radius:7px;padding:10px 16px;font:600 13px Arial;cursor:pointer}.chat-invite button:focus-visible{outline:3px solid #d5ab69;outline-offset:3px}@media(max-width:650px){.chat-invite{right:14px;bottom:82px}}
