/**
 * VoxFind AI Frontend Styles
 *
 * Voice-first floating AI commerce assistant
 * + classic shortcode product search.
 *
 * @package VoxFind_AI
 */


/* =========================================================
 * SHARED
 * ========================================================= */

.voxfind-ai-search,
.voxfind-ai-assistant {
	box-sizing: border-box;
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Arial,
		sans-serif;
}

.voxfind-ai-search *,
.voxfind-ai-search *::before,
.voxfind-ai-search *::after,
.voxfind-ai-assistant *,
.voxfind-ai-assistant *::before,
.voxfind-ai-assistant *::after {
	box-sizing: border-box;
}


/* =========================================================
 * CLASSIC SHORTCODE SEARCH
 * ========================================================= */

.voxfind-ai-search {
	width: 100%;
	max-width: 900px;
	margin: 24px auto;
}

.voxfind-ai-search__controls {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.voxfind-ai-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	padding: 0 18px;
	border: 1px solid #d9dde7;
	border-radius: 14px;
	background: #ffffff;
	color: #171923;
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.voxfind-ai-search__input:focus {
	border-color: #6d5dfc;
	box-shadow: 0 0 0 4px rgba(109, 93, 252, 0.12);
}

.voxfind-ai-search__button {
	min-width: 110px;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(
		135deg,
		#6557f5,
		#8a5cf6
	);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(101, 87, 245, 0.22);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.voxfind-ai-search__button:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 28px rgba(101, 87, 245, 0.28);
}

.voxfind-ai-search__button:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.voxfind-ai-search__status {
	padding: 12px 2px 0;
	color: #697080;
	font-size: 14px;
}

.voxfind-ai-search__results {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.voxfind-ai-search__product {
	padding: 18px;
	border: 1px solid #e7e9f0;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(23, 25, 35, 0.06);
}

.voxfind-ai-search__product-title {
	margin: 0 0 8px;
	color: #171923;
	font-size: 18px;
	line-height: 1.4;
}

.voxfind-ai-search__product-price {
	margin-bottom: 7px;
	color: #171923;
	font-size: 18px;
	font-weight: 750;
}

.voxfind-ai-search__product-stock {
	margin-bottom: 12px;
	color: #198754;
	font-size: 13px;
	font-weight: 700;
}

.voxfind-ai-search__product-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 10px;
	background: #171923;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}


/* =========================================================
 * FLOATING ASSISTANT ROOT
 * ========================================================= */

.voxfind-ai-assistant {
	--voxfind-primary: #6c5ce7;
	--voxfind-primary-2: #8d63f6;
	--voxfind-primary-dark: #5848d8;
	--voxfind-ink: #171923;
	--voxfind-muted: #72798a;
	--voxfind-border: rgba(20, 24, 40, 0.09);
	--voxfind-surface: #ffffff;
	--voxfind-soft: #f6f7fb;

	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 999999;
	direction: ltr;
}


/* =========================================================
 * LAUNCHER WRAPPER
 * ========================================================= */

.voxfind-ai-assistant__launcher-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 11px;
}


/* =========================================================
 * SEARCH BY VOICE LABEL
 * ========================================================= */

.voxfind-ai-assistant__launcher-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid rgba(108, 92, 231, 0.13);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.98);
	color: #343044;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	box-shadow:
		0 9px 28px rgba(30, 27, 60, 0.11),
		0 2px 7px rgba(30, 27, 60, 0.06);
	pointer-events: none;
}

/*
 * Small visual pointer towards the V launcher.
 */
.voxfind-ai-assistant__launcher-label::after {
	content: "";
	position: absolute;
}


/* =========================================================
 * FLOATING V LAUNCHER
 * ========================================================= */

