.fs-chat-launch,.fs-chat-send,.fs-chat-secondary,.fs-chat-close { font:inherit;cursor:pointer;touch-action:manipulation; }
.fs-chat-launch { position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(82px,calc(env(safe-area-inset-bottom) + 60px));z-index:1050;padding:13px 22px;border:1px solid #087768;border-radius:999px;background:#087768;color:#fff;box-shadow:0 4px 20px #142b4933;font-weight:600;line-height:1.4; }
.fs-chat-dialog { box-sizing:border-box;width:min(580px,calc(100vw - 24px));max-height:92vh;max-height:92dvh;margin:auto;padding:24px;overflow:auto;border:1px solid #dce5ee;border-radius:14px;background:#fff;color:#1d2f43;box-shadow:0 20px 80px #0b1e3c40;font-family:inherit;font-size:15px;line-height:1.5;text-align:left;overscroll-behavior:contain; }
.fs-chat-dialog [hidden] { display:none!important; }
.fs-chat-dialog::backdrop { background:#10223480; }
.fs-chat-dialog[open] { display:block; }
.fs-chat-fallback { position:fixed;inset:0;z-index:1070; }
.fs-chat-header { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.fs-chat-title { margin:0;font-size:23px;line-height:1.4;color:#173d38; }
.fs-chat-close { width:36px;height:36px;border:0;border-radius:6px;background:transparent;font-size:28px;line-height:1; }
.fs-chat-close:hover { background:#edf6f4; }
.fs-chat-availability { margin:10px 0 16px;padding:9px 12px;border-radius:6px;background:#f3f5f7;color:#5c6975;font-size:13px; }
.fs-chat-online { background:#eaf7f0;color:#18754b; }
.fs-chat-intro { margin:0 0 14px;color:#53677b;font-size:14px; }
.fs-chat-contacts { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.fs-chat-contacts>.fs-chat-field:first-child { grid-column:1/-1; }
.fs-chat-field { display:flex;flex-direction:column;gap:5px;margin:0 0 12px;font-size:13px;font-weight:600; }
.fs-chat-input { box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;border:1px solid #bfcfd7;border-radius:6px;background:#fff;color:#1d2f43;font:inherit;font-size:15px;font-weight:400;line-height:1.5; }
textarea.fs-chat-input { resize:vertical;min-height:74px;max-height:180px; }
.fs-chat-input:focus { outline:2px solid #8cc8b8;outline-offset:1px;border-color:#087768; }
.fs-chat-consent { display:flex;align-items:flex-start;gap:8px;margin:2px 0 10px;font-size:13px;font-weight:400; }
.fs-chat-consent>input { flex:0 0 16px;margin-top:3px;accent-color:#087768; }
.fs-chat-privacy { margin:8px 0 12px;color:#697985;font-size:12px; }
.fs-chat-send { padding:9px 18px;border:1px solid #087768;border-radius:6px;background:#087768;color:#fff;font-weight:600; }
.fs-chat-send:disabled,.fs-chat-secondary:disabled { cursor:wait;opacity:.6; }
.fs-chat-reference { margin:0 0 10px;color:#58736c;font-size:12px;overflow-wrap:anywhere; }
.fs-chat-log { box-sizing:border-box;height:280px;max-height:38vh;max-height:38dvh;min-height:160px;padding:12px;overflow-y:auto;border:1px solid #e2eae7;border-radius:8px;background:#f6f9f8;overscroll-behavior:contain; }
.fs-chat-message { max-width:90%;width:fit-content;margin:0 0 12px;padding:9px 12px;border:1px solid #dce8e3;border-radius:9px;background:#fff; }
.fs-chat-message-visitor { margin-left:auto;background:#e8f4ee;border-color:#c8e3d4; }
.fs-chat-message-system { max-width:100%;margin-inline:auto;background:transparent;border:0;color:#64746e;font-size:12px;text-align:center; }
.fs-chat-message-meta { margin:0 0 4px;color:#64786e;font-size:11px; }
.fs-chat-message-body { margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;font-weight:400; }
.fs-chat-compose { margin:14px 0 10px; }
.fs-chat-compose>.fs-chat-field { margin-bottom:8px; }
.fs-chat-controls { display:flex;justify-content:space-between;gap:10px; }
.fs-chat-secondary { padding:6px 8px;border:0;border-radius:5px;background:transparent;color:#48645b;font-size:12px;text-decoration:underline; }
.fs-chat-status { margin:10px 0 0;color:#9a5119;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere; }
.fs-chat-status:empty { display:none; }
.fs-chat-honeypot { position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important; }
.fs-chat-launch:focus-visible,.fs-chat-send:focus-visible,.fs-chat-secondary:focus-visible,.fs-chat-close:focus-visible { outline:3px solid #7fc7ae;outline-offset:3px; }
@media(max-width:480px) { .fs-chat-dialog { padding:18px 16px;border-radius:10px; }.fs-chat-title { font-size:20px; }.fs-chat-contacts { grid-template-columns:1fr;gap:0; }.fs-chat-input { font-size:16px; }.fs-chat-launch { right:14px;bottom:max(80px,calc(env(safe-area-inset-bottom) + 58px));padding:12px 18px; }.fs-chat-log { height:220px; }.fs-chat-message { max-width:94%; } }
