.wtsc-widget,
.wtsc-button {
	box-sizing: border-box;
	font-family: inherit;
}

.wtsc-widget *,
.wtsc-widget *::before,
.wtsc-widget *::after {
	box-sizing: inherit;
}

.wtsc-widget--floating {
	position: fixed;
	right: calc(24px + env(safe-area-inset-right, 0px));
	bottom: calc(28px + env(safe-area-inset-bottom, 0px));
	left: auto;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	width: min(320px, calc(100vw - 32px));
	max-width: calc(100vw - 32px);
}

.wtsc-widget--bottom-left {
	right: auto;
	left: calc(24px + env(safe-area-inset-left, 0px));
	align-items: flex-start;
}

.wtsc-widget--bottom-right {
	right: calc(24px + env(safe-area-inset-right, 0px));
	left: auto;
	align-items: flex-end;
}

.wtsc-panel {
	width: 100%;
	overflow: hidden;
	border: 1px solid rgba(30, 91, 94, 0.16);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 50px rgba(17, 48, 50, 0.2);
	color: #173f41;
}

.wtsc-panel[hidden] {
	display: none;
}

.wtsc-widget--floating.is-open .wtsc-panel {
	animation: wtsc-panel-in 160ms ease-out;
}

.wtsc-panel__header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	background: var(--wtsc-primary, #1e5b5e);
	color: #fff;
}

.wtsc-panel__title {
	font-size: 17px;
	line-height: 1.5;
}

.wtsc-panel__subtitle {
	font-size: 13px;
	line-height: 1.6;
	opacity: 0.88;
}

.wtsc-channel-list {
	display: grid;
	gap: 9px;
	padding: 12px;
}

.wtsc-channel {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 9px 11px;
	border: 1px solid #e5eeee;
	border-radius: 13px;
	background: #fff;
	color: #173f41;
	text-align: start;
	text-decoration: none !important;
	transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.wtsc-channel:hover,
.wtsc-channel:focus-visible {
	border-color: var(--wtsc-brand, var(--wtsc-primary));
	box-shadow: 0 7px 20px rgba(17, 48, 50, 0.09);
	color: #173f41;
	transform: translateY(-1px);
}

.wtsc-channel:focus-visible,
.wtsc-launcher:focus-visible,
.wtsc-button:focus-visible {
	outline: 3px solid rgba(30, 91, 94, 0.28);
	outline-offset: 3px;
}

.wtsc-channel__icon {
	display: inline-grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--wtsc-brand, var(--wtsc-primary));
	color: #fff;
	font-weight: 700;
}

.wtsc-channel__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.wtsc-channel__content strong {
	font-size: 14px;
	line-height: 1.5;
}

.wtsc-channel__content small {
	overflow: hidden;
	color: #647879;
	font-size: 12px;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wtsc-channel__arrow {
	color: var(--wtsc-brand, var(--wtsc-primary));
	font-size: 18px;
}

.wtsc-launcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--wtsc-primary, #1e5b5e);
	box-shadow: 0 10px 30px rgba(17, 48, 50, 0.28);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.wtsc-launcher__icon {
	display: inline-grid;
	width: 100%;
	height: 100%;
	place-items: center;
	font-size: 19px;
	line-height: 1;
}

.wtsc-launcher__img {
	display: block;
	max-width: 70%;
	max-height: 70%;
	object-fit: contain;
}

.wtsc-launcher-row {
	display: flex;
	align-items: center;
	align-self: flex-end;
	gap: 10px;
	direction: ltr;
	max-width: 100%;
}

.wtsc-widget--bottom-left .wtsc-launcher-row {
	align-self: flex-start;
	flex-direction: row-reverse;
}

.wtsc-launcher-bubble {
	max-width: 220px;
	padding: 9px 12px;
	border: 1px solid rgba(30, 91, 94, 0.1);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 48, 50, 0.14);
	color: #173f41;
	direction: rtl;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	text-align: start;
}

.wtsc-widget--floating.is-open .wtsc-launcher-bubble {
	display: none;
}

.wtsc-widget--embedded {
	width: min(100%, 480px);
	margin-block: 1em;
}

.wtsc-widget--embedded .wtsc-panel {
	box-shadow: 0 8px 28px rgba(17, 48, 50, 0.12);
}

