/* bln-host-trial-bot 2026.11.18.5 · trial chat on /hosts/ + /host-join-one/. Panel styles = exact copy of bln-host-bot host-assist.css (D7/18.14, «העוזר שלכם» in the host area). Trial-only additions at the end. */
#bln-ha-btn{position:fixed;z-index:2147483000;left:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:8px;min-height:52px;padding:0 18px 0 16px;border:0;border-radius:999px;background:#143A52;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1;box-shadow:0 8px 24px rgba(20,58,82,.32);cursor:pointer;direction:rtl}
#bln-ha-btn .ha-i{font-size:20px;line-height:1}
#bln-ha-btn:hover{background:#0f2e42}
#bln-ha-btn[aria-expanded="true"]{display:none}
#bln-ha{position:fixed;z-index:2147483001;inset:auto 0 0 0;height:min(76vh,620px);display:flex;flex-direction:column;background:#fff;color:#1B2B38;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px rgba(20,58,82,.28);font-family:inherit;direction:rtl;text-align:right}
#bln-ha[hidden]{display:none}
@media (min-width:700px){#bln-ha-btn{left:24px;bottom:96px}#bln-ha{inset:auto auto 96px 24px;width:390px;height:min(580px,calc(100vh - 120px));border-radius:20px}}
#bln-ha .ha-top{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#143A52;color:#fff;border-radius:20px 20px 0 0}
#bln-ha .ha-av{flex:none;width:40px;height:40px;border-radius:50%;background:#fff;color:#143A52;display:flex;align-items:center;justify-content:center;font-size:22px}
#bln-ha .ha-tt{flex:1;min-width:0}
#bln-ha .ha-tt b{display:block;font-size:17px}
#bln-ha .ha-tt small{display:block;font-size:13px;opacity:.85}
#bln-ha .ha-x{background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px;min-width:44px;min-height:44px}
#bln-ha .ha-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#F4F8FB;overscroll-behavior:contain}
#bln-ha .ha-m{max-width:86%;padding:10px 12px;border-radius:14px;font-size:16px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
#bln-ha .ha-m.bot{align-self:flex-start;background:#fff;border:1px solid #d6e3e7}
#bln-ha .ha-m.me{align-self:flex-end;background:#143A52;color:#fff}
#bln-ha .ha-m.wait{color:#5b6b78;font-style:italic}
#bln-ha .ha-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 10px;background:#F4F8FB}
#bln-ha .ha-chips[hidden]{display:none}
#bln-ha .ha-chips button{font:inherit;font-size:15px;padding:8px 12px;border-radius:999px;border:1px solid #9fc0cf;background:#fff;color:#143A52;cursor:pointer;min-height:40px}
#bln-ha .ha-foot a{color:#0F7A40;font-weight:700}
#bln-ha :focus-visible,#bln-ha-btn:focus-visible{outline:3px solid #c49230;outline-offset:2px}
#bln-ha .ha-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* 18.11 composer – Grok-style pill, fixed at the bottom of the panel (bottom of the screen on phones). */
#bln-ha .ha-foot{margin:0;padding:6px 12px;font-size:13px;text-align:center;background:#F4F8FB}
#bln-ha .ha-comp{flex:none;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #eef1f3}
#bln-ha .ha-row{display:flex;align-items:flex-end;gap:6px;padding:6px;background:#fff;border:1px solid #e3e6e8;border-radius:28px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
#bln-ha .ha-row:focus-within{border-color:#c9cfd3}
#bln-ha .ha-row textarea{flex:1;min-width:0;resize:none;border:0;outline:0;background:transparent;font:inherit;font-size:16px;line-height:1.4;padding:9px 6px;max-height:120px;color:#1B2B38;direction:rtl;text-align:right}
#bln-ha .ha-row textarea::placeholder{color:#8a949b}
#bln-ha .ha-ib,#bln-ha .ha-go{flex:none;width:40px;height:40px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#bln-ha .ha-ib{background:#f0f2f3;color:#3b4348}
#bln-ha .ha-ib:hover{background:#e4e7e9}
#bln-ha .ha-go{background:#111;color:#fff}
#bln-ha .ha-go[disabled]{opacity:.45;cursor:default}
#bln-ha .ha-ib svg,#bln-ha .ha-go svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* RTL: «+» sits on the LEFT (like Grok), mic + black button on the RIGHT – fixed visual order regardless of dir. */
#bln-ha .ha-row{direction:ltr}
#bln-ha .ha-plus{order:0}#bln-ha .ha-row textarea{order:1}#bln-ha .ha-mic{order:2}#bln-ha .ha-go{order:3}
#bln-ha .ha-rec .ha-mic{background:#fde8e8;color:#c62828;animation:blnHaPulse 1.2s ease-in-out infinite}
@keyframes blnHaPulse{50%{box-shadow:0 0 0 6px rgba(198,40,40,.15)}}
@media (prefers-reduced-motion:reduce){#bln-ha .ha-rec .ha-mic{animation:none}}
#bln-ha .ha-att{display:flex;align-items:center;gap:6px;padding:0 6px 6px;direction:rtl}
#bln-ha .ha-att[hidden]{display:none}
#bln-ha .ha-att canvas{width:56px;height:56px;border-radius:12px;border:1px solid #e3e6e8}
#bln-ha .ha-att button{width:28px;height:28px;border-radius:50%;border:0;background:#f0f2f3;font-size:18px;line-height:1;cursor:pointer}
@media (max-width:699px){#bln-ha{height:min(88vh,720px);height:min(88dvh,720px)}}
/* 18.3 · Amit 01:19: Grok structure, בא לי נופש styling – site font Heebo (served by botkey-pilot @font-face), border #1E7A8C, field #EEF7F9, round #1E7A8C mic/send with white icons, robot avatar. */
#bln-ha,#bln-ha-btn{font-family:Heebo,Arial,sans-serif}
#bln-ha button,#bln-ha textarea{font-family:inherit}
#bln-ha .ha-row{background:#EEF7F9;border:1.5px solid #1E7A8C;box-shadow:0 1px 4px rgba(30,122,140,.12)}
#bln-ha .ha-row:focus-within{border-color:#155E6C;box-shadow:0 0 0 3px rgba(30,122,140,.18)}
#bln-ha .ha-row textarea::placeholder{color:#5A6B74;opacity:1}
#bln-ha .ha-mic,#bln-ha .ha-go{background:#1E7A8C;color:#fff}
#bln-ha .ha-mic:hover,#bln-ha .ha-go:hover{background:#155E6C}
#bln-ha .ha-go[disabled]{opacity:.5}
#bln-ha .ha-plus{background:#fff;color:#1E7A8C;box-shadow:inset 0 0 0 1.5px #1E7A8C}
#bln-ha .ha-rec .ha-mic{background:#c62828;color:#fff}
#bln-ha .ha-av,#bln-ha .ha-mav{flex:none;border-radius:50%;overflow:hidden;background:#EEF7F9;display:flex;align-items:center;justify-content:center;line-height:1}
#bln-ha .ha-av{width:40px;height:40px;box-shadow:0 0 0 2px #fff}
#bln-ha .ha-mav{width:30px;height:30px;font-size:15px;border:1px solid #cfe3e8}
#bln-ha .ha-av img,#bln-ha .ha-mav img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
#bln-ha .ha-av.ha-nf,#bln-ha .ha-mav.ha-nf{background:#1E7A8C;color:#fff}
#bln-ha .ha-br{display:flex;align-items:flex-end;gap:8px;align-self:flex-start;max-width:94%}
#bln-ha .ha-br .ha-m{max-width:none;min-width:0}
#bln-ha .ha-row textarea:focus,#bln-ha .ha-row textarea:focus-visible{outline:0;box-shadow:none}
/* 18.14 quick replies (RTL, touch ≥44px, wraps – no horizontal scroll at 390) */
#bln-ha .ha-qr{display:flex;flex-wrap:wrap;gap:8px;direction:rtl;justify-content:flex-start;padding:2px 0 4px 38px;max-width:100%}
#bln-ha .ha-qb{font:inherit;font-size:15px;min-height:44px;min-width:44px;padding:8px 14px;border-radius:999px;border:1.5px solid #1E7A8C;background:#fff;color:#155E6C;cursor:pointer}
#bln-ha .ha-qb:hover,#bln-ha .ha-qb:focus-visible{background:#EEF7F9;outline:2px solid #1E7A8C;outline-offset:1px}
/* ===== trial-only additions (bln-host-trial-bot) ===== */
#bln-ha .ht-note{margin:0;padding:8px 14px;font-size:13.5px;line-height:1.45;background:#FFF7E8;color:#6B4A0E;border-bottom:1px solid #F0DDB8;text-align:center}
#bln-ha .ht-note b{font-weight:700}
#bln-ha .ht-join{align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0 2px;padding:12px;border-radius:14px;background:#fff;border:1px dashed #9fc0cf;text-align:center}
#bln-ha .ht-join p{margin:0;font-size:14px;color:#3A4250}
#bln-ha .ht-join a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 28px;border-radius:14px;background:#143A52;color:#fff;font-weight:700;font-size:17px;text-decoration:none}
#bln-ha .ht-join a:hover{background:#1b4a66}
.bln-ht-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 22px;border-radius:14px;border:2px solid #1E7A8C;background:#fff;color:#155E6C;font-family:Heebo,Arial,sans-serif;font-size:17px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 6px 18px rgba(21,94,108,.10)}
.bln-ht-open:hover{background:#EEF7F9}
.bln-ht-open:focus-visible{outline:3px solid #c49230;outline-offset:2px}
.bln-ht-open .ht-i{font-size:20px;line-height:1}
.bln-ht-wrap{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;text-align:center}
.bln-ht-wrap small{flex-basis:100%;font-size:13px;color:#5E6B74}
.closing-actions .bln-ht-open{margin-top:10px}
/* ===== v3 (18.11.2026): floating doll + light «tech» touches ===== */
.bln-ht-doll{position:fixed;z-index:2147482990;left:14px;bottom:16px;width:64px;height:64px;padding:0;border-radius:50%;border:2px solid #1E7A8C;background:radial-gradient(circle at 50% 35%,#fff 0,#EEF7F9 70%);box-shadow:0 8px 22px rgba(20,58,82,.28),0 0 0 4px rgba(30,122,140,.12);cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:26px;min-height:0;gap:0;color:#143A52}
.bln-ht-doll img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;transform:scale(1.75);transform-origin:50% 26%}
.bln-ht-doll:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(20,58,82,.34),0 0 0 5px rgba(30,122,140,.16)}
.bln-ht-doll:focus-visible{outline:3px solid #c49230;outline-offset:3px}
.bln-ht-doll::after{content:"";position:absolute;top:5px;right:7px;width:11px;height:11px;border-radius:50%;background:#2BB673;box-shadow:0 0 0 2px #fff}
.bln-ht-doll[aria-expanded="true"],html.bln-ht-on .bln-ht-doll{display:none}
@media (min-width:700px){.bln-ht-doll{left:24px;width:68px;height:68px}}
@media (prefers-reduced-motion:no-preference){.bln-ht-doll{animation:blnHtIn .5s ease-out both}@keyframes blnHtIn{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:none}}}
#bln-ha.bln-ht .ha-top{background:linear-gradient(120deg,#143A52 0%,#17506A 60%,#1E7A8C 100%)}
#bln-ha.bln-ht .ha-tt small::before{content:"";display:inline-block;width:8px;height:8px;margin-left:6px;border-radius:50%;background:#2BB673;vertical-align:middle}
#bln-ha.bln-ht .ha-chips{padding-top:2px}
#bln-ha.bln-ht .ha-chips button{border-color:#1E7A8C;color:#155E6C;font-weight:600;box-shadow:0 1px 3px rgba(30,122,140,.10)}
#bln-ha.bln-ht .ha-chips button:hover{background:#EEF7F9}
#bln-ha .ht-dots{display:inline-flex;gap:4px;align-items:center;height:18px}
#bln-ha .ht-dots i{width:7px;height:7px;border-radius:50%;background:#1E7A8C;opacity:.35;animation:blnHtDot 1s infinite ease-in-out}
#bln-ha .ht-dots i:nth-child(2){animation-delay:.15s}#bln-ha .ht-dots i:nth-child(3){animation-delay:.3s}
@keyframes blnHtDot{50%{opacity:1;transform:translateY(-3px)}}
#bln-ha.bln-ht .ha-m.wait{font-style:normal}
#bln-ha.bln-ht{z-index:2147483647}
body.hb-open .bln-ht-doll{display:none}
