#lsc-widget{--lsc-accent:#6438d2;--lsc-ink:#24212c;--lsc-muted:#6d6879;position:fixed;bottom:22px;right:22px;z-index:99999;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--lsc-ink);text-align:left;box-sizing:border-box}
#lsc-widget *,#lsc-widget *::before,#lsc-widget *::after{box-sizing:border-box}
#lsc-widget button,#lsc-widget textarea{font:inherit;letter-spacing:normal;text-transform:none;margin:0}
#lsc-widget button{cursor:pointer;border:0;min-height:44px;box-shadow:none}
#lsc-widget button:disabled{opacity:.5;cursor:wait}
#lsc-widget button:focus-visible,#lsc-widget a:focus-visible,#lsc-widget textarea:focus-visible{outline:3px solid #aa90ef;outline-offset:3px}
#lsc-widget .lsc-launch{display:flex;align-items:center;gap:9px;padding:12px 20px;border-radius:30px;background:var(--lsc-accent);color:#fff;box-shadow:0 6px 24px #32235433;font-weight:600}
#lsc-widget .lsc-panel{position:absolute;bottom:70px;right:0;width:380px;height:560px;max-height:calc(100dvh - 115px);display:flex;flex-direction:column;background:#fff;border:1px solid #e8e4ef;border-radius:20px;overflow:hidden;box-shadow:0 18px 65px #28203826}
#lsc-widget [hidden]{display:none!important}
#lsc-widget .lsc-header{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #eeeaf4;background:#fbf9ff;flex-shrink:0}
#lsc-widget .lsc-title{font-size:15px;display:block;line-height:1.35;overflow-wrap:anywhere}
#lsc-widget .lsc-header span{font-size:11px;color:var(--lsc-muted);display:block;margin-top:4px}
#lsc-widget .lsc-actions{display:flex;gap:4px;flex-shrink:0}
#lsc-widget .lsc-actions button{background:transparent;color:var(--lsc-muted);font-size:26px;width:40px;border-radius:9px;padding:0}
#lsc-widget .lsc-actions button:hover{background:#eee8fb;color:var(--lsc-accent)}
#lsc-widget .lsc-messages{flex:1;overflow-y:auto;padding:18px 15px;display:flex;flex-direction:column;gap:12px;min-height:0;scrollbar-width:thin}
#lsc-widget .lsc-bubble{max-width:92%;padding:11px 13px;border-radius:15px;white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:0}
#lsc-widget .lsc-assistant{align-self:flex-start;background:#f3f1f7;border-bottom-left-radius:4px}
#lsc-widget .lsc-user{align-self:flex-end;background:var(--lsc-accent);color:#fff;border-bottom-right-radius:4px}
#lsc-widget .lsc-references{margin-top:9px;display:flex;flex-wrap:wrap;gap:5px;font-size:11px;white-space:normal}
#lsc-widget .lsc-references a,#lsc-widget .lsc-references span{display:block;color:#5530b2;background:#e9e2f8;padding:3px 7px;border-radius:6px;text-decoration:none}
#lsc-widget .lsc-references a:hover{text-decoration:underline}
#lsc-widget .lsc-modal-cta{margin-top:11px;padding-top:10px;border-top:1px solid #ddd7e7}
#lsc-widget .lsc-modal-cta-title{margin-bottom:8px;font-size:13px;font-weight:600;color:var(--lsc-ink)}
#lsc-widget .lsc-modal-action{display:block;width:100%;padding:10px 12px;border-radius:10px;background:var(--lsc-accent);color:#fff;font-weight:600;text-align:center}
#lsc-widget .lsc-modal-action:hover{filter:brightness(.94)}
#lsc-widget .lsc-status{padding:0 16px 7px;color:var(--lsc-muted);font-size:12px;flex-shrink:0;overflow-wrap:anywhere}
#lsc-widget .lsc-status:empty{padding:0}
#lsc-widget .lsc-form{display:flex;align-items:flex-end;gap:9px;padding:12px 14px 9px;border-top:1px solid #eeeaf4;flex-shrink:0;background:#fff}
#lsc-widget textarea{flex:1;resize:none;border:1px solid #e4dfed;border-radius:11px;background:#fcfbfe;color:var(--lsc-ink);padding:11px;min-height:45px;max-height:100px;line-height:1.45;box-shadow:none;width:0}
#lsc-widget .lsc-send{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:11px;background:var(--lsc-accent);color:#fff;padding:0}
#lsc-widget .lsc-footnote{font-size:10px;line-height:1.4;color:var(--lsc-muted);text-align:center;padding:0 18px 12px;background:#fff;flex-shrink:0}
#lsc-widget .lsc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){#lsc-widget{bottom:14px;right:14px}#lsc-widget .lsc-panel{width:calc(100vw - 28px);height:570px;max-height:calc(100dvh - 105px);bottom:65px}#lsc-widget textarea{font-size:16px}}
@media(prefers-reduced-motion:no-preference){#lsc-widget .lsc-panel{animation:lsc-in .15s ease-out}@keyframes lsc-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

#lsc-widget .lsc-actions .lsc-end{font-size:12px;width:auto;padding:0 8px;font-weight:600}
#lsc-widget .lsc-header>div:first-child{min-width:0}
