.acb-root {
	--acb-accent: var(--csc-accent, var(--e-global-color-accent, #011E35));
	--acb-on-accent: var(--csc-accent-contrast, #ffffff);
	--acb-text: var(--csc-card-text, var(--e-global-color-primary, #333333));
	--acb-text-soft: var(--csc-text, var(--e-global-color-text, #7A7A7A));
	--acb-muted: var(--csc-text-muted, #9a9a9a);
	--acb-border: var(--csc-border, #e2e2e2);
	--acb-surface: var(--csc-surface, var(--e-global-color-secondary, #F3F3F3));
	--acb-surface-muted: var(--csc-surface-muted, #f7f6f3);
	--acb-bg: #ffffff;
	--acb-radius: var(--csc-radius, 20px);
	--acb-radius-sm: var(--csc-radius-sm, 6px);
	--acb-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	--acb-hover-bg: var(--csc-card-bg-hover, var(--e-global-color-631b972, #001523));
	--acb-hover-text: var(--csc-card-text-hover, var(--e-global-color-dcea2ef, #DFDFDF));
	--acb-launcher-size: 40px;
	--acb-launcher-logo: 35px;
	--acb-launcher-logo-pad: 6px;
	--acb-launcher-x: 17px;
	--acb-launcher-offset: 24px;
	--acb-window-gap: 14px;
	font-family: var(--e-global-typography-text-font-family, inherit), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--acb-text);
}

.acb-root *,
.acb-root *::before,
.acb-root *::after {
	box-sizing: border-box;
}

.acb-launcher {
	position: fixed;
	bottom: var(--acb-launcher-offset);
	z-index: 9990;
	width: var(--acb-launcher-size);
	height: var(--acb-launcher-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acb-pos-right .acb-launcher { right: var(--acb-launcher-offset); }
.acb-pos-left .acb-launcher { left: var(--acb-launcher-offset); }

.acb-launcher:hover {
	transform: scale(1.06);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.acb-launcher .acb-icon-close { display: none; }
.acb-launcher .acb-icon-chat {
	display: block;
	border-radius: 50%;
	object-fit: cover;
	pointer-events: none;
}
.acb-launcher .acb-icon-chat.acb-custom {
	box-sizing: border-box;
	object-fit: contain;
}
.acb-launcher.acb-active .acb-icon-chat { display: none; }
.acb-launcher.acb-active .acb-icon-close { display: block; }

.acb-window {
	position: fixed;
	bottom: calc(var(--acb-launcher-offset) + var(--acb-launcher-size) + var(--acb-window-gap));
	z-index: 9991;
	width: 390px;
	max-width: calc(100vw - 32px);
	height: 600px;
	max-height: calc(100vh - var(--acb-launcher-offset) - var(--acb-launcher-size) - var(--acb-window-gap) - 24px);
	display: flex;
	flex-direction: column;
	background: var(--acb-bg);
	border: 0;
	border-radius: var(--acb-radius);
	box-shadow: var(--acb-shadow);
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.acb-pos-right .acb-window { right: var(--acb-launcher-offset); }
.acb-pos-left .acb-window { left: var(--acb-launcher-offset); }

.acb-window.acb-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.acb-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--acb-accent);
	color: var(--acb-on-accent);
}

.acb-avatar {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.acb-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.acb-avatar.acb-custom img {
	box-sizing: border-box;
	padding: 6px;
	object-fit: contain;
}

.acb-header-info { flex: 1; min-width: 0; }

.acb-title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
}

.acb-subtitle {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	font-size: 12px;
	opacity: 0.85;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.acb-dot {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
}

.acb-close {
	flex: none;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.acb-close:hover { background: rgba(255, 255, 255, 0.16); }

.acb-messages {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scrollbar-width: thin;
}

.acb-msg {
	display: flex;
	max-width: 92%;
}

.acb-msg-bot { align-self: flex-start; }
.acb-msg-user { align-self: flex-end; }

.acb-bubble {
	padding: 10px 14px;
	border-radius: 16px;
	font-size: 14.5px;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.acb-msg-bot .acb-bubble {
	background: var(--acb-surface);
	color: var(--acb-text);
	border-bottom-left-radius: 6px;
}

.acb-msg-user .acb-bubble {
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	border-bottom-right-radius: 6px;
	white-space: pre-wrap;
}

.acb-bubble p { margin: 0 0 8px; }
.acb-bubble > :last-child { margin-bottom: 0; }

.acb-bubble ul,
.acb-bubble ol {
	margin: 0 0 8px;
	padding-left: 20px;
}

.acb-bubble li { margin-bottom: 4px; }
.acb-bubble li:last-child { margin-bottom: 0; }
.acb-bubble strong { color: inherit; font-weight: 700; }

.acb-bubble a.acb-link,
.acb-bubble a.acb-go {
	color: var(--acb-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.acb-bubble a.acb-cta {
	display: inline-block;
	margin-top: 2px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	font-weight: 600;
	font-size: 13.5px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.acb-bubble a.acb-cta::after { content: " →"; }
.acb-bubble a.acb-cta:hover { background: var(--acb-hover-bg); color: var(--acb-hover-text); }

.acb-typing {
	display: inline-flex;
	gap: 4px;
	padding: 4px 0;
}

.acb-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b5b5b5;
	animation: acb-bounce 1.1s infinite ease-in-out;
}

.acb-typing span:nth-child(2) { animation-delay: 0.15s; }
.acb-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes acb-bounce {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
	30% { transform: translateY(-5px); opacity: 1; }
}

.acb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 16px 12px;
}

.acb-chips:empty { display: none; }

.acb-chip {
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--acb-surface);
	color: var(--acb-accent);
	font: inherit;
	font-size: 12.5px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.acb-chip:hover {
	background: var(--acb-hover-bg);
	color: var(--acb-hover-text);
}

.acb-input-area {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 10px 12px 4px;
	border: 0;
	background: var(--acb-bg);
}

.acb-input {
	flex: 1;
	min-height: 40px;
	max-height: 96px;
	margin: 0;
	padding: 9px 14px;
	border: 0;
	border-radius: 20px;
	background: var(--acb-surface);
	color: var(--acb-text);
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	resize: none;
	box-shadow: none;
}

.acb-send {
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.acb-send:hover { opacity: 0.88; }
.acb-send:disabled { opacity: 0.4; cursor: default; }

.acb-footer {
	padding: 6px 12px 10px;
	font-size: 11.5px;
	line-height: 1.35;
	text-align: center;
	color: var(--acb-muted);
	background: var(--acb-bg);
}

@media (max-width: 600px) {
	.acb-pos-right .acb-window,
	.acb-pos-left .acb-window {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		max-height: none;
		border: 0;
		border-radius: 0;
	}

	.acb-launcher.acb-active { display: none; }
	.acb-input { font-size: 16px; }
}

body.acb-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.acb-window,
	.acb-window.acb-open,
	.acb-launcher {
		transition: none;
	}

	.acb-typing span { animation: none; opacity: 0.7; }
}

#acb-lead-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.34);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
	z-index: 8;
}
#acb-lead-backdrop.acb-lead-visible { opacity: 1; pointer-events: auto; }

#acb-lead-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9;
	max-height: 72%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--acb-bg);
	border: 0;
	border-radius: var(--acb-radius) var(--acb-radius) 0 0;
	box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.18);
	padding: 16px 20px 20px;
	color: var(--acb-text);
	transform: translateY(100%);
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
#acb-lead-sheet.acb-lead-visible { transform: translateY(0); }
#acb-lead-sheet[hidden], #acb-lead-backdrop[hidden], #acb-lead-done[hidden], #acb-lead-body[hidden] { display: none; }

.acb-lead-grip {
	width: 38px;
	height: 4px;
	margin: 0 auto 12px;
	border-radius: 999px;
	background: var(--acb-border);
}

#acb-lead-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 30px;
	height: 30px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: var(--acb-muted);
	border-radius: 50%;
}
#acb-lead-close:hover { background: var(--acb-surface); color: var(--acb-text); }

#acb-lead-title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--acb-text);
}
#acb-lead-sub {
	margin: 0 0 14px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--acb-text-soft);
}

#acb-lead-email {
	width: 100%;
	padding: 11px 14px;
	margin-bottom: 12px;
	font: inherit;
	font-size: 14px;
	color: var(--acb-text);
	background: var(--acb-surface);
	border: 0;
	border-radius: var(--acb-radius-sm);
	outline: none;
}

#acb-lead-website {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.acb-lead-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-bottom: 9px;
	cursor: pointer;
	font-size: 11.5px;
	line-height: 1.55;
	color: var(--acb-text-soft);
}
.acb-lead-check input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 2px 0 0;
	width: 15px;
	height: 15px;
	accent-color: var(--acb-accent);
	cursor: pointer;
}
.acb-lead-check a { color: var(--acb-accent); text-decoration: underline; }

#acb-lead-error {
	display: none;
	margin: 2px 0 10px;
	font-size: 11.5px;
	line-height: 1.5;
	color: #c0392b;
}
#acb-lead-error.acb-lead-visible { display: block; }

#acb-lead-submit {
	width: 100%;
	margin-top: 6px;
	padding: 11px 16px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	cursor: pointer;
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	border: 0;
	transition: background 0.15s ease, color 0.15s ease;
}
#acb-lead-submit:hover:not(:disabled) { background: var(--acb-hover-bg); color: var(--acb-hover-text); }
#acb-lead-submit:disabled { opacity: 0.55; cursor: default; }

#acb-lead-skip {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 6px;
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 11.5px;
	color: var(--acb-muted);
	text-decoration: underline;
}

#acb-lead-done { text-align: center; padding: 14px 0 8px; }
.acb-lead-tick {
	width: 46px;
	height: 46px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--acb-accent);
	background: var(--acb-surface);
	border: 0;
}
#acb-lead-done-txt { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--acb-text); }

@media (max-width: 600px) {
	#acb-lead-sheet { max-height: 80%; padding: 14px 16px 18px; }
	#acb-lead-email { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	#acb-lead-sheet, #acb-lead-backdrop { transition: none; }
}

#acb-root button,
#acb-root input,
#acb-root textarea,
#acb-root a,
#acb-root svg {
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	text-shadow: none !important;
	-webkit-tap-highlight-color: transparent;
}

#acb-root button,
#acb-root input:not([type="checkbox"]),
#acb-root textarea {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	min-height: 0;
	letter-spacing: normal;
	text-transform: none;
	font-family: inherit;
}

#acb-root button:not(.acb-launcher):not(.acb-close):not(.acb-send) { font-weight: 500; }

#acb-root .acb-launcher,
#acb-root .acb-launcher:hover,
#acb-root .acb-launcher:focus,
#acb-root .acb-launcher:focus-visible,
#acb-root .acb-launcher:active {
	background: #ffffff;
	color: var(--acb-on-accent);
}
#acb-root .acb-launcher.acb-active,
#acb-root .acb-launcher.acb-active:hover,
#acb-root .acb-launcher.acb-active:focus,
#acb-root .acb-launcher.acb-active:active {
	background: var(--acb-accent);
}

#acb-root .acb-close,
#acb-root .acb-close:hover,
#acb-root .acb-close:focus,
#acb-root .acb-close:focus-visible,
#acb-root .acb-close:active {
	background: transparent !important;
	color: var(--acb-on-accent);
}
#acb-root .acb-close:hover { opacity: 0.75; }

#acb-root .acb-send,
#acb-root .acb-send:focus,
#acb-root .acb-send:active {
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	padding: 0;
}
#acb-root .acb-send:hover,
#acb-root .acb-send:focus-visible {
	background: var(--acb-hover-bg);
	color: var(--acb-hover-text);
	opacity: 1;
}

