.m11-assistant {
	position: fixed;
	right: 24px;
	bottom: 132px;
	z-index: 99990;
	font-family: inherit;
	color: #050b20;
}

.m11-assistant[hidden] {
	display: none;
}

.m11-assistant__launcher {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.m11-assistant__bubble {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translate(8px, -50%);
	width: 230px;
	max-width: calc(100vw - 150px);
	padding: 12px 16px;
	border: 1px solid rgba(217, 64, 79, .22);
	border-radius: 7px;
	background: rgba(255, 255, 255, .98);
	color: #050505;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.28;
	text-align: left;
	box-shadow: 0 16px 36px rgba(5, 5, 5, .14);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.m11-assistant__bubble::before {
	content: "";
	position: absolute;
	right: -7px;
	top: 50%;
	width: 13px;
	height: 13px;
	background: rgba(255, 255, 255, .98);
	border-top: 1px solid rgba(217, 64, 79, .28);
	border-right: 1px solid rgba(217, 64, 79, .28);
	transform: translateY(-50%) rotate(45deg);
}

.m11-assistant__bubble::after {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 99px;
	background: #D9404F;
}

.m11-assistant__launcher:hover .m11-assistant__bubble,
.m11-assistant__launcher:focus-visible .m11-assistant__bubble {
	transform: translate(0, -50%);
	opacity: 1;
	visibility: visible;
}

.m11-assistant__tire-wrap {
	display: grid;
	place-items: center;
	width: 94px;
	height: 94px;
	animation: m11-assistant-float 3s ease-in-out infinite;
	filter: drop-shadow(0 12px 16px rgba(5, 11, 32, .22));
}

.m11-assistant__tire {
	display: block;
	width: 94px;
	height: 94px;
	object-fit: contain;
}

.m11-assistant__panel {
	position: absolute;
	right: 0;
	bottom: 116px;
	display: none;
	width: min(420px, calc(100vw - 28px));
	max-height: min(620px, calc(100vh - 280px));
	background: #fff;
	border: 1px solid #e7e9ef;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(5, 11, 32, .22);
	overflow: hidden;
}

.m11-assistant.is-open .m11-assistant__panel {
	display: block;
}

.m11-assistant__form {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto auto;
	height: 100%;
	max-height: inherit;
	margin: 0;
}

.m11-assistant__topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 20px 14px;
	background: #050505;
	color: #fff;
}

.m11-assistant__eyebrow {
	margin: 0 0 5px;
	color: #b8c2d6;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.m11-assistant__title {
	margin: 0;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.m11-assistant__minimize {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 6px;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.m11-assistant__progress {
	height: 4px;
	background: #eef2f8;
}

.m11-assistant__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: #D9404F;
	transition: width .25s ease;
}

.m11-assistant__body {
	padding: 20px;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.m11-assistant__body::-webkit-scrollbar {
	width: 8px;
}

.m11-assistant__body::-webkit-scrollbar-track {
	background: #f2f4f8;
}

.m11-assistant__body::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: #c7cfdd;
}

.m11-assistant__lead {
	margin: 0 0 14px;
	color: #2c3448;
	font-size: 15px;
	line-height: 1.55;
}

.m11-assistant__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.m11-assistant__model-group {
	display: grid;
	gap: 9px;
	margin-bottom: 14px;
}

.m11-assistant__model-title {
	margin: 0;
	color: #050505;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
}

.m11-assistant__option {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 9px;
	border: 1px solid #d8deea;
	border-radius: 7px;
	background: #fff;
	color: #050b20;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.m11-assistant__option:hover,
.m11-assistant__option.is-selected {
	border-color: #D9404F;
	background: #fff1f3;
	color: #D9404F;
}

.m11-assistant__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.m11-assistant__field {
	display: grid;
	gap: 7px;
	margin-bottom: 10px;
}

.m11-assistant__field label {
	font-size: 13px;
	font-weight: 700;
	color: #25304a;
}

.m11-assistant__field input,
.m11-assistant__field textarea {
	width: 100%;
	border: 1px solid #d8deea;
	border-radius: 7px;
	padding: 10px 12px;
	color: #050b20;
	background: #fff;
	font-size: 14px;
	line-height: 1.35;
}

.m11-assistant__field textarea {
	min-height: 70px;
	resize: vertical;
}

.m11-assistant__other {
	margin-top: 14px;
}

.m11-assistant__privacy {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.4;
	color: #2c3448;
}

.m11-assistant__privacy input {
	margin-top: 3px;
}

.m11-assistant__privacy a {
	color: #D9404F;
	font-weight: 700;
}

.m11-assistant__error {
	min-height: 20px;
	margin: 0;
	padding: 0 20px;
	color: #c3262f;
	font-size: 13px;
	font-weight: 700;
}

.m11-assistant__actions {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 20px 20px;
}

.m11-assistant__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.m11-assistant__btn--ghost {
	border: 1px solid #d8deea;
	background: #fff;
	color: #050b20;
}

.m11-assistant__btn--primary {
	border: 1px solid #D9404F;
	background: #D9404F;
	color: #fff;
}

.m11-assistant__btn[disabled] {
	cursor: wait;
	opacity: .68;
}

.m11-assistant__success {
	display: grid;
	gap: 10px;
	place-items: center;
	padding: 24px 10px;
	text-align: center;
}

.m11-assistant__success-mark {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #eaf8ef;
	color: #167a3f;
	font-size: 30px;
	font-weight: 900;
}

@keyframes m11-assistant-float {
	0%, 100% {
		transform: translateY(0) scale(1);
	}
	45%, 55% {
		transform: translateY(-7px) scale(1.025);
	}
	70% {
		transform: translateY(-3px) scale(1.01);
	}
}

@media (max-width: 767px) {
	.m11-assistant {
		right: 14px;
		bottom: 112px;
	}

	.m11-assistant__bubble {
		right: 0;
		top: auto;
		bottom: calc(100% + 8px);
		transform: translateY(6px);
		width: 210px;
		max-width: calc(100vw - 28px);
		font-size: 13px;
		padding: 10px 14px;
	}

	.m11-assistant__bubble::before {
		right: 26px;
		top: auto;
		bottom: -7px;
		transform: rotate(135deg);
	}

	.m11-assistant__launcher:hover .m11-assistant__bubble,
	.m11-assistant__launcher:focus-visible .m11-assistant__bubble {
		transform: translateY(0);
	}

	.m11-assistant__tire-wrap,
	.m11-assistant__tire {
		width: 68px;
		height: 68px;
	}

	.m11-assistant__panel {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 184px;
		width: auto;
		max-height: calc(100vh - 204px);
		overflow: hidden;
	}

	.m11-assistant__body {
		min-height: 0;
		padding: 16px;
	}

	.m11-assistant__options {
		grid-template-columns: 1fr;
	}

	.m11-assistant__actions {
		padding: 14px 16px 16px;
	}
}

@media (min-width: 768px) and (max-height: 760px) {
	.m11-assistant {
		bottom: 104px;
	}

	.m11-assistant__panel {
		bottom: 108px;
		max-height: calc(100vh - 236px);
	}
}

@media (min-width: 768px) and (max-height: 640px) {
	.m11-assistant {
		bottom: 88px;
	}

	.m11-assistant__panel {
		bottom: 100px;
		max-height: calc(100vh - 204px);
	}

	.m11-assistant__topbar {
		padding: 16px 18px 12px;
	}

	.m11-assistant__body {
		padding: 16px 18px;
	}
}
