.bm-site-bot{position:fixed;inset:auto auto 80px 18px;margin:0;width:min(420px,calc(100vw - 36px));max-height:calc(100dvh - 110px);box-sizing:border-box;padding:0;border:1px solid #d5dfeb;border-top:3px solid #C69E49;border-radius:16px;background:#fff;color:#08305C;box-shadow:0 14px 50px #08305c30;font:inherit;overflow:auto}.bm-site-bot::backdrop{background:#071f3d55}.bm-site-bot>header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #e0e7ee}.bm-site-bot small{display:block;color:#53657b;font-size:.85rem;margin-top:3px}.bm-bot-close{background:white;border:1px solid #d5dfeb;border-radius:50%;width:40px;height:40px;font:inherit;font-size:1.5rem;color:#08305C;cursor:pointer}.bm-bot-disclosure{font-size:.8rem;line-height:1.6;padding:12px 18px;margin:0;color:#53657b;background:#f6f8fa}.bm-bot-history{height:260px;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:12px}.bm-bot-message{max-width:92%;padding:12px 14px;border-radius:10px;font-size:.95rem;line-height:1.7;overflow-wrap:anywhere;flex:none}.bm-bot-message p{margin:0}.bm-bot-message.assistant{background:#f0f4f8;align-self:flex-start}.bm-bot-message.user{background:#08305C;color:#fff;align-self:flex-end}.bm-bot-message a{display:block;color:#08305C;font-weight:700;text-underline-offset:3px;margin-top:8px}.bm-bot-suggestions{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 12px}.bm-bot-suggestions button{font:inherit;font-size:.8rem;border:1px solid #d5dfeb;border-radius:20px;background:#fff;color:#08305C;padding:6px 10px;cursor:pointer}.bm-bot-form{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #e0e7ee}.bm-bot-form input{flex:1;min-width:0;border:1px solid #b4c3d2;border-radius:8px;font:inherit;padding:10px}.bm-bot-form button{background:#08305C;color:#fff;font:inherit;border:0;border-radius:8px;padding:10px 14px;cursor:pointer}.bm-site-bot>footer{margin:0;padding:8px 14px 14px;background:white;display:flex;justify-content:space-between;font-size:.8rem;gap:12px}.bm-site-bot>footer a{color:#08305C}.bm-bot-reset{font:inherit;color:#53657b;background:none;border:0;text-decoration:underline;cursor:pointer}.bm-bot-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:480px){.bm-site-bot{left:10px;bottom:74px;width:calc(100vw - 20px);max-height:calc(100dvh - 90px)}.bm-bot-history{height:clamp(120px,32dvh,260px)}}@media print{.bm-site-bot{display:none!important}}

.bm-site-bot [hidden]{display:none!important}.bm-site-bot button{min-height:44px}.bm-site-bot button:focus-visible,.bm-site-bot a:focus-visible{outline:3px solid #C69E49;outline-offset:2px}.bm-site-bot>footer{flex-wrap:wrap}.bm-site-bot>footer button{font:inherit;background:white;color:#08305c;border:1px solid #d5dfeb;border-radius:8px;padding:6px 10px;cursor:pointer}.bm-bot-callback{padding:14px 18px}.bm-bot-callback h3{margin:0 0 12px}.bm-bot-callback label{display:grid;gap:4px;margin-bottom:10px;font-size:.9rem}.bm-bot-callback input{width:100%;box-sizing:border-box;min-height:44px;padding:8px;border:1px solid #b4c3d2;border-radius:8px;font:inherit}.bm-bot-callback input[type=tel],.bm-bot-callback input[type=email]{direction:ltr;text-align:right}.bm-bot-callback p{font-size:.85rem;line-height:1.65}.bm-bot-callback button{font:inherit;padding:8px 12px;border:1px solid #08305c;border-radius:8px;background:white;color:#08305c;cursor:pointer;margin:4px}.bm-bot-callback button[type=submit]{background:#08305c;color:white}.bm-bot-callback button:disabled{opacity:.65;cursor:default}.bm-bot-callback summary{min-height:44px;align-content:center;cursor:pointer}.bm-callback-status{font-weight:700}

.bm-ezri-avatar{width:48px;height:48px;object-fit:cover;object-position:center 20%;border-radius:50%;background:#f0f4f8;flex-shrink:0}.bm-site-bot>header{gap:10px}.bm-site-bot>header>div{flex:1;min-width:0}.bm-site-bot>header strong{font-size:.95rem}

/* Keep the dialog inside the viewport; only conversation/form content scrolls. */
.bm-site-bot{inset:auto auto 76px 16px;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 92px);overflow:hidden}.bm-site-bot[open]{display:flex;flex-direction:column}.bm-site-bot>header{flex:none;padding:12px 14px}.bm-site-bot>header small{font-size:.78rem}.bm-bot-disclosure{flex:none;padding:8px 14px;font-size:.75rem;line-height:1.55}.bm-bot-history{height:auto;min-height:90px;max-height:220px;flex:1 1 180px;overflow:auto;padding:12px;gap:10px}.bm-bot-message{padding:10px 12px;font-size:.9rem}.bm-bot-suggestions{flex:none;padding:8px 12px;gap:6px}.bm-bot-suggestions button{font-size:.8rem;min-height:38px;padding:6px 10px}.bm-bot-form{flex:none;padding:10px 12px}.bm-site-bot>footer{flex:none;padding:6px 12px 10px;gap:6px;font-size:.75rem}.bm-site-bot>footer button{min-height:36px;padding:5px 8px}.bm-bot-callback{min-height:0;overflow:auto;flex:1 1 auto}.bm-bot-close{flex-shrink:0}.bm-ezri-avatar{width:42px;height:42px}.bm-bot-form input{font-size:16px}@media(max-height:650px){.bm-site-bot{inset:10px auto auto 10px;max-height:calc(100dvh - 20px)}.bm-bot-history{min-height:45px;flex-basis:120px}.bm-bot-disclosure{font-size:.7rem;padding-block:5px}.bm-site-bot>header{padding-block:8px}.bm-bot-suggestions{padding-block:5px}.bm-site-bot>footer{padding-bottom:6px}}@media(max-width:480px){.bm-site-bot{left:10px;bottom:72px;width:calc(100vw - 20px);max-height:calc(100dvh - 84px)}}@media(max-width:480px) and (max-height:650px){.bm-site-bot{top:8px;bottom:auto;max-height:calc(100dvh - 16px)}}

.bm-ezri-invitation{position:fixed;z-index:55;display:flex;align-items:center;gap:6px;max-width:min(300px,calc(100vw - 24px));padding:8px 10px;background:#fff;border:1px solid #d5dfeb;border-inline-start:3px solid #C69E49;border-radius:12px;box-shadow:0 5px 20px #08305c18;color:#08305c}.bm-ezri-invitation[hidden]{display:none}.bm-ezri-invitation button{font:inherit;border:0;background:transparent;color:inherit;cursor:pointer;min-height:36px}.bm-ezri-invite-open{text-align:right;font-size:.9rem!important}.bm-ezri-invite-close{min-width:36px;font-size:1.3rem!important}.bm-ezri-invitation button:focus-visible{outline:2px solid #08305c;outline-offset:2px}@media(max-width:599px),(max-height:549px){.bm-ezri-invitation{display:none}}

.bm-bot-thinking{color:#53657b;font-size:.85rem;font-style:normal}

.bm-site-bot[open]{min-height:0;box-sizing:border-box;transform:none}.bm-bot-history{min-height:0;flex:1 1 120px;max-height:none;overscroll-behavior:contain}.bm-bot-disclosure{max-height:72px;overflow:auto}.bm-site-bot>header{padding:10px 12px}.bm-site-bot>footer{justify-content:flex-start;gap:8px}.bm-bot-suggestions{gap:5px}.bm-bot-form button{min-width:70px}@media(max-height:450px){.bm-bot-disclosure{max-height:42px}.bm-ezri-avatar{width:32px;height:32px}.bm-site-bot>header small{display:none}.bm-site-bot>footer button{min-height:30px}.bm-bot-suggestions button{min-height:30px}.bm-bot-form{padding-block:6px}}

.bm-chat-size{display:flex;gap:3px;flex-shrink:0}.bm-chat-size button{min-height:32px;min-width:30px;padding:2px;border:1px solid #d5dfeb;border-radius:6px;background:white;color:#08305c;font:inherit;cursor:pointer}.bm-chat-size button[aria-pressed=true]{background:#eaf0f6}.bm-chat-size button:focus-visible{outline:2px solid #08305c}@media(max-width:380px){.bm-site-bot>header strong{font-size:.8rem}.bm-site-bot>header small{font-size:.65rem}.bm-ezri-avatar{width:30px;height:30px}.bm-chat-size{gap:2px}.bm-chat-size button{min-width:25px}}

.bm-ezri-invite-open{display:flex;align-items:center;gap:10px;line-height:1.5}.bm-ezri-invite-open img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}

/* Conversational assistant */
.bm-bot-message p{white-space:pre-wrap}.bm-bot-suggestions button:disabled,.bm-bot-form button:disabled{opacity:.6;cursor:wait}.bm-chat-consent{display:flex!important;align-items:flex-start;gap:8px!important}.bm-chat-consent input{width:18px!important;min-height:18px!important;margin-top:3px}.bm-assistance-launcher{font-size:.95rem!important;gap:8px!important;padding:7px 12px!important}.bm-launcher-avatar{width:36px!important;height:36px!important}.bm-bot-thinking{animation:bm-thinking 1.4s ease-in-out infinite}@keyframes bm-thinking{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){.bm-bot-thinking{animation:none}}

/* Compact identity header and usable conversation space. */
.bm-site-bot>header{display:grid;grid-template-columns:42px minmax(0,1fr) 36px;column-gap:10px;row-gap:6px;align-items:center;padding:12px}.bm-site-bot>header>.bm-ezri-avatar{grid-column:1;grid-row:1 / 3;width:42px;height:42px}.bm-site-bot>header>div:not(.bm-chat-size){grid-column:2;grid-row:1;min-width:0}.bm-site-bot>header strong{display:block;font-size:1rem;line-height:1.5;white-space:nowrap}.bm-site-bot>header small{font-size:.8rem;line-height:1.5;margin-top:2px}.bm-site-bot>header>.bm-chat-size{grid-column:2;grid-row:2;display:flex;justify-content:flex-end;gap:5px}.bm-site-bot>header>.bm-bot-close{grid-column:3;grid-row:1 / 3;width:36px;height:36px;min-height:36px}.bm-bot-history{flex-basis:240px}.bm-chat-size button{width:30px;min-width:30px;min-height:28px;height:28px}.bm-bot-disclosure{max-height:64px}@media(max-width:380px){.bm-site-bot>header{grid-template-columns:32px minmax(0,1fr) 32px;gap:6px}.bm-site-bot>header>.bm-ezri-avatar{width:32px;height:32px}.bm-site-bot>header strong{font-size:.9rem}.bm-site-bot>header>.bm-bot-close{width:32px;height:32px;min-height:32px}}@media(max-height:450px){.bm-chat-size{display:none!important}.bm-site-bot>header>.bm-ezri-avatar,.bm-site-bot>header>.bm-bot-close{grid-row:1}.bm-bot-disclosure{max-height:40px}.bm-bot-history{flex-basis:140px}}

/* Legible Hebrew in Ezri */
.bm-site-bot{font-family:BMText,Arial,sans-serif;font-size:1rem;line-height:1.65}.bm-site-bot>header strong{font-family:BMHeading,Arial,sans-serif;font-weight:600}.bm-bot-message{font-size:1.05rem;line-height:1.75}.bm-bot-form input{font-size:1rem}.bm-bot-suggestions button{font-size:.95rem;line-height:1.5}.bm-site-bot small,.bm-bot-disclosure,.bm-site-bot>footer{font-size:.9rem}

/* One scroll area, with a complete disclosure and a fixed composer. */
.bm-site-bot .bm-bot-disclosure{max-height:none;overflow:visible;font-size:.8rem;line-height:1.5;flex-shrink:0}
.bm-site-bot>header strong{white-space:normal;overflow-wrap:anywhere}
.bm-site-bot .bm-bot-history{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
.bm-site-bot .bm-bot-form,.bm-site-bot>header,.bm-site-bot>footer{flex-shrink:0}
.bm-site-bot .bm-bot-message{box-sizing:border-box}
@media(max-height:580px){.bm-site-bot .bm-bot-suggestions{display:none}.bm-site-bot .bm-bot-disclosure{font-size:.72rem;padding:5px 12px}.bm-site-bot>header{padding:7px 12px}.bm-site-bot>footer{padding:4px 12px}.bm-site-bot>footer button{font-size:.75rem;min-height:30px}.bm-site-bot .bm-bot-form{padding:6px 12px}}

/* Align the portrait, title and controls without squeezing the conversation. */
.bm-site-bot>header{grid-template-columns:44px minmax(0,1fr) 44px;gap:4px 10px;padding:9px 12px}
.bm-site-bot>header>.bm-ezri-avatar{width:44px;height:44px;object-position:center;align-self:center;border:1px solid #e2d7c1}
.bm-site-bot>header>.bm-bot-close{width:44px;height:44px;min-height:44px}
.bm-site-bot>header>.bm-chat-size{justify-content:flex-start}
.bm-site-bot .bm-bot-history,.bm-site-bot .bm-bot-form{padding-inline:12px}
.bm-site-bot .bm-bot-form input,.bm-site-bot .bm-bot-form button{min-height:44px;box-sizing:border-box}
.bm-site-bot .bm-bot-form input{font-size:16px}
@media(max-width:380px){.bm-site-bot>header{grid-template-columns:36px minmax(0,1fr) 44px;column-gap:8px}.bm-site-bot>header>.bm-ezri-avatar{width:36px;height:36px}}

/* Keep the identity on one line and the size controls beneath it. */
.bm-site-bot>header>.bm-ezri-avatar,.bm-site-bot>header>.bm-bot-close{grid-row:1}
.bm-site-bot>header>.bm-chat-size{grid-column:1 / -1;padding-inline-start:54px}
@media(max-width:380px){.bm-site-bot>header>.bm-chat-size{padding-inline-start:44px}}

.bm-site-bot>header{grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center}
.bm-site-bot>header>.bm-bot-close{grid-column:4}
.bm-chat-expand{grid-column:3;grid-row:1;padding:4px 9px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#08305c;font:inherit;cursor:pointer}
@media(max-width:650px){
 .bm-site-bot>header{grid-template-columns:40px minmax(0,1fr) 44px}
 .bm-site-bot>header>.bm-bot-close{grid-column:3}
 .bm-site-bot>header>.bm-ezri-avatar{width:40px;height:40px}
 .bm-chat-expand{display:none}
}

.bm-site-bot>header{grid-template-columns:44px minmax(0,1fr) auto auto 44px}
.bm-site-bot>header>.bm-bot-close{grid-column:5}
.bm-chat-expand{grid-column:4}
.bm-chat-options{grid-column:3;grid-row:1;position:relative;z-index:2}
.bm-chat-options summary{display:grid;place-items:center;min-width:36px;min-height:44px;cursor:pointer;list-style:none;border:1px solid #d5dfeb;border-radius:8px}
.bm-chat-options summary::-webkit-details-marker{display:none}
.bm-chat-options .bm-bot-reset{position:absolute;inset-inline-end:0;top:calc(100% + 4px);white-space:nowrap;padding:6px 12px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#08305c}
.bm-chat-options summary:focus-visible,.bm-site-bot .bm-bot-form input:focus-visible{outline:2px solid #08305c;outline-offset:1px}
@media(max-width:650px){
 .bm-site-bot>header{grid-template-columns:40px minmax(0,1fr) auto 44px}
 .bm-site-bot>header>.bm-bot-close{grid-column:4}
}

/* Compact conversation and a single accessible composer focus ring. */
.bm-site-bot .bm-bot-form input{border:1px solid #b4c3d2;box-shadow:none;outline:none}
.bm-site-bot .bm-bot-form input:focus-visible{border-color:#08305c;outline:1px solid #08305c;outline-offset:1px;box-shadow:none}
.bm-site-bot .bm-bot-history{gap:8px;padding-block:10px}
.bm-site-bot .bm-bot-message{padding:8px 12px;line-height:1.6;max-width:90%}
.bm-site-bot .bm-bot-message.user{align-self:flex-start}
.bm-site-bot .bm-bot-message.assistant{align-self:flex-end}
.bm-bot-intro{margin:0;padding:5px 12px;color:#53657b;font-size:.78rem;line-height:1.5;flex:none}
.bm-assistance-launcher[hidden]{display:none!important}

/* Override the global accessibility halo for this composer only. */
#bm-site-bot .bm-bot-form input:focus-visible{outline:1px solid #08305c!important;outline-offset:0!important;box-shadow:none!important;border-color:#08305c}
@media(forced-colors:active){#bm-site-bot .bm-bot-form input:focus-visible{outline:2px solid Highlight!important}}

/* Stable identity and compact conversation at every window size. */
#bm-site-bot>header{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px 10px;padding:10px 12px}
#bm-site-bot>header>.bm-ezri-avatar{grid-column:1;grid-row:1;width:44px;height:44px}
#bm-site-bot>header>div:not(.bm-chat-size){grid-column:2;grid-row:1}
#bm-site-bot>header strong{font-size:1.05rem;line-height:1.35}
#bm-site-bot>header small{font-size:.8rem;line-height:1.4}
#bm-site-bot>header>.bm-bot-close{grid-column:3;grid-row:1}
#bm-site-bot>header>.bm-chat-options{grid-column:3;grid-row:2;justify-self:end}
#bm-site-bot>header>.bm-chat-expand{display:block;grid-column:1 / 3;grid-row:2;justify-self:start;min-height:36px;font-size:.8rem;padding:4px 10px}
#bm-site-bot .bm-chat-options summary{min-height:36px;min-width:36px}
#bm-site-bot .bm-bot-disclosure{padding:6px 12px;font-size:.75rem;line-height:1.5;background:#f6f8fa;color:#53657b}
#bm-site-bot .bm-bot-disclosure a{color:#53657b;text-underline-offset:3px}
#bm-site-bot .bm-bot-history{justify-content:flex-start;gap:6px;padding:10px 12px;flex:1 1 auto}
#bm-site-bot .bm-bot-message{margin:0;padding:7px 11px;font-size:1rem;line-height:1.55;max-width:90%;border-radius:12px}
#bm-site-bot .bm-bot-form{align-items:center;gap:8px;padding:9px 12px;background:#fff}
#bm-site-bot .bm-bot-form input{height:44px;padding:9px 11px;border:1px solid #bdcad8;border-radius:10px}
#bm-site-bot .bm-bot-form button{height:44px;min-width:60px;padding:8px 12px;font-size:.9rem;border-radius:10px}
@media(max-width:380px){#bm-site-bot>header small{font-size:.75rem}#bm-site-bot .bm-bot-form{padding-inline:9px}}
@media(max-height:450px){#bm-site-bot>header{padding-block:6px}#bm-site-bot>header small{display:block}#bm-site-bot>header>.bm-chat-options{grid-row:1;grid-column:3}#bm-site-bot>header>.bm-bot-close{grid-column:4}#bm-site-bot>header{grid-template-columns:32px minmax(0,1fr) 36px 36px}#bm-site-bot>header>.bm-ezri-avatar{width:32px;height:32px}#bm-site-bot>header>.bm-chat-expand{display:none}}

/* Compact controls leave the conversation the main area. */
#bm-site-bot>header{grid-template-columns:36px minmax(0,1fr) 34px auto 34px;gap:7px;padding:10px 12px}
#bm-site-bot>header>.bm-ezri-avatar{grid-column:1;grid-row:1;width:36px;height:36px}
#bm-site-bot>header>div:not(.bm-chat-size){grid-column:2;grid-row:1}
#bm-site-bot>header small{font-size:.72rem;line-height:1.35;display:block}
#bm-site-bot>header>.bm-chat-options{grid-column:3;grid-row:1}
#bm-site-bot>header>.bm-chat-expand{grid-column:4;grid-row:1;display:block;padding:4px 6px;font-size:.75rem;min-height:34px}
#bm-site-bot>header>.bm-bot-close{grid-column:5;grid-row:1;width:34px;height:34px;min-height:34px}
#bm-site-bot .bm-chat-options summary{min-width:34px;min-height:34px}
#bm-site-bot .bm-bot-form{gap:8px}
#bm-site-bot .bm-bot-form button{min-width:56px;padding-inline:10px}
#bm-site-bot .bm-bot-form input:focus-visible{outline:none!important;border-color:#6885a6;box-shadow:0 0 0 1px #6885a622!important}
#bm-site-bot .bm-bot-latest{position:absolute;bottom:66px;left:50%;transform:translateX(-50%);z-index:3;min-height:36px;padding:5px 12px;border:1px solid #cad6e2;border-radius:20px;background:#fff;color:#08305c;font:inherit;font-size:.8rem;white-space:nowrap;box-shadow:0 2px 8px #08305c20;cursor:pointer}
@media(max-width:360px){#bm-site-bot>header{grid-template-columns:32px minmax(0,1fr) 32px 32px}#bm-site-bot>header>.bm-chat-expand{display:none}#bm-site-bot>header>.bm-bot-close{grid-column:4}#bm-site-bot>header>.bm-ezri-avatar{width:32px;height:32px}}
@media(forced-colors:active){#bm-site-bot .bm-bot-form input:focus-visible{outline:2px solid Highlight!important}}

/* Direct clear action and matching header controls. */
#bm-site-bot>header{padding-inline:14px}
#bm-site-bot>header>.bm-bot-reset,#bm-site-bot>header>.bm-bot-close{display:grid;place-items:center;box-sizing:border-box;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#08305c;cursor:pointer}
#bm-site-bot .bm-chat-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;background:#eef4fa;color:#08305c;font-size:.85rem}
#bm-site-bot .bm-chat-undo[hidden]{display:none}
#bm-site-bot .bm-chat-undo button{font:inherit;color:#08305c;background:#fff;border:1px solid #cad6e2;border-radius:6px;padding:5px 10px;cursor:pointer}
#bm-site-bot>header>.bm-bot-reset:focus-visible,#bm-site-bot .bm-chat-undo button:focus-visible{outline:2px solid #08305c;outline-offset:2px}

.bm-exit-invite{position:fixed;bottom:90px;left:16px;z-index:900;width:min(330px,calc(100vw - 32px));box-sizing:border-box;padding:22px 18px 16px;background:#fff;color:#08305c;border:1px solid #ccd9e7;border-top:3px solid #c69e49;border-radius:14px;box-shadow:0 8px 30px #08305c25;font-family:inherit;text-align:right}
.bm-exit-invite[hidden]{display:none}
.bm-exit-invite strong{display:block;padding-left:20px;font-size:1rem;line-height:1.5}
.bm-exit-invite p{font-size:.9rem;margin:8px 0 14px}
.bm-exit-invite button{font:inherit;cursor:pointer}
.bm-exit-close{position:absolute;left:8px;top:6px;width:30px;height:30px;border:0;background:transparent;color:#08305c;font-size:22px!important}
.bm-exit-action{padding:9px 14px;background:#08305c;color:#fff;border:0;border-radius:8px}

.bm-chat-menu{position:relative;flex:none}
.bm-chat-menu summary{display:grid;place-items:center;min-inline-size:44px;min-block-size:44px;cursor:pointer;list-style:none;font-size:1.25rem}
.bm-chat-menu summary::-webkit-details-marker{display:none}
.bm-chat-menu .bm-bot-reset{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;z-index:2;min-block-size:44px;padding:8px 14px;white-space:nowrap;background:#fff;color:#08305c;border:1px solid #b9c9db;border-radius:8px}
