.lenara-tutor {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;
	font-family: Roboto, Arial, sans-serif;
}
.lenara-tutor__launcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 12px 18px;
	border: 2px solid #800000;
	border-radius: 999px;
	background: #800000 !important;
	color: #fff !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}
.lenara-tutor__launcher:hover,
.lenara-tutor__launcher:focus {
	background: #2f00a2 !important;
	border-color: #2f00a2;
	color: #fff !important;
}
.lenara-tutor__panel {
	position: absolute;
	right: 0;
	bottom: 66px;
	box-sizing: border-box;
	width: min(430px, calc(100vw - 32px));
	max-height: min(680px, calc(100vh - 120px));
	padding: 22px;
	overflow-y: auto;
	border: 3px solid #2f00a2;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
}
.lenara-tutor__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.lenara-tutor__header h2 {
	margin: 0;
	color: #2f00a2;
	font-size: 1.45rem;
}
.lenara-tutor__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1edff !important;
	color: #2f00a2 !important;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}
.lenara-tutor__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	margin: 18px 0;
}
.lenara-tutor__action,
.lenara-tutor__form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	padding: 10px 16px;
	background: #2f00a2 !important;
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}
.lenara-tutor__action:hover,
.lenara-tutor__action:focus,
.lenara-tutor__form button:hover,
.lenara-tutor__form button:focus {
	background: #800000 !important;
	color: #fff !important;
}
.lenara-tutor__conversation {
	display: grid;
	gap: 12px;
	margin: 18px 0;
}
.lenara-tutor__message {
	max-width: 88%;
	padding: 12px 15px;
	border-radius: 16px;
	white-space: pre-wrap;
}
.lenara-tutor__message--tutor { background: #f1edff; color: #1e1450; }
.lenara-tutor__message--learner { justify-self: end; background: #d2ffe2; color: #173c22; }
.lenara-tutor__message--status { background: #f4f4f4; color: #555; }
.lenara-tutor__message--error { background: #ffe2e2; color: #790000; }
.lenara-tutor__form label { display: block; font-weight: 700; }
.lenara-tutor__form textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 8px 0 10px;
	padding: 12px;
	border: 1px solid #777;
	border-radius: 12px;
	font: inherit;
}
@media (max-width: 600px) {
	.lenara-tutor { right: 14px; bottom: 14px; }
	.lenara-tutor__launcher span:last-child { display: none; }
	.lenara-tutor__launcher { width: 54px; height: 54px; padding: 0; }
	.lenara-tutor__panel { right: 0; bottom: 64px; padding: 18px; }
}