.voxfind-ai-assistant__launcher {
	position: relative;
	display: flex;
	flex: 0 0 64px;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background:
		linear-gradient(
			145deg,
			#7667f7 0%,
			#6251e7 48%,
			#8d5ef3 100%
		);
	color: #ffffff;
	cursor: pointer;
	box-shadow:
		0 16px 40px rgba(75, 61, 190, 0.32),
		0 4px 12px rgba(35, 31, 76, 0.18);
	outline: none;
	isolation: isolate;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.voxfind-ai-assistant__launcher:hover {
	transform: translateY(-3px) scale(1.04);
	box-shadow:
		0 20px 46px rgba(75, 61, 190, 0.38),
		0 5px 14px rgba(35, 31, 76, 0.2);
}

.voxfind-ai-assistant__launcher:focus-visible {
	box-shadow:
		0 0 0 4px rgba(108, 92, 231, 0.2),
		0 16px 40px rgba(75, 61, 190, 0.34);
}

.voxfind-ai-assistant__launcher-ring {
	position: absolute;
	inset: -5px;
	z-index: -1;
	border: 1px solid rgba(108, 92, 231, 0.28);
	border-radius: 50%;
	animation: voxfind-ai-launcher-pulse 2.6s ease-out infinite;
}

.voxfind-ai-assistant__launcher-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.11);
	color: #ffffff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

@keyframes voxfind-ai-launcher-pulse {

	0% {
		opacity: 0.8;
		transform: scale(0.92);
	}

	70% {
		opacity: 0;
		transform: scale(1.35);
	}

	100% {
		opacity: 0;
		transform: scale(1.35);
	}
}


/* =========================================================
 * ASSISTANT PANEL
 * ========================================================= */

.voxfind-ai-assistant__panel {
	position: absolute;
	right: 0;
	bottom: 82px;
	display: flex;
	flex-direction: column;
	width: min(400px, calc(100vw - 32px));
	height: min(650px, calc(100vh - 130px));
	min-height: 500px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow:
		0 30px 80px rgba(25, 24, 48, 0.18),
		0 8px 24px rgba(25, 24, 48, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform:
		translateY(18px)
		scale(0.96);
	transform-origin: bottom right;
	transition:
		opacity 0.22s ease,
		transform 0.25s ease,
		visibility 0.22s ease;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.voxfind-ai-assistant.is-open
	.voxfind-ai-assistant__panel,
.voxfind-ai-assistant--open
	.voxfind-ai-assistant__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform:
		translateY(0)
		scale(1);
}


/* =========================================================
 * HEADER
 * ========================================================= */

.voxfind-ai-assistant__header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	min-height: 76px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--voxfind-border);
	background:
		linear-gradient(
			135deg,
			rgba(246, 244, 255, 0.98),
			rgba(255, 255, 255, 0.98)
		);
}

.voxfind-ai-assistant__header::before {
	content: "";
	position: absolute;
	top: -55px;
	left: -45px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: rgba(108, 92, 231, 0.08);
	pointer-events: none;
}

