/* Ask Andy: isolated selectors, designed to coexist with the site's CSS. */
#ask-andy-app { position: relative; z-index: 9999; font-family: 'Segoe UI', system-ui, sans-serif; }
#ask-andy-app, #ask-andy-app * { box-sizing: border-box; }
#ask-andy-app button { font-family: inherit; cursor: pointer; }
#ask-andy-app .aa-launcher { position: fixed; right: 22px; bottom: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: #143b5e; color: #fff; padding: 12px 17px; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 10px 32px rgba(10,32,50,.27); font-size: 14px; font-weight: 750; letter-spacing: .1px; }
#ask-andy-app .aa-launcher:hover, #ask-andy-app .aa-launcher:focus-visible { background: #1d537b; }
#ask-andy-app .aa-launcher svg { height: 21px; width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#ask-andy-app .aa-panel { position: fixed; right: 22px; bottom: 84px; width: min(384px,calc(100vw - 26px)); height: min(590px,calc(100dvh - 112px)); display: flex; flex-direction: column; background: #fff; color: #1c3145; border-radius: 19px; box-shadow: 0 18px 72px rgba(7,25,40,.3); overflow: hidden; border: 1px solid #d6e2eb; }
#ask-andy-app .aa-panel[hidden] { display: none !important; }
#ask-andy-app .aa-head { display: flex; align-items: center; gap: 10px; padding: 16px; background: #12344f; color: #fff; }
#ask-andy-app .aa-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 17px; font-weight: 800; }
#ask-andy-app .aa-heading { flex: 1; min-width: 0; }
#ask-andy-app .aa-heading strong { display: block; font-size: 17px; line-height: 1.3; }
#ask-andy-app .aa-heading small { display: block; opacity: .85; margin-top: 3px; font-size: 11px; }
#ask-andy-app .aa-close { border: none; color: white; background: rgba(255,255,255,.13); font-size: 22px; height: 32px; width: 32px; border-radius: 9px; line-height: 1; }
#ask-andy-app .aa-close:hover, #ask-andy-app .aa-close:focus-visible { background: rgba(255,255,255,.28); }
#ask-andy-app .aa-messages { overflow-y: auto; flex: 1; min-height: 0; padding: 16px; background: #f7fafc; display: flex; flex-direction: column; gap: 12px; }
#ask-andy-app .aa-msg { max-width: 93%; padding: 11px 13px; line-height: 1.53; font-size: 13px; border-radius: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
#ask-andy-app .aa-msg.bot { background: #fff; color: #233a4f; border: 1px solid #dfe9ef; border-bottom-left-radius: 4px; align-self: flex-start; }
#ask-andy-app .aa-msg.user { background: #143e61; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
#ask-andy-app .aa-msg.notice { border: 1px solid #ecdcb3; color: #5c4309; background: #fff8e8; align-self: stretch; max-width: 100%; }
#ask-andy-app .aa-prompts { display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }
#ask-andy-app .aa-prompts button { align-self: stretch; text-align: left; border-radius: 10px; border: 1px solid #bfd1de; color: #174866; background: #fff; padding: 9px 10px; font-size: 12px; line-height: 1.35; }
#ask-andy-app .aa-prompts button:hover, #ask-andy-app .aa-prompts button:focus-visible { border-color: #25678c; background: #eaf3f9; }
#ask-andy-app .aa-form { padding: 12px 13px 7px; border-top: 1px solid #e1e9f0; background: #fff; display: flex; align-items: center; gap: 8px; }
#ask-andy-app .aa-form input { flex: 1; min-width: 0; border: 1px solid #bfcdd7; border-radius: 10px; background: #fff; color: #15354f; padding: 11px; font: inherit; font-size: 13px; outline-offset: 2px; }
#ask-andy-app .aa-form input:focus { border-color: #286f9b; outline: 1px solid #286f9b; }
#ask-andy-app .aa-form button { min-width: 63px; border-radius: 10px; border: 0; background: #143e61; color: #fff; padding: 11px 12px; font-size: 12px; font-weight: 700; }
#ask-andy-app .aa-form button:disabled, #ask-andy-app .aa-form input:disabled { opacity: .6; cursor: not-allowed; }
#ask-andy-app .aa-foot { padding: 4px 12px 12px; background: #fff; font-size: 10px; line-height: 1.5; text-align: center; color: #51667a; }
#ask-andy-app .aa-foot a { color: #225d82; text-decoration: underline; }
#ask-andy-app :focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
@media (max-width: 520px) {
  #ask-andy-app .aa-launcher { right: 12px; bottom: 12px; }
  #ask-andy-app .aa-panel { left: 0; right: 0; bottom: 0; width: auto; height: min(700px,96dvh); border-radius: 19px 19px 0 0; border-bottom: none; }
}
@media (prefers-reduced-motion: no-preference) { #ask-andy-app .aa-panel { animation: aa-show .2s ease both; } @keyframes aa-show { from {opacity:.4;transform:translateY(8px)} to {opacity:1;transform:translateY(0)} } }

@media (max-width:520px){#ask-andy-app .aa-form input{font-size:16px;}}
@media print{#ask-andy-app{display:none!important;}}
