.brc-root{--brc:#0a5bd6;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px}
.brc-root *{box-sizing:border-box}
.brc-fab{position:fixed;right:22px;bottom:22px;width:68px;height:68px;border-radius:50%;border:0;background:#fff;box-shadow:0 8px 28px rgba(10,40,90,.28);cursor:pointer;z-index:99998;padding:8px;animation:brcB 3s ease-in-out infinite}
.brc-fab img{width:100%;height:100%}
@keyframes brcB{50%{transform:translateY(-5px)}}
.brc-win{position:fixed;right:22px;bottom:102px;width:370px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 130px);background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(10,40,90,.3);display:none;flex-direction:column;overflow:hidden;z-index:99999}
.brc-win.open{display:flex}
.brc-inline .brc-win{position:relative;right:auto;bottom:auto;display:flex;width:100%;max-width:100%;height:560px;max-height:none}
.brc-head{background:var(--brc);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
.brc-head img{width:38px;height:38px;background:#fff;border-radius:50%;padding:3px}
.brc-head b{display:block;font-size:15px}.brc-head small{opacity:.85;font-size:12px}
.brc-x{margin-left:auto;background:none;border:0;color:#fff;font-size:22px;cursor:pointer}
.brc-inline .brc-x{display:none}
.brc-body{flex:1;overflow-y:auto;padding:14px;background:#f3f7fb;display:flex;flex-direction:column;gap:8px}
.brc-m{max-width:85%;padding:10px 13px;border-radius:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.brc-bot{background:#fff;color:#1b2a3a;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.brc-user{background:var(--brc);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.brc-opts{display:flex;flex-wrap:wrap;gap:6px}
.brc-opt{border:1.5px solid var(--brc);color:var(--brc);background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer}
.brc-opt:hover{background:var(--brc);color:#fff}
.brc-wa{display:inline-block;background:#25d366;color:#fff!important;text-decoration:none;padding:9px 14px;border-radius:999px;font-weight:600;align-self:flex-start}
.brc-typing{align-self:flex-start;color:#7a8ca0;font-size:13px}
.brc-form{display:flex;border-top:1px solid #e3eaf2;padding:8px;gap:6px;background:#fff}
.brc-form input{flex:1;border:1px solid #d6e2ee;border-radius:999px;padding:10px 14px;font-size:14px;outline:none}
.brc-form button{background:var(--brc);color:#fff;border:0;border-radius:999px;padding:0 16px;cursor:pointer;font-weight:600}
.brc-note{font-size:11px;color:#8899aa;text-align:center;padding:0 8px 6px;background:#fff}
