/* TACTy, l'assistant intelligent de TACT by CANDRIAM (4.2.0) — couleurs Candriam. */
.cvn-chat-btn{position:fixed;right:22px;bottom:22px;z-index:99990;width:64px;height:64px;border-radius:50%;border:3px solid #0071ba;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,49,86,.28);transition:transform .15s,border-color .15s;padding:0}
.cvn-chat-btn .cvn-tacty{width:46px;height:46px;display:block}
.cvn-chat-btn:hover{transform:translateY(-2px) rotate(-4deg)}
.cvn-chat-btn:focus-visible{outline:3px solid #00b2da;outline-offset:3px}
.cvn-chat-btn.is-open{border-color:#009c73}
.cvn-chat{position:fixed;right:22px;bottom:94px;z-index:99991;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 16px 48px rgba(0,49,86,.28);display:flex;flex-direction:column;overflow:hidden;font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;font-size:14px;line-height:1.5;color:#323d3e}
.cvn-chat[hidden]{display:none}
.cvn-chat-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:#0071ba;color:#fff;border-bottom:4px solid #00b2da}
.cvn-chat-head img{width:40px;height:40px;border-radius:12px;background:#fff;padding:2px}
.cvn-chat-ttl{flex:1;display:flex;flex-direction:column;min-width:0}
.cvn-chat-ttl strong{font-size:15px}
.cvn-chat-ttl span{font-size:12px;opacity:.85}
.cvn-chat-x,.cvn-chat-reset{background:transparent;border:0;color:#fff;font-size:22px;line-height:1;width:34px;height:34px;border-radius:8px;cursor:pointer}
.cvn-chat-reset{font-size:18px}
.cvn-chat-x:hover,.cvn-chat-reset:hover,.cvn-chat-x:focus-visible,.cvn-chat-reset:focus-visible{background:rgba(255,255,255,.18);outline:none}
.cvn-chat-log{flex:1;overflow-y:auto;padding:14px;background:#f5f8fa;display:flex;flex-direction:column;gap:10px}
.cvn-row-bot{display:flex;align-items:flex-end;gap:6px;align-self:flex-start;max-width:94%}
.cvn-tacty-avatar{width:26px;height:26px;flex:0 0 26px;margin-bottom:2px}
.cvn-row-bot .cvn-msg{max-width:none}
.cvn-msg{max-width:88%;padding:10px 13px;border-radius:14px;word-wrap:break-word}
.cvn-msg p{margin:0 0 6px}
.cvn-msg p:last-child{margin-bottom:0}
.cvn-msg-bot{align-self:flex-start;background:#fff;border:1px solid #dfe8ee;border-bottom-left-radius:4px}
.cvn-msg-user{align-self:flex-end;background:#0071ba;color:#fff;border-bottom-right-radius:4px}
.cvn-wait p{color:#6a7a8a;font-style:italic}
.cvn-a-title{font-weight:700;color:#0071ba}
.cvn-a-link{color:#0071ba;font-weight:600}
.cvn-a-guide,.cvn-a-sm{color:#6a7a8a;font-size:12px}
.cvn-a-more{margin:2px 0 0 18px;padding:0}
.cvn-a-more a{color:#0071ba}
.cvn-chips,.cvn-feedback{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cvn-feedback>span{width:100%;color:#6a7a8a;font-size:12px}
.cvn-chip{border:1px solid #0071ba;background:#fff;color:#0071ba;border-radius:16px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer;text-align:left}
.cvn-chip:hover,.cvn-chip:focus-visible{background:#ebf4f8;outline:none}
.cvn-chip-alt{border-color:#009c73;color:#fff;background:#009c73;font-weight:600}
.cvn-chip-alt:hover,.cvn-chip-alt:focus-visible{background:#007d5c}
.cvn-chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e8ee;background:#fff}
.cvn-chat-form textarea{flex:1;resize:none;border:1px solid #c9d4dc;border-radius:12px;padding:9px 12px;font:inherit;min-height:40px;max-height:110px}
.cvn-chat-form textarea:focus{border-color:#0071ba;outline:2px solid rgba(0,113,186,.2)}
.cvn-chat-send{width:42px;height:42px;border:0;border-radius:50%;background:#0071ba;color:#fff;cursor:pointer;align-self:flex-end;display:flex;align-items:center;justify-content:center}
.cvn-chat-send:hover,.cvn-chat-send:focus-visible{background:#005f9c;outline:none}
.cvn-esc{display:flex;flex-direction:column;gap:6px;min-width:250px}
.cvn-esc label{font-weight:600;font-size:13px}
.cvn-esc textarea{border:1px solid #c9d4dc;border-radius:10px;padding:8px 10px;font:inherit;resize:vertical}
.cvn-esc-btns{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap}
.cvn-esc-send{background:#009c73;color:#fff;border:0;border-radius:18px;padding:8px 16px;font:inherit;font-weight:600;cursor:pointer}
.cvn-esc-send:disabled{opacity:.6;cursor:wait}
.cvn-esc-cancel{background:transparent;border:0;color:#6a7a8a;text-decoration:underline;cursor:pointer;font:inherit}
@media (max-width:600px){.cvn-chat{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100%;border-radius:0}.cvn-chat-btn{right:16px;bottom:16px}}
.cvn-tacty-title{display:flex;align-items:center;gap:10px}
.cvn-ai-badge{display:inline-block;align-self:flex-start;justify-self:start;width:auto;background:#e6f5f0;color:#00704f;border:1px solid #9fd8c5;border-radius:10px;font-size:11px;font-weight:600;padding:0 7px;margin-left:6px;vertical-align:middle}
.cvn-ai-note{background:#f3faf7;border-left:4px solid #009c73;padding:8px 12px}
/* 4.3.0 : promenade de TACTy le long du bas de l'écran à l'ouverture. */
.cvn-walk{position:fixed;left:0;bottom:0;z-index:99995;pointer-events:none;will-change:transform,opacity}
.cvn-walk-flip,.cvn-walk-body{transform-origin:50% 100%}
.cvn-walk-img{display:block;filter:drop-shadow(0 4px 3px rgba(0,49,86,.22))}
.cvn-walk-body.is-walking .cvn-walk-img{animation:cvn-step .34s ease-in-out infinite}
@keyframes cvn-step{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-7px) rotate(5deg)}}
.cvn-walk-say{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%) scale(.6);opacity:0;transition:opacity .2s,transform .2s;background:#fff;border:2px solid #0071ba;border-radius:14px;padding:4px 11px;font:600 13px/1.3 'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:#0071ba;white-space:nowrap;box-shadow:0 4px 12px rgba(0,49,86,.18)}
.cvn-walk-say::after{content:'';position:absolute;left:50%;top:100%;margin-left:-6px;border:6px solid transparent;border-top-color:#0071ba}
.cvn-walk-say.is-on{opacity:1;transform:translateX(-50%) scale(1)}
.cvn-walk-say.is-right{left:auto;right:0;transform:scale(.6);transform-origin:100% 100%}.cvn-walk-say.is-right.is-on{transform:scale(1)}.cvn-walk-say.is-right::after{left:auto;right:18px}
.cvn-walk-say.is-left{left:0;transform:scale(.6);transform-origin:0 100%}.cvn-walk-say.is-left.is-on{transform:scale(1)}.cvn-walk-say.is-left::after{left:24px}
.cvn-chat-btn .cvn-tacty{transition:opacity .2s,transform .2s}.cvn-chat-btn.is-away .cvn-tacty{opacity:0;transform:scale(.4)}
.cvn-chat-form.cvn-landed textarea{border-color:#00b2da;box-shadow:0 0 0 4px rgba(0,178,218,.35);transition:box-shadow .3s,border-color .3s}
@media (prefers-reduced-motion:reduce){.cvn-walk{display:none!important}}
@media print{.cvn-chat,.cvn-chat-btn,.cvn-walk{display:none!important}}

.cvn-a-kb{margin:6px 0 0;font-size:12px;font-weight:600;color:#009c73}
