.ma-chatbot {
	position: fixed;
	z-index: 2147483600;
	bottom: var(--ma-chatbot-bottom-offset);
	font-family: Tahoma, "Segoe UI", Arial, sans-serif;
	font-size: calc(14px * var(--ma-chatbot-font-scale, 1));
	color: var(--ma-chatbot-text, #172033);
	line-height: 1.75;
	text-rendering: optimizeLegibility;
	transition: bottom .26s ease;
}

.ma-chatbot--right { right: var(--ma-chatbot-side-offset, 20px); }
.ma-chatbot--left { left: var(--ma-chatbot-side-offset, 20px); }
.ma-chatbot *,
.ma-chatbot *::before,
.ma-chatbot *::after { box-sizing: border-box; }

.ma-chatbot__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ma-chatbot__greeting {
	--ma-chatbot-greeting-enter-x: 9px;
	position: absolute;
	top: 50%;
	width: max-content;
	max-width: min(220px, calc(100vw - var(--ma-chatbot-launcher-size, 60px) - 44px));
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 15px;
	background-color: var(--ma-chatbot-greeting-bg, var(--ma-chatbot-color));
	background-image: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(15, 23, 42, .14));
	color: var(--ma-chatbot-greeting-text, #fff);
	font-size: var(--ma-chatbot-greeting-font-size, 13px);
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
	opacity: 0;
	transform: translate3d(var(--ma-chatbot-greeting-enter-x), -50%, 0) scale(.97);
	pointer-events: none;
	animation: MA_chatbot_greeting_enter .48s cubic-bezier(.22, 1, .36, 1) .35s forwards;
	transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.ma-chatbot--right .ma-chatbot__greeting { right: calc(var(--ma-chatbot-launcher-size, 60px) + 12px); }
.ma-chatbot--left .ma-chatbot__greeting { --ma-chatbot-greeting-enter-x: -9px; left: calc(var(--ma-chatbot-launcher-size, 60px) + 12px); }

.ma-chatbot__greeting::after {
	position: absolute;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 1px solid rgba(255, 255, 255, .28);
	border-right: 1px solid rgba(255, 255, 255, .28);
	background: var(--ma-chatbot-greeting-bg, var(--ma-chatbot-color));
	content: "";
}

.ma-chatbot--right .ma-chatbot__greeting::after { right: -5px; transform: translateY(-50%) rotate(45deg); }
.ma-chatbot--left .ma-chatbot__greeting::after { left: -5px; transform: translateY(-50%) rotate(225deg); }

.ma-chatbot--greeting-static .ma-chatbot__greeting {
	opacity: 1;
	transform: translate3d(0, -50%, 0) scale(1);
	animation: none;
}

.ma-chatbot--open .ma-chatbot__greeting {
	visibility: hidden;
	opacity: 0;
	transform: translate3d(0, -50%, 0) scale(.97);
	animation: none;
}

.ma-chatbot__toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: var(--ma-chatbot-launcher-size, 60px);
	height: var(--ma-chatbot-launcher-size, 60px);
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 20px;
	background: var(--ma-chatbot-color);
	color: #fff;
	cursor: pointer;
	isolation: isolate;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .24), 0 4px 10px rgba(15, 23, 42, .14);
	transition: transform .2s ease, box-shadow .2s ease, border-radius .2s ease, opacity .18s ease;
}

.ma-chatbot--shape-circle .ma-chatbot__toggle { border-radius: 50%; }
.ma-chatbot--shape-rounded .ma-chatbot__toggle { border-radius: calc(var(--ma-chatbot-launcher-size, 60px) * .33); }
.ma-chatbot--shape-square .ma-chatbot__toggle { border-radius: 10px; }

.ma-chatbot__toggle::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 55%, rgba(15, 23, 42, .12));
	content: "";
}

.ma-chatbot__toggle:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, .28), 0 5px 12px rgba(15, 23, 42, .16);
}

