/* A-1 Chat Assistant widget. Everything is scoped to #a1c-root so the theme can't affect it (and it can't affect the theme). */
#a1c-root,#a1c-root *,#a1c-root *::before,#a1c-root *::after{box-sizing:border-box}
#a1c-root{font-family:inherit;font-size:15px;line-height:1.5;color:#0f2740;-webkit-font-smoothing:antialiased;letter-spacing:normal;text-transform:none}
#a1c-root *{letter-spacing:normal;word-spacing:normal;text-indent:0;text-transform:none;font-style:normal}
#a1c-root [hidden]{display:none!important}
#a1c-root button,#a1c-root textarea{font-family:inherit;letter-spacing:normal;text-transform:none;margin:0;box-shadow:none;min-height:0;min-width:0;width:auto;text-shadow:none}
#a1c-root button{cursor:pointer;-webkit-appearance:none;appearance:none}
#a1c-root a{text-shadow:none;box-shadow:none}
#a1c-root svg{display:block;flex:none}
#a1c-root div,#a1c-root p,#a1c-root h2,#a1c-root ul,#a1c-root ol,#a1c-root li,#a1c-root form,#a1c-root label{max-width:none;float:none;text-align:left}
#a1c-root h2::before,#a1c-root h2::after,#a1c-root p::before,#a1c-root p::after{content:none}
#a1c-root .a1c-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#a1c-root button:focus-visible,#a1c-root a:focus-visible{outline:2px solid #bd252c;outline-offset:2px}

/* Launcher */
#a1c-root .a1c-launch{position:fixed;right:20px;bottom:20px;z-index:2147482990;display:flex;align-items:center;gap:9px;height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#112d4e;color:#fff;font-size:15px;font-weight:700;line-height:1;box-shadow:0 8px 24px rgba(15,39,64,.28);opacity:0;transform:translateY(8px);transition:opacity .3s ease,transform .3s ease,background-color .2s ease,box-shadow .2s ease}
#a1c-root .a1c-launch.a1c-in{opacity:1;transform:none}
#a1c-root .a1c-launch:hover{background:#0b1f36;box-shadow:0 10px 28px rgba(15,39,64,.34);transform:translateY(-1px)}
#a1c-root .a1c-launch svg{width:22px;height:22px}
#a1c-root .a1c-launch:focus-visible{outline-offset:3px}

/* Panel */
#a1c-root .a1c-panel{position:fixed;right:20px;bottom:20px;z-index:2147483000;width:384px;max-width:calc(100vw - 24px);margin:0;padding:0;border:0;height:min(640px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 18px 50px rgba(15,39,64,.3),0 2px 8px rgba(15,39,64,.12);animation:a1c-pop .18s ease-out}
@keyframes a1c-pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#a1c-root .a1c-panel:focus{outline:none}

#a1c-root .a1c-head{display:flex;align-items:center;gap:11px;padding:13px 10px 13px 16px;background:#112d4e;color:#fff;flex:none}
#a1c-root .a1c-avatar{width:38px;height:38px;border-radius:50%;background:#bd252c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;letter-spacing:.02em;flex:none}
#a1c-root .a1c-titles{flex:1;min-width:0}
#a1c-root .a1c-title{margin:0;padding:0;border:0;font-family:inherit;font-size:16px;line-height:1.25;font-weight:700;color:#fff;letter-spacing:normal;text-transform:none}
#a1c-root .a1c-sub{margin:1px 0 0;font-size:12.5px;line-height:1.3;color:rgba(255,255,255,.8)}
#a1c-root .a1c-new{height:30px;padding:0 11px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:transparent;color:#fff;font-size:12.5px;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease}
#a1c-root .a1c-new:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.7)}
#a1c-root .a1c-close{width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}
#a1c-root .a1c-close:hover{background:rgba(255,255,255,.14)}
#a1c-root .a1c-close svg{width:20px;height:20px}

#a1c-root .a1c-handoff{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px;background:#fff;border-bottom:1px solid #e6ecf2;flex:none}
#a1c-root .a1c-handoff a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:6px 8px;border-radius:8px;font-size:13.5px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;transition:background-color .2s ease,border-color .2s ease}
#a1c-root .a1c-handoff .a1c-wa{border:1.5px solid #1b7a3d;color:#1b7a3d;background:#fff}
#a1c-root .a1c-handoff .a1c-wa:hover{background:#eef8f1}
#a1c-root .a1c-handoff .a1c-call{border:1.5px solid #112d4e;color:#112d4e;background:#fff}
#a1c-root .a1c-handoff .a1c-call:hover{background:#f1f5fa}

