.am-chat-widget{font-family:Arial,Helvetica,sans-serif;z-index:999999;color:#1f2937;font-size:14px}.am-chat-floating-root:not(:has(.am-chat-shortcode-root)){position:relative}.am-chat-floating-root>.am-chat-widget{position:fixed;right:22px;bottom:22px}.am-chat-shortcode-root>.am-chat-widget{position:relative;display:flex;justify-content:flex-end}.am-chat-launcher{border:0;border-radius:28px;padding:14px 20px;background:#075e54;color:#fff;font-size:14px;font-weight:700;box-shadow:0 5px 18px #0003;cursor:pointer}.am-chat-launcher:hover,.am-chat-launcher:focus{background:#064e46;color:#fff}.am-chat-panel{display:none;position:absolute;right:0;bottom:60px;width:min(360px,calc(100vw - 28px));height:min(590px,calc(100vh - 110px));min-height:420px;background:#efeae2;border-radius:14px;overflow:hidden;box-shadow:0 8px 35px #0003;flex-direction:column}.am-chat-panel.is-open{display:flex}.am-chat-header{background:#075e54;color:#fff;padding:12px;display:flex;align-items:center;gap:10px;min-height:64px}.am-chat-avatar{width:38px;height:38px;border-radius:50%;background:#ffffff25;display:grid;place-items:center;font-size:19px}.am-chat-title-wrap{display:flex;flex:1;flex-direction:column;gap:4px}.am-chat-title-wrap strong{font-size:15px}.am-chat-title-wrap small{font-size:10px;opacity:.85}.am-chat-close{border:0;background:transparent;color:#fff;font-size:27px;cursor:pointer}.am-chat-body{padding:12px;background-color:#efeae2;background-image:radial-gradient(#d7cec3 1px,transparent 1px);background-size:18px 18px}.am-chat-bubble{max-width:88%;padding:9px 11px;margin:7px 0;border-radius:9px;box-shadow:0 1px 1px #0001;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}.am-chat-agent{background:#fff;margin-right:auto}.am-chat-customer{background:#d9fdd3;margin-left:auto}.am-chat-time{display:block;text-align:right;font-size:10px;color:#667085;margin-top:4px}.am-chat-start{overflow:auto;padding:12px;background:#f8f7f4;flex:1}.am-chat-start label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.am-chat-start label span{font-weight:400;color:#777}.am-chat-start input,.am-chat-start textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #d1d5db;border-radius:7px;padding:9px;font:14px Arial,sans-serif;background:#fff;color:#222}.am-chat-start button{width:100%;padding:11px;border:0;border-radius:7px;background:#075e54;color:#fff;font-weight:700;cursor:pointer}.am-chat-start button:disabled{opacity:.6}.am-chat-privacy{font-size:10px;color:#666;line-height:1.4}.am-chat-thread{flex:1;overflow-y:auto;padding:8px 10px;background-color:#efeae2;background-image:radial-gradient(#d7cec3 1px,transparent 1px);background-size:18px 18px}.am-chat-composer{display:none;gap:7px;padding:9px;background:#f0f2f5}.am-chat-composer.is-active{display:flex}.am-chat-composer input{flex:1;min-width:0;border:0;border-radius:22px;padding:12px 14px;font:14px Arial,sans-serif;outline:0}.am-chat-composer button{width:42px;height:42px;border:0;border-radius:50%;background:#128c7e;color:#fff;font-size:18px;cursor:pointer}.am-chat-composer button:disabled{opacity:.6}.am-chat-start[hidden],.am-chat-thread[hidden],.am-chat-launcher[hidden]{display:none!important}@media(max-width:480px){.am-chat-floating-root>.am-chat-widget{right:12px;bottom:12px}.am-chat-panel{position:fixed;right:8px;bottom:8px;width:calc(100vw - 16px);height:min(650px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);z-index:9999999}.am-chat-shortcode-root>.am-chat-widget{justify-content:center}}
/* User-configurable appearance and content */
.am-chat-header{background:var(--am-header,#075e54)}
.am-chat-launcher,.am-chat-start button{background:var(--am-header,#075e54)}
.am-chat-composer button{background:var(--am-button,#128c7e)}
.am-chat-body,.am-chat-thread{background-color:var(--am-chat-bg,#efeae2)}
.am-chat-avatar{overflow:hidden;flex:none}
.am-chat-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.am-chat-banner{display:block;width:min(100%,360px);aspect-ratio:1/1;object-fit:cover;border-radius:8px;margin:0 0 10px}
.am-chat-links{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.am-chat-links a{display:inline-block;background:#fff;color:var(--am-header,#075e54);border:1px solid #cbd5d1;border-radius:16px;padding:7px 10px;font-size:12px;text-decoration:none}
.am-chat-links a:hover{text-decoration:underline;color:var(--am-header,#075e54)}
.am-chat-quick{display:flex;gap:6px;overflow-x:auto;padding:4px 0 8px;margin:4px 0}
.am-chat-quick button{flex:none;white-space:nowrap;background:#fff;color:var(--am-header,#075e54);border:1px solid var(--am-button,#128c7e);border-radius:18px;padding:8px 11px;font-size:12px;cursor:pointer}
.am-chat-quick button:hover{background:#f5fbf9}

/* Full-page mode for Elementor shortcode: show the complete chat immediately. */
.am-chat-shortcode-root{width:100%;max-width:100%;min-width:0}
.am-chat-shortcode-root>.am-chat-widget.am-chat-embedded{position:relative!important;display:block!important;width:100%;max-width:100%;right:auto!important;bottom:auto!important}
.am-chat-shortcode-root .am-chat-embedded .am-chat-launcher{display:none!important}
.am-chat-shortcode-root .am-chat-embedded .am-chat-panel{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;height:78vh!important;min-height:560px!important;max-height:900px!important;border-radius:12px;box-sizing:border-box;box-shadow:0 4px 24px #0002}
.am-chat-shortcode-root .am-chat-embedded .am-chat-header{flex:none}
.am-chat-shortcode-root .am-chat-embedded .am-chat-body{flex:none;max-height:42%;overflow-y:auto}
.am-chat-shortcode-root .am-chat-embedded .am-chat-start{min-height:0}
.am-chat-shortcode-root .am-chat-embedded .am-chat-thread{min-height:0}
.am-chat-shortcode-root .am-chat-embedded .am-chat-close{display:none!important}
@media(max-width:600px){.am-chat-shortcode-root .am-chat-embedded .am-chat-panel{height:calc(100vh - 120px)!important;height:calc(100dvh - 120px)!important;min-height:500px!important;border-radius:8px}}
.am-chat-name-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.am-chat-verified{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#1689ff;color:#fff;font-size:12px;font-weight:800;line-height:1}.am-chat-title-wrap .am-chat-online{color:#b9f6ca!important;font-size:11px!important;opacity:1!important}
/* Attachments and voice-note controls */
.am-chat-composer{align-items:center;flex-wrap:wrap}
.am-chat-composer input[name="message"]{flex:1 1 120px;min-width:80px}
.am-chat-composer .am-chat-attach,.am-chat-composer .am-chat-record{flex:0 0 38px;width:38px;height:42px;background:#fff;color:var(--am-header,#075e54);border:1px solid #d5ddd9;font-size:18px;display:grid;place-items:center}
.am-chat-composer .am-chat-record{font-size:16px}
.am-chat-audio{display:block;width:min(250px,100%);max-width:100%;height:38px;margin:2px 0 6px}
.am-chat-attachment-image{display:block;max-width:100%;max-height:220px;object-fit:contain;border-radius:6px;margin-bottom:6px}
.am-chat-attachment-link{display:inline-block;color:#075e54;font-size:12px;overflow-wrap:anywhere}
