#emsc-root{--emsc-primary:#102a43;--emsc-accent:#1769c2;font-family:inherit;position:relative;z-index:999999}
#emsc-launcher{position:fixed;left:24px;bottom:24px;background:var(--emsc-primary);color:#fff;border:0;border-radius:50px;padding:12px 18px;display:flex;align-items:center;gap:9px;cursor:pointer;box-shadow:0 12px 35px rgba(0,0,0,.22);font-size:15px;font-weight:700;transition:.2s}
#emsc-launcher:hover{transform:translateY(-2px)}#emsc-launcher.hidden{display:none}.emsc-launcher-icon{font-size:20px}
#emsc-chat{position:fixed;left:14px;bottom:16px;width:370px;max-width:calc(100vw - 28px);height:590px;max-height:calc(100vh - 35px);background:#f6f8fb;border-radius:22px;box-shadow:0 15px 45px rgba(24,43,63,.22);overflow:hidden;display:none;flex-direction:column;border:1px solid #e4e9ef}
#emsc-chat.open{display:flex}
.emsc-head{height:72px;box-sizing:border-box;background:#fff;color:var(--emsc-primary);padding:13px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5}
.emsc-head-main{display:flex;align-items:center;gap:10px}.emsc-head-avatar{width:38px;height:38px;border-radius:12px;background:#eef5fb;display:flex;align-items:center;justify-content:center;font-size:20px}
.emsc-head strong{display:block;font-size:18px}.emsc-head small{display:block;color:#8a97a5;font-size:12px;margin-top:3px}
.emsc-head-actions{display:flex;gap:7px}.emsc-head-actions button{background:#f4f7fa;color:#26384b;border:0;width:34px;height:34px;border-radius:10px;cursor:pointer;font-size:20px}
#emsc-messages{flex:1;overflow:auto;padding:16px 13px;background:#f5f7fa}
.emsc-msg{padding:12px 14px;border-radius:16px;line-height:1.95;font-size:14px;margin:7px 0;max-width:94%;box-shadow:0 2px 10px rgba(27,45,61,.04)}
.emsc-msg.bot{background:#fff;border:1px solid #e9edf1;margin-left:4%;color:#27394b}.emsc-msg.user{background:#eaf2fb;color:#173a5a;margin-right:20%;text-align:right}
.emsc-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}
.emsc-buttons button{background:#fff;border:1px solid #dce5ed;color:#1e4e78;border-radius:11px;padding:9px 10px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;box-shadow:0 1px 5px rgba(0,0,0,.03)}
.emsc-buttons button:hover{border-color:var(--emsc-accent);color:var(--emsc-accent)}
#emsc-bottom-actions{display:flex;gap:7px;padding:8px 10px;background:#f6f8fb;border-top:1px solid #e6ebf0}
.emsc-bottom-pill{flex:1;background:#fff;border:1px solid #dbe3eb;color:#465d72;border-radius:12px;padding:8px 4px;font-family:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.emsc-bottom-pill.primary{border-color:#bce3c8;color:#25834b;background:#f4fff7}
#emsc-composer{display:flex;gap:7px;padding:9px 10px;background:#fff;border-top:1px solid #e8edf2;align-items:center}
#emsc-input{flex:1;min-width:0;border:0;background:#fff;padding:10px 6px;font-family:inherit;outline:none;font-size:14px}
#emsc-send{width:39px;height:39px;border:0;border-radius:50%;background:#1769c2;color:#fff;cursor:pointer;font-size:20px;font-weight:700}
#emsc-mic{width:39px;height:39px;border:0;border-radius:50%;background:#f0f4f8;color:#476176;cursor:pointer;font-size:15px}
.emsc-form{display:grid;gap:8px;margin-top:8px}.emsc-form input,.emsc-form textarea{width:100%;box-sizing:border-box;border:1px solid #d9e2e9;border-radius:10px;padding:10px;font-family:inherit;font-size:14px}.emsc-form textarea{min-height:80px;resize:vertical}.emsc-form button{border:0;background:var(--emsc-accent);color:#fff;border-radius:10px;padding:10px;cursor:pointer;font-family:inherit;font-weight:700}.emsc-success{background:#ecfbf2;color:#17733b;padding:12px;border-radius:10px}
@media(max-width:600px){#emsc-launcher{left:14px;bottom:14px;padding:12px 14px}.emsc-launcher-text{display:none}#emsc-chat{left:8px;bottom:8px;width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:none;border-radius:18px}}