#acb-root .acb-chip,
#acb-root .acb-chip:focus,
#acb-root .acb-chip:active {
	background: var(--acb-surface);
	color: var(--acb-accent);
	font-size: 12.5px !important;
	line-height: 1.3;
	padding: 6px 12px;
	border-radius: 999px;
}
#acb-root .acb-chip:hover,
#acb-root .acb-chip:focus-visible {
	background: var(--acb-hover-bg);
	color: var(--acb-hover-text);
}

#acb-root .acb-input,
#acb-root .acb-input:focus {
	background: var(--acb-surface);
	color: var(--acb-text);
	font-size: 14px;
	padding: 9px 14px;
	border-radius: 20px;
}
#acb-root .acb-input:focus { filter: brightness(0.97); }
#acb-root .acb-input::placeholder { color: var(--acb-muted); opacity: 1; }

#acb-root .acb-bubble a.acb-cta,
#acb-root .acb-bubble a.acb-cta:focus {
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	font-size: 12.5px;
	padding: 7px 14px;
	text-decoration: none;
}
#acb-root .acb-bubble a.acb-cta:hover,
#acb-root .acb-bubble a.acb-cta:focus-visible {
	background: var(--acb-hover-bg);
	color: var(--acb-hover-text);
}

#acb-root #acb-lead-close,
#acb-root #acb-lead-close:hover,
#acb-root #acb-lead-close:focus,
#acb-root #acb-lead-close:focus-visible,
#acb-root #acb-lead-close:active { background: transparent !important; color: var(--acb-muted); }
#acb-root #acb-lead-close:hover { color: var(--acb-text); }

