.ath-academy-schoolScope {
	position: relative;
	font: inherit;
	color: var(--text-high, #172233);
}

.ath-academy-schoolScopeMenu {
	display: flex;
	align-items: center;
}

.ath-academy-schoolScopeMenu > .ath-academy-schoolScope {
	margin: 0;
}

.gc-site-nav__schoolScope {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin-left: auto;
}

.gc-site-nav__primary-inner > .gc-site-nav__schoolScope + .gc-site-nav__direct {
	margin-left: 0 !important;
}

.gc-site-nav__schoolScope .ath-academy-schoolScope > summary {
	min-height: 2.35rem;
	padding: 0.42rem 0.65rem;
	background: color-mix(in srgb, var(--surface-1, #fff) 92%, transparent);
}

.gc-site-nav__schoolScope .ath-academy-schoolScope > summary span:first-child {
	display: none;
}

.gc-site-nav__schoolScope .ath-academy-schoolScope > summary strong {
	font-size: 1.2rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ath-academy-classDash__schoolScope {
	margin-top: 0.75rem;
}

.ath-academy-classDash__schoolScope .ath-academy-schoolScope form {
	left: 0;
	right: auto;
}

.ath-academy-shell__schoolScope {
	margin-top: 0.85rem;
}

.ath-academy-schoolScope > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.5rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--border, rgba(23, 34, 51, 0.2));
	border-radius: var(--radius, 10px);
	background: var(--surface-1, #fff);
	cursor: pointer;
	list-style: none;
}

.ath-academy-schoolScope > summary::-webkit-details-marker { display: none; }
.ath-academy-schoolScope > summary span:first-child { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.68; }
.ath-academy-schoolScope > summary strong { font-size: 0.88rem; white-space: nowrap; }

.ath-academy-schoolScope form,
.ath-academy-schoolScope__empty {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 0.45rem);
	right: 0;
	display: grid;
	gap: 0.7rem;
	width: min(50rem, calc(100vw - 1.5rem));
	padding: 0.9rem;
	border: 1px solid var(--border, rgba(23, 34, 51, 0.2));
	border-radius: var(--radius-lg, 14px);
	background: var(--surface-1, #fff);
	box-shadow: 0 18px 46px rgba(13, 24, 38, 0.18);
}

.ath-academy-schoolScope__empty {
	font-size: 0.85rem;
	line-height: 1.4;
}

.ath-academy-schoolScope label { display: grid; gap: 0.3rem; }
.ath-academy-schoolScope label > span { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.ath-academy-schoolScope select {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--border, rgba(23, 34, 51, 0.2));
	border-radius: calc(var(--radius, 10px) - 2px);
	background: var(--surface-0, #f7f8fa);
	color: inherit;
}

.ath-academy-schoolScope__actions { display: flex; gap: 0.55rem; }
.ath-academy-schoolScope button {
	min-height: 2.4rem;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--border, rgba(23, 34, 51, 0.2));
	border-radius: calc(var(--radius, 10px) - 2px);
	background: var(--surface-2, #eef1f5);
	color: inherit;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}
.ath-academy-schoolScope button[type="submit"] { background: var(--btn-bg, #172233); color: var(--btn-text, #fff); }
.ath-academy-schoolScope small { line-height: 1.35; opacity: 0.7; }

@media (max-width: 700px) {
	.ath-academy-schoolScope { width: 100%; }
	.ath-academy-schoolScope > summary { width: 100%; justify-content: space-between; }
	.ath-academy-schoolScope form,
	.ath-academy-schoolScope__empty { position: static; width: 100%; margin-top: 0.45rem; box-shadow: none; }

	.gc-site-nav__schoolScope .ath-academy-schoolScope { width: auto; }
	.gc-site-nav__schoolScope .ath-academy-schoolScope > summary { width: auto; min-width: 2.5rem; justify-content: center; }
	.gc-site-nav__schoolScope .ath-academy-schoolScope > summary strong { max-width: 8rem; }
	.gc-site-nav__schoolScope .ath-academy-schoolScope form,
	.gc-site-nav__schoolScope .ath-academy-schoolScope__empty {
		position: absolute;
		top: calc(100% + 0.45rem);
		right: 0;
		width: min(22rem, calc(100vw - 1.5rem));
		margin-top: 0;
		box-shadow: 0 18px 46px rgba(13, 24, 38, 0.18);
	}
}
