.cs-assistant,.cs-assistant *{box-sizing:border-box}
.cs-assistant{--csa-ink:#081226;--csa-blue:#0759e8;--csa-line:#dce3ee;--csa-muted:#647087;position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:99990;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--csa-ink);font-size:15px;line-height:1.45}
.cs-assistant button,.cs-assistant input{font:inherit}
.cs-assistant-launcher{display:flex;align-items:center;gap:10px;margin-left:auto;padding:0;border:0;background:transparent;color:var(--csa-ink);cursor:pointer}
.cs-assistant-launcher-label{padding:9px 12px;border:1px solid var(--csa-line);border-radius:9px;background:#fff;font-size:13px;font-weight:750;box-shadow:0 10px 30px rgba(8,18,38,.1)}
.cs-assistant-launcher-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px 18px 6px 18px;background:var(--csa-blue);box-shadow:0 14px 36px rgba(7,89,232,.3);transition:transform .2s ease,box-shadow .2s ease}
.cs-assistant-launcher:hover .cs-assistant-launcher-icon{transform:translateY(-2px);box-shadow:0 17px 40px rgba(7,89,232,.36)}
.cs-assistant-launcher svg{width:27px;height:27px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cs-assistant-panel{position:absolute;right:0;bottom:72px;width:min(390px,calc(100vw - 28px));overflow:hidden;border:1px solid var(--csa-line);border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(8,18,38,.22);transform-origin:bottom right;animation:csa-in .22s ease-out}
.cs-assistant-panel[hidden]{display:none}
.cs-assistant-header{display:grid;grid-template-columns:42px 1fr 32px;gap:11px;align-items:center;padding:17px 17px 16px;background:var(--csa-ink);color:#fff}
.cs-assistant-mark,.cs-assistant-avatar{display:grid;place-items:center;border-radius:12px 12px 4px 12px;background:var(--csa-blue);color:#fff;font-weight:850}
.cs-assistant-mark{width:42px;height:42px;font-size:19px}
.cs-assistant-header strong,.cs-assistant-header small{display:block}
.cs-assistant-header strong{font-size:15px}
.cs-assistant-header small{margin-top:2px;color:#b9c5d8;font-size:10px}
.cs-assistant-header small i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#31c964}
.cs-assistant-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;cursor:pointer}
.cs-assistant-close:hover{background:rgba(255,255,255,.1)}
.cs-assistant-close svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
.cs-assistant-body{max-height:360px;overflow:auto;padding:18px;background:#f6f9fe}
.cs-assistant-message{display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:start}
.cs-assistant-avatar{width:32px;height:32px;border-radius:10px 10px 3px 10px;font-size:12px}
.cs-assistant-message>div{padding:13px 14px;border:1px solid #e0e7f1;border-radius:5px 15px 15px 15px;background:#fff;box-shadow:0 7px 20px rgba(35,58,91,.06)}
.cs-assistant-message strong{display:block;font-size:13px;line-height:1.35}
.cs-assistant-message p{margin:5px 0 0;color:#536078;font-size:12px;line-height:1.5}
.cs-assistant-message a{display:inline-block;margin-top:9px;color:var(--csa-blue);font-size:12px;font-weight:800;text-decoration:none}
.cs-assistant-message.is-updated>div{animation:csa-answer .2s ease-out}
.cs-assistant-quick{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 0 41px}
.cs-assistant-quick button{padding:8px 10px;border:1px solid #cbd8ea;border-radius:999px;background:#fff;color:#31405a;font-size:11px;font-weight:700;cursor:pointer}
.cs-assistant-quick button:hover,.cs-assistant-quick button:focus-visible{border-color:var(--csa-blue);color:var(--csa-blue)}
.cs-assistant-footer{padding:13px 16px 14px;border-top:1px solid var(--csa-line);background:#fff}
.cs-assistant-form{display:grid;grid-template-columns:1fr 38px;gap:8px}
.cs-assistant-form input{min-width:0;height:42px;padding:0 12px;border:1px solid #bfcbdb;border-radius:8px;background:#fff;color:var(--csa-ink);font-size:12px;outline:none}
.cs-assistant-form input:focus{border-color:var(--csa-blue);box-shadow:0 0 0 3px rgba(7,89,232,.12)}
.cs-assistant-form button{display:grid;place-items:center;width:38px;height:38px;margin-top:2px;border:0;border-radius:9px;background:var(--csa-blue);cursor:pointer}
.cs-assistant-form button svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cs-assistant-human{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid #eef1f5;color:var(--csa-blue);font-size:12px;font-weight:800;text-decoration:none}
.cs-assistant-footer>small{display:block;margin-top:7px;color:#8490a2;font-size:9px}
.cs-assistant button:focus-visible,.cs-assistant a:focus-visible{outline:3px solid rgba(7,89,232,.28);outline-offset:2px}
.cs-assistant .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes csa-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes csa-answer{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:520px){.cs-assistant{right:14px;bottom:max(14px,env(safe-area-inset-bottom));left:14px}.cs-assistant-launcher-label{display:none}.cs-assistant-panel{position:fixed;right:10px;left:10px;bottom:82px;width:auto;max-height:calc(100dvh - 102px)}.cs-assistant-body{max-height:min(360px,calc(100dvh - 310px));padding:15px}.cs-assistant-quick{margin-left:0}.cs-assistant-launcher-icon{width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.cs-assistant *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
