/* Bati engage: floating assistant launcher/panel and promo card. Light, warm, RTL. Fixed positioning only (no layout shift). */
.bati-eg {
	--eg-navy: #182B3A; --eg-orange: #B85A0E; --eg-orange-dark: #954809; --eg-tint: #FFF1E2;
	--eg-bar: 0px; --eg-base: calc(var(--eg-bar, 0px) + max(16px, env(safe-area-inset-bottom)));
	--eg-ink: #22282F; --eg-muted: #5B6672; --eg-border: #ECE3D7; --eg-bg: #FFFFFF; --eg-alt: #FBF7F1;
	font-family: Assistant, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	color: var(--eg-ink); line-height: 1.5; font-size: 16px;
}
.bati-eg *, .bati-eg *::before, .bati-eg *::after { box-sizing: border-box; }
/* Physical LEFT corner: the accessibility widget sits on the right edge. */
.bati-eg__launcher {
	position: fixed; left: 16px; bottom: var(--eg-base); z-index: 99980;
	min-width: 56px; height: 56px; padding: 0 16px; border: 0; border-radius: 28px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--eg-orange); color: #fff; font: inherit; font-weight: 700;
	box-shadow: 0 8px 22px rgba(74, 48, 20, .22);
}
.bati-eg__launcher:hover { background: var(--eg-orange-dark); }
.bati-eg__launcher:focus-visible, .bati-eg button:focus-visible, .bati-eg a:focus-visible, .bati-eg input:focus-visible, .bati-eg summary:focus-visible {
	outline: 3px solid var(--eg-navy); outline-offset: 2px; box-shadow: 0 0 0 5px #fff;
}
.bati-eg__launcher-t { display: none; }
@media (min-width: 768px) { .bati-eg__launcher-t { display: inline; } }
@media (max-width: 767px) { .bati-eg__launcher { width: 56px; padding: 0; } }

.bati-eg__panel {
	position: fixed; left: 16px; bottom: calc(var(--eg-base) + 68px); z-index: 99990;
	width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); max-height: min(560px, calc(100dvh - 110px));
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--eg-bg); border: 1px solid var(--eg-border); border-radius: 20px; box-shadow: 0 14px 34px rgba(74, 48, 20, .16);
}
.bati-eg__panel[hidden], .bati-eg__promo[hidden] { display: none; }
.bati-eg__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; background: var(--eg-tint); border-block-end: 1px solid var(--eg-border); }
.bati-eg__title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--eg-navy); }
.bati-eg .bati-eg__x {
	min-width: 44px; padding: 0; box-shadow: none;
	width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--eg-navy); cursor: pointer; font-size: 24px; line-height: 1; border: 0;
}
.bati-eg .bati-eg__x:hover { background: rgba(24, 43, 58, .08); }
.bati-eg__body { padding: 14px 16px 16px; overflow-y: auto; overscroll-behavior: contain; }
.bati-eg__hello { margin: 0 0 12px; }
.bati-eg__label { display: block; font-weight: 700; margin-block-end: 6px; color: var(--eg-navy); }
.bati-eg__input { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; color: var(--eg-ink); background: #fff; border: 1px solid #B9AFA2; border-radius: 12px; }
.bati-eg__results { list-style: none; margin: 8px 0 0; padding: 0; }
.bati-eg__results li + li { margin-block-start: 6px; }
.bati-eg__msg { margin: 8px 0 0; color: var(--eg-muted); font-size: .95rem; }
.bati-eg a.bati-eg__link, .bati-eg .bati-eg__results a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px;
	color: var(--eg-navy); background: var(--eg-alt); border: 1px solid var(--eg-border); border-radius: 12px; text-decoration: none; font-weight: 600;
}
.bati-eg a.bati-eg__link:hover, .bati-eg .bati-eg__results a:hover { border-color: var(--eg-orange); color: var(--eg-orange-dark); }
.bati-eg .bati-eg__results small { color: var(--eg-muted); font-weight: 400; }
.bati-eg__h { margin: 16px 0 8px; font-size: 1rem; font-weight: 800; color: var(--eg-navy); }
.bati-eg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bati-eg__row { display: flex; gap: 8px; flex-wrap: wrap; }
.bati-eg a.bati-eg__btn {
	flex: 1 1 120px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border-radius: 12px;
	font-weight: 700; text-decoration: none; background: var(--eg-orange); color: #fff; border: 1px solid var(--eg-orange);
}
.bati-eg a.bati-eg__btn:hover, .bati-eg a.bati-eg__btn:focus { background: var(--eg-orange-dark); border-color: var(--eg-orange-dark); color: #fff; }
.bati-eg a.bati-eg__btn--alt { background: var(--eg-tint); color: var(--eg-navy); border-color: #D9B48A; }
.bati-eg a.bati-eg__btn--alt:hover, .bati-eg a.bati-eg__btn--alt:focus { background: #FFE2C4; color: var(--eg-navy); border-color: var(--eg-orange-dark); }
.bati-eg__privacy { margin: 6px 0 0; font-size: .85rem; color: var(--eg-muted); }
.bati-eg__rep { margin-block-start: 8px; padding-block-start: 4px; border-block-start: 1px solid var(--eg-border); }
.bati-eg__rep .bati-eg__h { margin-block-start: 10px; }
.bati-eg__rep-t { margin: 0 0 8px; font-size: .95rem; color: var(--eg-ink); }
.bati-eg details { border: 1px solid var(--eg-border); border-radius: 12px; background: var(--eg-alt); }
.bati-eg details + details { margin-block-start: 6px; }
.bati-eg summary { min-height: 44px; padding: 10px 12px; cursor: pointer; font-weight: 600; color: var(--eg-navy); }
.bati-eg details p { margin: 0; padding: 0 12px 12px; color: var(--eg-ink); }
.bati-eg__note { margin: 14px 0 0; font-size: .85rem; color: var(--eg-muted); }

.bati-eg__promo {
	position: fixed; left: 16px; bottom: calc(var(--eg-base) + 68px); z-index: 99970;
	width: min(320px, calc(100vw - 32px)); padding: 16px 16px 14px;
	background: #fff; border: 1px solid #F6DDBF; border-radius: 18px; box-shadow: 0 14px 34px rgba(74, 48, 20, .16);
}
.bati-eg .bati-eg__promo-x {
	box-shadow: none; font-size: 24px; position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; background: transparent; color: var(--eg-navy); font-size: 22px; cursor: pointer; border-radius: 12px; }
.bati-eg__promo-x:hover { background: var(--eg-alt); }
.bati-eg .bati-eg__promo-t { margin: 0 0 6px; padding-inline-end: 44px; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--eg-navy); }
.bati-eg .bati-eg__promo-p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--eg-ink); white-space: pre-line; }
.bati-eg .bati-eg__promo a.bati-eg__btn { width: 100%; flex: none; }
.bati-eg--nolauncher .bati-eg__promo { bottom: var(--eg-base); }

@media (prefers-reduced-motion: no-preference) {
	.bati-eg__panel, .bati-eg__promo { animation: bati-eg-in .18s ease-out; }
	.bati-eg__launcher { transition: background-color .15s; }
}
@keyframes bati-eg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media print { .bati-eg { display: none; } }
.bati-eg .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