#acb-root #acb-lead-email,
#acb-root #acb-lead-email:focus {
	background: var(--acb-surface);
	color: var(--acb-text);
	font-size: 14px;
}
#acb-root #acb-lead-email:focus { filter: brightness(0.97); }
#acb-root #acb-lead-email.acb-lead-invalid { background: #fdecea; }

#acb-root #acb-lead-submit,
#acb-root #acb-lead-submit:focus,
#acb-root #acb-lead-submit:active {
	background: var(--acb-accent);
	color: var(--acb-on-accent);
	font-size: 13px;
}
#acb-root #acb-lead-submit:hover:not(:disabled),
#acb-root #acb-lead-submit:focus-visible {
	background: var(--acb-hover-bg);
	color: var(--acb-hover-text);
}

#acb-root #acb-lead-skip,
#acb-root #acb-lead-skip:focus,
#acb-root #acb-lead-skip:hover,
#acb-root #acb-lead-skip:active {
	background: none;
	color: var(--acb-muted);
	font-size: 11.5px;
}
#acb-root #acb-lead-skip:hover { color: var(--acb-text); }

#acb-root .acb-lead-check a { border: 0 !important; }

#acb-root .acb-launcher,
#acb-root .acb-close,
#acb-root .acb-send,
#acb-root #acb-lead-close { border-radius: 50% !important; }

