.hitpro-ai-widget {
	--hitpro-ai-primary: #00a878;
	--hitpro-ai-cyan: #38bdf8;
	--hitpro-ai-ink: #07111f;
	--hitpro-ai-muted: #667085;
	--hitpro-ai-panel: #ffffff;
	--hitpro-ai-panel-2: #f6f9fc;
	--hitpro-ai-line: rgba(15, 23, 42, .12);
	--hitpro-ai-dark: #080d18;
	--hitpro-ai-shadow: 0 26px 72px rgba(8, 13, 24, .24);
	bottom: 24px;
	color: var(--hitpro-ai-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: fixed;
	right: 24px;
	z-index: 999999;
}

.hitpro-ai-widget * {
	box-sizing: border-box;
}

.hitpro-ai-widget--dark {
	--hitpro-ai-ink: #f8fafc;
	--hitpro-ai-muted: #9aa7bd;
	--hitpro-ai-panel: #0b1220;
	--hitpro-ai-panel-2: #08111f;
	--hitpro-ai-line: rgba(255, 255, 255, .13);
	--hitpro-ai-shadow: 0 26px 76px rgba(0, 0, 0, .5);
}

.hitpro-ai-widget__launcher {
	align-items: center;
	background: #08111f;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	box-shadow: 0 18px 46px rgba(8, 13, 24, .28);
	color: #fff;
	cursor: pointer;
	display: flex;
	height: var(--hitpro-ai-launcher-size, 62px);
	justify-content: center;
	position: absolute;
	right: 0;
	top: 0;
	transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
	width: var(--hitpro-ai-launcher-size, 62px);
}

.hitpro-ai-widget__launcher::before {
	background: var(--hitpro-ai-primary);
	border: 3px solid #fff;
	border-radius: 999px;
	content: "";
	height: 13px;
	position: absolute;
	right: 6px;
	top: 7px;
	width: 13px;
}

.hitpro-ai-widget__launcher::after {
	background: linear-gradient(90deg, var(--hitpro-ai-primary), var(--hitpro-ai-cyan));
	border-radius: 999px;
	bottom: -2px;
	content: "";
	height: 4px;
	left: 12px;
	position: absolute;
	right: 12px;
}

.hitpro-ai-widget__launcher:hover,
.hitpro-ai-widget__launcher:focus-visible {
	box-shadow: 0 20px 54px rgba(8, 13, 24, .36);
	transform: translateY(-2px);
}

.hitpro-ai-widget__panel {
	background: var(--hitpro-ai-panel);
	border: 1px solid var(--hitpro-ai-line);
	border-radius: 8px;
	bottom: 78px;
	box-shadow: var(--hitpro-ai-shadow);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	height: min(700px, calc(100vh - 122px));
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	right: 0;
	transform: translateY(14px) scale(.985);
	transform-origin: bottom right;
	transition: opacity .2s ease, transform .2s ease;
	width: min(410px, calc(100vw - 32px));
}

.hitpro-ai-widget--left {
	left: 24px;
	right: auto;
}

.hitpro-ai-widget--left .hitpro-ai-widget__launcher,
.hitpro-ai-widget--left .hitpro-ai-widget__panel {
	left: 0;
	right: auto;
}

.hitpro-ai-widget__panel::before {
	background: linear-gradient(90deg, var(--hitpro-ai-primary), var(--hitpro-ai-cyan));
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.hitpro-ai-widget--open .hitpro-ai-widget__panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.hitpro-ai-widget--open .hitpro-ai-widget__launcher {
	opacity: 0;
	pointer-events: none;
	transform: scale(.92);
}

.hitpro-ai-widget__header {
	align-items: center;
	background: var(--hitpro-ai-dark);
	color: #fff;
	display: flex;
	justify-content: space-between;
	min-height: 76px;
	padding: 18px;
}

.hitpro-ai-widget__identity {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.hitpro-ai-widget__brandmark {
	align-items: center;
	background: rgba(0, 168, 120, .16);
	border: 1px solid rgba(0, 168, 120, .42);
	border-radius: 8px;
	color: #6ee7b7;
	display: flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.hitpro-ai-widget__header strong,
.hitpro-ai-widget__header span {
	display: block;
}

.hitpro-ai-widget__header strong {
	color: #fff;
	font-size: 15px;
	font-weight: 780;
	line-height: 1.28;
	max-width: 190px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hitpro-ai-widget__header [data-hitpro-status] {
	align-items: center;
	color: #a7f3d0;
	display: flex;
	font-size: 12px;
	font-weight: 680;
	gap: 7px;
	margin-top: 4px;
}

.hitpro-ai-widget__header [data-hitpro-status]::before {
	background: var(--hitpro-ai-primary);
	border-radius: 999px;
	content: "";
	height: 7px;
	width: 7px;
}

.hitpro-ai-widget__tools {
	display: flex;
	gap: 7px;
}

.hitpro-ai-widget__tools button,
.hitpro-ai-widget__form button {
	align-items: center;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	justify-content: center;
}

.hitpro-ai-widget__tools button {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	height: 34px;
	width: 34px;
}

.hitpro-ai-widget__tools button:hover,
.hitpro-ai-widget__tools button:focus-visible {
	background: rgba(255, 255, 255, .16);
}

.hitpro-ai-widget__messages {
	background: var(--hitpro-ai-panel-2);
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow-y: auto;
	padding: 17px;
	scroll-behavior: smooth;
}

.hitpro-ai-widget__messages::-webkit-scrollbar {
	width: 8px;
}

.hitpro-ai-widget__messages::-webkit-scrollbar-thumb {
	background: rgba(102, 112, 133, .3);
	border-radius: 999px;
}

.hitpro-ai-widget__message {
	display: flex;
	max-width: 90%;
}

.hitpro-ai-widget__message--user {
	align-self: flex-end;
}

.hitpro-ai-widget__message--assistant {
	align-self: flex-start;
}

.hitpro-ai-widget__bubble {
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
	padding: 12px 13px;
	white-space: pre-wrap;
}

.hitpro-ai-widget__message--user .hitpro-ai-widget__bubble {
	background: #08111f;
	box-shadow: 0 8px 22px rgba(8, 13, 24, .18);
	color: #fff;
}

.hitpro-ai-widget__message--assistant .hitpro-ai-widget__bubble {
	background: var(--hitpro-ai-panel);
	border: 1px solid var(--hitpro-ai-line);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
	color: var(--hitpro-ai-ink);
}

.hitpro-ai-widget__message--typing .hitpro-ai-widget__bubble {
	align-items: center;
	display: flex;
	gap: 5px;
	height: 39px;
	min-width: 62px;
}

.hitpro-ai-widget__message--typing span {
	animation: hitpro-ai-pulse 1s infinite ease-in-out;
	background: var(--hitpro-ai-primary);
	border-radius: 999px;
	display: block;
	height: 7px;
	opacity: .7;
	width: 7px;
}

.hitpro-ai-widget__message--typing span:nth-child(2) {
	animation-delay: .12s;
}

.hitpro-ai-widget__message--typing span:nth-child(3) {
	animation-delay: .24s;
}

.hitpro-ai-widget__form {
	align-items: flex-end;
	background: var(--hitpro-ai-panel);
	border-top: 1px solid var(--hitpro-ai-line);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 46px;
	padding: 13px;
}

.hitpro-ai-widget__powered {
	color: var(--hitpro-ai-muted);
	font-size: 11px;
	font-weight: 700;
	grid-column: 1 / -1;
	padding: 0 3px 2px;
	text-align: center;
}

.hitpro-ai-widget__form textarea {
	background: var(--hitpro-ai-panel-2);
	border: 1px solid var(--hitpro-ai-line);
	border-radius: 8px;
	color: var(--hitpro-ai-ink);
	font: inherit;
	line-height: 1.42;
	max-height: 120px;
	min-height: 46px;
	outline: 0;
	padding: 12px;
	resize: none;
	width: 100%;
}

.hitpro-ai-widget__form textarea:focus {
	border-color: var(--hitpro-ai-primary);
	box-shadow: 0 0 0 3px rgba(0, 168, 120, .16);
}

.hitpro-ai-widget__form textarea:disabled {
	opacity: .72;
}

.hitpro-ai-widget__form button {
	background: var(--hitpro-ai-primary);
	box-shadow: 0 10px 22px rgba(0, 168, 120, .25);
	color: #fff;
	height: 46px;
	transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
	width: 46px;
}

.hitpro-ai-widget__form button:hover,
.hitpro-ai-widget__form button:focus-visible {
	box-shadow: 0 12px 26px rgba(0, 168, 120, .35);
	transform: translateY(-1px);
}

.hitpro-ai-widget__form button:disabled {
	cursor: wait;
	opacity: .62;
	transform: none;
}

@keyframes hitpro-ai-pulse {
	0%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-4px);
	}
}

@media (max-width: 520px) {
	.hitpro-ai-widget {
		bottom: 16px;
		right: 16px;
	}

	.hitpro-ai-widget--left {
		left: 16px;
		right: auto;
	}

	.hitpro-ai-widget--hide-mobile {
		display: none;
	}

	.hitpro-ai-widget__panel {
		bottom: 74px;
		height: calc(100vh - 106px);
		width: calc(100vw - 32px);
	}

	.hitpro-ai-widget__launcher {
		height: 58px;
		width: 58px;
	}
}