.voxfind-ai-assistant__identity {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.voxfind-ai-assistant__mark {
	display: flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background:
		linear-gradient(
			145deg,
			var(--voxfind-primary),
			var(--voxfind-primary-2)
		);
	color: #ffffff;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(108, 92, 231, 0.22);
}

.voxfind-ai-assistant__heading {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.voxfind-ai-assistant__title {
	color: var(--voxfind-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.voxfind-ai-assistant__subtitle {
	margin-top: 3px;
	overflow: hidden;
	color: var(--voxfind-muted);
	font-size: 11.5px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.voxfind-ai-assistant__close {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 11px;
	background: rgba(23, 25, 35, 0.045);
	color: #555b69;
	font-size: 25px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition:
		background 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.voxfind-ai-assistant__close:hover {
	background: rgba(23, 25, 35, 0.08);
	color: #171923;
	transform: rotate(4deg);
}


/* =========================================================
 * ASSISTANT BODY
 * ========================================================= */

.voxfind-ai-assistant__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 18px;
	overflow-x: hidden;
	overflow-y: auto;
	background:
		radial-gradient(
			circle at 50% 4%,
			rgba(108, 92, 231, 0.07),
			transparent 38%
		),
		#ffffff;
	scrollbar-width: thin;
	scrollbar-color: #d8d9e4 transparent;
}

.voxfind-ai-assistant__body::-webkit-scrollbar {
	width: 6px;
}

.voxfind-ai-assistant__body::-webkit-scrollbar-track {
	background: transparent;
}

.voxfind-ai-assistant__body::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background: #d8d9e4;
}


/* =========================================================
 * PRIMARY VOICE AREA
 * ========================================================= */

.voxfind-ai-assistant__voice-area {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 2px 0 20px;
	padding: 18px 14px 20px;
	border: 1px solid rgba(108, 92, 231, 0.09);
	border-radius: 21px;
	background:
		linear-gradient(
			180deg,
			rgba(248, 247, 255, 0.98),
			rgba(255, 255, 255, 0.98)
		);
	text-align: center;
}

.voxfind-ai-assistant__voice-heading {
	margin: 0;
	color: var(--voxfind-ink);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.voxfind-ai-assistant__voice-help {
	max-width: 290px;
	margin: 7px auto 18px !important;
	color: var(--voxfind-muted);
	font-size: 12.5px;
	line-height: 1.55;
	text-align: center;
}


/* =========================================================
 * LARGE PRIMARY MICROPHONE
 * ========================================================= */

.voxfind-ai-assistant__voice {
	position: relative;
	display: flex;
	flex: 0 0 88px;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	outline: none;
	isolation: isolate;
	transition:
		transform 0.22s ease,
		filter 0.22s ease;
}

.voxfind-ai-assistant__voice:hover {
	transform: translateY(-2px) scale(1.035);
	filter: brightness(1.02);
}

.voxfind-ai-assistant__voice:focus-visible {
	box-shadow: 0 0 0 5px rgba(108, 92, 231, 0.14);
}

.voxfind-ai-assistant__voice-circle {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background:
		linear-gradient(
			145deg,
			#7768f7,
			#6251e7 50%,
			#925ff5
		);
	box-shadow:
		0 16px 34px rgba(92, 72, 213, 0.3),
		inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.voxfind-ai-assistant__voice-ripple {
	position: absolute;
	z-index: 1;
	inset: -9px;
	border: 2px solid rgba(108, 92, 231, 0.18);
	border-radius: 50%;
	animation: voxfind-ai-mic-idle 2.4s ease-out infinite;
}

.voxfind-ai-assistant__voice-icon {
	display: block;
	font-size: 36px;
	line-height: 1;
	transform: translateY(-1px);
}

.voxfind-ai-assistant__voice-caption {
	margin-top: 13px;
	color: #50486c;
	font-size: 12.5px;
	font-weight: 750;
	line-height: 1.3;
}

@keyframes voxfind-ai-mic-idle {

	0% {
		opacity: 0.75;
		transform: scale(0.9);
	}

	70% {
		opacity: 0;
		transform: scale(1.18);
	}

	100% {
		opacity: 0;
		transform: scale(1.18);
	}
}


/* =========================================================
 * LISTENING STATE
 * ========================================================= */

.voxfind-ai-assistant__voice[aria-pressed="true"]
	.voxfind-ai-assistant__voice-circle,
.voxfind-ai-assistant__voice.is-listening
	.voxfind-ai-assistant__voice-circle {
	background:
		linear-gradient(
			145deg,
			#f14e72,
			#d7385e
		);
	box-shadow:
		0 16px 36px rgba(215, 56, 94, 0.28),
		0 0 0 7px rgba(215, 56, 94, 0.08);
}

.voxfind-ai-assistant__voice[aria-pressed="true"]
	.voxfind-ai-assistant__voice-ripple,
.voxfind-ai-assistant__voice.is-listening
	.voxfind-ai-assistant__voice-ripple {
	border-color: rgba(215, 56, 94, 0.28);
	animation: voxfind-ai-listening-pulse 1.15s ease-out infinite;
}

@keyframes voxfind-ai-listening-pulse {

	0% {
		opacity: 0.85;
		transform: scale(0.9);
	}

	100% {
		opacity: 0;
		transform: scale(1.3);
	}
}


/* =========================================================
 * ASSISTANT STATUS
 * ========================================================= */

.voxfind-ai-assistant__status {
	min-height: 18px;
	margin-top: 8px;
	color: var(--voxfind-muted);
	font-size: 12.5px;
	line-height: 1.5;
	text-align: center;
}


/* =========================================================
 * ASSISTANT RESULTS
 * ========================================================= */

.voxfind-ai-assistant__results {
	display: grid;
	gap: 11px;
	width: 100%;
}

.voxfind-ai-assistant__results:empty {
	display: none;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product,
.voxfind-ai-assistant__product {
	position: relative;
	width: 100%;
	padding: 14px;
	overflow: hidden;
	border: 1px solid #e9e8f0;
	border-radius: 17px;
	background: #ffffff;
	box-shadow:
		0 7px 22px rgba(24, 26, 39, 0.055);
	transition:
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product:hover,
.voxfind-ai-assistant__product:hover {
	border-color: rgba(108, 92, 231, 0.2);
	transform: translateY(-1px);
	box-shadow:
		0 10px 26px rgba(24, 26, 39, 0.075);
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product-title,
.voxfind-ai-assistant__product-title {
	margin: 0 0 7px !important;
	color: var(--voxfind-ink);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.45;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product-price,
.voxfind-ai-assistant__product-price {
	margin-bottom: 7px;
	color: #29243f;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product-stock,
.voxfind-ai-assistant__product-stock {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: 11px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #eaf8f0;
	color: #18794e;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.2;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product-link,
.voxfind-ai-assistant__product-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 13px;
	border-radius: 10px;
	background: #242130;
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition:
		background 0.18s ease,
		transform 0.18s ease;
}

.voxfind-ai-assistant__results
	.voxfind-ai-search__product-link:hover,
.voxfind-ai-assistant__product-link:hover {
	background: var(--voxfind-primary);
	transform: translateY(-1px);
}


/* =========================================================
 * TEXT SEARCH COMPOSER
 * ========================================================= */

.voxfind-ai-assistant__composer {
	flex: 0 0 auto;
	padding: 10px 14px 15px;
	border-top: 1px solid var(--voxfind-border);
	background: rgba(255, 255, 255, 0.98);
}

.voxfind-ai-assistant__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 9px;
	color: #9295a2;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.voxfind-ai-assistant__divider::before,
.voxfind-ai-assistant__divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #ececf2;
}

.voxfind-ai-assistant__divider span {
	flex: 0 0 auto;
	padding: 0 10px;
}

.voxfind-ai-assistant__form {
	margin: 0;
}

.voxfind-ai-assistant__input-wrap {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 52px;
	padding: 5px;
	border: 1px solid #dddde7;
	border-radius: 17px;
	background: #ffffff;
	box-shadow:
		0 5px 16px rgba(22, 24, 35, 0.045);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.voxfind-ai-assistant__input-wrap:focus-within {
	border-color: rgba(108, 92, 231, 0.55);
	box-shadow:
		0 0 0 4px rgba(108, 92, 231, 0.09),
		0 5px 16px rgba(22, 24, 35, 0.045);
}

.voxfind-ai-assistant__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 9px;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--voxfind-ink);
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.4;
}

.voxfind-ai-assistant__input::placeholder {
	color: #989cab;
	opacity: 1;
}


/* =========================================================
 * SEND BUTTON
 * ========================================================= */

.voxfind-ai-assistant__send {
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			var(--voxfind-primary),
			var(--voxfind-primary-2)
		);
	color: #ffffff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 5px 13px rgba(108, 92, 231, 0.22);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.voxfind-ai-assistant__send:hover {
	transform: translateY(-1px);
	box-shadow: 0 7px 17px rgba(108, 92, 231, 0.28);
}

.voxfind-ai-assistant__send:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}


/* =========================================================
 * OPEN STATE
 * ========================================================= */

.voxfind-ai-assistant.is-open
	.voxfind-ai-assistant__launcher,
.voxfind-ai-assistant--open
	.voxfind-ai-assistant__launcher {
	transform: scale(0.94);
}

.voxfind-ai-assistant.is-open
	.voxfind-ai-assistant__launcher-ring,
.voxfind-ai-assistant--open
	.voxfind-ai-assistant__launcher-ring {
	animation-play-state: paused;
	opacity: 0;
}

/*
 * Hide the helper label while the panel is open.
 */
.voxfind-ai-assistant.is-open
	.voxfind-ai-assistant__launcher-label,
.voxfind-ai-assistant--open
	.voxfind-ai-assistant__launcher-label {
	opacity: 0;
	visibility: hidden;
	transform: translateX(6px);
}


/* =========================================================
 * RTL / URDU SUPPORT
 * ========================================================= */

html[dir="rtl"]
	.voxfind-ai-assistant__input,
.rtl
	.voxfind-ai-assistant__input {
	text-align: right;
}

html[dir="rtl"]
	.voxfind-ai-assistant__results,
.rtl
	.voxfind-ai-assistant__results {
	text-align: right;
}


/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 600px) {

	.voxfind-ai-assistant {
		right: 14px;
		bottom: 14px;
		left: 14px;
	}

	.voxfind-ai-assistant__launcher-wrap {
		justify-content: flex-end;
		gap: 8px;
	}

	.voxfind-ai-assistant__launcher {
		flex-basis: 58px;
		width: 58px;
		height: 58px;
	}

	.voxfind-ai-assistant__launcher-icon {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.voxfind-ai-assistant__launcher-label {
		min-height: 34px;
		padding: 7px 11px;
		border-radius: 10px;
		font-size: 11.5px;
	}

	.voxfind-ai-assistant__panel {
		position: fixed;
		right: 10px;
		bottom: 82px;
		left: 10px;
		width: auto;
		height: min(680px, calc(100dvh - 105px));
		min-height: 0;
		border-radius: 22px;
		transform-origin: bottom center;
	}

	.voxfind-ai-assistant__header {
		min-height: 70px;
		padding: 12px 14px;
	}

	.voxfind-ai-assistant__body {
		padding: 14px;
	}

	.voxfind-ai-assistant__voice-area {
		margin-bottom: 14px;
		padding: 15px 12px 17px;
	}

	.voxfind-ai-assistant__voice-heading {
		font-size: 18px;
	}

	.voxfind-ai-assistant__voice-help {
		margin-bottom: 15px !important;
		font-size: 12px;
	}

	.voxfind-ai-assistant__voice {
		flex-basis: 80px;
		width: 80px;
		height: 80px;
	}

	.voxfind-ai-assistant__voice-circle {
		width: 80px;
		height: 80px;
	}

	.voxfind-ai-assistant__voice-icon {
		font-size: 32px;
	}

	.voxfind-ai-assistant__composer {
		padding:
			9px
			10px
			calc(10px + env(safe-area-inset-bottom));
	}

	.voxfind-ai-search__controls {
		flex-direction: column;
	}

	.voxfind-ai-search__button {
		width: 100%;
	}
}


/* =========================================================
 * VERY SMALL SCREENS
 * ========================================================= */

@media (max-width: 380px) {

	.voxfind-ai-assistant__panel {
		right: 6px;
		left: 6px;
		bottom: 76px;
	}

	.voxfind-ai-assistant__subtitle {
		max-width: 185px;
	}

	.voxfind-ai-assistant__launcher-label {
		padding: 7px 9px;
		font-size: 10.5px;
	}

}


/* =========================================================
 * REDUCED MOTION
 * ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.voxfind-ai-assistant *,
	.voxfind-ai-assistant *::before,
	.voxfind-ai-assistant *::after,
	.voxfind-ai-search *,
	.voxfind-ai-search *::before,
	.voxfind-ai-search *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}