.webexpo-chat-support-chat {
	--webexpo-support-panel: var(--webx-void-90, #ffffff);
	--webexpo-support-panel-edge: var(--webx-ice-50, #d8d8d8);
	--webexpo-support-text: var(--webx-system-contrast, #171717);
	--webexpo-support-muted: var(--webx-system-contrast-75, #5e6470);
	--webexpo-support-field: var(--webx-system, #ffffff);
	--webexpo-support-field-border: var(--webx-ice-75, #8b8f99);
	--webexpo-support-accent: var(--webx-brand-1-100, #e0002a);
	--webexpo-support-accent-soft: var(--webx-brand-1-50, #f36a86);
	--webexpo-support-button-text: var(--webx-void-100, #ffffff);
	--webexpo-support-control-height: 76px;
	--webexpo-support-submit-min-height: 44px;
	margin-block: var(--wp--preset--spacing--size-small, clamp(24px, 4vw, 52px));
	color: var(--webexpo-support-text);
}

.webexpo-chat-support-chat,
.webexpo-chat-support-chat * {
	box-sizing: border-box;
}

.webexpo-chat-support-chat__inner {
	width: 100%;
	max-width: none;
	margin-inline: auto;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--webexpo-support-panel-edge);
	border-radius: 0;
	background: var(--webexpo-support-panel);
	background: color-mix(in srgb, var(--webexpo-support-panel) 94%, var(--webexpo-support-accent) 6%);
}

.webexpo-chat-support-chat__heading {
	margin: 0 0 8px;
	font-family: "Ladislav-Bold", "Oxanium", sans-serif;
	font-size: clamp(24px, 2.4vw, 36px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.webexpo-chat-support-chat__intro {
	max-width: 720px;
	margin: 0 0 16px;
	color: var(--webexpo-support-muted);
	font-size: 16px;
	line-height: 1.45;
}

.webexpo-chat-support-chat__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(9rem, auto);
	grid-auto-rows: minmax(var(--webexpo-support-control-height), auto);
	gap: 0;
	align-items: stretch;
}

.webexpo-chat-support-chat__form > * {
	min-width: 0;
}

.webexpo-chat-support-chat__query {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	height: 100%;
	min-height: var(--webexpo-support-control-height);
	padding: 13px 48px 13px 14px;
	border: 2px solid var(--webexpo-support-field-border);
	border-right: 0;
	border-radius: 0;
	background: var(--webexpo-support-field);
	color: var(--webexpo-support-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	resize: none;
	caret-color: var(--webexpo-support-accent);
	box-shadow: none;
	transition: border-color 0.18s ease;
}

.webexpo-chat-support-chat__query::placeholder {
	color: var(--webexpo-support-muted);
	opacity: 0.78;
}

.webexpo-chat-support-chat__query:focus {
	border-color: var(--webexpo-support-accent);
	outline: none;
	box-shadow: none;
}

.webexpo-chat-support-chat .webexpo-chat-query-clear {
	z-index: 2;
	align-self: center;
	justify-self: end;
	grid-column: 1;
	grid-row: 1;
	width: 32px;
	height: 32px;
	margin-right: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--webexpo-support-muted);
	font-family: "Ladislav-Bold", "Oxanium", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	appearance: none;
}

.webexpo-chat-support-chat .webexpo-chat-query-clear:hover,
.webexpo-chat-support-chat .webexpo-chat-query-clear:focus {
	background: color-mix(in srgb, var(--webexpo-support-field) 78%, var(--webexpo-support-accent) 22%);
	color: var(--webexpo-support-accent);
	outline: none;
}

.webexpo-chat-support-chat .webexpo-chat-query-clear[hidden] {
	display: none;
}

.webexpo-chat-support-chat .webexpo-chat-query-clear:disabled {
	cursor: not-allowed;
	opacity: 0.48;
}

.webexpo-chat-support-chat__submit {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: var(--webexpo-support-control-height);
	padding: 0.7em 1.1em;
	border: 2px solid var(--webexpo-support-accent);
	border-radius: 0;
	background: var(--webexpo-support-accent-soft);
	color: var(--webexpo-support-button-text);
	font-family: "Ladislav-Bold", "Oxanium", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	appearance: none;
}

.webexpo-chat-support-chat__submit:hover,
.webexpo-chat-support-chat__submit:focus {
	background: var(--webexpo-support-accent);
	color: var(--webexpo-support-button-text);
	outline: none;
}

.webexpo-chat-support-chat__submit:disabled,
.webexpo-chat-support-chat__prompt:disabled {
	cursor: not-allowed;
	opacity: 0.68;
}

.webexpo-chat-support-chat__prompts {
	--webexpo-support-prompt-columns: 2;
	display: grid;
	grid-template-columns: repeat(var(--webexpo-support-prompt-columns), minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 6px;
	margin-top: 8px;
	margin-bottom: 8px;
}

.webexpo-chat-support-chat__prompts[data-webexpo-support-chat-prompt-count="1"] {
	--webexpo-support-prompt-columns: 1;
}

.webexpo-chat-support-chat__prompt {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	min-height: 38px;
	padding: 7px 10px;
	border: 1px solid var(--webexpo-support-field-border);
	border-radius: 1em;
	background: color-mix(in srgb, var(--webexpo-support-field) 86%, var(--webexpo-support-accent) 14%);
	color: var(--webexpo-support-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	overflow-wrap: anywhere;
	cursor: pointer;
	appearance: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.webexpo-chat-super-support .webexpo-chat-support-chat__prompt {
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
	animation: webexpo-super-support-prompt-enter 0.18s ease-out;
}

.webexpo-chat-support-chat__prompt:hover,
.webexpo-chat-support-chat__prompt:focus {
	background: var(--webexpo-support-field);
	border-color: var(--webexpo-support-accent);
	color: var(--webexpo-support-accent);
	outline: none;
}

.webexpo-chat-super-support .webexpo-chat-support-chat__prompt.is-exiting {
	opacity: 0;
	transform: translateY(3px) scale(0.98);
}

@keyframes webexpo-super-support-prompt-enter {
	from {
		opacity: 0;
		transform: translateY(3px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.webexpo-chat-support-chat .webexpo-chat-support-chat__status {
	margin-top: 10px;
	padding-bottom: 10px;
	color: var(--webexpo-support-muted);
	font-size: 17px;
	line-height: 1.45;
}

.webexpo-chat-support-chat .webexpo-chat-support-chat__status:empty {
	display: none;
}

.webexpo-chat-support-chat .webexpo-chat-support-chat__status--warning {
	color: var(--webx-brand-2-100, #755100);
}

.webexpo-chat-support-chat .webexpo-chat-support-chat__status--error {
	color: var(--webexpo-pink-100, #b00020);
}

.webexpo-chat-support-chat__answer {
	width: 100%;
	max-width: 780px;
	margin-top: 16px;
	color: var(--webexpo-support-text);
	font-size: 16px;
	line-height: 1.52;
}

.webexpo-chat-support-chat__answer[hidden] {
	display: none;
}

.webexpo-chat-support-chat__answer-paragraph {
	margin: 0 0 12px;
	color: var(--webexpo-support-text);
}

.webexpo-chat-support-chat__answer-list {
	margin: 0 0 12px;
	padding-left: 1.25em;
	color: var(--webexpo-support-text);
}

.webexpo-chat-support-chat__answer-list-item {
	margin: 0 0 4px;
}

.webexpo-chat-support-chat__answer-link {
	color: var(--webexpo-support-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.webexpo-chat-support-chat__answer-link:hover,
.webexpo-chat-support-chat__answer-link:focus {
	color: var(--webexpo-support-text);
	outline: none;
}

.webexpo-chat-support-chat__media {
	display: grid;
	gap: 12px;
	margin-top: 16px;
	margin-bottom: 16px;
}

.webexpo-chat-support-chat__media-item {
	margin: 0;
}

.webexpo-chat-support-chat__media-image {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--webexpo-support-panel-edge);
	background: var(--webexpo-support-field);
}

.webexpo-chat-support-chat__media-caption {
	margin-top: 6px;
	color: var(--webexpo-support-muted);
	font-size: 13px;
	line-height: 1.35;
}

.webexpo-chat-support-chat__sources {
	margin-top: 16px;
	color: var(--webexpo-support-muted);
	font-size: 14px;
	line-height: 1.35;
}

.webexpo-chat-support-chat__sources-heading {
	display: block;
	margin-bottom: 6px;
	color: var(--webexpo-support-text);
	font-family: "Ladislav-Bold", "Oxanium", sans-serif;
	font-weight: 700;
}

.webexpo-chat-support-chat__source-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.webexpo-chat-support-chat__source-item {
	margin: 0;
}

.webexpo-chat-support-chat__source-text {
	color: var(--webexpo-support-muted);
}

.webexpo-chat-support-chat__source-link {
	color: var(--webexpo-support-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.webexpo-chat-support-chat__source-link:hover,
.webexpo-chat-support-chat__source-link:focus {
	color: var(--webexpo-support-text);
	outline: none;
}

@media (max-width: 720px) {
	.webexpo-chat-support-chat {
		--webexpo-support-control-height: 82px;
	}

	.webexpo-chat-support-chat__inner {
		padding: 16px;
	}

	.webexpo-chat-support-chat__form {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.webexpo-chat-support-chat__query {
		min-height: var(--webexpo-support-control-height);
		border-right: 2px solid var(--webexpo-support-field-border);
	}

	.webexpo-chat-support-chat__submit {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
		height: auto;
		min-height: var(--webexpo-support-submit-min-height);
		padding: 12px 16px;
		font-size: 18px;
	}

	.webexpo-chat-support-chat__prompts {
		--webexpo-support-prompt-columns: 1;
	}
}
