.chat-launch{position:fixed;right:20px;bottom:calc(var(--chat-launch-offset,96px) + env(safe-area-inset-bottom,0px));z-index:20;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#008069;color:#fff;border:0;border-radius:28px;padding:14px 20px;min-height:48px;font:600 16px 'Segoe UI',Helvetica,Arial,sans-serif;box-shadow:0 4px 20px #0003;max-width:calc(100vw - 40px);cursor:pointer}
.chat-covered>.chat-launch{visibility:hidden}
.logi-chat [hidden]{display:none!important}
.chat-bot-icon{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.chat-dialog{--chat-green:#008069;position:fixed;inset:auto 20px 20px auto;margin:0;width:min(420px,calc(100vw - 40px));height:min(680px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:none;box-sizing:border-box;border:0;border-radius:18px;padding:0;background:#efeae2;color:#111b21;font:16px/1.45 'Segoe UI',Helvetica,Arial,'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;overflow:hidden;box-shadow:0 12px 48px #0004;z-index:100}
.chat-dialog[open]{display:flex;flex-direction:column}
.chat-dialog::backdrop{background:#12232f66}
.chat-dialog *{box-sizing:border-box}
.chat-dialog .chat-heading{display:flex;align-items:center;gap:4px;flex:none;padding:12px 10px 12px 18px;background:var(--chat-green);color:#fff}
.chat-identity{flex:1;min-width:0;margin-right:6px}
.chat-dialog h2{font:600 18px/1.25 'Segoe UI',Helvetica,Arial,sans-serif;margin:0;overflow-wrap:anywhere}
.chat-identity>span{display:block;font-size:12px;color:#e0f3ee;margin-top:3px}
.chat-dialog button,.chat-dialog a{font:inherit;cursor:pointer;box-sizing:border-box;touch-action:manipulation}
.chat-dialog button{min-height:44px;border:0;border-radius:8px;padding:8px 12px;background:#fff;color:#075e54}
.chat-dialog .chat-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;padding:10px;border:0;border-radius:50%;background:transparent;color:inherit}
.chat-icon-button svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-dialog button:hover{background:#e3eee9}
.chat-heading .chat-icon-button:hover{background:#ffffff24}
.chat-dialog button:disabled{opacity:.55;cursor:wait}
.chat-dialog :focus-visible,.chat-launch:focus-visible{outline:3px solid #b46a00;outline-offset:2px}
.chat-heading :focus-visible{outline-color:#fff}
.chat-dialog .chat-log{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;padding:18px 14px;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere;background-image:radial-gradient(#c6bfb344 .8px,transparent .8px);background-size:12px 12px}
.chat-log>.chat-incoming,.chat-log>.chat-outgoing,.chat-log>.chat-answer{flex:none;align-self:flex-start;max-width:90%;margin:0;padding:10px 12px;background:#fff;border:0;border-radius:0 12px 12px;box-shadow:0 1px 1px #0002;white-space:pre-wrap;font-size:15px}
.chat-log>.chat-outgoing{align-self:flex-end;background:#d9fdd3;border-radius:12px 0 12px 12px}
.chat-answer>p{margin:0}
.chat-designs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chat-answer .chat-designs a{display:block;width:88px;min-height:88px;padding:3px;border:1px solid #d4e4dd;border-radius:8px;background:#f5faf7;color:#075e54;text-decoration:none;overflow:hidden}
.chat-answer .chat-designs a:hover{background:#e3eee9}
.chat-designs img{display:block;width:80px;height:100px;object-fit:contain;border-radius:4px;background:#fff}
.chat-dialog .chat-status{flex:none;font-size:13px;line-height:1.4;padding:8px 14px;margin:0;background:#fff8de;color:#5b481b;overflow-wrap:anywhere;max-height:22%;overflow:auto}
.chat-status:empty{display:none}
.chat-dialog form:not(#login-form){flex:none;min-width:0;padding:0;margin:0;border:0;box-shadow:none;background:#f0f2f5;max-height:60%;overflow:auto;overscroll-behavior:contain}
.chat-dialog .chat-privacy{padding:12px 16px;background:#fdf7e8;border-top:1px solid #e8ddbc;color:#51482e}
.chat-dialog h3{font-size:14px;margin:0 0 8px;font-weight:600}
.chat-dialog .chat-consent{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:12px;font-weight:400;line-height:1.5;cursor:pointer}
.chat-consent input{width:20px;min-width:20px;min-height:20px;height:20px;padding:0;margin:2px 0;accent-color:var(--chat-green)}
.chat-dialog .chat-composer{display:flex;align-items:flex-end;gap:6px;padding:10px 8px}
.chat-dialog textarea{display:block;box-sizing:border-box;width:100%;font:inherit;line-height:1.45;padding:10px 12px;border:1px solid #d4ded9;border-radius:12px;resize:vertical;color:#111b21;background:#fff}
.chat-dialog .chat-composer textarea{flex:1;min-width:0;min-height:44px;max-height:112px;height:44px;resize:none;border:0;overflow-y:auto}
.chat-composer>.chat-icon-button{color:#52665c}
.chat-composer>.chat-send{background:var(--chat-green);color:#fff}
.chat-composer>.chat-send:hover{background:#006c59}
.chat-dialog .chat-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chat-emojis{display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px;border-top:1px solid #dde2df}
.chat-dialog .chat-emojis button{width:44px;height:44px;padding:4px;font-size:24px;background:transparent}
.chat-recovery{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px}
.chat-recovery:has(button:not([hidden])){padding-bottom:12px}
.chat-dialog .chat-recovery button{font-size:13px;border:1px solid #c7d4cd}
.chat-dialog .chat-handoff{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px;background:#f7faf8;color:#111b21}
.chat-handoff-close{float:right;margin:-8px -8px 8px 8px}
.chat-handoff h3{min-height:44px;display:flex;align-items:center}
.chat-handoff label{display:block;clear:both;font-size:14px;margin:14px 0 8px}
.chat-handoff p{font-size:13px;color:#455a52}
.chat-handoff a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;background:#008069;color:#fff;border-radius:22px;text-decoration:none}
@media(max-width:500px){.chat-dialog{inset:auto 8px 8px 8px;width:calc(100vw - 16px);height:min(700px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);border-radius:16px}.chat-launch{right:16px;max-width:calc(100vw - 32px)}}
@media(max-height:450px){.chat-dialog .chat-heading{padding-top:4px;padding-bottom:4px}.chat-dialog .chat-handoff{top:60px}.chat-dialog .chat-log{min-height:40px}.chat-dialog .chat-privacy{padding:6px 12px}.chat-dialog form{max-height:65%}}
@media(prefers-reduced-motion:reduce){.chat-dialog *{scroll-behavior:auto}}
