.faicb-root {
	--faicb-primary: #2563eb;
	--faicb-bg: #ffffff;
	--faicb-text: #111827;
	--faicb-muted: #6b7280;
	--faicb-line: #e5e7eb;
	color: var(--faicb-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: fixed;
	z-index: 99999;
}
.faicb-root.right {
	bottom: 22px;
	right: 22px;
}
.faicb-root.left {
	bottom: 22px;
	left: 22px;
}
.faicb-root.dark {
	--faicb-bg: #111827;
	--faicb-text: #f9fafb;
	--faicb-muted: #a7b0bf;
	--faicb-line: #2c3647;
}
.faicb-launcher {
	align-items: center;
	background: var(--faicb-primary);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 14px 32px rgba(17, 24, 39, .22);
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 60px;
	justify-content: center;
	width: 60px;
}
.faicb-window {
	background: var(--faicb-bg);
	border: 1px solid var(--faicb-line);
	border-radius: 8px;
	box-shadow: 0 18px 52px rgba(17, 24, 39, .24);
	display: none;
	flex-direction: column;
	height: min(680px, calc(100vh - 42px));
	overflow: hidden;
	width: min(380px, calc(100vw - 28px));
}
.faicb-root.open .faicb-window {
	display: flex;
}
.faicb-root.open .faicb-launcher {
	display: none;
}
.faicb-header {
	align-items: center;
	background: var(--faicb-primary);
	color: #fff;
	display: flex;
	gap: 10px;
	min-height: 62px;
	padding: 12px 14px;
}
.faicb-logo {
	background: rgba(255,255,255,.2);
	border-radius: 50%;
	height: 38px;
	object-fit: cover;
	width: 38px;
}
.faicb-title {
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}
.faicb-actions {
	display: flex;
	gap: 4px;
}
.faicb-icon-btn {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	height: 34px;
	width: 34px;
}
.faicb-messages {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
	padding: 14px;
}
.faicb-message {
	max-width: 86%;
}
.faicb-message.user {
	align-self: flex-end;
}
.faicb-bubble {
	background: #f3f4f6;
	border-radius: 8px;
	line-height: 1.45;
	padding: 10px 12px;
	white-space: pre-wrap;
	word-break: break-word;
}
.faicb-root.dark .faicb-bubble {
	background: #1f2937;
}
.faicb-message.user .faicb-bubble {
	background: var(--faicb-primary);
	color: #fff;
}
.faicb-time {
	color: var(--faicb-muted);
	font-size: 11px;
	margin-top: 4px;
}
.faicb-message.user .faicb-time {
	text-align: right;
}
.faicb-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 14px 10px;
}
.faicb-suggestion {
	background: transparent;
	border: 1px solid var(--faicb-line);
	border-radius: 999px;
	color: var(--faicb-text);
	cursor: pointer;
	font-size: 12px;
	padding: 7px 10px;
}
.faicb-form {
	align-items: end;
	border-top: 1px solid var(--faicb-line);
	display: flex;
	gap: 8px;
	padding: 10px;
}
.faicb-input {
	background: transparent;
	border: 1px solid var(--faicb-line);
	border-radius: 8px;
	color: var(--faicb-text);
	flex: 1;
	max-height: 110px;
	min-height: 42px;
	padding: 10px;
	resize: none;
}
.faicb-send {
	background: var(--faicb-primary);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	height: 42px;
	width: 46px;
}
.faicb-typing .faicb-bubble span {
	animation: faicbBlink 1.2s infinite;
	display: inline-block;
}
.faicb-typing .faicb-bubble span:nth-child(2) {
	animation-delay: .2s;
}
.faicb-typing .faicb-bubble span:nth-child(3) {
	animation-delay: .4s;
}
@keyframes faicbBlink {
	0%, 80%, 100% { opacity: .25; }
	40% { opacity: 1; }
}
@media (max-width: 480px) {
	.faicb-root.left,
	.faicb-root.right {
		bottom: 12px;
		left: 12px;
		right: 12px;
	}
	.faicb-window {
		width: calc(100vw - 24px);
	}
}
