/* Isolated chatbot names; no global body, button, typography, or form overrides. */
.asonfu-bot,.asonfu-bot *{box-sizing:border-box}
.asonfu-bot{--ab-blue:#003b95;--ab-deep:#00224f;--ab-gold:#ffbd3f;--ab-height:100dvh;position:fixed;top:50%;right:14px;transform:translateY(-50%);z-index:9000;font:normal 14px/1.45 'DM Sans',Arial,sans-serif;color:#152840;pointer-events:none}
.asonfu-bot button,.asonfu-bot textarea{font:inherit}
.asonfu-bot button{cursor:pointer}
.asonfu-bot__launcher{pointer-events:auto!important;width:64px;height:64px;padding:10px;display:grid;place-items:center;background:linear-gradient(145deg,#005aca,#00224f);border:2px solid rgba(255,255,255,.93);border-radius:19px;color:#fff;box-shadow:0 9px 25px rgba(0,34,79,.34);transition:transform .2s ease,box-shadow .2s ease}
.asonfu-bot__launcher:hover{transform:translateX(-3px);box-shadow:0 12px 32px rgba(0,34,79,.4)}
.asonfu-bot__launcher svg,.asonfu-bot__launcher img{width:100%;height:100%;object-fit:contain}
.asonfu-bot button:focus-visible,.asonfu-bot textarea:focus-visible,.asonfu-bot__messages:focus-visible{outline:3px solid var(--ab-gold);outline-offset:3px}
.asonfu-bot__dialog{pointer-events:auto;position:absolute;right:calc(100% + 14px);top:50%;transform:translateY(-50%);width:min(380px,calc(100vw - 110px));height:min(610px,calc(var(--ab-height) - 24px));max-height:calc(var(--ab-height) - 24px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8e3f2;border-radius:23px;background:#fff;box-shadow:0 18px 58px rgba(0,24,63,.22);text-align:left;isolation:isolate}
.asonfu-bot__dialog[hidden]{display:none!important}
.asonfu-bot__head{display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#00224f,#0058bd);color:white;padding:14px 17px;flex:0 0 auto;min-height:74px}
.asonfu-bot__avatar{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:13px;background:rgba(255,255,255,.16);color:#ffcf66;font-size:22px}
.asonfu-bot__heading{display:grid;flex:1;min-width:0}
.asonfu-bot__heading strong{font-weight:800;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.asonfu-bot__heading small{font-size:11px;letter-spacing:.04em;opacity:.85;color:#fff}
.asonfu-bot__close{border:0!important;color:#fff!important;background:rgba(255,255,255,.12)!important;border-radius:50%!important;width:35px;height:35px;display:grid;place-items:center;font-size:24px!important;line-height:1!important;padding:0!important}
.asonfu-bot__notice{font-size:11px!important;line-height:1.45!important;background:#f6f8fc;color:#66758a;border-bottom:1px solid #edf0f4;padding:9px 15px;flex:0 0 auto}
.asonfu-bot__messages{display:flex;flex-direction:column;gap:12px;padding:18px 14px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;white-space:normal}
.asonfu-bot__bubble{padding:11px 14px;max-width:88%;border-radius:16px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px!important;line-height:1.65!important}
.asonfu-bot__bubble--assistant{align-self:flex-start;background:#eff4fc;color:#12264a;border-bottom-left-radius:5px}
.asonfu-bot__bubble--user{align-self:flex-end;background:#003b95;color:#fff;border-bottom-right-radius:5px}
.asonfu-bot__bubble a{color:#0057ad!important;text-decoration:underline!important;font-weight:700!important;overflow-wrap:anywhere}
.asonfu-bot__status{min-height:20px;margin:0!important;padding:0 16px 3px;color:#63738a;font-size:12px!important}
.asonfu-bot__form{padding:9px 10px 10px;display:flex;gap:7px;align-items:flex-end;border-top:1px solid #e6eaf1;background:#fff;flex:0 0 auto}
.asonfu-bot__form textarea{flex:1!important;min-width:0!important;min-height:43px!important;max-height:108px!important;resize:none;border:1px solid #ccd8e9!important;border-radius:14px!important;padding:11px 12px!important;background:#fff!important;box-shadow:none!important;font-size:14px!important;line-height:20px!important;color:#17253c!important;outline:none}
.asonfu-bot__send{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px!important;border:none!important;background:#003b95!important;color:white!important;padding:10px!important;min-width:0!important}
.asonfu-bot__send svg{width:23px;height:23px}
.asonfu-bot__send:disabled{opacity:.55;cursor:wait}
.asonfu-bot__foot{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#647084;background:#fff;padding:0 11px 8px;font-size:10px!important}
.asonfu-bot__reset{font-size:11px!important;white-space:nowrap;padding:4px!important;background:none!important;border:0!important;color:#003b95!important;font-weight:700!important}
.asonfu-bot__sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:650px){
 .asonfu-bot{right:7px}
 .asonfu-bot__launcher{width:47px;height:47px;padding:7px;border-radius:15px}
 .asonfu-bot__dialog{position:absolute;right:57px;top:50%;transform:translateY(-50%);width:calc(100vw - 72px);height:min(570px,calc(var(--ab-height) - 20px));max-height:calc(var(--ab-height) - 20px);border-radius:17px}
 .asonfu-bot__head{min-height:63px;padding:10px 13px}
 .asonfu-bot__notice{padding:7px 11px;font-size:10px!important}
 .asonfu-bot__bubble{font-size:13px!important}
}
@media(max-width:350px){.asonfu-bot__dialog{right:53px;width:calc(100vw - 62px);}.asonfu-bot__launcher{width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){.asonfu-bot__launcher{transition:none}}

@media(max-height:440px){.asonfu-bot__notice,.asonfu-bot__foot{display:none}.asonfu-bot__head{min-height:48px;padding:7px 12px}.asonfu-bot__dialog{height:calc(var(--ab-height) - 10px);max-height:calc(var(--ab-height) - 10px)}}

/* 2026-11-07 — Rich assistant message formatting for package answers. */
.asonfu-bot__bubble--assistant{
  background:linear-gradient(180deg,#f6f9ff 0%, #eef4ff 100%);
  border:1px solid rgba(0,59,149,.10);
  box-shadow:0 8px 18px rgba(0,34,79,.06);
}
.asonfu-bot__bubble--assistant .asonfu-bot__p{
  margin:0;
  color:#173055;
}
.asonfu-bot__bubble--assistant .asonfu-bot__p + .asonfu-bot__p{margin-top:8px}
.asonfu-bot__bubble--assistant .asonfu-bot__rich-list{
  list-style:none;
  margin:10px 0 2px;
  padding:0;
  display:grid;
  gap:8px;
}
.asonfu-bot__bubble--assistant .asonfu-bot__rich-item{
  display:grid;
  gap:4px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,59,149,.08);
}
.asonfu-bot__bubble--assistant .asonfu-bot__rich-item-title{
  font-weight:800;
  color:#0f2547;
  line-height:1.35;
}
.asonfu-bot__bubble--assistant .asonfu-bot__rich-item-meta{
  font-size:13px;
  font-weight:700;
  color:#0057ad;
  line-height:1.35;
}
.asonfu-bot__bubble--assistant .asonfu-bot__link-block{
  display:grid;
  gap:4px;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(0,59,149,.08);
}
.asonfu-bot__bubble--assistant .asonfu-bot__link-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.01em;
  color:#5b6d86;
}
.asonfu-bot__bubble--assistant .asonfu-bot__link-block a,
.asonfu-bot__bubble--assistant .asonfu-bot__p a{
  color:#0057ad!important;
  text-decoration:underline!important;
  font-weight:800!important;
  overflow-wrap:anywhere;
}
