.aiwa-chat-widget {
	--aiwa-primary-color: #2563eb;
	--aiwa-accent-color: #0f172a;
	--aiwa-toggle-bg-color: #2563eb;
	--aiwa-toggle-hover-bg-color: #1d4ed8;
	--aiwa-toggle-text-color: #fff;
	--aiwa-toggle-border-color: #2563eb;
	--aiwa-icon-bg-color: #fff;
	--aiwa-panel-bg-color: #fff;
	--aiwa-panel-border-color: #dcdcde;
	--aiwa-header-bg-color: #2563eb;
	--aiwa-header-icon-bg-color: #fff;
	--aiwa-header-text-color: #fff;
	--aiwa-close-button-color: #fff;
	--aiwa-close-button-bg-color: #fff;
	--aiwa-close-button-border-color: #fff;
	--aiwa-focus-outline-color: #2563eb;
	--aiwa-bot-message-bg: #f1f5f9;
	--aiwa-bot-message-color: #111827;
	--aiwa-user-message-color: #fff;
	--aiwa-desktop-width: 380px;
	--aiwa-desktop-height: 620px;
	--aiwa-toggle-icon-size: 38px;
	--aiwa-header-icon-size: 32px;
	--aiwa-edge-offset: 24px;
	--aiwa-vertical-offset: 24px;
	--aiwa-radius: 10px;
	--aiwa-toggle-radius: 999px;
	--aiwa-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
	box-sizing: border-box;
	font-family: inherit;
	z-index: 9999;
}

.aiwa-chat-widget *,
.aiwa-chat-widget *::before,
.aiwa-chat-widget *::after {
	box-sizing: border-box;
}

.aiwa-chat-widget--bottom_right,
.aiwa-chat-widget--bottom_left,
.aiwa-chat-widget--bottom_center,
.aiwa-chat-widget--middle_right,
.aiwa-chat-widget--middle_left,
.aiwa-chat-widget--top_right,
.aiwa-chat-widget--top_left,
.aiwa-chat-widget--top_center,
.aiwa-chat-widget--right,
.aiwa-chat-widget--left {
	bottom: 24px;
	position: fixed;
}

.aiwa-chat-widget--bottom_right,
.aiwa-chat-widget--right {
	bottom: var(--aiwa-vertical-offset);
	right: var(--aiwa-edge-offset);
}

.aiwa-chat-widget--bottom_left,
.aiwa-chat-widget--left {
	bottom: var(--aiwa-vertical-offset);
	left: var(--aiwa-edge-offset);
}

.aiwa-chat-widget--bottom_center {
	bottom: var(--aiwa-vertical-offset);
	left: 50%;
	transform: translateX(-50%);
}

.aiwa-chat-widget--middle_right {
	bottom: auto;
	right: var(--aiwa-edge-offset);
	top: 50%;
	transform: translateY(-50%);
}

.aiwa-chat-widget--middle_left {
	bottom: auto;
	left: var(--aiwa-edge-offset);
	top: 50%;
	transform: translateY(-50%);
}

.aiwa-chat-widget--top_right {
	bottom: auto;
	right: var(--aiwa-edge-offset);
	top: var(--aiwa-vertical-offset);
}

.aiwa-chat-widget--top_left {
	bottom: auto;
	left: var(--aiwa-edge-offset);
	top: var(--aiwa-vertical-offset);
}

.aiwa-chat-widget--top_center {
	bottom: auto;
	left: 50%;
	top: var(--aiwa-vertical-offset);
	transform: translateX(-50%);
}

.aiwa-chat-widget--shape-square {
	--aiwa-radius: 4px;
	--aiwa-toggle-radius: 6px;
}

.aiwa-chat-widget--shape-rounded {
	--aiwa-radius: 10px;
	--aiwa-toggle-radius: 12px;
}

.aiwa-chat-widget--shape-pill {
	--aiwa-radius: 18px;
	--aiwa-toggle-radius: 999px;
}

