.kh-chatbot-root {
	font-family: Outfit, system-ui, sans-serif;
}
.kh-chatbot-root .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.kh-chatbot-launcher {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 10050;
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: #e56b45;
	color: #fff;
	box-shadow: 0 12px 32px rgba(229, 107, 69, 0.4);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kh-chatbot-launcher:hover {
	background: #c44f2d;
}
.kh-chatbot-launcher-icon {
	display: flex;
	color: #fff;
}
.kh-chatbot-teaser {
	position: fixed;
	right: 88px;
	bottom: 28px;
	z-index: 10049;
	width: 260px;
	max-width: calc(100vw - 120px);
	background: #fff;
	color: #222;
	border-radius: 14px;
	box-shadow: 0 14px 36px rgba(6, 10, 9, 0.18);
	padding: 16px 34px 16px 16px;
	font-size: 14px;
	line-height: 1.45;
	cursor: pointer;
}
.kh-chatbot-teaser p {
	margin: 0;
}
.kh-chatbot-teaser-close {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 24px;
	height: 24px;
	border: 0;
	background: transparent;
	color: #888;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.kh-chatbot-teaser-close:hover {
	color: #222;
}
.kh-chatbot-teaser[hidden] {
	display: none !important;
}
.kh-chatbot-panel {
	position: fixed;
	right: 20px;
	bottom: 90px;
	z-index: 10051;
	width: 380px;
	max-width: calc(100vw - 24px);
	height: 560px;
	max-height: calc(100vh - 120px);
	background: #fff;
	color: #222;
	border-radius: 16px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 22px 60px rgba(6, 10, 9, 0.22);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.kh-chatbot-header {
	background: #e56b45;
	color: #fff;
	padding: 14px 14px 22px 16px;
	flex-shrink: 0;
}
.kh-chatbot-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.kh-chatbot-bot-icon {
	display: flex;
	color: #ffd8c8;
	flex-shrink: 0;
}
.kh-chatbot-hello-block {
	margin-top: 14px;
}
.kh-chatbot-hello-block strong {
	display: block;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
}
.kh-chatbot-hello-block span {
	display: block;
	font-size: 14px;
	font-weight: 400;
	opacity: 0.96;
	margin-top: 10px;
	line-height: 1.45;
	color: #fff;
}
.kh-chatbot-agent-block {
	display: none;
	flex: 1;
	min-width: 0;
}
.kh-chatbot-agent-block strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
}
.kh-chatbot-available {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: #2e9b57;
}
.kh-chatbot-close {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	flex-shrink: 0;
	margin-left: auto;
}
.kh-chatbot-panel.is-chat .kh-chatbot-header {
	background: #fff;
	color: #222;
	border-bottom: 1px solid #ececec;
	padding: 12px 12px 12px 14px;
}
.kh-chatbot-panel.is-chat .kh-chatbot-hello-block {
	display: none;
}
.kh-chatbot-panel.is-chat .kh-chatbot-agent-block {
	display: block;
}
.kh-chatbot-panel.is-chat .kh-chatbot-bot-icon {
	color: #e56b45;
}
.kh-chatbot-panel.is-chat .kh-chatbot-close {
	color: #666;
	margin-left: 0;
}
.kh-chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 16px 14px 10px;
	background: #f3f3f3;
}
.kh-chatbot-messages[hidden] {
	display: none !important;
}
.kh-chatbot-panel.is-browse .kh-chatbot-composer {
	flex: 1;
	border-top: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: #fff;
}
.kh-chatbot-panel.is-browse .kh-chatbot-suggestions {
	flex: 1;
	max-height: none;
	align-content: flex-start;
	overflow-y: auto;
	padding: 16px 16px 12px;
}
.kh-chatbot-panel.is-chat .kh-chatbot-suggestions {
	padding: 10px 14px 8px;
	max-height: none;
}
.kh-chatbot-user-block {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-bottom: 6px;
}
.kh-chatbot-msg {
	max-width: 88%;
	margin-bottom: 8px;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}
