:root{--cs-ink:#18294f;--cs-blue:#203761;--cs-pale:#f0f3f8;--cs-line:#dce2ec;--cs-muted:#68738b}
.cs-chat-launch{position:fixed;right:24px;bottom:24px;z-index:9998;border:0;border-radius:999px;background:#18294f;color:#fff;padding:15px 20px;font:700 14px/1.2 'DM Sans',Arial,sans-serif;box-shadow:0 12px 35px #101e3d35;cursor:pointer;display:flex;align-items:center;gap:10px;transition:transform .2s,background .2s}
.cs-chat-launch:hover{background:#203761;transform:translateY(-2px)}.cs-chat-launch-icon{width:28px;height:28px;border-radius:50%;background:#fff;color:#203761;display:grid;place-items:center;font-size:17px}
.cs-chat-panel{position:fixed;right:24px;bottom:88px;width:min(390px,calc(100vw - 28px));height:min(590px,calc(100vh - 120px));z-index:9999;background:#fff;border:1px solid var(--cs-line);border-radius:22px;box-shadow:0 24px 80px #101e3d35;display:none;overflow:hidden;color:var(--cs-ink);font-family:'DM Sans',Arial,sans-serif}
.cs-chat-panel[data-open="true"]{display:flex;flex-direction:column}.cs-chat-head{background:#18294f;color:#fff;padding:18px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.cs-chat-heading{font:700 16px/1.3 Manrope,'DM Sans',Arial,sans-serif}.cs-chat-subtitle{font-size:11px;color:#d5dceb;margin-top:3px}.cs-chat-close{border:1px solid #ffffff45;background:transparent;color:white;border-radius:50%;width:34px;height:34px;font-size:20px;cursor:pointer}.cs-chat-links{display:flex;gap:8px;padding:10px 14px;border-bottom:1px solid var(--cs-line)}.cs-chat-links a{font-size:11px;color:#203761;font-weight:700;padding:8px 10px;background:var(--cs-pale);border-radius:999px}.cs-chat-messages{padding:16px;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:11px;background:#fbfcfe}.cs-chat-message{max-width:88%;padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.cs-chat-message.assistant{align-self:flex-start;background:#f0f3f8;border:1px solid #e5e9f1}.cs-chat-message.user{align-self:flex-end;background:#203761;color:#fff}.cs-chat-message.error{border-color:#e8b6ae;background:#fff5f3;color:#7a3028}.cs-chat-quick{padding:0 14px 12px;display:flex;gap:7px;overflow-x:auto;background:#fbfcfe}.cs-chat-quick button{flex:none;border:1px solid #dce2ec;background:#fff;border-radius:999px;padding:8px 10px;color:#203761;font:600 11px 'DM Sans',Arial,sans-serif;cursor:pointer}.cs-chat-form{padding:12px 13px;border-top:1px solid var(--cs-line);display:flex;gap:8px;background:white}.cs-chat-input{min-width:0;flex:1;resize:none;border:1px solid #dce2ec;border-radius:14px;padding:11px 12px;font:13px/1.4 'DM Sans',Arial,sans-serif;color:#18294f;outline:none;max-height:90px}.cs-chat-input:focus{border-color:#203761;box-shadow:0 0 0 3px #20376116}.cs-chat-send{align-self:flex-end;border:0;border-radius:12px;background:#203761;color:white;padding:11px 14px;font-size:12px;font-weight:700;cursor:pointer}.cs-chat-send:disabled{opacity:.55;cursor:wait}.cs-chat-footnote{font-size:10px;color:#68738b;padding:0 14px 10px;background:#fff}.cs-chat-status{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:520px){.cs-chat-launch{right:14px;bottom:14px;padding:12px 15px}.cs-chat-panel{right:8px;bottom:72px;width:calc(100vw - 16px);height:min(620px,calc(100vh - 92px));border-radius:18px}}
