.vai-scope,
.vai-chat-shell,
.vai-chat-log,
.vai-chat-form,
.vai-dashboard,
.vai-account-shell,
.vai-float,
.vai-float-panel {
	font-family: var(--vai-font-chat, inherit);
	font-size: var(--vai-font-size-chat, inherit);
	line-height: 1.5;
}

.vai-scope,
.vai-scope *,
.vai-chat-shell,
.vai-chat-shell *,
.vai-dashboard,
.vai-dashboard *,
.vai-account-shell,
.vai-account-shell *,
.vai-float,
.vai-float * {
	box-sizing: border-box;
}

.vai-scope a,
.vai-chat-shell a,
.vai-dashboard a,
.vai-account-shell a,
.vai-float a {
	text-decoration: none;
}

.vai-scope button,
.vai-scope input,
.vai-scope select,
.vai-scope textarea,
.vai-chat-shell button,
.vai-chat-shell input,
.vai-chat-shell select,
.vai-chat-shell textarea,
.vai-dashboard button,
.vai-dashboard input,
.vai-dashboard select,
.vai-dashboard textarea,
.vai-account-shell button,
.vai-account-shell input,
.vai-account-shell select,
.vai-account-shell textarea,
.vai-float button,
.vai-float input,
.vai-float select,
.vai-float textarea {
	font: inherit;
}

.vai-chat-shell {
	width: min(var(--vai-chat-max, 980px), 100%);
	margin: 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.03) 100%);
	backdrop-filter: blur(12px) saturate(125%);
	-webkit-backdrop-filter: blur(12px) saturate(125%);
	overflow: hidden;
	transition: width 320ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
}

.vai-search-form.vai-auth-zoom-active,
.vai-chat-form.vai-auth-zoom-active {
	transform: scale(1.06);
	transform-origin: center bottom;
	box-shadow: 0 24px 58px rgba(15, 23, 42, 0.24);
	z-index: 9;
}

.vai-chat-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	padding: 18px 18px 8px;
	align-items: end;
}

.vai-chat-toolbar-copy h3 {
	margin: 6px 0 0;
	font-size: 22px;
	line-height: 1.25;
}

.vai-chat-toolbar-eyebrow,
.vai-section-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #facc15;
}

.vai-chat-prompt-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.vai-prompt-chip {
	min-height: 38px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.07);
	color: #f8fafc;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.vai-prompt-chip:hover,
.vai-prompt-chip:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(250, 204, 21, 0.5);
	background: rgba(250, 204, 21, 0.12);
	outline: 0;
}

.vai-chat-log {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(var(--vai-chat-max, 980px), 100%);
	margin: 0 auto;
	padding: 20px 0 14px;
	max-height: min(52vh, 500px);
	overflow-y: auto;
	scrollbar-gutter: stable;
}

.vai-row {
	display: flex;
	width: 100%;
}

.vai-row-user {
	justify-content: flex-end;
}

.vai-row-assistant {
	justify-content: flex-start;
}

.vai-bubble {
	max-width: min(82%, 760px);
	font-size: var(--vai-font-size-chat, 15px);
}

.vai-bubble-content {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.68;
}

.vai-bubble-user {
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #ffffff;
}

.vai-row-assistant .vai-bubble {
	width: 100%;
	max-width: none;
}

.vai-bubble-assistant {
	padding: 0;
	background: transparent;
	border: 0;
	color: #f8fafc;
}

.vai-bubble-thinking {
	position: relative;
	display: inline-flex;
	width: auto !important;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: rgba(248, 250, 252, 0.92);
	white-space: nowrap;
}

.vai-bubble-thinking .vai-bubble-content {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.35;
}

.vai-thinking-label {
	font-size: 14px;
	letter-spacing: 0.01em;
	position: relative;
	z-index: 2;
}

.vai-thinking-dots {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.vai-thinking-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.28;
	animation: vaiThinkingPulse 1.15s ease-in-out infinite;
}

.vai-thinking-dot:nth-child(2) {
	animation-delay: 0.18s;
}

.vai-thinking-dot:nth-child(3) {
	animation-delay: 0.36s;
}

