/* Баня Експерт — чат помощник */
.be-bot{--bb-lime:#A6CF39;--bb-lime-d:#8FB52C;--bb-teal:#1EA89C;--bb-text:#3F3F3F;--bb-bg:#F5F5F5;--bb-line:#E3E3E3;position:fixed;right:18px;bottom:18px;z-index:9990;font-family:"Ubuntu",Arial,Helvetica,sans-serif;color:var(--bb-text)}
.has-be-bot .be-float{bottom:92px!important}
.has-be-bot .be-float .is-viber{display:none!important}
.be-bot__launch{position:relative;width:60px;height:60px;border-radius:50%;border:0;background:var(--bb-teal);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px -10px rgba(0,0,0,.45);transition:transform .2s,background .2s;padding:0}
.be-bot__launch:hover,.be-bot__launch:focus{background:#178C82;color:#fff;transform:translateY(-2px)}
.be-bot__launch .be-ico{width:28px;height:28px}
.be-bot__launch-x{display:none;font-size:30px;line-height:1}
.be-bot[data-open="1"] .be-bot__launch-ico{display:none}
.be-bot[data-open="1"] .be-bot__launch-x{display:block}
.be-bot__hint{position:absolute;right:72px;top:50%;transform:translateY(-50%) translateX(8px);white-space:nowrap;background:#fff;color:var(--bb-text);font-size:13.5px;padding:9px 14px;box-shadow:0 8px 24px -10px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s}
.be-bot.show-hint .be-bot__hint{opacity:1;transform:translateY(-50%)}
.be-bot__panel{position:absolute;right:0;bottom:76px;width:380px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 120px));background:#fff;box-shadow:0 24px 60px -18px rgba(0,0,0,.4);display:flex;flex-direction:column;border-top:4px solid var(--bb-lime);overflow:hidden}
.be-bot__panel[hidden]{display:none}
.be-bot__head{display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;background:var(--bb-text);color:#fff}
.be-bot__avatar{width:38px;height:38px;border-radius:50%;background:var(--bb-lime);display:flex;align-items:center;justify-content:center;color:#fff;flex:none}
.be-bot__avatar .be-ico{width:20px;height:20px}
.be-bot__head strong{display:block;font-weight:500;font-size:15px;line-height:1.2}
.be-bot__head small{display:block;font-size:11.5px;color:#cfcfcf}
.be-bot__head>div{flex:1}
.be-bot__restart,.be-bot__close{width:34px;height:34px;border:0;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0;opacity:.85}
.be-bot__restart{font-size:19px}
.be-bot__restart:hover,.be-bot__close:hover,.be-bot__restart:focus,.be-bot__close:focus{background:rgba(255,255,255,.1);color:#fff;opacity:1}
.be-bot__log{flex:1;overflow-y:auto;padding:16px 14px 10px;background:#fafafa;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.be-bot__msg{max-width:88%;padding:10px 13px;font-size:14px;line-height:1.5;word-wrap:break-word}
.be-bot__msg p{margin:0 0 8px}
.be-bot__msg small{color:#7c7c7c}
.be-bot__msg.is-bot{align-self:flex-start;background:#fff;border:1px solid var(--bb-line)}
.be-bot__msg.is-me{align-self:flex-end;background:var(--bb-lime);color:#fff}
.be-bot__msg.is-typing{display:flex;gap:4px;padding:13px 14px}
.be-bot__msg.is-typing span{width:6px;height:6px;border-radius:50%;background:#bbb;animation:bebot 1s infinite}
.be-bot__msg.is-typing span:nth-child(2){animation-delay:.15s}
.be-bot__msg.is-typing span:nth-child(3){animation-delay:.3s}
@keyframes bebot{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.be-bot__chips{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0 6px}
.be-bot__chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--bb-teal);background:#fff;color:var(--bb-teal);font:400 13px/1.25 "Ubuntu",Arial,sans-serif;padding:8px 12px;border-radius:18px;cursor:pointer;text-decoration:none;transition:background .15s,color .15s;text-transform:none;letter-spacing:0}
.be-bot__chip:hover,.be-bot__chip:focus{background:var(--bb-teal);color:#fff}
.be-bot__chip.is-primary{background:var(--bb-lime);border-color:var(--bb-lime);color:#fff;font-weight:500}
.be-bot__chip.is-primary:hover{background:var(--bb-lime-d);border-color:var(--bb-lime-d)}
.be-bot__cards{display:grid;gap:8px;margin-top:4px}
.be-bot__card{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--bb-text);background:var(--bb-bg);padding:6px}
.be-bot__card:hover{background:#eee;color:var(--bb-text)}
.be-bot__card img{width:56px;height:56px;object-fit:cover;background:#fff;flex:none}
.be-bot__card b{display:block;font-weight:500;font-size:12.5px;line-height:1.3}
.be-bot__card em{display:block;font-style:normal;font-size:13px;color:var(--bb-teal);margin-top:2px}
@media (max-width:600px){
  .be-bot{right:12px;bottom:12px}
  .be-bot__launch{width:54px;height:54px}
  .has-be-bot .be-float{bottom:78px!important;right:12px!important}
  .be-bot[data-open="1"]~.be-float,.has-be-bot.be-bot-open .be-float{display:none}
  .be-bot[data-open="1"]{left:0;right:0;bottom:0}
  .be-bot[data-open="1"] .be-bot__launch{display:none}
  .be-bot__panel{position:fixed;inset:0;width:auto;max-width:none;height:auto;bottom:0}
  .be-bot__hint{display:none}
}
.be-bot__chip .be-ico{width:15px;height:15px;flex:none}
.be-bot__msg img.emoji{width:1em!important;height:1em!important}
