.btwa{position:fixed;bottom:20px;z-index:99999;font-family:inherit;font-size:15px;line-height:1.4}
.btwa--right{right:20px;align-items:flex-end}
.btwa--left{left:20px;align-items:flex-start}
.btwa{display:flex;flex-direction:column;gap:12px}
.btwa svg{width:26px;height:26px;display:block}

.btwa__toggle{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;background:#25D366;color:#fff;
	padding:14px;border-radius:999px;box-shadow:0 6px 20px rgba(0,0,0,.2);transition:transform .15s,box-shadow .15s;font:inherit;font-weight:600}
.btwa__toggle:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.25)}
.btwa__toggle:focus-visible{outline:3px solid #128C7E;outline-offset:3px}
.btwa__label{padding-right:6px}

.btwa__box{width:340px;max-width:calc(100vw - 40px);background:#fff;border-radius:16px;overflow:hidden;
	box-shadow:0 12px 40px rgba(0,0,0,.25);animation:btwa-in .2s ease-out}
.btwa__box[hidden]{display:none}
@keyframes btwa-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.btwa__head{display:flex;align-items:center;gap:10px;background:#075E54;color:#fff;padding:14px 16px}
.btwa__avatar{width:40px;height:40px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;flex:none}
.btwa__who{display:flex;flex-direction:column;flex:1;min-width:0}
.btwa__who strong{font-size:16px;color:#fff}
.btwa__who small{opacity:.85;font-size:12px}
.btwa__close{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px;opacity:.85}
.btwa__close:hover{opacity:1}

.btwa__body{background:#ECE5DD;padding:18px 16px;min-height:110px}
.btwa__bubble{position:relative;background:#fff;color:#222;padding:10px 12px;border-radius:0 10px 10px 10px;max-width:90%;
	box-shadow:0 1px 1px rgba(0,0,0,.1)}
.btwa__bubble:before{content:"";position:absolute;left:-8px;top:0;border-top:10px solid #fff;border-left:8px solid transparent}

.btwa__form{display:flex;align-items:flex-end;gap:8px;padding:10px;background:#F0F0F0;margin:0}
.btwa__form textarea{flex:1;resize:none;border:0;border-radius:20px;padding:10px 14px;font:inherit;max-height:100px;background:#fff;color:#222;outline:none;box-shadow:none}
.btwa__send{flex:none;width:42px;height:42px;border-radius:50%;border:0;background:#25D366;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.btwa__send svg{width:20px;height:20px}
.btwa__send:hover{background:#1ebe5b}
.btwa__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

@media (max-width:600px){
	.btwa{bottom:14px}
	.btwa--right{right:14px}.btwa--left{left:14px}
	.btwa__label{display:none}
	.btwa--hide-mobile{display:none}
}
@media print{.btwa{display:none}}