/* Conversation */
#a1c-root .a1c-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 14px 12px;background:#f4f7fb;display:flex;flex-direction:column;gap:10px}
#a1c-root .a1c-msg{max-width:86%;padding:10px 13px;border-radius:14px;font-size:15px;line-height:1.5;word-wrap:break-word;overflow-wrap:anywhere;word-break:normal}
#a1c-root .a1c-msg-a{align-self:flex-start;background:#fff;border:1px solid #dde5ee;color:#0f2740;border-bottom-left-radius:4px}
#a1c-root .a1c-msg-u{align-self:flex-end;background:#112d4e;color:#fff;border-bottom-right-radius:4px;white-space:pre-wrap}
#a1c-root .a1c-msg-e{align-self:flex-start;background:#fff6f6;border:1px solid #f0c8ca;color:#7a1c21;border-bottom-left-radius:4px}
#a1c-root .a1c-msg p{margin:0 0 8px;padding:0;font-size:inherit;line-height:inherit;color:inherit}
#a1c-root .a1c-msg p:last-child{margin-bottom:0}
#a1c-root .a1c-msg ul,#a1c-root .a1c-msg ol{margin:2px 0 8px;padding:0 0 0 20px;list-style-position:outside}
#a1c-root .a1c-msg ul{list-style-type:disc}
#a1c-root .a1c-msg ol{list-style-type:decimal}
#a1c-root .a1c-msg ul:last-child,#a1c-root .a1c-msg ol:last-child{margin-bottom:0}
#a1c-root .a1c-msg li{margin:0 0 3px;padding:0;font-size:inherit;line-height:inherit;color:inherit}
#a1c-root .a1c-msg strong{font-weight:700;color:inherit}
#a1c-root .a1c-msg a{color:#bd252c;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;border:0;background:none}
#a1c-root .a1c-msg a:hover{color:#9c1e25;text-decoration-thickness:2px}
#a1c-root .a1c-msg-e a{color:#7a1c21}
#a1c-root .a1c-msg .a1c-src{margin-top:8px;font-size:12.5px;line-height:1.45;color:#5b6b7c}
#a1c-root .a1c-msg .a1c-src a{color:#46586d;font-weight:600}
#a1c-root .a1c-msg a.a1c-wa-send{display:flex;align-items:center;justify-content:center;margin:10px 0 2px;padding:9px 12px;border-radius:8px;background:#1b7a3d;color:#fff;font-size:13.5px;font-weight:700;line-height:1.25;text-align:center;text-decoration:none;transition:background-color .2s ease}
#a1c-root .a1c-msg a.a1c-wa-send:hover{background:#15642f;color:#fff;text-decoration:none}
#a1c-root .a1c-retry{display:inline-block;margin-top:8px;padding:5px 12px;border:1.5px solid #bd252c;border-radius:999px;background:#fff;color:#bd252c;font-size:13px;font-weight:700;line-height:1.2}
#a1c-root .a1c-retry:hover{background:#fdf1f1}

#a1c-root .a1c-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0}
#a1c-root .a1c-chip{padding:7px 12px;border:1.5px solid #c9d6e3;border-radius:999px;background:#fff;color:#112d4e;font-size:13.5px;font-weight:600;line-height:1.25;text-align:left;transition:border-color .2s ease,background-color .2s ease}
#a1c-root .a1c-chip:hover{border-color:#112d4e;background:#eef3f9}

#a1c-root .a1c-typing{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:13px 15px}
#a1c-root .a1c-typing .a1c-dot{width:7px;height:7px;border-radius:50%;background:#8fa0b3;animation:a1c-dot 1.2s infinite ease-in-out}
#a1c-root .a1c-typing .a1c-dot:nth-child(2){animation-delay:.15s}
#a1c-root .a1c-typing .a1c-dot:nth-child(3){animation-delay:.3s}
#a1c-root .a1c-status{margin-left:6px;font-size:13px;line-height:1.2;color:#5b6b7c}
#a1c-root .a1c-status:empty{display:none}
@keyframes a1c-dot{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}

/* Composer */
#a1c-root .a1c-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 8px;background:#fff;border-top:1px solid #e6ecf2;flex:none;margin:0}
#a1c-root .a1c-input{flex:1;display:block;width:100%;height:44px;min-height:44px;max-height:120px;resize:none;margin:0;padding:10px 12px;border:1.5px solid #c9d6e3;border-radius:10px;background:#fff;color:#0f2740;font-size:15px;line-height:1.4;box-shadow:none;outline:none;overflow-y:auto;transition:border-color .2s ease,box-shadow .2s ease}
#a1c-root .a1c-input::placeholder{color:#7b8a9a;opacity:1}
#a1c-root .a1c-input:focus{border-color:#112d4e;box-shadow:0 0 0 3px rgba(17,45,78,.12)}
#a1c-root .a1c-send{height:44px;padding:0 17px;border:0;border-radius:10px;background:#bd252c;color:#fff;font-size:15px;font-weight:700;line-height:1;transition:background-color .2s ease,opacity .2s ease;flex:none}
#a1c-root .a1c-send:hover{background:#9c1e25}
#a1c-root .a1c-send:disabled{opacity:.55;cursor:default;background:#bd252c}
#a1c-root .a1c-count{padding:0 14px;background:#fff;font-size:12px;line-height:1.4;color:#6b7b8c;text-align:right}
#a1c-root .a1c-count.a1c-over{color:#bd252c;font-weight:700}
#a1c-root .a1c-foot{margin:0;padding:0 12px 10px;background:#fff;font-size:11.5px;line-height:1.45;color:#6b7b8c;flex:none}
#a1c-root .a1c-foot a{color:#46586d;text-decoration:underline;text-underline-offset:2px}

/* Phones: round button, full-screen panel */
@media (max-width:600px){
	#a1c-root .a1c-launch{width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
	#a1c-root .a1c-launch .a1c-launch-txt{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
	#a1c-root .a1c-launch svg{width:25px;height:25px}
	#a1c-root .a1c-panel{top:0;right:0;bottom:auto;left:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0;animation:none}
	#a1c-root .a1c-head{padding-top:max(12px,env(safe-area-inset-top))}
	#a1c-root .a1c-input{font-size:16px}
	#a1c-root .a1c-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))}
	#a1c-root .a1c-msg{max-width:90%}
}
@media (max-width:360px){
	#a1c-root .a1c-avatar{display:none}
	#a1c-root .a1c-title{font-size:15px}
	#a1c-root .a1c-new{padding:0 8px}
	#a1c-root .a1c-handoff a{font-size:12.5px}
}
html.a1c-lock,html.a1c-lock body{overflow:hidden!important}

@media (prefers-reduced-motion:reduce){
	#a1c-root *{animation:none!important;transition:none!important}
	#a1c-root .a1c-launch,#a1c-root .a1c-launch:hover{transform:none}
}
@media print{#a1c-root{display:none!important}}