.vai-home-log .vai-row-assistant:first-child .vai-bubble-assistant {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.vai-message-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.vai-message-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(248, 250, 252, 0.86);
	font-size: 13px;
	cursor: pointer;
	transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.vai-message-action:hover,
.vai-message-action:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(250, 204, 21, 0.48);
	background: rgba(250, 204, 21, 0.1);
	color: #fff7cc;
	outline: 0;
}

.vai-message-action.is-active {
	border-color: rgba(250, 204, 21, 0.72);
	background: rgba(250, 204, 21, 0.16);
	color: #fff7cc;
}

.vai-chat-form {
	position: relative;
	display: grid;
	width: min(var(--vai-chat-max, 980px), 100%);
	margin: 0 auto;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	padding: 16px 18px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	overflow: visible;
	transition: transform 260ms ease, box-shadow 260ms ease;
	align-items: center;
}

.vai-chat-form-shortcode {
	grid-template-columns: 42px minmax(0, 1fr) auto;
}

.vai-chat-form-shortcode .vai-chat-form-prefix {
	display: grid;
	place-items: center;
	align-self: center;
	min-height: 56px;
	font-size: 32px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.82);
	user-select: none;
}

.vai-chat-form textarea {
	width: 100%;
	min-width: 0;
	min-height: 56px;
	height: 56px;
	padding: max(6px, calc((56px - 1.3em) / 2)) 16px;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(2, 6, 11, 0.56);
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
	resize: none;
	overflow: hidden;
}

.vai-chat-form textarea:focus,
.vai-chat-form textarea:focus-visible {
	outline: 0;
	border-color: rgba(250, 204, 21, 0.44);
	box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.vai-chat-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.7);
	white-space: nowrap;
}

.vai-chat-form button[type="submit"] {
	position: relative;
	overflow: visible;
	align-self: center;
	justify-self: end;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(250, 204, 21, 0.75);
	background: #facc15;
	color: #111827;
	font-size: 22.5px;
	font-weight: 400;
	cursor: pointer;
}

.vai-search-submit.vai-launch-button,
.vai-chat-form button[type="submit"].vai-launch-button {
	position: relative;
	overflow: visible;
	color: transparent;
	text-shadow: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.vai-search-submit.is-auth-pressing,
.vai-chat-form button[type="submit"].is-auth-pressing {
	transform: scale(0.9);
	box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.18);
}

.vai-search-form[data-vai-mascot-ready="1"],
.vai-home-chat-form[data-vai-mascot-ready="1"],
.v-agent-chat-home-form[data-vai-mascot-ready="1"],
[data-vai-mascot-ready="1"] {
	position: relative;
	overflow: visible;
	--vai-mascot-track-height: 140px;
}

.vai-search-submit.vai-launch-button > :not(.vai-mascot-button-core),
.vai-chat-form button[type="submit"].vai-launch-button > :not(.vai-mascot-button-core) {
	opacity: 0;
}

.vai-search-submit.vai-launch-button,
.vai-chat-form button[type="submit"].vai-launch-button {
	width: 64px;
	height: 64px;
	min-width: 64px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.vai-mascot-button-core {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	transition: opacity 180ms ease, transform 220ms ease;
}

.vai-mascot-track-active .vai-mascot-button-core,
.vai-launch-button.is-mascot-detached .vai-mascot-button-core {
	opacity: 0;
	transform: scale(0.72);
}

.vai-mascot-face {
	--vai-mascot-size: 100%;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--vai-mascot-size) * 0.08);
	width: var(--vai-mascot-size);
	height: var(--vai-mascot-size);
	border-radius: 999px;
	background:
		radial-gradient(circle at 30% 24%, rgba(255, 252, 219, 0.96) 0%, rgba(255, 241, 170, 0.92) 12%, rgba(255, 215, 74, 0.22) 28%, transparent 44%),
		radial-gradient(circle at 62% 74%, rgba(180, 98, 9, 0.18) 0%, rgba(180, 98, 9, 0) 44%),
		linear-gradient(145deg, #fff1a5 0%, #ffd54e 26%, #facc15 58%, #f59e0b 100%);
	box-shadow:
		inset 0 2px 4px rgba(255, 255, 255, 0.54),
		inset 0 -6px 10px rgba(115, 71, 1, 0.18),
		0 8px 18px rgba(245, 158, 11, 0.28);
}

