
.ae-chat{position:fixed;right:22px;bottom:22px;z-index:9999;font-family:inherit}.ae-chat-launch{border:0;background:#164b74;color:white;padding:14px 21px;border-radius:30px;box-shadow:0 6px 25px #142c3e35;font:600 15px inherit;cursor:pointer}.ae-chat-panel{position:absolute;right:0;bottom:62px;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100dvh - 105px));background:#fff;border:1px solid #dae3e9;border-radius:14px;box-shadow:0 10px 45px #102c4630;display:flex;flex-direction:column;overflow:hidden;color:#203447}.ae-chat-panel[hidden],.ae-chat-intro[hidden],.ae-chat-active[hidden],#ae-chat-handoff[hidden]{display:none!important}.ae-chat-panel header{background:#164b74;color:white;display:flex;align-items:center;justify-content:space-between;padding:16px}.ae-chat-close{background:none;border:0;color:white;font-size:27px;cursor:pointer}.ae-chat-disclosure{font-size:12px;line-height:1.5;margin:0;padding:12px;background:#f2f6f9}.ae-chat-intro{padding:18px;font-size:14px}.ae-chat-intro button,.ae-chat-active button{background:#164b74;color:white;border:0;border-radius:7px;padding:10px 12px;cursor:pointer}.ae-chat-intro button{margin-top:16px}.ae-chat-active{min-height:0;display:flex;flex:1;flex-direction:column;padding:12px;gap:8px}.ae-chat-messages{flex:1;min-height:100px;overflow:auto}.ae-chat-msg{background:#f2f6f9;padding:10px;border-radius:9px;margin:8px 0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.ae-chat-visitor{background:#e6f1fb;margin-left:35px}.ae-chat-msg strong{display:block;font-size:11px;margin-bottom:3px}.ae-chat-active form{display:flex;gap:6px}.ae-chat-active input{min-width:0;flex:1;padding:10px;border:1px solid #bacbd6;border-radius:7px}.ae-chat-active #ae-chat-human{background:transparent;color:#164b74;text-decoration:underline}.ae-chat-active #ae-chat-handoff{display:flex;flex-direction:column}.ae-chat-active #ae-chat-handoff label{font-size:12px}.ae-chat-active #ae-chat-handoff input{width:100%;box-sizing:border-box}.ae-chat-error{color:#a12525;font-size:12px;padding:0 12px}.ae-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:500px){.ae-chat{right:12px;bottom:12px}}

#ae-chat-handoff textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #bacbd6;border-radius:7px;padding:10px;font:inherit;resize:vertical}.ae-chat-status{font-size:12px;line-height:1.4;color:#164b74;margin:0;padding:0 12px}.ae-chat-active #ae-chat-handoff{overflow-y:auto;max-height:55%;padding-bottom:8px;flex-shrink:0}.ae-chat-active #ae-chat-handoff label{display:block}.ae-chat-active #ae-chat-handoff button{flex-shrink:0}

/* Responsive premium chat — override original widget constraints */
.ae-chat{right:24px;bottom:24px;z-index:9999;font-family:Arial,Helvetica,sans-serif;color:#142c42}.ae-chat *{box-sizing:border-box}.ae-chat-launch{background:#173b55;color:white;border-radius:100px;padding:14px 22px;font-size:14px;font-weight:600;letter-spacing:0;box-shadow:0 10px 30px #142c4238}.ae-chat-launch:hover{background:#245778}.ae-chat-panel{width:min(410px,calc(100vw - 32px));height:min(620px,calc(100dvh - 115px));min-height:0;bottom:68px;border-radius:15px;border:1px solid #dbe2e4;box-shadow:0 20px 60px #132c423d;background:#fff}.ae-chat-panel header{background:#173b55;padding:17px 19px;flex-shrink:0}.ae-chat-panel header strong{font-size:16px}.ae-chat-disclosure{font-size:12px;line-height:1.55;padding:12px 17px;background:#f4f6f6;color:#52656c;flex-shrink:0}.ae-chat-intro{padding:22px;overflow-y:auto;font-size:14px;line-height:1.65}.ae-chat-intro label{display:flex;align-items:flex-start;gap:10px}.ae-chat-intro input{margin-top:5px;flex-shrink:0}.ae-chat-intro button{display:block;width:100%;margin-top:20px}.ae-chat-active{padding:12px 14px 14px;gap:10px;overflow:hidden;min-height:0}.ae-chat-messages{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.ae-chat-msg{padding:11px 13px;border-radius:12px;background:#f1f4f5;font-size:14px;line-height:1.55}.ae-chat-visitor{background:#e8f1f6;margin-left:36px}.ae-chat-active form#ae-chat-form{display:flex;flex-direction:row;gap:8px;flex-shrink:0}.ae-chat-active #ae-chat-form input{min-width:0;flex:1;padding:12px;font-size:14px}.ae-chat-active button{border-radius:7px;background:#173b55;font-size:13px;padding:11px 14px}.ae-chat-active #ae-chat-human{background:transparent;color:#173b55;text-align:left;padding:5px 0;flex-shrink:0}.ae-chat-active #ae-chat-handoff{display:flex;flex-direction:column;overflow-y:auto;max-height:min(290px,55%);gap:8px;padding:12px;background:#f8faf9;border:1px solid #e2e7e8;border-radius:10px}.ae-chat-active #ae-chat-handoff label{font-size:13px;line-height:1.35;font-weight:600}.ae-chat-active #ae-chat-handoff input,.ae-chat-active #ae-chat-handoff textarea{display:block;width:100%;font-size:14px;padding:9px 10px;margin-top:4px;border:1px solid #bfcbd0;background:white;border-radius:6px}.ae-chat-status,.ae-chat-error{font-size:12px;line-height:1.4;flex-shrink:0}.ae-chat button:focus-visible,.ae-chat input:focus-visible,.ae-chat textarea:focus-visible{outline:3px solid #c2a16d;outline-offset:2px}
@media(max-width:600px){.ae-chat{right:12px;bottom:12px}.ae-chat-panel{position:fixed;inset:auto 8px 74px 8px;width:auto;height:min(640px,calc(100dvh - 94px));max-height:calc(100dvh - 94px);border-radius:14px}.ae-chat-launch{padding:12px 17px;font-size:13px}.ae-chat-panel header{padding:14px 16px}.ae-chat-active #ae-chat-handoff{max-height:50%}}
@media(max-height:500px){.ae-chat-panel{height:calc(100dvh - 82px);bottom:68px}.ae-chat-disclosure{padding:7px 12px;font-size:11px}}

/* Single-scrolling chat: the human enquiry form replaces conversation area. */
.ae-chat{z-index:10000!important;right:20px;bottom:18px}.ae-chat-panel{position:absolute;display:flex;flex-direction:column;overflow:hidden;width:min(390px,calc(100vw - 30px));height:min(610px,calc(100dvh - 110px));min-height:0;border-radius:15px;right:0;bottom:68px;background:#fff}.ae-chat-panel[hidden],.ae-chat-intro[hidden],.ae-chat-active[hidden],#ae-chat-handoff[hidden]{display:none!important}
.ae-chat-panel header{flex:0 0 auto;background:#0d3454;color:#fff}.ae-chat-disclosure{flex:0 0 auto;margin:0;padding:10px 16px;font-size:12px;line-height:1.45}.ae-chat-active{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding:12px 14px;gap:10px}.ae-chat-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.ae-chat-active #ae-chat-form{display:flex;flex:0 0 auto;gap:8px;margin:0}.ae-chat-active #ae-chat-form input{min-width:0;flex:1}.ae-chat-active #ae-chat-human{flex:0 0 auto}.ae-chat-status,.ae-chat-error{flex:0 0 auto;max-height:65px;overflow-y:auto;padding:0 14px;margin:3px 0;font-size:12px}
.ae-chat-active.is-handoff .ae-chat-messages,.ae-chat-active.is-handoff #ae-chat-form,.ae-chat-active.is-handoff #ae-chat-human{display:none!important}
.ae-chat-active #ae-chat-handoff:not([hidden]){display:flex!important;flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;flex-direction:column;gap:10px;padding:8px 4px 12px;border:0;background:#fff}.ae-chat-active #ae-chat-handoff label{display:block;font-weight:600;font-size:13px;color:#193a53}.ae-chat-active #ae-chat-handoff input,.ae-chat-active #ae-chat-handoff textarea{display:block;width:100%;box-sizing:border-box;min-height:43px;margin-top:5px;border:1px solid #bac9d4;border-radius:7px;padding:10px;background:#fff}.ae-chat-active #ae-chat-handoff textarea{min-height:95px;resize:vertical}.ae-chat-form-title{font:600 17px Georgia,serif;color:#0d3454;margin:0}.ae-chat-active #ae-chat-handoff .ae-chat-back{align-self:flex-start;background:transparent;color:#0d3454;padding:5px 0;text-decoration:underline}.ae-chat-active #ae-chat-handoff button[type=submit]{min-height:44px;flex-shrink:0}
@media(max-width:600px){.ae-chat{right:10px;bottom:10px}.ae-chat-panel{position:fixed;inset:auto 8px 72px 8px;width:auto;height:min(610px,calc(100dvh - 94px));max-height:calc(100dvh - 94px)}}