.kh-chatbot-msg a {
	color: #c44f2d;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.kh-chatbot-msg.user {
	margin-left: auto;
	margin-bottom: 0;
	background: #fff;
	color: #222;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.kh-chatbot-msg.assistant {
	background: #fde6d8;
	color: #2a2a2a;
	border: 0;
}
.kh-chatbot-row {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	margin-bottom: 4px;
}
.kh-chatbot-row .kh-chatbot-msg {
	margin-bottom: 0;
}
.kh-chatbot-msg-avatar {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	color: #e56b45;
	display: flex;
}
.kh-chatbot-msg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
	margin: 8px 0 0;
	max-width: 100%;
}
.kh-chatbot-msg-chips span {
	background: #ececec;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
}
.kh-chatbot-time {
	font-size: 11px;
	color: #9a9a9a;
	margin: 4px 0 12px;
}
.kh-chatbot-time.is-user {
	align-self: flex-end;
}
.kh-chatbot-joined {
	text-align: center;
	margin: 18px 0 16px;
	color: #666;
	font-size: 13px;
	line-height: 1.35;
}
.kh-chatbot-joined .kh-chatbot-bot-icon {
	justify-content: center;
	color: #e56b45;
	margin: 0 0 8px;
}
.kh-chatbot-joined strong {
	display: block;
	color: #1a1a1a;
	font-size: 14px;
}
.kh-chatbot-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px 30px;
}
.kh-chatbot-actions a,
.kh-chatbot-actions span {
	border: 0;
	background: #e56b45;
	color: #fff;
	border-radius: 999px;
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.kh-chatbot-actions a.secondary,
.kh-chatbot-actions span.saved {
	background: #fff;
	color: #c44f2d;
	border: 1px solid #e56b45;
}
.kh-chatbot-composer {
	background: #fff;
	border-top: 1px solid #ececec;
	flex-shrink: 0;
}
.kh-chatbot-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 16px 12px;
}
.kh-chatbot-suggestions button {
	flex: 0 0 auto;
	border: 0;
	background: #ececec;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	color: #333;
}
.kh-chatbot-suggestions button:hover {
	background: #e2e2e2;
	color: #111;
}
.kh-chatbot-suggestions button:focus-visible {
	outline: 2px solid #e56b45;
	outline-offset: 2px;
}
.kh-chatbot-suggestions button.is-selected {
	background: #f8e4d8;
	color: #333;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.kh-chatbot-suggestions button.is-selected:hover {
	background: #f3d5c4;
}
.kh-chatbot-chip-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	color: #e56b45;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.kh-chatbot-suggestions button.kh-chatbot-plan {
	background: linear-gradient(135deg, #e56b45 0%, #c9a46a 100%);
	color: #fff;
	box-shadow: 0 4px 10px rgba(229, 107, 69, 0.22);
}
.kh-chatbot-suggestions button.kh-chatbot-plan:hover {
	background: linear-gradient(135deg, #c44f2d 0%, #e56b45 100%);
	color: #fff;
}
.kh-chatbot-form {
	display: flex;
	gap: 4px;
	padding: 4px 12px 8px 16px;
	align-items: flex-end;
	border-top: 1px solid #ececec;
}
.kh-chatbot-brand {
	flex-shrink: 0;
	padding: 0 16px 10px;
	line-height: 1;
}
.kh-chatbot-brand a {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b0b0b0;
	text-decoration: none;
}
.kh-chatbot-brand a:hover {
	color: #888;
}
.kh-chatbot-form textarea {
	flex: 1;
	border: 0;
	border-radius: 0;
	padding: 10px 8px 10px 0;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	min-height: 42px;
	max-height: 132px;
	min-width: 0;
	resize: none;
	overflow-y: auto;
	background: transparent;
	color: #222;
}
.kh-chatbot-form textarea::placeholder {
	color: #9a9a9a;
	font-weight: 500;
}
.kh-chatbot-form textarea:focus {
	outline: none;
}
.kh-chatbot-form button {
	background: transparent;
	color: #333;
	border: 0;
	border-radius: 8px;
	width: 40px;
	height: 40px;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kh-chatbot-form button:hover {
	background: #f4f4f4;
	color: #e56b45;
}
.kh-chatbot-form button:disabled {
	opacity: 0.45;
	cursor: wait;
}
.kh-chatbot-typing {
	font-size: 12px;
	color: #888;
	margin: 0 0 8px 30px;
}
.kh-chatbot-root[hidden],
.kh-chatbot-panel[hidden] {
	display: none !important;
}
@media (max-width: 640px) {
	.kh-chatbot-launcher {
		right: 12px;
		bottom: 12px;
		width: 52px;
		height: 52px;
	}
	.kh-chatbot-teaser {
		right: 72px;
		bottom: 16px;
		width: 220px;
		max-width: calc(100vw - 92px);
	}
	.kh-chatbot-panel {
		right: 8px;
		left: 8px;
		width: auto;
		bottom: 74px;
		height: min(70vh, 560px);
	}
}
