.site-header .mks-student-nav-item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 104px;
	white-space: nowrap;
}

.site-header .mks-student-account-item {
	position: relative;
	z-index: 1000;
}

.mks-mobile-header-account-slot {
	display: none;
}

.site-header .mks-student-account-menu,
.site-header .mks-student-account-menu > summary {
	margin: 0;
	padding: 0;
}

.site-header .mks-student-account-menu > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border: 0;
	background: transparent;
	list-style: none;
	cursor: pointer;
}

.site-header .mks-student-account-menu > summary::-webkit-details-marker {
	display: none;
}

.site-header .mks-student-account-menu > summary:focus-visible {
	outline: 3px solid #f7d44b;
	outline-offset: 4px;
	border-radius: 999px;
}

.site-header .mks-student-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, .92);
	border-radius: 50%;
	background: linear-gradient(135deg, #f7d44b, #df245f);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .02em;
	box-shadow: 0 5px 14px rgba(35, 11, 68, .22);
}

.site-header .mks-student-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-header .mks-student-avatar-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header .mks-student-account-chevron {
	width: 7px;
	height: 7px;
	border-right: 2px solid rgba(255, 255, 255, .9);
	border-bottom: 2px solid rgba(255, 255, 255, .9);
	transform: rotate(45deg) translateY(-2px);
	transition: transform .18s ease;
}

.site-header .mks-student-account-menu[open] .mks-student-account-chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

.site-header .mks-student-account-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	width: min(290px, calc(100vw - 30px));
	padding: 10px;
	border: 1px solid #e5d8f7;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(32, 12, 62, .24);
}

.site-header .mks-student-account-dropdown::before {
	position: absolute;
	top: -7px;
	right: 20px;
	width: 13px;
	height: 13px;
	border-top: 1px solid #e5d8f7;
	border-left: 1px solid #e5d8f7;
	background: #ffffff;
	content: "";
	transform: rotate(45deg);
}

.site-header .mks-student-account-identity {
	display: grid;
	gap: 2px;
	margin: 0 3px 8px;
	padding: 9px 10px 12px;
	border-bottom: 1px solid #eee7f7;
	color: #28153e;
	line-height: 1.3;
}

.site-header .mks-student-account-identity strong,
.site-header .mks-student-account-identity small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-header .mks-student-account-identity small {
	color: #746884;
	font-size: 12px;
}

.site-header .mks-student-account-dropdown > a {
	display: block;
	margin: 2px 0;
	padding: 10px 12px;
	border-radius: 10px;
	color: #362348;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
}

.site-header .mks-student-account-dropdown > a:hover,
.site-header .mks-student-account-dropdown > a:focus,
.site-header .mks-student-account-dropdown > a.is-current {
	background: #f3eaff;
	color: #6b18c6;
}

.site-header .mks-student-account-dropdown > a.mks-student-account-logout {
	margin-top: 7px;
	border-top: 1px solid #eee7f7;
	border-radius: 0 0 10px 10px;
	color: #b42318;
}

@media (min-width: 1025px) {
	.site-header .primary-menu-container,
	.site-header .primary-menu-container > ul {
		overflow: visible;
	}

	.site-header .primary-menu-container > ul > li.mks-student-nav-item {
		margin-left: 8px;
	}

	.site-header .primary-menu-container > ul > li.mks-student-account-item {
		display: flex;
		align-items: center;
		margin-left: 12px;
	}
}

@media (max-width: 1024px) {
	#mobile-header .site-header-main-section-left {
		min-width: 0;
	}

	#mobile-header .site-header-main-section-right {
		display: flex;
		align-items: center;
		gap: 8px;
		flex: 0 0 auto;
	}

	#mobile-header .mks-mobile-header-account-slot {
		display: flex;
		align-items: center;
		flex: 0 0 auto;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#mobile-header .mks-mobile-header-account-slot[hidden] {
		display: none !important;
	}

	#mobile-header .mks-mobile-header-account-slot .mks-student-account-item {
		margin: 0;
	}

	#mobile-header .mks-student-account-menu {
		position: relative;
	}

	#mobile-header .mks-student-account-menu > summary {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#mobile-header .mks-student-avatar {
		width: 38px;
		height: 38px;
		border-width: 2px;
	}

	#mobile-header .mks-student-account-chevron,
	#mobile-header .mks-student-avatar-label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	#mobile-header .mks-student-account-dropdown {
		top: calc(100% + 12px);
		right: 0;
	}

	#mobile-drawer .mks-student-nav-item > a {
		display: flex;
		width: calc(100% - 24px);
		margin: 12px;
		padding: 10px 16px;
		border: 0;
		border-radius: 999px;
		background: #f6d44b;
		color: #111111;
		font-weight: 800;
		text-align: center;
	}

	#mobile-drawer .mks-student-account-item {
		margin: 6px 12px 14px;
	}

	#mobile-drawer .mks-student-account-menu > summary {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		padding: 8px 12px;
		border-radius: 12px;
		background: #f7f2ff;
		color: #5d1ba6;
		font-weight: 800;
		list-style: none;
		cursor: pointer;
	}

	#mobile-drawer .mks-student-account-menu > summary::-webkit-details-marker {
		display: none;
	}

	#mobile-drawer .mks-student-avatar {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		overflow: hidden;
		border-radius: 50%;
		background: linear-gradient(135deg, #8222ee, #df245f);
		color: #ffffff;
		font-size: 12px;
		font-weight: 900;
	}

	#mobile-drawer .mks-student-avatar img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	#mobile-drawer .mks-student-avatar-label {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}

	#mobile-drawer .mks-student-account-chevron {
		width: 7px;
		height: 7px;
		margin-left: auto;
		border-right: 2px solid #7c2bd0;
		border-bottom: 2px solid #7c2bd0;
		transform: rotate(45deg) translateY(-2px);
	}

	#mobile-drawer .mks-student-account-menu[open] .mks-student-account-chevron {
		transform: rotate(225deg);
	}

	#mobile-drawer .mks-student-account-dropdown {
		position: static;
		width: 100%;
		margin-top: 7px;
		padding: 7px;
		border: 1px solid #eadfff;
		border-radius: 12px;
		background: #ffffff;
		box-shadow: none;
	}

	#mobile-drawer .mks-student-account-identity {
		display: grid;
		gap: 2px;
		padding: 8px 10px 10px;
		border-bottom: 1px solid #eee7f7;
		color: #28153e;
	}

	#mobile-drawer .mks-student-account-identity small {
		color: #746884;
		font-size: 12px;
	}

	#mobile-drawer .mks-student-account-dropdown > a {
		display: block;
		padding: 10px;
		border-radius: 9px;
		color: #362348;
		font-size: 14px;
		font-weight: 750;
		text-decoration: none;
	}

	#mobile-drawer .mks-student-account-dropdown > a:hover,
	#mobile-drawer .mks-student-account-dropdown > a:focus,
	#mobile-drawer .mks-student-account-dropdown > a.is-current {
		background: #f3eaff;
		color: #6b18c6;
	}

	#mobile-drawer .mks-student-account-dropdown > a.mks-student-account-logout {
		margin-top: 5px;
		border-top: 1px solid #eee7f7;
		color: #b42318;
	}
}