#acb-root .acb-chip,
#acb-root .acb-bubble a.acb-cta,
#acb-root #acb-lead-submit { border-radius: 999px !important; }

#acb-root .acb-input,
#acb-root #acb-lead-email { border-radius: 20px !important; }

#acb-root.acb-pending { display: none !important; }

#acb-root.acb-reveal .acb-launcher { animation: acb-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes acb-pop {
	from { opacity: 0; transform: scale(0.6) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	#acb-root.acb-reveal .acb-launcher { animation: none; }
}

#acb-root .acb-lead-logo {
	display: block;
	height: 20px;
	width: auto;
	margin: 0 0 12px;
}

#acb-root .acb-launcher {
	box-sizing: border-box !important;
	width: var(--acb-launcher-size) !important;
	height: var(--acb-launcher-size) !important;
	min-width: var(--acb-launcher-size) !important;
	min-height: var(--acb-launcher-size) !important;
	max-width: var(--acb-launcher-size) !important;
	max-height: var(--acb-launcher-size) !important;
	padding: 0 !important;
	margin: 0;
	flex: none;
	aspect-ratio: 1 / 1;
	line-height: 0;
	overflow: hidden;
	border-radius: 50% !important;
}

#acb-root .acb-send {
	box-sizing: border-box !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	padding: 0 !important;
	flex: none;
	aspect-ratio: 1 / 1;
	line-height: 0;
	border-radius: 50% !important;
}

#acb-root .acb-close {
	box-sizing: border-box !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	max-width: 34px !important;
	max-height: 34px !important;
	padding: 0 !important;
	flex: none;
	aspect-ratio: 1 / 1;
	line-height: 0;
	border-radius: 50% !important;
}

#acb-root #acb-lead-close {
	box-sizing: border-box !important;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	max-width: 30px !important;
	max-height: 30px !important;
	padding: 0 !important;
	flex: none;
	aspect-ratio: 1 / 1;
	line-height: 0;
	border-radius: 50% !important;
}

#acb-root .acb-launcher svg,
#acb-root .acb-send svg,
#acb-root .acb-close svg,
#acb-root #acb-lead-close svg {
	display: block;
	flex: none;
	margin: 0;
}

#acb-root .acb-launcher svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: var(--acb-launcher-x) !important;
	height: var(--acb-launcher-x) !important;
	stroke-width: 2.4;
}
#acb-root .acb-send svg { width: 17px; height: 17px; margin-left: 2px; }
#acb-root .acb-close svg { width: 16px; height: 16px; }

#acb-root .acb-icon-chat {
	width: var(--acb-launcher-logo) !important;
	height: var(--acb-launcher-logo) !important;
}
#acb-root .acb-icon-chat.acb-custom { padding: var(--acb-launcher-logo-pad) !important; }

#acb-root .acb-launcher,
#acb-root .acb-send,
#acb-root .acb-close,
#acb-root #acb-lead-close {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center;
}

#acb-root .acb-launcher .acb-icon-close { display: none !important; }
#acb-root .acb-launcher.acb-active .acb-icon-close { display: block !important; }
#acb-root .acb-launcher.acb-active .acb-icon-chat { display: none !important; }

@media (max-width: 600px) {
	.acb-root {
		--acb-launcher-size: 45px;
		--acb-launcher-logo: 39px;
		--acb-launcher-logo-pad: 6px;
		--acb-launcher-x: 16px;
		--acb-launcher-offset: 16px;
	}

	#acb-root .acb-launcher.acb-active { display: none !important; }
}