.aysa-a8sg,
.aysa-a8sg * {
	box-sizing: border-box;
}

.aysa-a8sg {
	--a8sg-accent: #e11937;
	--a8sg-blue: #0f62e8;
	--a8sg-ink: #0d1424;
	--a8sg-muted: #5d6878;
	--a8sg-line: #e2e6ec;
	--a8sg-soft: #f5f7fa;
	background: linear-gradient(90deg, #fff 0%, #fafbfc 52%, #fff 100%);
	border-bottom: 1px solid var(--a8sg-line);
	color: var(--a8sg-ink);
	font-family: Inter, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	height: 64px;
	position: relative;
	z-index: 45;
}

.aysa-a8sg__details {
	height: 64px;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
}

.aysa-a8sg__home-search {
	align-items: center;
	display: flex;
	gap: 10px;
	height: 64px;
	margin: 0 auto;
	max-width: 820px;
	padding: 0 20px;
}

.aysa-a8sg__home-search input {
	background: #fff;
	border: 1px solid #d5dbe5;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	color: var(--a8sg-ink);
	font: inherit;
	font-size: 14px;
	height: 44px;
	min-width: 0;
	padding: 0 18px;
	width: 100%;
}

.aysa-a8sg__home-search input:focus-visible {
	border-color: #8bb3f6;
	box-shadow: 0 0 0 3px rgba(15, 98, 232, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
	outline: 0;
}

.aysa-a8sg__home-search button {
	background: var(--a8sg-ink);
	border: 1px solid var(--a8sg-ink);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	height: 42px;
	padding: 0 17px;
	white-space: nowrap;
}

.aysa-a8sg--home .aysa-a8sg__details {
	height: 0;
	margin: 0 auto;
}

.aysa-a8sg--home .aysa-a8sg__summary {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.aysa-hero__visual.has-agent8-sales-guide {
	align-self: start;
	margin: 0;
	min-height: 300px;
	width: 100%;
}

.aysa-hero__visual.has-agent8-sales-guide > :not(.aysa-a8sg) {
	display: none;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg--home {
	background: transparent;
	border: 0;
	height: auto;
	z-index: 2;
}

.aysa-a8sg__home-card {
	background: #fff;
	border: 1px solid #dde2e9;
	border-radius: 20px;
	box-shadow: 0 22px 60px rgba(15, 23, 42, 0.11);
	color: var(--a8sg-ink);
	padding: 23px;
	position: relative;
}

.aysa-a8sg__home-heading {
	align-items: center;
	display: flex;
	gap: 12px;
}

.aysa-a8sg__home-kicker {
	align-items: center;
	color: #707b8d;
	display: flex;
	font-size: 9px;
	font-weight: 800;
	gap: 6px;
	letter-spacing: 0.1em;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.aysa-a8sg__home-card h2 {
	color: var(--a8sg-ink);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0;
}

.aysa-a8sg__home-subtitle {
	color: #5f6b7c;
	font-size: 13.5px;
	line-height: 1.5;
	margin: 13px 0 0;
}

.aysa-a8sg__home-invite {
	align-items: baseline;
	border-top: 1px solid #edf0f4;
	display: flex;
	gap: 7px;
	margin-top: 14px;
	padding-top: 13px;
}

.aysa-a8sg__home-invite strong {
	color: var(--a8sg-ink);
	font-size: 12.5px;
	font-weight: 800;
}

.aysa-a8sg__home-invite span {
	color: #707b8d;
	font-size: 11.5px;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search {
	background: #fff;
	border: 2px solid rgba(225, 25, 55, 0.42);
	border-radius: 13px;
	box-shadow: 0 5px 18px rgba(225, 25, 55, 0.08);
	cursor: text;
	height: 58px;
	margin-top: 9px;
	max-width: none;
	padding: 6px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search:focus-within {
	border-color: var(--a8sg-accent);
	box-shadow: 0 0 0 4px rgba(225, 25, 55, 0.1), 0 7px 22px rgba(225, 25, 55, 0.1);
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search.is-inviting {
	animation: aysa-a8sg-invite-pulse 900ms ease-in-out infinite;
}

@keyframes aysa-a8sg-invite-pulse {
	0%, 100% {
		border-color: rgba(225, 25, 55, 0.42);
		box-shadow: 0 5px 18px rgba(225, 25, 55, 0.08);
	}
	50% {
		border-color: rgba(225, 25, 55, 0.82);
		box-shadow: 0 0 0 4px rgba(225, 25, 55, 0.08), 0 7px 22px rgba(225, 25, 55, 0.14);
	}
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search button {
	align-items: center;
	background: #111827;
	border-color: #111827;
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 12px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	min-width: 76px;
	padding: 0 18px;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
	width: auto;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search button:hover,
.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search button:focus-visible {
	background: #263247;
	border-color: #263247;
	outline: 0;
	transform: translateY(-1px);
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search button::after {
	content: none;
}

.aysa-a8sg__home-prompts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	position: relative;
}

.aysa-a8sg__home-prompts button {
	background: #fff;
	border: 1px solid #d9dfe7;
	border-radius: 999px;
	color: #344054;
	cursor: pointer;
	font: inherit;
	font-size: 11.5px;
	font-weight: 750;
	line-height: 1.2;
	padding: 8px 11px;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.aysa-a8sg__home-prompts .aysa-a8sg__home-prompt--primary {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.aysa-a8sg__home-prompts .aysa-a8sg__home-prompt--primary:hover,
.aysa-a8sg__home-prompts .aysa-a8sg__home-prompt--primary:focus-visible {
	background: #263247;
	border-color: #263247;
}

.aysa-a8sg__home-prompts button:hover,
.aysa-a8sg__home-prompts button:focus-visible {
	background: #f7f8fa;
	border-color: #aeb8c7;
	outline: 0;
	transform: translateY(-1px);
}

.aysa-a8sg__home-proof {
	align-items: center;
	color: #7b8595;
	display: flex;
	font-size: 10px;
	gap: 14px;
	margin-top: 13px;
	position: relative;
}

.aysa-a8sg__home-proof span::before {
	color: #32d583;
	content: '✓';
	font-weight: 900;
	margin-right: 5px;
}

.aysa-a8sg__home-proof strong {
	color: #596579;
	font-weight: 750;
	margin-left: auto;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__details[open] {
	height: auto;
}

.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__panel {
	height: min(610px, calc(100vh - 140px));
	height: min(610px, calc(100dvh - 140px));
	right: 24px;
	top: 88px;
	margin-top: 0;
	position: fixed;
	width: min(560px, calc(100vw - 48px));
}

.aysa-a8sg__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	height: 64px;
	list-style: none;
	outline: 0;
	padding: 0 32px;
	user-select: none;
}

.aysa-a8sg__summary::-webkit-details-marker {
	display: none;
}

.aysa-a8sg__summary:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(15, 98, 232, 0.35);
}

.aysa-a8sg__avatar,
.aysa-a8sg__mini-avatar {
	align-items: center;
	background: linear-gradient(145deg, #ef2a46, #c70f2c);
	border-radius: 999px;
	box-shadow: 0 7px 16px rgba(225, 25, 55, 0.2);
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 800;
	justify-content: center;
}

.aysa-a8sg__avatar {
	font-size: 11px;
	height: 36px;
	width: 36px;
}

.aysa-a8sg__mini-avatar {
	font-size: 9px;
	height: 26px;
	margin-top: 2px;
	width: 26px;
}

.aysa-a8sg__summary-copy {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.aysa-a8sg__eyebrow {
	align-items: center;
	color: var(--a8sg-muted);
	display: flex;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.aysa-a8sg__online {
	background: #16a05d;
	border-radius: 999px;
	box-shadow: 0 0 0 3px rgba(22, 160, 93, 0.12);
	height: 6px;
	margin-right: 7px;
	width: 6px;
}

.aysa-a8sg__summary-copy strong {
	font-size: 14px;
	font-weight: 720;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aysa-a8sg__summary-action {
	align-items: center;
	border: 1px solid #d7dce4;
	border-radius: 999px;
	color: #202938;
	display: inline-flex;
	font-size: 12px;
	font-weight: 750;
	gap: 9px;
	margin-left: auto;
	padding: 7px 12px;
	white-space: nowrap;
}

.aysa-a8sg__chevron {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: inline-block;
	height: 7px;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 160ms ease;
	width: 7px;
}

.aysa-a8sg__details[open] .aysa-a8sg__chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

.aysa-a8sg__panel {
	background: #fff;
	border: 1px solid #d9dfe8;
	border-radius: 17px;
	box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	height: min(680px, calc(100vh - 161px));
	height: min(680px, calc(100dvh - 161px));
	overflow: hidden;
	position: fixed;
	right: max(32px, calc((100vw - 1200px) / 2 + 32px));
	top: 145px;
	width: min(620px, calc(100vw - 64px));
}

.aysa-a8sg__panel-head {
	align-items: center;
	background: linear-gradient(135deg, #fbfcfe, #f4f7fb);
	border-bottom: 1px solid var(--a8sg-line);
	display: flex;
	justify-content: space-between;
	padding: 12px 14px 12px 16px;
	position: sticky;
	top: 0;
	z-index: 1;
}

.aysa-a8sg__panel-head span,
.aysa-a8sg__panel-head strong {
	display: block;
}

.aysa-a8sg__panel-head span {
	color: var(--a8sg-muted);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aysa-a8sg__panel-head strong {
	font-size: 14px;
	line-height: 1.3;
}

.aysa-a8sg__close {
	align-items: center;
	background: #fff;
	border: 1px solid #dce1e8;
	border-radius: 999px;
	color: #344054;
	cursor: pointer;
	display: inline-flex;
	font-size: 22px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	width: 34px;
}

.aysa-a8sg__close:focus-visible,
.aysa-a8sg__composer textarea:focus-visible,
.aysa-a8sg__composer button:focus-visible,
.aysa-a8sg__cta:focus-visible,
.aysa-a8sg__login:focus-visible {
	outline: 3px solid rgba(15, 98, 232, 0.35);
	outline-offset: 2px;
}

.aysa-a8sg__conversation {
	background: var(--a8sg-soft);
	display: grid;
	flex: 1 1 auto;
	gap: 14px;
	min-height: 0;
	overflow-y: auto;
	padding: 18px;
	scroll-behavior: smooth;
}

.aysa-a8sg__row {
	display: flex;
	gap: 9px;
}

.aysa-a8sg__row--visitor {
	justify-content: flex-end;
}

.aysa-a8sg__bubble {
	background: #fff;
	border: 1px solid #dce2ea;
	border-radius: 5px 14px 14px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
	max-width: calc(100% - 38px);
	padding: 12px 14px;
}

.aysa-a8sg__bubble--visitor {
	background: #eaf2ff;
	border-color: #c9dbfb;
	border-radius: 14px 5px 14px 14px;
	max-width: 88%;
}

.aysa-a8sg__speaker {
	color: #344054;
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.aysa-a8sg__bubble p,
.aysa-a8sg__noscript {
	color: #273244;
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0;
	white-space: pre-line;
}

.aysa-a8sg__row.is-streaming .aysa-a8sg__bubble > p::after {
	animation: aysa-a8sg-cursor 720ms steps(1) infinite;
	color: var(--a8sg-accent);
	content: '▋';
	display: inline-block;
	font-size: 0.82em;
	margin-left: 2px;
}

@keyframes aysa-a8sg-cursor {
	0%, 48% { opacity: 1; }
	49%, 100% { opacity: 0; }
}

.aysa-a8sg__bubble .aysa-a8sg__agent-role {
	border-top: 1px solid #e7eaf0;
	margin-top: 10px;
	padding-top: 10px;
}

.aysa-a8sg__bubble .aysa-a8sg__prompt {
	color: var(--a8sg-muted);
	font-size: 12.5px;
	margin-top: 9px;
}

.aysa-a8sg__inline-cta {
	align-items: center;
	background: #0d1424;
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-size: 12.5px;
	font-weight: 750;
	margin-top: 12px;
	min-height: 38px;
	padding: 0 14px;
	text-decoration: none;
}

.aysa-a8sg__inline-cta:hover {
	background: #202b3e;
	color: #fff;
}

.aysa-a8sg__sources {
	border-top: 1px solid var(--a8sg-line);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 9px;
	margin-top: 12px;
	padding-top: 10px;
}

.aysa-a8sg__sources span {
	color: var(--a8sg-muted);
	flex-basis: 100%;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aysa-a8sg__sources a {
	color: #0b58ca;
	font-size: 11px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(11, 88, 202, 0.28);
	text-underline-offset: 2px;
}

.aysa-a8sg__quick-replies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-left: 35px;
}

.aysa-a8sg__quick-replies button {
	background: #fff;
	border: 1px solid #cdd5e0;
	border-radius: 999px;
	color: #223046;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.3;
	padding: 8px 11px;
}

.aysa-a8sg__quick-replies button:hover,
.aysa-a8sg__quick-replies button[data-selected="true"] {
	background: #eaf2ff;
	border-color: #8bb3f6;
	color: #084fae;
}

.aysa-a8sg__exchange {
	display: grid;
	gap: 12px;
	opacity: 0;
	transform: translateY(5px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.aysa-a8sg__exchange[hidden] {
	display: none;
}

.aysa-a8sg__exchange.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

.aysa-a8sg__noscript {
	background: #fff7e8;
	border: 1px solid #f1d8a8;
	border-radius: 10px;
	padding: 12px;
}

.aysa-a8sg__composer {
	align-items: flex-end;
	background: #fff;
	border-top: 1px solid var(--a8sg-line);
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr auto;
	padding: 14px 18px 12px;
}

.aysa-a8sg__composer textarea {
	background: #f8fafc;
	border: 1px solid #cfd7e3;
	border-radius: 12px;
	color: var(--a8sg-ink);
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	max-height: 110px;
	min-height: 44px;
	padding: 11px 12px;
	resize: vertical;
	width: 100%;
}

.aysa-a8sg__composer button {
	background: var(--a8sg-blue);
	border: 1px solid var(--a8sg-blue);
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	min-height: 44px;
	padding: 0 18px;
}

.aysa-a8sg__composer button:disabled,
.aysa-a8sg__composer textarea:disabled {
	cursor: wait;
	opacity: 0.65;
}

.aysa-a8sg__composer small {
	color: var(--a8sg-muted);
	font-size: 10px;
	grid-column: 1 / -1;
	line-height: 1.35;
}

.aysa-a8sg__typing {
	animation: aysa-a8sg-pulse 1s ease-in-out infinite;
	font-size: 18px !important;
	letter-spacing: 3px;
}

@keyframes aysa-a8sg-pulse {
	0%, 100% { opacity: 0.35; }
	50% { opacity: 1; }
}

.aysa-a8sg__footer {
	align-items: center;
	background: #fff;
	border-top: 1px solid var(--a8sg-line);
	display: none;
	flex-wrap: wrap;
	gap: 10px 14px;
	padding: 14px 18px 16px;
}

.aysa-a8sg__footer.is-recommended {
	background: #f4f8ff;
	box-shadow: inset 0 3px 0 #0f62e8;
	display: flex;
}

.aysa-a8sg__cta,
.aysa-a8sg__login {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	justify-content: center;
	min-height: 40px;
	padding: 0 15px;
	text-decoration: none;
}

.aysa-a8sg__cta {
	background: var(--a8sg-ink);
	border: 1px solid var(--a8sg-ink);
	color: #fff;
}

.aysa-a8sg__cta:hover {
	background: #202b3e;
	color: #fff;
}

.aysa-a8sg__login {
	background: #fff;
	border: 1px solid #d8dee7;
	color: #243147;
}

.aysa-a8sg__login:hover {
	background: #f7f9fc;
	color: #0f62e8;
}

.aysa-a8sg__footer small {
	color: var(--a8sg-muted);
	flex-basis: 100%;
	font-size: 10.5px;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.aysa-a8sg,
	.aysa-a8sg__details,
	.aysa-a8sg__summary {
		height: 68px;
	}

	.aysa-a8sg__home-search {
		gap: 8px;
		padding: 0 12px;
	}

	.aysa-a8sg__home-search .aysa-a8sg__avatar {
		display: none;
	}

	.aysa-a8sg__home-search input {
		font-size: 13px;
		padding: 0 14px;
	}

	.aysa-a8sg__home-search button {
		font-size: 0;
		min-width: 44px;
		padding: 0;
		width: 44px;
	}

	.aysa-a8sg__home-search button::after {
		content: '\2192';
		font-size: 20px;
	}

	.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__home-search {
		border-radius: 14px;
		height: 68px;
	}

	.aysa-hero__visual.has-agent8-sales-guide {
		min-height: 0;
	}

	.aysa-a8sg__home-card {
		border-radius: 17px;
		min-height: 0;
		padding: 18px;
	}

	.aysa-a8sg__home-card h2 {
		font-size: 21px;
	}

	.aysa-a8sg__home-subtitle {
		font-size: 13px;
	}

	.aysa-a8sg__home-prompts {
		display: grid;
	}

	.aysa-a8sg__home-prompts button {
		text-align: left;
	}

	.aysa-a8sg__home-proof {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	.aysa-a8sg__home-proof strong {
		flex-basis: 100%;
		margin-left: 0;
	}

	.aysa-hero__visual.has-agent8-sales-guide .aysa-a8sg__panel {
		height: min(640px, calc(100vh - 150px));
		height: min(640px, calc(100dvh - 150px));
		inset: auto 10px 10px;
		position: fixed;
		width: calc(100vw - 20px);
	}

	.aysa-a8sg__summary {
		gap: 9px;
		padding: 0 16px;
	}

	.aysa-a8sg__avatar {
		height: 32px;
		width: 32px;
	}

	.aysa-a8sg__summary-copy strong {
		font-size: 12.5px;
	}

	.aysa-a8sg__eyebrow {
		font-size: 9px;
	}

	.aysa-a8sg__summary-action {
		border: 0;
		font-size: 0;
		padding: 8px;
	}

	.aysa-a8sg__summary-action .aysa-a8sg__chevron {
		font-size: 12px;
	}

	.aysa-a8sg__panel {
		height: calc(100vh - 157px);
		height: calc(100dvh - 157px);
		right: 10px;
		top: 147px;
		width: calc(100vw - 20px);
	}

	.aysa-a8sg__conversation {
		padding: 14px 12px;
	}

	.aysa-a8sg__composer {
		padding: 12px;
	}

	.aysa-a8sg__footer {
		padding: 12px;
	}

	.aysa-a8sg__cta,
	.aysa-a8sg__login {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aysa-a8sg__chevron,
	.aysa-a8sg__exchange,
	.aysa-a8sg__typing,
	.aysa-a8sg__home-search.is-inviting,
	.aysa-a8sg__row.is-streaming .aysa-a8sg__bubble > p::after {
		animation: none;
		transition: none;
	}
}

@media print {
	.aysa-a8sg {
		display: none;
	}
}
