.omhcb-widget {
	--omhcb-accent: #2563eb;
	--omhcb-bg: #ffffff;
	--omhcb-text: #172033;
	--omhcb-muted: #667085;
	--omhcb-border: #e4e7ec;
	--omhcb-shadow: 0 24px 70px rgba(16, 24, 40, .22);
	box-sizing: border-box;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--omhcb-text);
	line-height: normal;
	text-align: left;
	writing-mode: horizontal-tb;
	z-index: 2147483000;
}

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

.omhcb-widget .screen-reader-text {
	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;
}

.omhcb-widget[hidden] {
	display: none !important;
}

.omhcb-widget--floating {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	width: 58px !important;
	height: 58px !important;
	min-width: 58px !important;
	max-width: none !important;
	overflow: visible !important;
}

.omhcb-widget--floating.omhcb-position--left {
	right: auto;
	left: max(20px, env(safe-area-inset-left));
}

.omhcb-launcher {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--omhcb-accent);
	color: #fff;
	box-shadow: 0 12px 30px rgba(16, 24, 40, .28);
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

.omhcb-launcher:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 38px rgba(16, 24, 40, .32);
}

.omhcb-launcher:focus-visible,
.omhcb-close:focus-visible,
.omhcb-send:focus-visible,
.omhcb-input:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--omhcb-accent), white 45%);
	outline-offset: 2px;
}

.omhcb-launcher svg {
	width: 29px;
	height: 29px;
	fill: currentColor;
}

.omhcb-panel {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0;
	overflow: hidden;
	background: var(--omhcb-bg);
	border: 1px solid rgba(16, 24, 40, .08);
	border-radius: 20px;
	box-shadow: var(--omhcb-shadow);
	color: var(--omhcb-text);
	text-align: left;
	white-space: normal;
	writing-mode: horizontal-tb !important;
}

.omhcb-widget--floating .omhcb-panel {
	position: absolute !important;
	right: 0 !important;
	bottom: 72px !important;
	left: auto !important;
	width: 390px !important;
	min-width: 320px !important;
	max-width: calc(100vw - 32px) !important;
	height: 650px !important;
	min-height: 0;
	max-height: calc(100vh - 120px) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(.98);
	transform-origin: bottom right;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.omhcb-widget--floating.omhcb-position--left .omhcb-panel {
	right: auto !important;
	left: 0 !important;
	transform-origin: bottom left;
}

.omhcb-widget--floating .omhcb-panel > * {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
}

.omhcb-widget--floating .omhcb-messages {
	flex: 1 1 auto;
	min-height: 0;
}

.omhcb-widget--floating.is-open .omhcb-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.omhcb-widget--embedded {
	width: 100%;
	max-width: 760px;
	margin: 1.5rem auto;
}

.omhcb-widget--embedded .omhcb-panel {
	width: 100%;
	height: var(--omhcb-height, 560px);
	min-height: 380px;
}

.omhcb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 72px;
	padding: 14px 16px;
	background: var(--omhcb-accent);
	color: #fff;
}

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

.omhcb-brand > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.omhcb-brand strong {
	overflow: hidden;
	font-size: 16px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.omhcb-status {
	font-size: 12px;
	opacity: .82;
}

.omhcb-logo,
.omhcb-logo-fallback {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .16);
}

.omhcb-logo {
	object-fit: cover;
}

.omhcb-logo-fallback {
	display: grid;
	place-items: center;
}

.omhcb-logo-fallback svg {
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.omhcb-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.omhcb-messages {
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 18px 15px 10px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 65%);
	scroll-behavior: smooth;
}

.omhcb-message {
	display: flex;
	width: 100%;
	margin: 0 0 12px;
}

.omhcb-message--user {
	justify-content: flex-end;
}

.omhcb-bubble {
	max-width: 84%;
	padding: 11px 13px;
	border-radius: 15px 15px 15px 4px;
	background: #fff;
	border: 1px solid var(--omhcb-border);
	box-shadow: 0 3px 14px rgba(16, 24, 40, .06);
	color: var(--omhcb-text);
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.omhcb-message--user .omhcb-bubble {
	border-color: transparent;
	border-radius: 15px 15px 4px 15px;
	background: var(--omhcb-accent);
	color: #fff;
}

.omhcb-typing .omhcb-bubble {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
}

.omhcb-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #98a2b3;
	animation: omhcb-dot 1.1s infinite ease-in-out;
}

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

@keyframes omhcb-dot {
	0%, 60%, 100% { transform: translateY(0); opacity: .45; }
	30% { transform: translateY(-4px); opacity: 1; }
}

.omhcb-limit {
	min-height: 23px;
	padding: 5px 15px 3px;
	border-top: 1px solid var(--omhcb-border);
	color: var(--omhcb-muted);
	background: #fff;
	font-size: 11px;
	text-align: right;
}

.omhcb-limit.is-low {
	color: #b42318;
	font-weight: 600;
}

.omhcb-form {
	display: flex;
	align-items: flex-end;
	gap: 9px;
	padding: 10px 12px;
	border-top: 1px solid var(--omhcb-border);
	background: #fff;
}

.omhcb-input {
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	max-height: 110px;
	margin: 0;
	padding: 11px 12px;
	resize: none;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background: #fff;
	color: var(--omhcb-text);
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
}

.omhcb-input:focus {
	border-color: var(--omhcb-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--omhcb-accent), transparent 85%);
}

.omhcb-send {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--omhcb-accent);
	color: #fff;
	cursor: pointer;
}

.omhcb-send:disabled {
	cursor: wait;
	opacity: .55;
}