.wtsc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-block-start: 12px;
	padding: 11px 18px;
	border: 1px solid var(--wtsc-brand, #1e5b5e);
	border-radius: 10px;
	background: var(--wtsc-brand, #1e5b5e);
	color: #fff !important;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none !important;
	transition: filter 140ms ease, transform 140ms ease;
}

.wtsc-button:hover {
	color: #fff !important;
	filter: brightness(0.94);
	transform: translateY(-1px);
}

@keyframes wtsc-panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 769px) {
	.wtsc-hide-desktop {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.wtsc-hide-mobile {
		display: none !important;
	}

	.wtsc-widget--floating {
		right: calc(16px + env(safe-area-inset-right, 0px));
		bottom: calc(18px + env(safe-area-inset-bottom, 0px));
		left: auto;
		width: min(304px, calc(100vw - 32px));
	}

	.wtsc-widget--bottom-left {
		right: auto;
		left: calc(16px + env(safe-area-inset-left, 0px));
	}

	.wtsc-widget--bottom-right {
		right: calc(16px + env(safe-area-inset-right, 0px));
		left: auto;
	}

	.wtsc-launcher-bubble {
		display: none;
	}

	.wtsc-widget--bubble-mobile .wtsc-launcher-bubble {
		display: block;
		max-width: 170px;
		padding: 7px 10px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wtsc-widget--floating.is-open .wtsc-panel,
	.wtsc-channel,
	.wtsc-button {
		animation: none;
		transition: none;
	}
}

/* Compact Loop 4 presentation. */
.wtsc-widget--floating {
	width: min(320px, calc(100vw - 32px));
}

.wtsc-panel__header {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 16px;
}

.wtsc-panel__heading {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.wtsc-panel-close {
	display: inline-grid;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 23px;
	line-height: 1;
}

.wtsc-panel-close:hover,
.wtsc-panel-close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.wtsc-channel-list {
	gap: 7px;
	padding: 10px;
}

.wtsc-channel {
	min-height: 52px;
	padding: 7px 9px;
	border-radius: 11px;
}

.wtsc-channel__icon {
	flex-basis: 34px;
	width: 34px;
	height: 34px;
	font-size: 13px;
}

.wtsc-launcher {
	width: 56px;
	min-width: 56px;
	height: 56px;
	min-height: 56px;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	text-decoration: none !important;
}

.wtsc-launcher:hover {
	color: #fff;
	filter: brightness(0.95);
}

.wtsc-launcher__label {
	display: none;
}

.wtsc-product-contact {
	position: relative;
	width: min(100%, 320px);
	margin-block-start: 12px;
	font-family: inherit;
}

.wtsc-product-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	max-width: 260px;
	min-height: 46px;
	padding: 8px 16px;
	border: 1px solid var(--wtsc-primary, #1e5b5e);
	border-radius: 999px;
	background: #fff;
	color: var(--wtsc-primary, #1e5b5e);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.wtsc-product-trigger:hover,
.wtsc-product-trigger:focus-visible {
	background: rgba(30, 91, 94, 0.07);
	outline: 2px solid rgba(30, 91, 94, 0.24);
	outline-offset: 2px;
}

.wtsc-product-panel {
	width: min(100%, 320px);
	margin-block-start: 8px;
	overflow: hidden;
	border: 1px solid rgba(30, 91, 94, 0.16);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(17, 48, 50, 0.15);
	color: #173f41;
}

.wtsc-product-panel[hidden] {
	display: none;
}

.wtsc-product-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 13px;
	border-block-end: 1px solid #e5eeee;
}

.wtsc-product-panel__header .wtsc-panel-close {
	background: rgba(30, 91, 94, 0.08);
	color: #1e5b5e;
}

.wtsc-button.wtsc-product-button {
	width: auto;
	max-width: 260px;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--wtsc-brand, #1e5b5e) !important;
	font-size: 14px;
}

.wtsc-button.wtsc-product-button:hover {
	background: rgba(30, 91, 94, 0.06);
	color: var(--wtsc-brand, #1e5b5e) !important;
}

.wtsc-copy-feedback {
	position: relative;
	z-index: 2;
	margin-block-start: 8px;
	padding: 9px 11px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.6;
}

.wtsc-copy-feedback--success {
	background: #eaf7ef;
	color: #176b3a;
}

.wtsc-copy-feedback--fallback {
	display: grid;
	gap: 7px;
	border: 1px solid #d7e4e5;
	background: #fff;
	color: #173f41;
}

.wtsc-copy-text {
	box-sizing: border-box;
	width: 100%;
	padding: 7px;
	border: 1px solid #b9cccd;
	border-radius: 7px;
	background: #f8fbfb;
	color: #173f41;
	font: inherit;
	resize: vertical;
}

.wtsc-copy-continue {
	justify-self: start;
	color: #1e5b5e;
	font-weight: 700;
}

@media (max-width: 768px) {
	.wtsc-widget--floating {
		right: calc(16px + env(safe-area-inset-right, 0px));
		bottom: calc(18px + env(safe-area-inset-bottom, 0px));
		left: auto;
		width: min(304px, calc(100vw - 32px));
	}

	.wtsc-widget--bottom-left {
		right: auto;
		left: calc(16px + env(safe-area-inset-left, 0px));
	}

	.wtsc-widget--bottom-right {
		right: calc(16px + env(safe-area-inset-right, 0px));
		left: auto;
	}

	.wtsc-launcher {
		width: 52px;
		min-width: 52px;
		height: 52px;
		min-height: 52px;
	}
}
