/* AQF Digital guided assistant — accessible light theme v0.5.0.
   Entirely scoped to the widget; website buttons and forms are unchanged. */
.aqf-sales-assistant{
  --aqf-chat-ink:#152b47;--aqf-chat-muted:#506581;--aqf-chat-blue:#2159d5;
  --aqf-chat-border:#cedbec;--aqf-chat-soft:#f5f8fe;
  position:fixed;left:22px;bottom:22px;z-index:9996;
  font-family:var(--aqf-font,"Inter",system-ui,sans-serif);color:var(--aqf-chat-ink);
}
.aqf-sales-assistant *, .aqf-sales-assistant *::before, .aqf-sales-assistant *::after{box-sizing:border-box}
.aqf-sales-assistant__panel{
  display:flex;flex-direction:column;width:min(452px,calc(100vw - 32px));
  height:min(680px,calc(100dvh - 116px));min-height:340px;margin-bottom:12px;
  background:#fff;border:1px solid var(--aqf-chat-border);border-radius:20px;
  box-shadow:0 18px 55px rgba(15,35,70,.22);overflow:hidden;
}
.aqf-sales-assistant__panel[hidden]{display:none!important}
.aqf-sales-assistant__toggle{
  display:flex;align-items:center;gap:10px;min-height:54px;padding:13px 20px;
  border:2px solid #1749b8;border-radius:999px;background:#245edc;color:#fff;
  cursor:pointer;font:700 15px/1.3 var(--aqf-font,"Inter",system-ui,sans-serif);
  box-shadow:0 8px 25px rgba(27,75,158,.28);
}
.aqf-sales-assistant__toggle:hover{background:#1644ae;color:#fff}
.aqf-sales-assistant__toggle svg{flex:none}
.aqf-sales-assistant__head{
  padding:17px 16px;display:flex;align-items:center;gap:10px;
  background:linear-gradient(120deg,#f1f6ff,#e5efff);color:#173251;
  border-bottom:1px solid #cbdcf5;
}
.aqf-sales-assistant__identity{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:0}
.aqf-sales-assistant__symbol{
  display:grid;place-items:center;flex:none;width:41px;height:41px;
  border-radius:12px;background:#245edc;color:#fff;
  font:800 21px var(--aqf-font-head,"Plus Jakarta Sans",sans-serif);
}
.aqf-sales-assistant__identity strong{
  display:block;color:#152d4b;font:750 16px/1.3 var(--aqf-font-head,"Plus Jakarta Sans",sans-serif);
}
.aqf-sales-assistant__identity small{
  display:block;margin-top:4px;color:#465d7b;font-size:11.5px;line-height:1.35;
}
.aqf-sales-assistant .aqf-sales-assistant__knowledge-button{
  flex:0 0 auto;margin:0!important;padding:9px 10px!important;min-height:40px;
  border:1px solid #9bb8ee!important;border-radius:9px!important;
  background:#fff!important;color:#1b4ea9!important;
  font:700 12.5px/1.3 var(--aqf-font,"Inter",sans-serif)!important;text-align:center;
}
.aqf-sales-assistant .aqf-sales-assistant__knowledge-button:hover,
.aqf-sales-assistant .aqf-sales-assistant__knowledge-button:focus-visible{
  background:#dceaff!important;color:#143f93!important;border-color:#4078d7!important;
}
.aqf-sales-assistant__close{
  flex:0 0 auto;display:grid;place-items:center;width:37px;height:37px;
  border:0;border-radius:9px;background:transparent;color:#27486e;
  cursor:pointer;font-size:29px;line-height:1;
}
.aqf-sales-assistant__close:hover{background:#d6e5f9;color:#153a7e}
.aqf-sales-assistant__conversation{
  flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:13px;
  padding:20px 18px;background:#f6f9fd;overscroll-behavior:contain;
}
.aqf-sales-assistant__bubble{
  flex:none;max-width:94%;width:fit-content;padding:14px 16px;
  border:1px solid #dbe5f0;border-radius:16px 16px 16px 5px;
  background:#fff;color:#1c3451;box-shadow:0 2px 7px rgba(24,51,86,.05);
  font-size:15.5px;line-height:1.6;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;
}
.aqf-sales-assistant__bubble--user{
  align-self:flex-end;background:#e4efff;color:#162e50;
  border-color:#c6dbff;border-radius:16px 16px 5px 16px;
}
.aqf-sales-assistant__bubble--info{max-width:100%;background:#ecf4ff;border-color:#aac7ed}
.aqf-sales-assistant__source{
  display:inline-block;align-self:flex-start;color:#164bb2!important;
  font-size:13px!important;text-decoration:underline;margin:-5px 0 3px 8px;
}
.aqf-sales-assistant__composer{flex:0 0 auto;padding:17px 18px;background:#fff;border-top:1px solid #dce5f0;max-height:48%;overflow-y:auto}
.aqf-sales-assistant__choices{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px}
.aqf-sales-assistant .aqf-sales-assistant__choice{
  min-height:46px;padding:12px 15px!important;margin:0!important;
  border:1.5px solid #a9bfdd!important;border-radius:11px!important;
  background:#fff!important;color:#193755!important;
  font:650 14.5px/1.4 var(--aqf-font,"Inter",sans-serif)!important;
  text-align:left;cursor:pointer;box-shadow:none!important;opacity:1!important;
}
.aqf-sales-assistant .aqf-sales-assistant__choice:hover,
.aqf-sales-assistant .aqf-sales-assistant__choice:focus-visible{
  border-color:#2360c7!important;background:#eaf2ff!important;color:#123d7a!important;
}
.aqf-sales-assistant .aqf-sales-assistant__choice:active{
  background:#d9e9ff!important;border-color:#1649ae!important;color:#153c78!important;
}
.aqf-sales-assistant__entry{display:flex;align-items:flex-start;gap:10px}
.aqf-sales-assistant__input{
  width:100%;min-width:0;max-height:160px;padding:12px 13px;
  border:1.5px solid #a9bcd4;border-radius:11px;
  background:#fff;color:#172f4d;font:400 15px/1.5 var(--aqf-font,"Inter",sans-serif);
  resize:vertical;
}
.aqf-sales-assistant__input::placeholder{color:#66768c;opacity:1}
.aqf-sales-assistant__send{
  flex:0 0 auto;min-height:46px;margin:0!important;padding:11px 16px!important;
  border:1px solid #164bb9!important;border-radius:11px!important;
  background:#245edc!important;color:#fff!important;
  font:750 15px/1.4 var(--aqf-font,"Inter",sans-serif)!important;
  cursor:pointer;white-space:normal;text-align:center;
}
.aqf-sales-assistant__send:hover{background:#174bb7!important;color:#fff!important}
.aqf-sales-assistant__send:disabled{opacity:.72!important;cursor:wait}
.aqf-sales-assistant__helper{font-size:13px;line-height:1.5;color:#506581;margin:7px 0 0}
.aqf-sales-assistant__consent{
  display:flex;align-items:flex-start;gap:12px;margin:0 0 15px;
  color:#253c58;font-size:14px;line-height:1.55;cursor:pointer;
}
.aqf-sales-assistant__consent-checkbox{
  flex:0 0 auto;width:21px;height:21px;margin:1px 0 0;accent-color:#245edc;cursor:pointer;
}
.aqf-sales-assistant__turnstile{margin:0 0 14px;max-width:100%;min-height:66px}
.aqf-sales-assistant__status{
  font-size:13.5px;line-height:1.5;color:#a12d1b;margin:12px 0 0;
}
.aqf-sales-assistant__status:empty{display:none}
.aqf-sales-assistant__summary{
  flex:none;max-width:100%;padding:16px;
  border:1px solid #c8daee;border-radius:14px;
  background:#fff;color:#193552;
  font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;
}
.aqf-sales-assistant__return{margin-top:10px!important;width:100%;text-align:center!important}
.aqf-sales-assistant__foot{
  padding:12px 18px;border-top:1px solid #e1e9f3;background:#f9fbff;
  color:#516984;font-size:12.5px;line-height:1.5;
}
.aqf-sales-assistant__toggle:focus-visible,
.aqf-sales-assistant button:focus-visible,
.aqf-sales-assistant input:focus-visible,
.aqf-sales-assistant textarea:focus-visible,
.aqf-sales-assistant select:focus-visible,
.aqf-sales-assistant a:focus-visible{
  outline:3px solid #1749b9!important;outline-offset:3px!important;
}
@media(max-width:767px){
  .aqf-sales-assistant{left:12px;bottom:12px}
  .aqf-sales-assistant__panel{
    width:min(452px,calc(100vw - 24px));height:min(650px,calc(100dvh - 94px));
    border-radius:17px;
  }
  .aqf-sales-assistant__toggle{min-height:52px;padding:12px 16px;font-size:14.5px}
}
@media(max-width:440px){
  .aqf-sales-assistant__head{padding:12px;gap:7px}
  .aqf-sales-assistant__identity{gap:8px}
  .aqf-sales-assistant__symbol{width:34px;height:34px;font-size:18px}
  .aqf-sales-assistant__identity strong{font-size:14px}
  .aqf-sales-assistant__identity small{font-size:10px;line-height:1.25}
  .aqf-sales-assistant .aqf-sales-assistant__knowledge-button{
    min-height:36px;padding:7px!important;font-size:11.5px!important;
  }
  .aqf-sales-assistant__close{width:30px;height:34px;font-size:25px}
  .aqf-sales-assistant__conversation{padding:14px 12px;gap:11px}
  .aqf-sales-assistant__bubble{font-size:15px;max-width:96%;padding:12px 13px}
  .aqf-sales-assistant__composer{padding:13px 12px}
  .aqf-sales-assistant__choices{gap:8px}
  .aqf-sales-assistant .aqf-sales-assistant__choice{font-size:14px!important;padding:11px 12px!important;min-height:44px}
  .aqf-sales-assistant__send{font-size:14px!important;padding:11px 13px!important;min-height:44px}
  .aqf-sales-assistant__entry{gap:7px}
  .aqf-sales-assistant__summary{font-size:14.5px}
  .aqf-sales-assistant__foot{padding:10px 12px;font-size:12px}
}
@media(max-width:340px){
  .aqf-sales-assistant__identity small{display:none}
  .aqf-sales-assistant__identity strong{font-size:13px}
  .aqf-sales-assistant .aqf-sales-assistant__knowledge-button{font-size:10.5px!important}
  .aqf-sales-assistant__choices .aqf-sales-assistant__send,
  .aqf-sales-assistant__choices .aqf-sales-assistant__choice{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){
  .aqf-sales-assistant *, .aqf-sales-assistant{transition:none!important;animation:none!important}
}
