/* CXE Chatbot. Colours read the theme brand tokens with fallbacks. The panel is
   closed by default and only shows when the root has .is-open, so it can never
   be stuck open. No drop shadows, per the web design rules. */
.cxe-bot{position:fixed;right:20px;bottom:20px;z-index:99999;
	font-family:var(--font,system-ui,-apple-system,Segoe UI,Roboto,sans-serif)}
.cxe-bot__launch{display:inline-flex;align-items:center;gap:9px;
	background:var(--brand,#0f172a);color:#fff;border:0;
	border-radius:999px;padding:12px 18px;font-weight:600;font-size:15px;cursor:pointer}
.cxe-bot__dot{width:9px;height:9px;border-radius:50%;background:var(--accent,#3AAA5A)}

/* Panel: hidden unless the widget is open. */
.cxe-bot__panel{display:none}
.cxe-bot.is-open .cxe-bot__panel{position:absolute;right:0;bottom:60px;width:min(360px,92vw);
	height:min(520px,72vh);display:flex;flex-direction:column;overflow:hidden;
	background:#fff;color:var(--ink,#0f172a);border-radius:20px}
.cxe-bot__head{display:flex;align-items:center;justify-content:space-between;
	padding:14px 16px;background:var(--brand,#0f172a);color:#fff}
.cxe-bot__close{background:none;border:0;color:inherit;font-size:22px;line-height:1;cursor:pointer}
.cxe-bot__log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.cxe-bot__msg{max-width:85%;padding:9px 12px;border-radius:12px;font-size:14.5px;line-height:1.5}
.cxe-bot__msg--user{align-self:flex-end;background:var(--brand,#0f172a);color:#fff}
.cxe-bot__msg--bot{align-self:flex-start;background:#f1f5f9;color:var(--ink,#0f172a)}
.cxe-bot__route{align-self:flex-start;margin-top:-4px}
.cxe-bot__route a{display:inline-block;font-weight:600;font-size:13.5px;color:var(--brand,#0f172a);text-decoration:underline}
.cxe-bot__form{display:flex;gap:8px;padding:10px;border-top:1px solid #e2e8f0}
.cxe-bot__form input{flex:1;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font:inherit}
.cxe-bot__form button{background:var(--brand,#0f172a);color:#fff;border:0;border-radius:10px;padding:0 16px;font-weight:600;cursor:pointer}
