#cs-ai-launcher,#cs-ai-panel{font-family:"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;box-sizing:border-box}
#cs-ai-launcher * ,#cs-ai-panel *{box-sizing:border-box}
#cs-ai-launcher[hidden],#cs-ai-panel[hidden]{display:none!important}
#cs-ai-launcher{position:fixed;right:18px;bottom:22px;z-index:10000;display:flex;align-items:center;gap:10px;padding:11px 17px;border:1px solid #a5e5db;border-radius:999px;background:linear-gradient(120deg,#12354f,#136f77);box-shadow:0 10px 30px #09233b45;color:#fff;font-size:13px;font-weight:750;cursor:pointer}
#cs-ai-launcher:hover{background:linear-gradient(120deg,#164762,#17878a)}
#cs-ai-panel{position:fixed;right:18px;bottom:18px;z-index:10000;display:flex;flex-direction:column;width:min(390px,calc(100vw - 28px));height:min(640px,calc(100dvh - 36px));overflow:hidden;border:1px solid #b7d6dc;border-radius:17px;background:#f5f8fb;box-shadow:0 18px 60px #071b3657;color:#172e43}
#cs-ai-panel button,#cs-ai-panel textarea{font:inherit}
.cs-ai-head{display:flex;align-items:center;gap:10px;padding:14px 15px;background:linear-gradient(125deg,#102d48,#12636d);color:#fff}
.cs-ai-title{flex:1;min-width:0}.cs-ai-title strong{display:block;font-size:15px;line-height:1.3}
.cs-ai-head button{width:30px;height:30px;border:1px solid #ffffff55;border-radius:7px;background:#ffffff18;color:#fff;cursor:pointer}.cs-ai-head button:hover{background:#ffffff30}
.cs-ai-messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:13px;padding:17px 14px;scrollbar-color:#b7cbd4 transparent}
.cs-ai-row{display:flex;flex-direction:column;max-width:90%;gap:3px}.cs-ai-row--user{align-self:flex-end;align-items:flex-end}.cs-ai-row--assistant{align-self:flex-start;align-items:flex-start}
.cs-ai-name{font-size:10px;color:#7b94a4;padding-inline:5px}.cs-ai-bubble{max-width:100%;padding:10px 12px;border:1px solid #dce8ed;border-radius:12px;background:#fff;color:#21364a;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 8px #10293b08}
.cs-ai-row--user .cs-ai-bubble{border-color:#187686;background:#156e80;color:#fff}
.cs-ai-row--pending .cs-ai-bubble{color:#6d899a}
.cs-ai-footer{border-top:1px solid #deeaee;background:#fff;padding:10px 12px 12px}
.cs-ai-status{min-height:18px;margin-bottom:6px;color:#6a8393;font-size:10px;line-height:1.5}
.cs-ai-compose{display:flex;align-items:flex-end;gap:7px}
#cs-ai-input{flex:1;min-width:0;max-height:110px;min-height:42px;resize:vertical;border:1px solid #cfdee5;border-radius:9px;padding:10px 11px;background:#f8fbfc;color:#142c3e;font-size:12px;line-height:1.5;outline:none}
#cs-ai-input:focus{border-color:#29a59b;box-shadow:0 0 0 2px #a4e3d966}
#cs-ai-send{height:42px;padding:0 12px;border:0;border-radius:9px;background:#167b82;color:#fff;font-size:12px;font-weight:750;cursor:pointer}
#cs-ai-send:hover{background:#0f686f}#cs-ai-send:disabled{opacity:.5;cursor:wait}
.cs-ai-note{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:#92a5af;font-size:10px}
#cs-ai-clear{padding:0;border:0;background:transparent;color:#477b87;font-size:10px;cursor:pointer}
@media(max-width:600px){#cs-ai-panel{right:0;bottom:0;width:100vw;height:min(78dvh,680px);border-radius:16px 16px 0 0}#cs-ai-launcher{right:12px;bottom:12px}}
.cs-ai-sources{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0 0 29px;font-size:11px;color:#63829a}.cs-ai-sources a{color:#176e98;text-decoration:underline;text-underline-offset:2px}
#cs-ai-login{display:inline-block;margin:0 0 10px;color:#126f78;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
#cs-ai-login[hidden]{display:none!important}
#cs-ai-input:disabled{opacity:.65;cursor:not-allowed}

#cs-ai-panel .cs-ai-head #cs-ai-close{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:0;line-height:1;font-size:0}#cs-ai-close::before{content:"";display:block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