.ma-chatbot__toggle:active { transform: translateY(-1px) scale(.97); }

.ma-chatbot--open .ma-chatbot__toggle {
	visibility: hidden;
	opacity: 0;
	transform: scale(.86);
	pointer-events: none;
}

.ma-chatbot__toggle-icon {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
}

.ma-chatbot__toggle-icon svg,
.ma-chatbot__toggle-icon img,
.ma-chatbot__avatar svg,
.ma-chatbot__avatar img,
.ma-chatbot__close svg,
.ma-chatbot__composer button svg,
.ma-chatbot__privacy svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ma-chatbot__toggle-icon img,
.ma-chatbot__avatar img {
	object-fit: contain;
	border-radius: inherit;
	stroke: none;
}

.ma-chatbot__status-dot {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 14px;
	height: 14px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--ma-chatbot-accent, #22c55e);
	box-shadow: 0 2px 6px rgba(15, 23, 42, .2);
}

.ma-chatbot__unread-badge {
	position: absolute;
	top: -9px;
	left: -9px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(127, 29, 29, .28);
}

.ma-chatbot__unread-badge[hidden] { display: none; }

.ma-chatbot__dialog {
	position: absolute;
	bottom: 76px;
	display: flex;
	flex-direction: column;
	width: min(var(--ma-chatbot-panel-width, 392px), calc(100vw - 32px));
	height: min(var(--ma-chatbot-panel-height, 610px), calc(100dvh - var(--ma-chatbot-bottom-offset) - 98px));
	min-height: min(390px, calc(100dvh - var(--ma-chatbot-bottom-offset) - 98px));
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: var(--ma-chatbot-panel-radius, 26px);
	background: var(--ma-chatbot-surface, #fff);
	box-shadow: 0 28px 70px rgba(15, 23, 42, .22), 0 8px 24px rgba(15, 23, 42, .1);
	transform-origin: bottom right;
	animation: MA_chatbot_dialog_enter .22s ease-out;
}

.ma-chatbot__dialog[hidden] { display: none !important; }
.ma-chatbot--right .ma-chatbot__dialog { right: 0; transform-origin: bottom right; }
.ma-chatbot--left .ma-chatbot__dialog { left: 0; transform-origin: bottom left; }

.ma-chatbot__header {
	position: relative;
	min-height: 76px;
	padding: 13px 14px 12px 16px;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid #edf1f6;
	background: var(--ma-chatbot-surface, #fff);
}

.ma-chatbot--header-brand .ma-chatbot__header {
	border-bottom-color: rgba(255, 255, 255, .18);
	background: var(--ma-chatbot-color);
	color: #fff;
}

.ma-chatbot--header-brand .ma-chatbot__header::before { display: none; }
.ma-chatbot--header-brand .ma-chatbot__avatar { background: rgba(255, 255, 255, .16); box-shadow: none; }
.ma-chatbot--header-brand .ma-chatbot__identity-copy strong,
.ma-chatbot--header-brand .ma-chatbot__identity-copy small { color: #fff; }
.ma-chatbot--header-brand .ma-chatbot__close,
.ma-chatbot--header-brand .ma-chatbot__new-chat { background: rgba(255, 255, 255, .15); color: #fff; }
.ma-chatbot--header-brand .ma-chatbot__close:hover,
.ma-chatbot--header-brand .ma-chatbot__new-chat:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.ma-chatbot__header::before {
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: var(--ma-chatbot-color);
	content: "";
}

.ma-chatbot__identity {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.ma-chatbot__avatar {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 15px;
	background: var(--ma-chatbot-color);
	color: #fff;
	box-shadow: 0 6px 15px rgba(37, 99, 235, .2);
}

.ma-chatbot__identity-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	line-height: 1.45;
}

.ma-chatbot__identity-copy strong {
	overflow: hidden;
	color: var(--ma-chatbot-text, #0f172a);
	font-size: 14.5px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ma-chatbot__identity-copy small {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 3px;
	color: #64748b;
	font-size: 10.5px;
}

.ma-chatbot__identity-copy small i {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ma-chatbot-accent, #22c55e);
	box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
}

.ma-chatbot__header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
}

.ma-chatbot__close {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 10px;
	border: 0;
	border-radius: 12px;
	background: #f1f5f9;
	color: #475569;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ma-chatbot__new-chat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 11px;
	border: 0;
	border-radius: 12px;
	background: #f1f5f9;
	color: #475569;
	font: inherit;
	font-size: 10.5px;
	font-weight: 800;
	line-height: 1.35;
	white-space: nowrap;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ma-chatbot__close:hover,
.ma-chatbot__new-chat:hover {
	background: #e8eef6;
	color: #0f172a;
	transform: translateY(-1px);
}

.ma-chatbot__close:hover {
	transform: rotate(4deg);
}

.ma-chatbot__new-confirm {
	position: absolute;
	inset: 0;
	z-index: 8;
	display: grid;
	place-items: center;
	padding: 22px;
	background: rgba(15, 23, 42, .34);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.ma-chatbot__new-confirm[hidden] { display: none; }

.ma-chatbot__new-confirm > div {
	width: min(320px, 100%);
	padding: 20px;
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: 19px;
	background: var(--ma-chatbot-surface, #fff);
	box-shadow: 0 24px 55px rgba(15, 23, 42, .2);
}

.ma-chatbot__new-confirm strong { display: block; margin-bottom: 7px; color: var(--ma-chatbot-text, #172033); }
.ma-chatbot__new-confirm p { margin: 0 0 16px; color: #64748b; font-size: 12px; line-height: 1.8; }
.ma-chatbot__new-confirm span { display: flex; justify-content: flex-end; gap: 8px; }
.ma-chatbot__new-confirm button {
	padding: 8px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	color: #334155;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}
.ma-chatbot__new-confirm .ma-chatbot__new-confirm-button { border-color: var(--ma-chatbot-color); background: var(--ma-chatbot-color); color: #fff; }

.ma-chatbot__messages {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-color: #cbd5e1 transparent;
	scrollbar-width: thin;
	padding: 20px 14px;
	background: #f5f7fb;
	background: color-mix(in srgb, var(--ma-chatbot-surface, #fff) 92%, var(--ma-chatbot-color) 8%);
	overscroll-behavior: contain;
}

.ma-chatbot__messages::-webkit-scrollbar { width: 6px; }
.ma-chatbot__messages::-webkit-scrollbar-track { background: transparent; }
.ma-chatbot__messages::-webkit-scrollbar-thumb { border-radius: 999px; background: #cbd5e1; }

.ma-chatbot__message {
	width: fit-content;
	max-width: 88%;
	margin: 0 0 13px;
	padding: 11px 14px;
	border: 1px solid rgba(226, 232, 240, .9);
	border-radius: 17px;
	background: var(--ma-chatbot-surface, #fff);
	box-shadow: 0 4px 14px rgba(15, 23, 42, .055);
	overflow-wrap: anywhere;
	text-align: right;
}

.ma-chatbot__message p {
	margin: 0 0 8px;
	color: inherit;
	line-height: 1.9;
}

.ma-chatbot__message p:last-child { margin-bottom: 0; }

.ma-chatbot__message--user {
	margin-right: auto;
	border-color: transparent;
	border-bottom-left-radius: 5px;
	background: var(--ma-chatbot-color);
	color: #fff;
	box-shadow: 0 7px 18px rgba(37, 99, 235, .18);
}

.ma-chatbot__message--assistant {
	margin-left: auto;
	border-bottom-right-radius: 5px;
}

.ma-chatbot__message--support,
.ma-chatbot__message--support_system {
	margin-left: auto;
	border-color: color-mix(in srgb, var(--ma-chatbot-color) 34%, #dbe3ed);
	border-bottom-right-radius: 5px;
	background: color-mix(in srgb, var(--ma-chatbot-surface, #fff) 88%, var(--ma-chatbot-color) 12%);
}

.ma-chatbot__support-label {
	display: block;
	margin-bottom: 5px;
	color: var(--ma-chatbot-color);
	font-size: 10px;
	font-weight: 900;
}

.ma-chatbot__message--error {
	margin-left: auto;
	border-color: #fecdd3;
	background: #fff1f2;
	color: #9f1239;
}

.ma-chatbot__retry {
	display: inline-flex;
	align-items: center;
	margin-top: 9px;
	padding: 7px 11px;
	border: 1px solid #fda4af;
	border-radius: 10px;
	background: #fff;
	color: #9f1239;
	font: inherit;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}
.ma-chatbot__retry:hover { border-color: #e11d48; background: #fff7f8; }
.ma-chatbot__retry:disabled { cursor: wait; opacity: .55; }

.ma-chatbot__answer-list {
	margin: 8px 0 10px;
	padding: 0;
	list-style: none;
}

.ma-chatbot__answer-list li {
	position: relative;
	margin: 7px 0;
	padding-right: 18px;
	line-height: 1.8;
}

.ma-chatbot__answer-list li::before {
	position: absolute;
	top: .78em;
	right: 2px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ma-chatbot-color);
	content: "";
}

.ma-chatbot__tracking-copy {
	display: grid;
	gap: 6px;
	margin: 9px 0 11px;
	padding: 10px;
	border: 1px solid #bfdbfe;
	border-radius: 13px;
	background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.ma-chatbot__tracking-label {
	color: #475569;
	font-size: 11px;
	font-weight: 700;
}

.ma-chatbot__tracking-code {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	width: 100%;
	min-height: 42px;
	padding: 8px 11px;
	border: 1px dashed #60a5fa;
	border-radius: 10px;
	background: #fff;
	color: #1d4ed8;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	direction: ltr;
	letter-spacing: .35px;
	overflow-wrap: anywhere;
	cursor: copy;
	transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.ma-chatbot__tracking-code::after {
	flex: 0 0 auto;
	content: "⧉";
	font-size: 18px;
	font-weight: 400;
}

.ma-chatbot__tracking-code:hover { border-color: #2563eb; background: #eff6ff; transform: translateY(-1px); }
.ma-chatbot__tracking-code:focus-visible { outline: 3px solid rgba(37, 99, 235, .18); outline-offset: 2px; }
.ma-chatbot__tracking-code:disabled { cursor: wait; opacity: .65; transform: none; }
.ma-chatbot__tracking-code.is-copied { border-color: #16a34a; background: #ecfdf5; color: #15803d; }
.ma-chatbot__tracking-code.is-copied::after { content: "✓"; }

.ma-chatbot__tracking-hint {
	color: #64748b;
	font-size: 10px;
	line-height: 1.6;
}

.ma-chatbot__tracking-code.is-copied + .ma-chatbot__tracking-hint { color: #15803d; font-weight: 700; }
.ma-chatbot__tracking-hint.is-error { color: #b91c1c; }

.ma-chatbot__sources {
	margin-top: 13px;
	padding-top: 10px;
	border-top: 1px solid #e2e8f0;
}

.ma-chatbot__sources summary {
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
}

.ma-chatbot__sources > ul {
	margin: 9px 0 0;
	padding: 0;
	display: grid;
	gap: 7px;
	list-style: none;
}

.ma-chatbot__product-list {
	display: grid;
	gap: 10px;
	margin-top: 13px;
}

.ma-chatbot__product-card {
	min-width: 0;
	padding: 11px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: var(--ma-chatbot-surface, #fff);
	box-shadow: 0 5px 16px rgba(15, 23, 42, .06);
}

.ma-chatbot__product-head {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
}

.ma-chatbot__product-head img {
	width: 58px;
	height: 58px;
	object-fit: cover;
	border: 1px solid #edf1f6;
	border-radius: 13px;
	background: var(--ma-chatbot-surface, #fff);
}

.ma-chatbot__product-info { min-width: 0; }

.ma-chatbot__product-info a,
.ma-chatbot__source-link a {
	display: block;
	color: #1d4ed8;
	font-weight: 700;
	line-height: 1.65;
	text-decoration: none;
}

.ma-chatbot__product-info a:hover,
.ma-chatbot__source-link a:hover { text-decoration: underline; }

.ma-chatbot__product-price {
	display: inline-flex;
	align-items: center;
	margin-top: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.6;
}

.ma-chatbot__product-summary {
	margin: 10px 0 5px !important;
	padding-top: 9px;
	border-top: 1px solid #edf1f6;
	color: #475569 !important;
	font-size: 12.5px;
}

.ma-chatbot__product-features {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.ma-chatbot__product-features li {
	position: relative;
	margin: 5px 0;
	padding-right: 17px;
	color: #475569;
	font-size: 12.5px;
	line-height: 1.75;
}

.ma-chatbot__product-features li::before {
	position: absolute;
	right: 2px;
	top: .73em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ma-chatbot-color);
	content: "";
}

.ma-chatbot__source-link {
	padding: 8px 10px;
	border: 1px solid #edf1f6;
	border-radius: 10px;
	background: #f8fafc;
}

.ma-chatbot__feedback {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.ma-chatbot__feedback button {
	display: grid;
	place-items: center;
	width: 31px;
	height: 29px;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	background: #f8fafc;
	cursor: pointer;
	opacity: .72;
	transition: opacity .15s ease, transform .15s ease, color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.ma-chatbot__feedback button:hover { opacity: 1; transform: translateY(-1px); }

.ma-chatbot__feedback[data-feedback-state="saving"] button { cursor: wait; opacity: .45; }
.ma-chatbot__feedback[data-feedback-state="saving"] button:first-child { animation: MA_chatbot_feedback_wait .75s ease-in-out infinite alternate; }
.ma-chatbot__feedback[data-feedback-state="saved"] button { cursor: default; opacity: .32; }
.ma-chatbot__feedback[data-feedback-state="saved"] button.is-selected { opacity: 1; transform: scale(1.06); }
.ma-chatbot__feedback button.is-selected[data-feedback="positive"] { border-color: #16a34a; background: #dcfce7; box-shadow: 0 0 0 3px rgba(22, 163, 74, .1); }
.ma-chatbot__feedback button.is-selected[data-feedback="negative"] { border-color: #dc2626; background: #fee2e2; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }

.ma-chatbot__feedback-status {
	color: #64748b;
	font-size: 10px;
	font-weight: 600;
}

.ma-chatbot__feedback[data-feedback-state="saved"] .ma-chatbot__feedback-status { color: #15803d; }
.ma-chatbot__feedback[data-feedback-state="error"] .ma-chatbot__feedback-status { color: #b91c1c; }

@keyframes MA_chatbot_feedback_wait {
	from { transform: translateY(0); }
	to { transform: translateY(-2px); }
}

.ma-chatbot__typing {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 58px;
	min-height: 40px;
	padding: 12px;
}

.ma-chatbot__typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ma-chatbot-color);
	animation: MA_chatbot_dot 1.15s infinite ease-in-out;
}

.ma-chatbot__typing span:nth-child(2) { animation-delay: .14s; }
.ma-chatbot__typing span:nth-child(3) { animation-delay: .28s; }

.ma-chatbot__suggestions {
	flex: 0 0 auto;
	padding: 9px 12px 2px;
	border-top: 1px solid #edf1f6;
	background: var(--ma-chatbot-surface, #fff);
}

.ma-chatbot__suggestions[hidden] { display: none; }
.ma-chatbot__suggestions small { display: block; margin: 0 2px 6px; color: #64748b; font-size: 9.5px; font-weight: 700; }
.ma-chatbot__suggestions > div {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 1px 1px 5px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}
.ma-chatbot__suggestion {
	flex: 0 0 auto;
	padding: 7px 10px;
	border: 1px solid color-mix(in srgb, var(--ma-chatbot-color) 30%, #dbe3ed 70%);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ma-chatbot-surface, #fff) 92%, var(--ma-chatbot-color) 8%);
	color: #334155;
	font: inherit;
	font-size: 10.5px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .16s ease, transform .16s ease, background .16s ease;
}
.ma-chatbot__suggestion:hover { border-color: var(--ma-chatbot-color); background: #fff; transform: translateY(-1px); }
.ma-chatbot__suggestion:disabled { cursor: wait; opacity: .5; transform: none; }

.ma-chatbot__form {
	flex: 0 0 auto;
	margin: 0;
	padding: 8px 12px 7px;
	border-top: 0;
	background: var(--ma-chatbot-surface, #fff);
}

.ma-chatbot__composer {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 5px 5px 5px 7px;
	border: 1px solid #dbe3ed;
	border-radius: 17px;
	background: #f8fafc;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ma-chatbot__composer:focus-within {
	border-color: var(--ma-chatbot-color);
	background: var(--ma-chatbot-surface, #fff);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.ma-chatbot__form textarea {
	flex: 1;
	height: 42px;
	min-height: 42px;
	max-height: 100px;
	resize: none;
	border: 0;
	outline: 0;
	padding: 10px 8px;
	background: transparent;
	color: #0f172a;
	font: inherit;
	font-size: 13px;
	line-height: 1.55;
}

.ma-chatbot__form textarea::placeholder { color: #94a3b8; opacity: 1; }

.ma-chatbot__composer button {
	display: grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 11px;
	border: 0;
	border-radius: 13px;
	background: var(--ma-chatbot-color);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(37, 99, 235, .2);
	transition: transform .16s ease, opacity .16s ease;
}

.ma-chatbot__composer button svg { transform: scaleX(-1); }
.ma-chatbot__composer button:hover { transform: translateY(-1px); }

.ma-chatbot__form button:disabled,
.ma-chatbot__form textarea:disabled { cursor: wait; opacity: .55; }

.ma-chatbot__privacy {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	padding: 3px 12px 9px;
	background: var(--ma-chatbot-surface, #fff);
	color: #94a3b8;
	font-size: 9.5px;
	line-height: 1.6;
	text-align: center;
}

.ma-chatbot__privacy svg { width: 12px; height: 12px; flex: 0 0 12px; }

.ma-chatbot__handoff-open {
	display: block;
	margin-top: 10px;
	border: 1px solid var(--ma-chatbot-color);
	border-radius: 11px;
	padding: 7px 11px;
	background: var(--ma-chatbot-surface, #fff);
	color: var(--ma-chatbot-color);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
}

.ma-chatbot__handoff {
	position: absolute;
	inset: 76px 0 0;
	z-index: 3;
	margin: 0;
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 11px;
	overflow-y: auto;
	background: #fff;
}

.ma-chatbot__handoff[hidden] { display: none; }

.ma-chatbot__handoff input,
.ma-chatbot__handoff textarea {
	width: 100%;
	border: 1px solid #dbe3ed;
	border-radius: 12px;
	padding: 10px 11px;
	background: #f8fafc;
	font: inherit;
	outline: 0;
}

.ma-chatbot__handoff input:focus,
.ma-chatbot__handoff textarea:focus { border-color: var(--ma-chatbot-color); background: #fff; }
.ma-chatbot__handoff label { font-size: 11px; }
.ma-chatbot__handoff div { display: flex; gap: 8px; justify-content: flex-end; }

.ma-chatbot__handoff button {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 8px 12px;
	background: #fff;
	cursor: pointer;
	font: inherit;
}

.ma-chatbot__handoff button[type="submit"] {
	border-color: var(--ma-chatbot-color);
	background: var(--ma-chatbot-color);
	color: #fff;
}

.ma-chatbot button:focus-visible,
.ma-chatbot a:focus-visible {
	outline: 3px solid rgba(37, 99, 235, .25);
	outline-offset: 2px;
}

@keyframes MA_chatbot_dialog_enter {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes MA_chatbot_dot {
	0%, 60%, 100% { opacity: .28; transform: translateY(0); }
	30% { opacity: 1; transform: translateY(-5px); }
}

@keyframes MA_chatbot_greeting_enter {
	from { opacity: 0; transform: translate3d(var(--ma-chatbot-greeting-enter-x), -50%, 0) scale(.97); }
	to { opacity: 1; transform: translate3d(0, -50%, 0) scale(1); }
}

@media (max-width: 480px) {
	.ma-chatbot__greeting { max-width: calc(100vw - var(--ma-chatbot-launcher-size, 56px) - 36px); padding: 8px 11px; border-radius: 13px; font-size: min(var(--ma-chatbot-greeting-font-size, 13px), 14px); }
	.ma-chatbot__toggle { width: min(var(--ma-chatbot-launcher-size, 56px), 64px); height: min(var(--ma-chatbot-launcher-size, 56px), 64px); }
	.ma-chatbot__toggle-icon { width: 28px; height: 28px; }
	.ma-chatbot--right .ma-chatbot__dialog,
	.ma-chatbot--left .ma-chatbot__dialog {
		position: fixed;
		bottom: calc(var(--ma-chatbot-bottom-offset) + 70px);
		width: min(var(--ma-chatbot-panel-width, 392px), calc(100vw - 24px));
		height: min(var(--ma-chatbot-panel-height, 610px), calc(100dvh - var(--ma-chatbot-bottom-offset) - 92px));
		min-height: min(380px, calc(100dvh - var(--ma-chatbot-bottom-offset) - 92px));
		border-radius: 23px;
		transform-origin: bottom center;
	}
	.ma-chatbot--right .ma-chatbot__dialog { right: 12px; left: auto; }
	.ma-chatbot--left .ma-chatbot__dialog { right: auto; left: 12px; }
	.ma-chatbot__header { min-height: 70px; padding: 11px 12px; }
	.ma-chatbot__avatar { flex-basis: 40px; width: 40px; height: 40px; padding: 9px; border-radius: 13px; }
	.ma-chatbot__identity { gap: 8px; }
	.ma-chatbot__new-chat { min-height: 36px; padding: 7px 8px; border-radius: 10px; font-size: 9.5px; }
	.ma-chatbot__close { flex-basis: 36px; width: 36px; height: 36px; padding: 9px; border-radius: 10px; }
	.ma-chatbot__messages { padding: 16px 11px; }
	.ma-chatbot__message { max-width: 91%; }
	.ma-chatbot__form { padding-right: 9px; padding-left: 9px; }
	.ma-chatbot__privacy { padding-right: 8px; padding-left: 8px; font-size: 9px; }
}

@media (min-width: 769px) {
	.ma-chatbot--desktop-disabled { display: none !important; }
}

@media (max-width: 768px) {
	.ma-chatbot--mobile-disabled { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.ma-chatbot,
	.ma-chatbot__greeting,
	.ma-chatbot__toggle,
	.ma-chatbot__dialog,
	.ma-chatbot__close,
	.ma-chatbot__new-chat,
	.ma-chatbot__new-confirm,
	.ma-chatbot__feedback button,
	.ma-chatbot__retry,
	.ma-chatbot__suggestion,
	.ma-chatbot__tracking-code,
	.ma-chatbot__composer button { animation: none; transition: none; }
	.ma-chatbot__greeting { opacity: 1; transform: translate3d(0, -50%, 0) scale(1); }
	.ma-chatbot__typing span { animation: none; opacity: .65; }
}