.omhcb-send svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.omhcb-website {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.omhcb-privacy {
	margin: 0;
	padding: 0 12px 10px;
	background: #fff;
	color: var(--omhcb-muted);
	font-size: 10px;
	line-height: 1.35;
	text-align: center;
}

@media (max-width: 480px) {
	.omhcb-widget--floating {
		right: 12px;
		bottom: 12px;
	}

	.omhcb-widget--floating.omhcb-position--left {
		left: 12px;
		right: auto;
	}

	.omhcb-widget--floating .omhcb-panel {
		position: fixed !important;
		inset: 8px !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		height: auto !important;
		min-height: 0;
		max-height: none !important;
		border-radius: 16px;
		transform-origin: center bottom;
	}

	.omhcb-widget--floating .omhcb-launcher {
		width: 54px;
		height: 54px;
	}

	.omhcb-bubble {
		max-width: 89%;
	}

	.omhcb-widget--embedded .omhcb-panel {
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.omhcb-widget *,
	.omhcb-widget *::before,
	.omhcb-widget *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}


.omhcb-message--assistant .omhcb-bubble {
	width: 100%;
	max-width: 100%;
}

.omhcb-message--user .omhcb-bubble {
	width: auto;
	max-width: 84%;
}

.omhcb-bubble--rich {
	white-space: normal;
}

.omhcb-bubble--rich > :first-child {
	margin-top: 0;
}

.omhcb-bubble--rich > :last-child {
	margin-bottom: 0;
}

.omhcb-bubble--rich p {
	margin: 0 0 10px;
	font: inherit;
	line-height: 1.58;
}

.omhcb-bubble--rich h2,
.omhcb-bubble--rich h3,
.omhcb-bubble--rich h4,
.omhcb-bubble--rich h5 {
	margin: 16px 0 8px;
	padding: 0;
	border: 0;
	color: inherit;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.omhcb-bubble--rich h2 {
	font-size: 17px;
	line-height: 1.3;
}

.omhcb-bubble--rich h3 {
	font-size: 15px;
	line-height: 1.35;
}

.omhcb-bubble--rich h4,
.omhcb-bubble--rich h5 {
	font-size: 14px;
	line-height: 1.4;
}

.omhcb-bubble--rich ul,
.omhcb-bubble--rich ol {
	margin: 4px 0 12px;
	padding: 0 0 0 22px;
	list-style-position: outside;
}

.omhcb-bubble--rich ul {
	list-style-type: disc;
}

.omhcb-bubble--rich ol {
	list-style-type: decimal;
}

.omhcb-bubble--rich li {
	display: list-item;
	margin: 0 0 7px;
	padding: 0;
	line-height: 1.52;
}

.omhcb-bubble--rich li::marker {
	color: var(--omhcb-accent);
	font-weight: 700;
}

.omhcb-bubble--rich strong {
	font-weight: 700;
}

.omhcb-bubble--rich em {
	font-style: italic;
}

.omhcb-bubble--rich a {
	color: var(--omhcb-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.omhcb-bubble--rich blockquote {
	margin: 10px 0;
	padding: 10px 12px;
	border: 0;
	border-left: 3px solid var(--omhcb-accent);
	background: #f8fafc;
	color: #475467;
	font-style: normal;
}

.omhcb-bubble--rich hr {
	height: 1px;
	margin: 14px 0;
	border: 0;
	background: var(--omhcb-border);
}

.omhcb-bubble--rich code {
	padding: 2px 5px;
	border-radius: 5px;
	background: #eef2f6;
	color: #344054;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: .9em;
	overflow-wrap: anywhere;
}

.omhcb-bubble--rich pre {
	max-width: 100%;
	margin: 10px 0;
	padding: 12px;
	overflow: auto;
	border-radius: 10px;
	background: #172033;
	color: #f8fafc;
	white-space: pre-wrap;
	word-break: break-word;
}

.omhcb-bubble--rich pre code {
	padding: 0;
	background: transparent;
	color: inherit;
	white-space: inherit;
}

.omhcb-table-wrap {
	width: 100%;
	max-width: 100%;
	margin: 10px 0 14px;
	overflow-x: auto;
	border: 1px solid var(--omhcb-border);
	border-radius: 10px;
	background: #fff;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.omhcb-table-wrap:focus-visible {
	outline: 2px solid var(--omhcb-accent);
	outline-offset: 2px;
}

.omhcb-bubble--rich table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	color: inherit;
	font: inherit;
}

.omhcb-bubble--rich th,
.omhcb-bubble--rich td {
	padding: 9px 10px;
	border: 0;
	border-right: 1px solid var(--omhcb-border);
	border-bottom: 1px solid var(--omhcb-border);
	background: #fff;
	color: inherit;
	font-size: 12px;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
	white-space: normal;
}

.omhcb-bubble--rich th {
	background: #f3f6fa;
	font-weight: 700;
}

.omhcb-bubble--rich tr:last-child td {
	border-bottom: 0;
}

.omhcb-bubble--rich th:last-child,
.omhcb-bubble--rich td:last-child {
	border-right: 0;
}

@media (max-width: 480px) {
	.omhcb-message--assistant .omhcb-bubble {
		padding: 11px;
	}

	.omhcb-message--user .omhcb-bubble {
		max-width: 88%;
	}

	.omhcb-bubble--rich h2 {
		font-size: 16px;
	}

	.omhcb-bubble--rich table {
		min-width: 480px;
	}
}

.omhcb-message--assistant.omhcb-typing .omhcb-bubble {
	width: auto;
	max-width: 84%;
}
