#lxc-root{--lxc-ink:#1b1b1f;--lxc-gold:#b8893b;--lxc-navy:#14213d;--lxc-bg:#fff;--lxc-soft:#f5f2ec;position:fixed;right:20px;bottom:20px;z-index:99990;font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--lxc-ink)}
#lxc-root *{box-sizing:border-box}
.lxc-launcher{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:14px 20px;background:var(--lxc-navy);color:#fff;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.lxc-launcher:hover{background:#1d2f57}
.lxc-launcher:focus-visible,.lxc-close:focus-visible,.lxc-chip:focus-visible,.lxc-send:focus-visible,.lxc-input:focus-visible,.lxc-btn:focus-visible{outline:3px solid var(--lxc-gold);outline-offset:2px}
.lxc-open .lxc-launcher{display:none}
.lxc-panel{display:none;position:relative;flex-direction:column;width:380px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);background:var(--lxc-bg);border-radius:16px;overflow:hidden;box-shadow:0 16px 48px rgba(0,0,0,.3)}
.lxc-open .lxc-panel{display:flex}
.lxc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--lxc-navy);color:#fff}
.lxc-avatar{border-radius:50%;background:var(--lxc-soft);object-fit:cover;object-position:50% 18%;flex:0 0 auto;display:inline-block}
.lxc-avatar-head{width:48px;height:48px;border:2px solid var(--lxc-gold);background:var(--lxc-navy)}
.lxc-avatar-wrap{position:relative;width:48px;height:48px;flex:0 0 auto}
.lxc-avatar-wrap .lxc-avatar{position:absolute;left:0;top:0}
.lxc-hidden{opacity:0}
.lxc-intro{position:absolute;left:0;right:0;top:76px;height:220px;display:flex;align-items:flex-start;justify-content:center;pointer-events:none;z-index:3}
.lxc-intro-media{width:200px;height:200px;object-fit:contain;transform-origin:center center;will-change:transform,opacity;filter:drop-shadow(0 6px 14px rgba(0,0,0,.18))}
.lxc-avatar-launch{width:30px;height:30px;border:2px solid var(--lxc-gold);margin:-4px 0 -4px -6px}
.lxc-avatar-msg{width:28px;height:28px;margin-top:2px;border:1px solid #e6e0d4}
.lxc-row{display:flex;align-items:flex-start;gap:8px;max-width:100%}
.lxc-row .lxc-msg{max-width:calc(100% - 36px)}
.lxc-title{flex:1;display:flex;flex-direction:column;line-height:1.2}
.lxc-title small{opacity:.75;font-size:12px}
.lxc-head-wa{color:#fff;font-size:13px;text-decoration:underline}
.lxc-close{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
.lxc-log{flex:1;overflow-y:auto;padding:16px;background:var(--lxc-soft);display:flex;flex-direction:column;gap:10px}
.lxc-msg{max-width:88%;padding:10px 13px;border-radius:14px;word-wrap:break-word;overflow-wrap:anywhere}
.lxc-msg p{margin:0}.lxc-msg p+p{margin-top:8px}
.lxc-bot{align-self:flex-start;background:#fff;border:1px solid #e6e0d4}
.lxc-user{align-self:flex-end;background:var(--lxc-navy);color:#fff}
.lxc-note{align-self:center;background:transparent;color:#6b6558;font-size:13px;text-align:center}
.lxc-msg a{color:var(--lxc-gold);text-decoration:underline}
.lxc-user a{color:#fff}
.lxc-typing{display:inline-flex;gap:4px;padding:4px 0}
.lxc-typing i{width:7px;height:7px;border-radius:50%;background:#9a927f;animation:lxcb 1s infinite}
.lxc-typing i:nth-child(2){animation-delay:.15s}.lxc-typing i:nth-child(3){animation-delay:.3s}
@keyframes lxcb{0%,80%,100%{opacity:.3}40%{opacity:1}}
.lxc-cards{display:flex;flex-direction:column;gap:8px;align-self:stretch}
.lxc-card{display:flex;gap:10px;background:#fff;border:1px solid #e6e0d4;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit}
.lxc-card:hover{border-color:var(--lxc-gold)}
.lxc-card-img{flex:0 0 88px;background:#d9d2c3 center/cover no-repeat}
.lxc-card-body{padding:8px 10px 8px 0}
.lxc-card-title{font-weight:600;font-size:14px;line-height:1.3}
.lxc-card-meta{font-size:12px;color:#6b6558;margin-top:4px;white-space:pre}
.lxc-handoff{align-self:stretch;background:#fff;border:1px solid var(--lxc-gold);border-radius:12px;padding:12px;text-align:center}
.lxc-handoff p{margin:0 0 8px}
.lxc-btn{display:inline-block;background:#1f8f4e;color:#fff;border-radius:999px;padding:9px 16px;font-weight:600;text-decoration:none}
.lxc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px 0;background:var(--lxc-soft)}
.lxc-chips[hidden]{display:none}
.lxc-chip{border:1px solid var(--lxc-gold);background:#fff;color:var(--lxc-ink);border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}
.lxc-chip:hover{background:var(--lxc-gold);color:#fff}
.lxc-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;background:#fff;border-top:1px solid #e6e0d4}
.lxc-input{flex:1;resize:none;border:1px solid #cfc7b6;border-radius:12px;padding:9px 11px;font:inherit;max-height:110px}
.lxc-send{border:0;border-radius:50%;width:40px;height:40px;background:var(--lxc-gold);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lxc-send:disabled{opacity:.5;cursor:default}
.lxc-foot{margin:0;padding:0 12px 10px;background:#fff;color:#6b6558;font-size:11px;text-align:center}
@media (max-width:640px){
#lxc-root{right:12px;bottom:12px}
.lxc-open{right:0;bottom:0;left:0;top:0}
.lxc-open .lxc-panel{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
.lxc-input{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.lxc-typing i{animation:none}}