.vai-mascot-eye {
	--vai-eye-shift-x: 0px;
	--vai-eye-shift-y: 0px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--vai-mascot-size) * 0.17);
	height: calc(var(--vai-mascot-size) * 0.27);
	border-radius: 999px;
	background: rgba(255, 251, 239, 0.98);
	box-shadow: inset 0 -1px 1px rgba(120, 74, 0, 0.16);
}

.vai-mascot-pupil {
	width: calc(var(--vai-mascot-size) * 0.055);
	height: calc(var(--vai-mascot-size) * 0.055);
	border-radius: 50%;
	background: rgba(84, 44, 0, 0.86);
	transform: translate(var(--vai-eye-shift-x), var(--vai-eye-shift-y));
	transition: transform 120ms ease-out;
}

.vai-launch-button .vai-mascot-face {
	--vai-mascot-size: 54px;
}

.vai-mascot-track {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: calc(100% + 6px);
	height: var(--vai-mascot-track-height);
	pointer-events: none;
	opacity: 0;
	z-index: 16;
	transition: opacity 180ms ease;
}

.vai-mascot-track.is-visible {
	opacity: 1;
}

.vai-mascot-floater {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	width: 70px;
	height: 70px;
	display: grid;
	place-items: center;
	pointer-events: auto;
	touch-action: none;
	opacity: 0;
	transform: translate(0, 0) rotate(0deg);
	transform-origin: center center;
	will-change: transform;
	cursor: grab;
	filter: drop-shadow(0 12px 20px rgba(250, 204, 21, 0.22));
	transition: opacity 180ms ease, filter 180ms ease;
}

.vai-mascot-floater .vai-mascot-face {
	--vai-mascot-size: 70px;
}

.vai-mascot-floater.is-visible {
	opacity: 1;
}

.vai-mascot-floater.is-thinking {
	filter: drop-shadow(0 14px 24px rgba(250, 204, 21, 0.32));
}

.vai-mascot-floater.is-dragging {
	cursor: grabbing;
	filter: drop-shadow(0 18px 28px rgba(250, 204, 21, 0.36));
}

.vai-mascot-floater.is-returning {
	filter: drop-shadow(0 8px 16px rgba(250, 204, 21, 0.2));
}

.vai-chat-form.is-loading button[type="submit"] {
	opacity: 0.7;
	cursor: wait;
}