.aiwa-chat-widget--shadow-none {
	--aiwa-shadow: none;
}

.aiwa-chat-widget--shadow-soft {
	--aiwa-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.aiwa-chat-widget--shadow-strong {
	--aiwa-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.aiwa-chat-widget--inline {
	bottom: auto;
	left: auto;
	position: relative;
	right: auto;
}

.aiwa-chat-toggle,
.aiwa-chat-form button {
	background: var(--aiwa-primary-color);
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	outline: none;
}

.aiwa-chat-toggle {
	align-items: center;
	appearance: none;
	background: var(--aiwa-toggle-bg-color) !important;
	border: 0 !important;
	border-radius: var(--aiwa-toggle-radius);
	box-shadow: var(--aiwa-shadow);
	color: var(--aiwa-toggle-text-color) !important;
	display: inline-flex;
	min-height: 54px;
	padding: 8px 16px 8px 8px;
	transition: background-color 0.18s ease, padding 0.22s ease;
}

.aiwa-chat-widget--toggle-border .aiwa-chat-toggle {
	border: 1px solid var(--aiwa-toggle-border-color) !important;
}

.aiwa-chat-toggle:hover,
.aiwa-chat-toggle:focus {
	background: var(--aiwa-toggle-hover-bg-color) !important;
	color: var(--aiwa-toggle-text-color) !important;
}

.aiwa-chat-toggle:focus-visible,
.aiwa-chat-close:focus-visible,
.aiwa-chat-form button:focus-visible,
.aiwa-chat-link-button:focus-visible {
	outline: 2px solid var(--aiwa-focus-outline-color);
	outline-offset: 3px;
}

.aiwa-chat-widget.is-open .aiwa-chat-toggle {
	display: none;
}

.aiwa-chat-widget--animation-fade .aiwa-chat-toggle {
	animation: aiwa-fade-in 0.45s ease-out both;
}

.aiwa-chat-widget--animation-pulse .aiwa-chat-toggle {
	animation: aiwa-fade-in 0.35s ease-out both, aiwa-pulse 2.4s ease-in-out 0.7s infinite;
}

.aiwa-chat-widget--animation-bounce .aiwa-chat-toggle {
	animation: aiwa-fade-in 0.35s ease-out both, aiwa-bounce 2.6s ease-in-out 0.8s infinite;
}

.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-fade .aiwa-chat-toggle,
.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-pulse .aiwa-chat-toggle,
.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-bounce .aiwa-chat-toggle {
	animation: none;
}

.aiwa-chat-toggle__open {
	align-items: center;
	display: inline-flex;
	gap: 10px;
	min-width: 0;
}

.aiwa-chat-toggle__icon,
.aiwa-chat-header__icon {
	align-items: center;
	background: var(--aiwa-icon-bg-color);
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 auto;
	height: var(--aiwa-toggle-icon-size);
	justify-content: center;
	overflow: hidden;
	width: var(--aiwa-toggle-icon-size);
}

.aiwa-chat-toggle__icon img,
.aiwa-chat-header__icon img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.aiwa-chat-toggle__symbol {
	color: var(--aiwa-header-text-color);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
}

.aiwa-chat-toggle__label {
	color: var(--aiwa-toggle-text-color) !important;
	display: inline-block;
	overflow: hidden;
	transition: max-width 0.22s ease, opacity 0.18s ease, transform 0.22s ease;
	white-space: nowrap;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle {
	padding-right: 8px;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:not(:hover):not(:focus-visible) {
	background: transparent !important;
	box-shadow: none;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle__open {
	gap: 0;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:not(:hover):not(:focus-visible) .aiwa-chat-toggle__icon {
	background: transparent !important;
}

.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-fade .aiwa-chat-toggle__icon {
	animation: aiwa-icon-entrance 0.95s cubic-bezier(0.18, 0.95, 0.2, 1.25) 1.2s both;
}

.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-pulse .aiwa-chat-toggle__icon {
	animation: aiwa-icon-entrance 0.95s cubic-bezier(0.18, 0.95, 0.2, 1.25) 1.2s both, aiwa-icon-attention 4.2s ease-in-out 2.35s infinite;
}

.aiwa-chat-widget--toggle-label-hover.aiwa-chat-widget--animation-bounce .aiwa-chat-toggle__icon {
	animation: aiwa-icon-entrance 0.95s cubic-bezier(0.18, 0.95, 0.2, 1.25) 1.2s both, aiwa-icon-float 3.2s ease-in-out 2.35s infinite;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle__label {
	max-width: 0;
	opacity: 0;
	transform: translateX(-6px);
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:hover,
.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:focus-visible {
	background: var(--aiwa-toggle-hover-bg-color) !important;
	box-shadow: var(--aiwa-shadow);
	padding-right: 16px;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:hover .aiwa-chat-toggle__icon,
.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:focus-visible .aiwa-chat-toggle__icon {
	background: var(--aiwa-icon-bg-color) !important;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:hover .aiwa-chat-toggle__open,
.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:focus-visible .aiwa-chat-toggle__open {
	gap: 10px;
}

.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:hover .aiwa-chat-toggle__label,
.aiwa-chat-widget--toggle-label-hover .aiwa-chat-toggle:focus-visible .aiwa-chat-toggle__label {
	max-width: min(260px, calc(100vw - 120px));
	opacity: 1;
	transform: translateX(0);
}

.aiwa-chat-toggle__close {
	color: var(--aiwa-close-button-color);
	display: none;
	font-size: 20px;
	line-height: 1;
}

.aiwa-chat-panel {
	background: var(--aiwa-panel-bg-color);
	border: 1px solid var(--aiwa-panel-border-color);
	border-radius: var(--aiwa-radius);
	box-shadow: var(--aiwa-shadow);
	display: flex;
	flex-direction: column;
	height: min(var(--aiwa-desktop-height), calc(100vh - 110px));
	margin-bottom: 10px;
	overflow: hidden;
	width: min(var(--aiwa-desktop-width), calc(100vw - 32px));
}

.aiwa-chat-widget--border-none .aiwa-chat-panel {
	border: 0;
}

.aiwa-chat-widget--inline .aiwa-chat-panel {
	margin-bottom: 0;
	margin-top: 10px;
}

.aiwa-chat-header {
	align-items: center;
	background: var(--aiwa-header-bg-color) !important;
	color: var(--aiwa-header-text-color) !important;
	display: flex;
	justify-content: space-between;
	padding: 12px 14px;
}

.aiwa-chat-header__title {
	align-items: center;
	display: inline-flex;
	gap: 10px;
	min-width: 0;
}

.aiwa-chat-header__title strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aiwa-chat-header__icon {
	background: var(--aiwa-header-icon-bg-color) !important;
	height: var(--aiwa-header-icon-size);
	width: var(--aiwa-header-icon-size);
}

.aiwa-chat-close {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--aiwa-close-button-color);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	min-height: 34px;
	min-width: 34px;
	padding: 0;
	box-shadow: none;
	text-align: center;
}

.aiwa-chat-widget--close-box .aiwa-chat-close {
	background: var(--aiwa-close-button-bg-color);
	border: 1px solid var(--aiwa-close-button-border-color);
}

.aiwa-chat-widget .aiwa-chat-close,
.aiwa-chat-widget .aiwa-chat-toggle__close {
	color: var(--aiwa-close-button-color);
}

.aiwa-chat-close:hover,
.aiwa-chat-close:focus {
	background: var(--aiwa-close-button-bg-color);
	border-radius: calc(var(--aiwa-radius) - 4px);
	box-shadow: none;
	color: var(--aiwa-close-button-color);
}

.aiwa-chat-widget:not(.aiwa-chat-widget--close-box) .aiwa-chat-close:hover,
.aiwa-chat-widget:not(.aiwa-chat-widget--close-box) .aiwa-chat-close:focus {
	background: transparent;
}

.aiwa-chat-widget .aiwa-chat-messages {
	align-content: flex-start !important;
	align-items: flex-start !important;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	justify-content: flex-start !important;
	overflow-y: auto;
	padding: 14px;
	text-align: left !important;
}

.aiwa-chat-widget .aiwa-chat-message {
	align-items: flex-start !important;
	border-radius: 8px;
	display: block;
	justify-content: flex-start !important;
	line-height: 1.45;
	max-width: 88%;
	text-align: left !important;
	padding: 9px 11px;
	white-space: pre-wrap;
}

.aiwa-chat-widget .aiwa-chat-message--bot {
	align-self: flex-start;
	background: var(--aiwa-bot-message-bg);
	color: var(--aiwa-bot-message-color);
	margin-left: 0 !important;
	margin-right: auto !important;
}

.aiwa-chat-widget .aiwa-chat-message--user {
	align-self: flex-end;
	background: var(--aiwa-primary-color);
	color: var(--aiwa-user-message-color);
	margin-left: auto !important;
	margin-right: 0 !important;
}

.aiwa-chat-widget .aiwa-chat-message--error {
	background: #fef2f2;
	color: #991b1b;
}

.aiwa-chat-links {
	align-self: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: -4px;
	max-width: 88%;
}

.aiwa-chat-link-button {
	background: #fff;
	border: 1px solid var(--aiwa-primary-color);
	border-radius: calc(var(--aiwa-radius) - 2px);
	color: var(--aiwa-primary-color);
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	padding: 8px 10px;
	text-decoration: none;
	white-space: normal;
}

.aiwa-chat-link-button:hover,
.aiwa-chat-link-button:focus {
	background: var(--aiwa-primary-color);
	color: #fff;
	outline: none;
}

.aiwa-chat-privacy {
	border-top: 1px solid #e5e7eb;
	color: #4b5563;
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
	padding: 8px 12px 0;
}

.aiwa-chat-privacy-consent {
	border-top: 1px solid #e5e7eb;
	display: grid;
	gap: 8px;
	padding: 10px 12px 0;
}

.aiwa-chat-privacy-consent[hidden] {
	display: none !important;
}

.aiwa-chat-privacy-consent .aiwa-chat-privacy {
	border-top: 0;
	padding: 0;
}

.aiwa-chat-privacy-link {
	color: var(--aiwa-primary-color);
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aiwa-chat-privacy-accept {
	background: var(--aiwa-primary-color);
	border: 0;
	border-radius: calc(var(--aiwa-radius) - 2px);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	justify-self: start;
	padding: 8px 12px;
}

.aiwa-chat-privacy-accept:hover,
.aiwa-chat-privacy-accept:focus {
	background: var(--aiwa-toggle-hover-bg-color);
}

.aiwa-chat-form {
	display: flex;
	gap: 8px;
	padding: 12px;
}

.aiwa-chat-form textarea {
	border: 1px solid #d1d5db;
	border-radius: calc(var(--aiwa-radius) - 2px);
	flex: 1;
	font: inherit;
	min-height: 44px;
	padding: 9px;
	resize: vertical;
}

.aiwa-chat-form textarea[disabled] {
	background: #f8fafc;
	cursor: not-allowed;
	opacity: 0.72;
}

.aiwa-chat-form button {
	border-radius: calc(var(--aiwa-radius) - 2px);
	padding: 0 14px;
}

.aiwa-chat-form button[disabled] {
	cursor: not-allowed;
	opacity: 0.65;
}

@media (max-width: 600px) {
	.aiwa-chat-widget--right,
	.aiwa-chat-widget--left,
	.aiwa-chat-widget--bottom_right,
	.aiwa-chat-widget--bottom_left,
	.aiwa-chat-widget--bottom_center,
	.aiwa-chat-widget--middle_right,
	.aiwa-chat-widget--middle_left,
	.aiwa-chat-widget--top_right,
	.aiwa-chat-widget--top_left,
	.aiwa-chat-widget--top_center {
		bottom: 12px;
		left: 12px;
		right: 12px;
		top: auto;
		transform: none;
	}

	.aiwa-chat-panel {
		height: min(560px, calc(100vh - 90px));
		width: 100%;
	}

	.aiwa-chat-widget--mobile-fullscreen .aiwa-chat-panel {
		border-radius: var(--aiwa-radius) var(--aiwa-radius) 0 0;
		height: calc(100vh - 70px);
	}

	.aiwa-chat-toggle {
		max-width: calc(100vw - 24px);
	}

	.aiwa-chat-toggle__label {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.aiwa-chat-message,
	.aiwa-chat-links {
		max-width: 100%;
	}

	.aiwa-chat-links {
		width: 100%;
	}

	.aiwa-chat-link-button {
		justify-content: center;
		width: 100%;
	}
}

@keyframes aiwa-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes aiwa-pulse {
	0%,
	100% {
		box-shadow: var(--aiwa-shadow), 0 0 0 0 color-mix(in srgb, var(--aiwa-primary-color) 34%, transparent);
	}

	50% {
		box-shadow: var(--aiwa-shadow), 0 0 0 12px color-mix(in srgb, var(--aiwa-primary-color) 0%, transparent);
	}
}

@keyframes aiwa-bounce {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

@keyframes aiwa-icon-entrance {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.34) rotate(-8deg);
	}

	45% {
		opacity: 1;
		transform: translateY(-7px) scale(1.18) rotate(3deg);
	}

	68% {
		opacity: 1;
		transform: translateY(2px) scale(0.96) rotate(-1deg);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotate(0);
	}
}

@keyframes aiwa-icon-attention {
	0%,
	76%,
	100% {
		transform: translateY(0) scale(1);
	}

	82% {
		transform: translateY(-2px) scale(1.04);
	}

	88% {
		transform: translateY(0) scale(1);
	}

	94% {
		transform: translateY(-1px) scale(1.025);
	}
}

@keyframes aiwa-icon-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}
}

/* Professional product polish layered over the configurable widget theme. */
.aiwa-chat-widget {
	--aiwa-radius: 18px;
	--aiwa-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
	color: #172033;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.aiwa-chat-widget--shape-square {
	--aiwa-radius: 8px;
}

.aiwa-chat-widget--shape-rounded {
	--aiwa-radius: 18px;
}

.aiwa-chat-toggle {
	border: 0 !important;
	box-shadow: 0 16px 38px rgba(17, 24, 39, 0.18);
	font-size: 15px;
	font-weight: 750;
	min-height: 58px;
	padding: 9px 18px 9px 9px;
}

.aiwa-chat-widget--toggle-border .aiwa-chat-toggle {
	border: 1px solid color-mix(in srgb, var(--aiwa-toggle-border-color) 76%, #ffffff) !important;
}

.aiwa-chat-toggle__icon,
.aiwa-chat-header__icon {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.aiwa-chat-toggle__symbol {
	color: var(--aiwa-primary-color);
}

.aiwa-chat-panel {
	backdrop-filter: blur(18px);
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--aiwa-panel-bg-color) 94%, #ffffff), var(--aiwa-panel-bg-color));
	border-color: color-mix(in srgb, var(--aiwa-panel-border-color) 78%, #ffffff);
	box-shadow: var(--aiwa-shadow), 0 0 0 1px rgba(255, 255, 255, 0.78) inset;
	margin-bottom: 14px;
}

.aiwa-chat-header {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--aiwa-header-bg-color) 90%, #0f172a), var(--aiwa-header-bg-color)) !important;
	gap: 12px;
	min-height: 66px;
	padding: 14px 16px;
}

.aiwa-chat-header__title {
	flex: 1;
	gap: 12px;
}

.aiwa-chat-header__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.aiwa-chat-header__copy strong {
	color: var(--aiwa-header-text-color);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aiwa-chat-header__copy span {
	color: color-mix(in srgb, var(--aiwa-header-text-color) 78%, transparent);
	font-size: 12px;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aiwa-chat-close {
	align-items: center;
	border-radius: 10px;
	display: inline-flex;
	font-size: 18px;
	justify-content: center;
	transition: background-color 0.16s ease, transform 0.16s ease;
}

.aiwa-chat-close:hover,
.aiwa-chat-close:focus {
	transform: translateY(-1px);
}

.aiwa-chat-widget .aiwa-chat-messages {
	background:
		radial-gradient(circle at top left, color-mix(in srgb, var(--aiwa-primary-color) 8%, transparent), transparent 34%),
		#f8fafc;
	gap: 12px;
	padding: 16px;
}

.aiwa-chat-widget .aiwa-chat-message {
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 400;
	line-height: 1.55 !important;
	padding: 12px 14px;
	text-align: left !important;
	white-space: pre-line;
}

.aiwa-chat-widget .aiwa-chat-message--bot {
	background: color-mix(in srgb, var(--aiwa-bot-message-bg) 88%, #ffffff);
	border: 1px solid rgba(209, 216, 226, 0.82);
}

.aiwa-chat-widget .aiwa-chat-message--user {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--aiwa-primary-color) 88%, #111827), var(--aiwa-primary-color));
	box-shadow: 0 10px 24px color-mix(in srgb, var(--aiwa-primary-color) 24%, transparent);
}

.aiwa-chat-widget .aiwa-chat-message a {
	color: currentColor;
	font-weight: 750;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.aiwa-chat-links {
	margin-top: -2px;
}

.aiwa-chat-link-button {
	background: #ffffff;
	border-color: color-mix(in srgb, var(--aiwa-primary-color) 58%, #d1d8e2);
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
	font-size: 13px;
	padding: 9px 12px;
}

.aiwa-chat-privacy,
.aiwa-chat-privacy-consent {
	background: #ffffff;
	border-top-color: #e6ebf2;
}

.aiwa-chat-privacy-consent {
	padding: 12px 14px;
}

.aiwa-chat-privacy-accept {
	border-radius: 999px;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--aiwa-primary-color) 22%, transparent);
}

.aiwa-chat-form {
	align-items: flex-end;
	background: #ffffff;
	border-top: 1px solid #e6ebf2;
	gap: 10px;
	padding: 14px;
}

.aiwa-chat-form textarea {
	background: #f8fafc;
	border-color: #d5dde8;
	border-radius: 14px;
	box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
	line-height: 1.45;
	max-height: 132px;
	min-height: 48px;
	padding: 12px 13px;
}

.aiwa-chat-form textarea:focus {
	background: #ffffff;
	border-color: var(--aiwa-focus-outline-color);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--aiwa-focus-outline-color) 18%, transparent);
	outline: none;
}

.aiwa-chat-form button {
	border-radius: 14px;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--aiwa-primary-color) 22%, transparent);
	font-weight: 800;
	min-height: 48px;
	padding: 0 18px;
	transition: filter 0.16s ease, transform 0.16s ease;
}

.aiwa-chat-form button:hover,
.aiwa-chat-form button:focus {
	filter: brightness(0.96);
	transform: translateY(-1px);
}

@media (max-width: 600px) {
	.aiwa-chat-header {
		min-height: 64px;
	}

	.aiwa-chat-form {
		align-items: stretch;
		flex-direction: column;
	}

	.aiwa-chat-form button {
		width: 100%;
	}
}
