.tmassist {
	position: fixed;
	z-index: 9998;
	bottom: 24px;
	display: grid;
	gap: 12px;
	max-width: calc(100vw - 32px);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tmassist--right {
	right: 24px;
}

.tmassist--left {
	left: 24px;
}

.tmassist__panel {
	width: min(360px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.tmassist__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 20px 14px;
	background: #e22020;
	color: #ffffff;
}

.tmassist__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}

.tmassist__header h2 {
	margin: 0;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
}

.tmassist__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.tmassist__intro {
	margin: 0;
	padding: 18px 20px 4px;
	color: #65636d;
	font-size: 14px;
	line-height: 1.7;
}

.tmassist__channels {
	display: grid;
	gap: 10px;
	padding: 16px 20px;
}

.tmassist__channel {
	display: grid;
	grid-template-columns: 38px 1fr;
	column-gap: 12px;
	align-items: center;
	min-height: 58px;
	padding: 12px;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	background: #ffffff;
	color: #212121;
	text-decoration: none;
	transition:
		border-color 150ms,
		transform 150ms,
		box-shadow 150ms;
}

.tmassist__channel:hover {
	border-color: #e22020;
	box-shadow: 0 8px 22px rgba(226, 32, 32, 0.12);
	transform: translateY(-1px);
}

.tmassist__channel > span {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-row: span 2;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(226, 32, 32, 0.1);
	color: #e22020;
	font-weight: 800;
}

.tmassist__channel strong {
	display: block;
	font-size: 14px;
	line-height: 1.4;
	color: #212121;
}

.tmassist__channel small {
	display: block;
	color: #65636d;
	font-size: 12px;
	line-height: 1.4;
}

.tmassist__channel--whatsapp > span {
	background: rgba(37, 211, 102, 0.12);
	color: #16833e;
}

.tmassist__hours {
	margin: 0;
	padding: 0 20px 20px;
	color: #65636d;
	font-size: 12px;
	line-height: 1.5;
}

.tmassist__trigger {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 48px;
	padding: 10px 18px 10px 12px;
	border: 0;
	border-radius: 999px;
	background: #e22020;
	color: #ffffff;
	box-shadow: 0 12px 34px rgba(226, 32, 32, 0.32);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.tmassist--left .tmassist__trigger {
	justify-self: start;
}

.tmassist__trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
	.tmassist {
		right: 16px;
		bottom: 16px;
		left: 16px;
	}

	.tmassist__panel {
		width: 100%;
	}
}