.vai-home-log {
	margin: 18px auto 0;
	width: min(var(--vai-chat-max, 980px), 100%);
	max-width: 100%;
	max-height: none;
	overflow: visible;
	padding-inline: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.vai-home-chat-form.vai-home-chat-bound,
.v-agent-chat-home-form.vai-home-chat-bound {
	margin-bottom: 0;
}

.vai-auth-guided {
	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.vai-dashboard,
.vai-account-shell {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.vai-section-hero {
	display: grid;
	gap: 18px;
}

.vai-section-hero-copy h3 {
	margin: 6px 0 8px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.18;
}

.vai-section-hero-copy p,
.vai-section-intro {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
}

.vai-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vai-stat-card {
	padding: 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
		radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 40%);
}

.vai-stat-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.vai-stat-value {
	margin-top: 8px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.vai-stat-meta {
	margin-top: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.5;
}

.vai-card,
.vai-dashboard .vai-card,
.vai-account-shell .vai-card {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	content-visibility: auto;
	contain-intrinsic-size: 1px 280px;
}

.vai-dashboard .vai-card h3,
.vai-account-card h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.vai-table-wrap {
	overflow-x: auto;
}

.vai-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.vai-table th,
.vai-table td {
	padding: 8px 10px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	vertical-align: top;
}

.vai-dashboard-empty {
	padding: 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}

.vai-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
}

.vai-float-button {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: #facc15;
	color: #0b1020;
	font-size: 20px;
	font-weight: 400;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.vai-float-button.is-hidden {
	display: none;
}

.vai-float-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(92vw, 430px);
	height: min(72vh, 620px);
	display: none;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
	backdrop-filter: blur(12px) saturate(130%);
	-webkit-backdrop-filter: blur(12px) saturate(130%);
	overflow: hidden;
	content-visibility: auto;
	contain-intrinsic-size: 1px 620px;
	transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease;
}

.vai-float-panel.is-open {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
}

.vai-float-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 14px;
	color: #fff;
}

.vai-float-head button {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}

.vai-float-panel .vai-chat-log {
	max-height: none;
}

.vai-float-panel .vai-chat-form {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vai-bubble-content.is-typing::after {
	content: "▋";
	display: inline-block;
	margin-left: 2px;
	opacity: 0.86;
	animation: vaiTypeBlink 1s steps(1, end) infinite;
}

@keyframes vaiTypeBlink {
	0%,
	49% {
		opacity: 0.9;
	}
	50%,
	100% {
		opacity: 0;
	}
}

@keyframes vaiThinkingPulse {
	0%,
	80%,
	100% {
		transform: translateY(0);
		opacity: 0.28;
	}
	40% {
		transform: translateY(-2px);
		opacity: 0.95;
	}
}

@keyframes vaiMascotBob {
	0%,
	100% {
		transform:
			translate(calc(-50% - 14px + var(--vai-mascot-evade-x, 0px)), calc(-50% - 72px + var(--vai-mascot-evade-y, 0px)))
			rotate(-9deg)
			scale(1);
	}
	50% {
		transform:
			translate(calc(-50% - 4px + var(--vai-mascot-evade-x, 0px)), calc(-50% - 82px + var(--vai-mascot-evade-y, 0px)))
			rotate(7deg)
			scale(1.03);
	}
}

@keyframes vaiMascotRoll {
	0%,
	100% {
		filter: drop-shadow(0 8px 16px rgba(250, 204, 21, 0.14));
	}
	50% {
		filter: drop-shadow(0 14px 18px rgba(250, 204, 21, 0.28));
	}
}

@keyframes vaiMascotThinkFloat {
	0%,
	100% {
		transform: translate(0, -2px) scale(0.9);
	}
	50% {
		transform: translate(0, -8px) scale(0.96);
	}
}

.vai-home-chat-layout {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 18px;
	padding-bottom: 24px;
	min-height: auto;
}

.vai-home-chat-layout > .vai-hero-copy {
	width: min(var(--vai-chat-max, 980px), 100%);
	max-width: 100%;
	margin: var(--vai-home-hero-gap, 12px) auto 0;
}

.vai-home-chat-layout .v-agent-chat-title,
.vai-home-chat-layout .vai-chat-title {
	margin-bottom: auto;
	padding-top: clamp(8px, 5vh, 64px);
}

.vai-home-chat-layout .vai-home-log {
	order: 2;
	margin: 0;
	width: min(var(--vai-chat-max, 980px), 100%);
	max-width: 100%;
	max-height: none;
	overflow: visible;
	margin-inline: auto;
}

.vai-home-chat-layout .v-agent-chat-home-form,
.vai-home-chat-layout .vai-home-chat-form {
	order: 3;
	margin: 0;
	width: min(var(--vai-chat-max, 980px), 100%);
	max-width: 100%;
	margin-inline: auto;
}

.vai-account-shell {
	width: min(var(--vai-shell-max, 1280px), 100%);
	margin: 0 auto;
}

.vai-account-form {
	display: grid;
	gap: 14px;
}

.vai-account-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.vai-account-field label {
	display: block;
	font-size: 13px;
	opacity: 0.92;
	margin-bottom: 6px;
}

.vai-account-field input,
.vai-account-field select {
	width: 100%;
	height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(8, 12, 18, 0.5);
	color: #fff;
	padding: 0 11px;
}

.vai-account-field select option {
	color: #111;
}

.vai-account-field .vai-account-hint {
	font-size: 12px;
	opacity: 0.88;
	margin: 6px 0 0;
	line-height: 1.45;
}

.vai-inline-check {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	margin-bottom: 0;
}

.vai-account-actions {
	display: flex;
	justify-content: flex-start;
}

.vai-account-actions button,
.vai-inline-form button {
	height: 38px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	font-weight: 600;
}

.vai-inline-form {
	display: block;
	margin: 0 0 8px;
}

.vai-account-notice {
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
}

.vai-account-notice.is-success {
	border: 1px solid rgba(16, 185, 129, 0.5);
	background: rgba(16, 185, 129, 0.16);
	color: #d1fae5;
}

.vai-account-notice.is-error {
	border: 1px solid rgba(248, 113, 113, 0.55);
	background: rgba(248, 113, 113, 0.14);
	color: #ffe4e6;
}

.vai-account-feedback {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(250, 204, 21, 0.45);
	background: rgba(250, 204, 21, 0.12);
	color: #fde68a;
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 920px) {
	.vai-chat-toolbar {
		grid-template-columns: 1fr;
	}

	.vai-chat-prompt-list {
		justify-content: flex-start;
	}

	.vai-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vai-account-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.vai-chat-toolbar {
		padding: 16px 14px 4px;
	}

	.vai-chat-toolbar-copy h3 {
		font-size: 20px;
	}

	.vai-prompt-chip {
		width: 100%;
		text-align: left;
	}

	.vai-stat-grid {
		grid-template-columns: 1fr;
	}
}

.vai-account-subtitle {
	margin: 12px 0 8px;
	font-size: 16px;
}

@media (max-width: 900px) {
	.vai-account-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.vai-home-chat-layout {
		min-height: auto;
		justify-content: flex-start;
		align-items: stretch;
		padding: 0;
	}

	.vai-home-chat-layout .v-agent-chat-title,
	.vai-home-chat-layout .vai-chat-title {
		margin-bottom: 0;
		padding-top: 0;
	}

	.vai-home-chat-layout .vai-home-log {
		width: 100%;
		max-width: none;
		max-height: none;
		overflow: visible;
	}

	.vai-home-chat-layout .v-agent-chat-home-form,
	.vai-home-chat-layout .vai-home-chat-form {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 780px) {
	.vai-bubble {
		font-size: 14px;
	}

	.vai-bubble-user {
		max-width: 94%;
	}

	.vai-bubble-thinking {
		padding: 0;
	}

	.vai-search-form.vai-auth-zoom-active,
	.vai-chat-form.vai-auth-zoom-active {
		transform: scale(1.03);
	}

	.vai-chat-form {
		padding: 14px 14px 16px;
	}

	.vai-search-submit.vai-launch-button,
	.vai-chat-form button[type="submit"].vai-launch-button {
		width: 58px;
		height: 58px;
		min-width: 58px;
	}

	.vai-mascot-floater {
		width: 64px;
		height: 64px;
	}

	.vai-mascot-floater .vai-mascot-face {
		--vai-mascot-size: 64px;
	}

	.vai-mascot-track {
		left: 8px;
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vai-bubble-content.is-typing::after {
		animation: none;
	}

	.vai-thinking-dot {
		animation: none;
		opacity: 0.7;
	}

	.vai-mascot-floater {
		transition: opacity 160ms ease, transform 160ms ease;
	}
}

/* Force hide legacy homepage titles to keep clean Chat UI */
.vai-guest-title,
.v-agent-chat-title,
.vai-chat-title {
	display: none !important;
}

/* Remove translucent bubble background for greeting block on homepage */
.vai-home-log .vai-bubble-assistant {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* White refresh for trolyv.com chat surfaces */
.vai-chat-shell,
.vai-float-panel,
.vai-dashboard .vai-card,
.vai-account-shell .vai-card,
.vai-stat-card,
.vai-dashboard-empty {
	border-color: rgba(133, 110, 88, 0.1);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 242, 234, 0.9) 100%);
	box-shadow:
		0 18px 42px rgba(111, 84, 57, 0.08),
		0 8px 20px rgba(255, 255, 255, 0.76) inset;
	backdrop-filter: blur(18px) saturate(145%);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
}

.vai-chat-shell,
.vai-dashboard,
.vai-account-shell,
.vai-float-panel,
.vai-bubble-assistant,
.vai-bubble-thinking,
.vai-chat-toolbar-copy h3,
.vai-section-hero-copy h3,
.vai-dashboard .vai-card h3,
.vai-account-card h3,
.vai-stat-value,
.vai-float-head,
.vai-float-head button,
.vai-table th,
.vai-table td,
.vai-account-field label {
	color: var(--vai-text, #1d1814);
}

.vai-chat-toolbar-eyebrow,
.vai-section-eyebrow {
	color: color-mix(in srgb, var(--vai-accent, #fb6464) 78%, #8f6d59);
}

.vai-prompt-chip,
.vai-message-action,
.vai-account-actions button,
.vai-inline-form button,
.vai-float-head button {
	border-color: rgba(133, 110, 88, 0.12);
	background: rgba(255, 255, 255, 0.88);
	color: var(--vai-text, #1d1814);
	box-shadow: 0 8px 18px rgba(111, 84, 57, 0.06);
}

.vai-prompt-chip:hover,
.vai-prompt-chip:focus-visible,
.vai-message-action:hover,
.vai-message-action:focus-visible,
.vai-float-head button:hover,
.vai-float-head button:focus-visible,
.vai-account-actions button:hover,
.vai-account-actions button:focus-visible,
.vai-inline-form button:hover,
.vai-inline-form button:focus-visible {
	border-color: rgba(242, 88, 88, 0.22);
	background: rgba(251, 100, 100, 0.08);
	color: #7f3c35;
}

.vai-message-action.is-active {
	border-color: rgba(242, 88, 88, 0.26);
	background: rgba(251, 100, 100, 0.12);
	color: #7f3c35;
}

.vai-bubble-user {
	background: linear-gradient(180deg, #fb7570 0%, #f25858 100%);
	border-color: rgba(242, 88, 88, 0.28);
	color: #fff7f4;
	box-shadow: 0 14px 28px rgba(242, 88, 88, 0.18);
}

.vai-bubble-thinking {
	color: color-mix(in srgb, var(--vai-text-dim, #74695f) 92%, white);
}

.vai-chat-form {
	border-top-color: rgba(133, 110, 88, 0.1);
}

.vai-chat-form-shortcode .vai-chat-form-prefix {
	color: color-mix(in srgb, var(--vai-text-dim, #74695f) 84%, white);
}

.vai-chat-form textarea,
.vai-account-field input,
.vai-account-field select {
	border-color: rgba(133, 110, 88, 0.12);
	background: rgba(255, 255, 255, 0.92);
	color: var(--vai-text, #1d1814);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.vai-chat-form textarea::placeholder,
.vai-section-hero-copy p,
.vai-section-intro,
.vai-stat-label,
.vai-stat-meta,
.vai-account-field .vai-account-hint {
	color: var(--vai-text-dim, #74695f);
}

.vai-chat-form textarea:focus,
.vai-chat-form textarea:focus-visible,
.vai-account-field input:focus,
.vai-account-field select:focus {
	outline: 0;
	border-color: rgba(242, 88, 88, 0.24);
	box-shadow: 0 0 0 3px rgba(242, 88, 88, 0.1);
}

.vai-chat-form button[type="submit"],
.vai-float-button {
	border-color: rgba(242, 88, 88, 0.24);
	background: linear-gradient(180deg, #fb7570 0%, #f25858 100%);
	color: #fff7f4;
	box-shadow: 0 16px 30px rgba(242, 88, 88, 0.2);
}

.vai-search-submit.is-auth-pressing,
.vai-chat-form button[type="submit"].is-auth-pressing {
	box-shadow: 0 0 0 6px rgba(242, 88, 88, 0.14);
}

.vai-auth-guided {
	box-shadow: 0 20px 40px rgba(111, 84, 57, 0.12);
}

.vai-table th,
.vai-table td,
.vai-float-head,
.vai-float-panel .vai-chat-form {
	border-color: rgba(133, 110, 88, 0.1);
}

.vai-float-button {
	box-shadow: 0 18px 34px rgba(242, 88, 88, 0.18);
}

.vai-account-notice.is-success {
	color: #0f766e;
	background: rgba(16, 185, 129, 0.12);
}

.vai-account-notice.is-error {
	color: #b91c1c;
	background: rgba(248, 113, 113, 0.1);
}

.vai-account-feedback {
	border-color: rgba(242, 88, 88, 0.18);
	background: rgba(251, 100, 100, 0.08);
	color: #7f3c35;
}
