.aa-root,.aa-root *{box-sizing:border-box}.aa-root{--aa-blue:#2563eb;--aa-hover:#1d4ed8;--aa-navy:#0f172a;--aa-text:#475569;--aa-orange:#f97316;--aa-border:#e2e8f0;font-family:inherit;position:fixed;right:24px;bottom:24px;z-index:999999}.aa-launcher{width:62px;height:62px;border:4px solid #fff;border-radius:50%;background:var(--aa-blue);box-shadow:0 10px 30px rgba(15,23,42,.25);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s}.aa-launcher:hover{background:var(--aa-hover);transform:translateY(-2px)}.aa-chat-icon{width:27px;height:21px;background:#fff;border-radius:8px;position:relative}.aa-chat-icon:after{content:"";position:absolute;right:3px;bottom:-6px;border:6px solid transparent;border-top-color:#fff;transform:rotate(-20deg)}.aa-close-icon{display:none;color:#fff;font-size:32px;line-height:1}.is-open .aa-chat-icon{display:none}.is-open .aa-close-icon{display:block}.aa-panel{position:absolute;right:0;bottom:76px;width:380px;max-height:min(620px,calc(100vh - 120px));background:#fff;border:1px solid var(--aa-border);border-radius:16px;overflow:hidden;box-shadow:0 22px 60px rgba(15,23,42,.24)}.aa-panel[hidden]{display:none}.aa-header{min-height:70px;background:linear-gradient(135deg,var(--aa-blue),#0f6cf6);padding:14px 16px;color:#fff;display:flex;align-items:center;justify-content:space-between}.aa-header strong,.aa-header small{display:block}.aa-header strong{font-size:17px}.aa-header small{opacity:.85;margin-top:2px;font-size:12px}.aa-header-close{border:0;background:transparent;color:#fff;font-size:27px;cursor:pointer;padding:4px 8px}.aa-body{padding:16px;height:365px;overflow-y:auto;background:#f8fafc}.aa-message{max-width:88%;padding:11px 13px;border-radius:12px;margin:0 0 12px;line-height:1.45;font-size:14px}.aa-bot{background:#fff;color:var(--aa-text);border:1px solid var(--aa-border);border-bottom-left-radius:4px}.aa-user{background:var(--aa-blue);color:#fff;margin-left:auto;border-bottom-right-radius:4px}.aa-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.aa-categories button,.aa-questions button{border:1px solid #bfdbfe;background:#fff;color:var(--aa-blue);border-radius:9px;padding:9px 12px;font-weight:600;font-size:13px;cursor:pointer}.aa-categories button:hover,.aa-questions button:hover{background:#eff6ff;border-color:var(--aa-blue)}.aa-questions{display:grid;gap:8px;margin-bottom:12px}.aa-questions button{text-align:left}.aa-questions .aa-back{border:0;background:transparent;color:var(--aa-text);padding-left:0}.aa-search{display:flex;gap:8px;padding:11px 12px;border-top:1px solid var(--aa-border);background:#fff}.aa-search input{flex:1;min-width:0;border:1px solid var(--aa-border);border-radius:9px;padding:10px 12px;font:inherit;color:var(--aa-navy);outline:none}.aa-search input:focus{border-color:var(--aa-blue);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.aa-search button{width:42px;border:0;border-radius:9px;background:var(--aa-blue);color:#fff;font-size:20px;cursor:pointer}.aa-contact{display:block;margin:0 12px 12px;padding:11px;text-align:center;background:var(--aa-orange);color:#fff!important;text-decoration:none!important;border-radius:9px;font-weight:700;font-size:14px}.aa-contact:hover{background:#ea580c}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:520px){.aa-root{right:14px;bottom:14px}.aa-launcher{width:56px;height:56px}.aa-panel{position:fixed;left:10px;right:10px;bottom:82px;width:auto;max-height:calc(100vh - 100px)}.aa-body{height:calc(100vh - 310px);min-height:280px}.aa-categories button{flex:1 1 43%}}

.aa-launcher{animation:aa-pulse 2.4s ease-out infinite}.aa-launcher:hover{animation-play-state:paused}.is-open .aa-launcher{animation:none}.aa-hint{position:absolute;right:74px;bottom:12px;white-space:nowrap;background:#fff;color:var(--aa-navy);border:1px solid var(--aa-border);border-radius:20px;padding:9px 13px;font-size:13px;font-weight:700;box-shadow:0 8px 24px rgba(15,23,42,.14);animation:aa-hint-in .45s ease-out both}.aa-hint:after{content:"";position:absolute;right:-6px;top:50%;width:10px;height:10px;background:#fff;border-top:1px solid var(--aa-border);border-right:1px solid var(--aa-border);transform:translateY(-50%) rotate(45deg)}@keyframes aa-pulse{0%,45%{box-shadow:0 10px 30px rgba(15,23,42,.25),0 0 0 0 rgba(249,115,22,.45)}75%,100%{box-shadow:0 10px 30px rgba(15,23,42,.25),0 0 0 15px rgba(249,115,22,0)}}@keyframes aa-hint-in{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.aa-launcher,.aa-hint{animation:none}}@media(max-width:520px){.aa-hint{right:66px;bottom:9px;font-size:12px;padding:8px 11px}}

.aa-launcher{background:#fff;border-color:#fff;overflow:visible}.aa-launcher:hover{background:#fff}.aa-brand-icon{display:block;width:42px;height:42px;object-fit:contain}.aa-dialog-badge{position:absolute;right:-3px;bottom:-2px;width:25px;height:21px;border:2px solid #fff;border-radius:9px;background:var(--aa-blue);display:flex;align-items:center;justify-content:center;gap:2px;box-shadow:0 3px 8px rgba(15,23,42,.22)}.aa-dialog-badge:after{content:"";position:absolute;right:3px;bottom:-5px;border:4px solid transparent;border-top-color:var(--aa-blue);transform:rotate(-18deg)}.aa-dialog-badge i{display:block;width:3px;height:3px;border-radius:50%;background:#fff}.is-open .aa-brand-icon,.is-open .aa-dialog-badge{display:none}.is-open .aa-launcher{background:var(--aa-blue)}.aa-header{justify-content:flex-start;gap:10px}.aa-header-logo{width:38px;height:38px;object-fit:contain;background:#fff;border-radius:9px;padding:4px}.aa-header-close{margin-left:auto}@media(max-width:520px){.aa-brand-icon{width:38px;height:38px}.aa-dialog-badge{width:23px;height:20px}}
/* On mobile product pages, keep the assistant clear of Activenso's fixed purchase bar. */
@media(max-width:767px){
 body.ahp-product-sticky-enabled .aa-root{bottom:calc(var(--ahp-sticky-height,142px) + 14px)!important}
 body.ahp-product-sticky-enabled .aa-panel{max-height:calc(100dvh - var(--ahp-sticky-height,142px) - 102px)!important}
 body.ahp-product-sticky-enabled .aa-body{height:calc(100dvh - var(--ahp-sticky-height,142px) - 306px)!important;min-height:190px!important}
}

.aa-categories[hidden],.aa-questions[hidden],.aa-hint[hidden]{display:none!important}

.aa-categories{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}.aa-categories button{flex:0 0 auto;white-space:nowrap}.aa-categories button.is-active{background:var(--aa-orange);border-color:var(--aa-orange);color:#fff}.aa-question-heading{margin:3px 0 9px;color:var(--aa-navy);font-size:13px;font-weight:800}.aa-question-heading[hidden]{display:none!important}.aa-questions{max-height:190px;overflow-y:auto;padding-right:3px}.aa-questions button{position:relative;padding-right:32px;background:#fff}.aa-questions button:after{content:"›";position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:21px;color:var(--aa-blue)}

.aa-return-questions{display:block;margin:4px 0 12px;padding:7px 2px;border:0;background:transparent;color:var(--aa-blue);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.aa-return-questions:hover{text-decoration:underline}.aa-return-questions[hidden]{display:none!important}
.aa-message .aa-action-link{display:inline-flex;align-items:center;margin-top:10px;padding:8px 11px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1d4ed8!important;font-size:12.5px;font-weight:800;text-decoration:none!important;transition:all .18s}.aa-message .aa-action-link:hover{background:#dbeafe;transform:translateX(2px)}

/* Interface Activenso 2026 */
.aa-root{right:26px;bottom:26px}.aa-panel{bottom:82px;width:408px;max-height:min(680px,calc(100vh - 126px));border:1px solid rgba(148,163,184,.28);border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.24),0 8px 24px rgba(37,99,235,.1);animation:aa-panel-in .24s ease-out both}.aa-panel:before{content:"";position:absolute;z-index:2;top:0;left:72px;width:110px;height:3px;border-radius:0 0 8px 8px;background:var(--aa-orange)}.aa-header{position:relative;min-height:88px;padding:16px 18px;background:linear-gradient(135deg,#0f172a 0%,#172554 48%,#1d4ed8 100%);gap:12px}.aa-header:after{content:"";position:absolute;right:-34px;top:-62px;width:150px;height:150px;border:1px solid rgba(255,255,255,.09);border-radius:50%}.aa-logo-wrap{position:relative;display:block;flex:0 0 auto}.aa-header-logo{position:relative;z-index:1;width:46px;height:46px;border-radius:14px;padding:6px;box-shadow:0 8px 20px rgba(0,0,0,.2)}.aa-online-dot{position:absolute;z-index:2;right:-2px;bottom:-1px;width:13px;height:13px;border:3px solid #172554;border-radius:50%;background:#22c55e}.aa-header-copy{min-width:0}.aa-header strong{font-size:16px;line-height:1.25;letter-spacing:-.01em}.aa-header small{display:flex;align-items:center;gap:5px;margin-top:5px;color:#dbeafe;opacity:1;font-size:12px}.aa-header-close{position:relative;z-index:3;width:38px;height:38px;margin-left:auto;padding:0;border-radius:12px;font-size:25px;line-height:1;transition:background .2s,transform .2s}.aa-header-close:hover{background:rgba(255,255,255,.12);transform:rotate(4deg)}.aa-body{height:408px;padding:18px;background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.aa-message{position:relative;max-width:87%;margin-bottom:14px;padding:12px 15px;border-radius:17px;font-size:13.5px;line-height:1.55;box-shadow:0 5px 14px rgba(15,23,42,.045);animation:aa-message-in .2s ease-out both}.aa-bot{border:1px solid rgba(203,213,225,.8);border-bottom-left-radius:5px;background:rgba(255,255,255,.96);color:#334155}.aa-user{border-bottom-right-radius:5px;background:linear-gradient(135deg,var(--aa-blue),var(--aa-hover));box-shadow:0 8px 18px rgba(37,99,235,.2)}.aa-categories{gap:7px;margin:2px -2px 14px;padding:2px 2px 8px}.aa-categories button{min-height:38px;padding:8px 13px;border-color:#dbeafe;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 3px 10px rgba(15,23,42,.035);font-size:12.5px;transition:all .18s ease}.aa-categories button:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(37,99,235,.1)}.aa-categories button.is-active{background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 6px 15px rgba(249,115,22,.2)}.aa-question-heading{margin:5px 2px 10px;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.aa-questions{gap:7px;max-height:210px;padding:1px 4px 5px 1px}.aa-questions button{min-height:43px;padding:10px 38px 10px 13px;border-color:#dbeafe;border-radius:13px;color:#1e40af;box-shadow:0 3px 10px rgba(15,23,42,.035);font-size:12.5px;line-height:1.4;transition:all .18s ease}.aa-questions button:hover{transform:translateX(2px);background:#eff6ff}.aa-questions button:after{right:14px;width:22px;height:22px;border-radius:50%;background:#eff6ff;text-align:center;line-height:20px;font-size:18px}.aa-return-questions{margin:0 0 10px;padding:8px 11px;border:1px solid #dbeafe;border-radius:10px;background:rgba(255,255,255,.78);font-size:12.5px;text-decoration:none!important;transition:all .18s}.aa-return-questions:hover{background:#eff6ff;transform:translateX(-2px)}.aa-search{gap:9px;padding:13px 14px 10px;border-top-color:#e2e8f0}.aa-search input{height:46px;border-color:#dbe3ee;border-radius:14px;background:#f8fafc;padding:11px 14px;font-size:13px;transition:all .18s}.aa-search input:focus{background:#fff}.aa-search button{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--aa-blue),var(--aa-hover));box-shadow:0 7px 15px rgba(37,99,235,.22);transition:transform .18s,box-shadow .18s}.aa-search button:hover{transform:translateX(2px);box-shadow:0 9px 19px rgba(37,99,235,.28)}.aa-contact{margin:0 14px 14px;padding:11px;border-radius:13px;background:#fff;color:var(--aa-orange)!important;border:1px solid #fed7aa;font-size:13px;transition:all .18s}.aa-contact:hover{background:#fff7ed;box-shadow:0 5px 14px rgba(249,115,22,.1)}.aa-launcher{width:66px;height:66px;border-width:3px;box-shadow:0 14px 35px rgba(15,23,42,.24)}.aa-brand-icon{width:45px;height:45px}.aa-dialog-badge{right:-4px;bottom:-1px;background:linear-gradient(135deg,var(--aa-blue),var(--aa-hover))}.aa-hint{right:79px;bottom:13px;border:0;border-radius:13px;padding:10px 14px;box-shadow:0 12px 34px rgba(15,23,42,.16)}@keyframes aa-panel-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@keyframes aa-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

@media(max-width:520px){.aa-root{right:12px;bottom:12px}.aa-launcher{width:58px;height:58px}.aa-panel{left:8px;right:8px;bottom:78px;width:auto;max-height:calc(100dvh - 94px);border-radius:22px}.aa-header{min-height:78px;padding:13px 14px}.aa-header-logo{width:43px;height:43px}.aa-body{height:calc(100dvh - 294px);min-height:270px;padding:14px}.aa-categories button{flex:0 0 auto;min-height:36px}.aa-message{max-width:91%;font-size:13px}.aa-search{padding:11px 12px 9px}.aa-contact{margin:0 12px 12px}.aa-hint{right:67px;bottom:8px}}

.aa-live-start{display:block;width:calc(100% - 28px);min-height:42px;margin:0 14px 9px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:800;cursor:pointer}.aa-live-start:hover{background:#dbeafe}.aa-live-form{position:absolute;z-index:10;left:14px;right:14px;bottom:14px;padding:16px;border:1px solid #dbe3ee;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.22)}.aa-live-form[hidden],.aa-live-start[hidden]{display:none!important}.aa-live-form>strong{display:block;margin-bottom:12px;color:#0f172a}.aa-live-form label{display:block;margin-bottom:10px;color:#334155;font-size:12px;font-weight:700}.aa-live-form label span{display:block;margin-bottom:5px}.aa-live-form input,.aa-live-form textarea{display:block;width:100%;padding:9px 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a;font:inherit;resize:vertical}.aa-live-form input:focus,.aa-live-form textarea:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.aa-live-form>div{display:flex;justify-content:flex-end;gap:8px}.aa-live-form button{min-height:38px;padding:8px 12px;border:1px solid #2563eb;border-radius:9px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}.aa-live-form .aa-live-cancel{background:#fff;color:#475569;border-color:#cbd5e1}.aa-live-form button:disabled{opacity:.55;cursor:wait}.is-live .aa-contact{display:none}.is-live .aa-search{border-top-color:#bfdbfe;background:#eff6ff}
/* Transfert vers un agent supprimé : le chat reste consacré aux réponses automatiques. */
.aa-live-start,.aa-live-form{display:none!important}
@media(max-width:520px){.aa-live-form{position:fixed;left:10px;right:10px;bottom:calc(var(--ahp-sticky-height,0px) + 10px);max-height:calc(100dvh - var(--ahp-sticky-height,0px) - 20px);overflow:auto}}
