.banigo-student-page .banigo-student-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 16px;
}

.banigo-student-page .banigo-student-profile-field {
	display: grid;
	min-width: 0;
	grid-template-rows: minmax(2.8em, auto) 46px auto;
	align-content: start;
	gap: 7px;
}

.banigo-student-page .banigo-student-profile-field > label {
	align-self: end;
	color: var(--color-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.banigo-student-page .banigo-student-profile-control {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 46px;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.banigo-student-page .banigo-student-profile-control:focus-within {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(21, 106, 56, .12);
}

.banigo-student-page .banigo-student-profile-control input,
.banigo-student-page .banigo-student-profile-control select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 100%;
	min-height: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-text);
	font: inherit;
	font-size: 14px;
	outline: 0;
}

.banigo-student-page .banigo-student-profile-control select {
	padding-right: 36px;
}

.banigo-student-page .banigo-student-profile-control--suffix > span {
	display: grid;
	height: 100%;
	flex: 0 0 auto;
	align-items: center;
	padding: 0 12px;
	border-left: 1px solid var(--color-border);
	background: var(--color-surface-soft);
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 700;
}

.banigo-student-page .banigo-student-profile-field > small {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.45;
}

.banigo-student-page .banigo-card-system__highlight {
	min-height: 118px;
}

.banigo-student-page .banigo-card-system__highlight.eligibility--success strong {
	color: var(--color-primary-dark);
}

.banigo-student-page .banigo-card-system__highlight.eligibility--warning {
	border-color: rgba(166, 91, 61, .2);
}

.banigo-student-page .banigo-card-system__highlight.eligibility--warning strong {
	color: #9a583f;
}

.banigo-student-page .banigo-card-system__highlight.eligibility--failed {
	border-color: rgba(139, 53, 46, .25);
}

.banigo-student-page .banigo-card-system__highlight.eligibility--failed strong {
	color: #8b4b35;
}

.banigo-student-page .banigo-card-system__highlight-facts {
	display: block;
	margin-top: 6px;
	color: var(--color-text-muted);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.45;
}

.banigo-student-page .banigo-student-match.eligibility--success > strong {
	color: var(--color-primary-dark);
}

.banigo-student-page .banigo-student-match.eligibility--warning > strong {
	color: #9a583f;
}

.banigo-student-page .banigo-student-match.eligibility--failed > strong {
	color: #8b4b35;
}

.banigo-student-page .banigo-student-match li.is-failed::before {
	color: #8b4b35;
}

@media (max-width: 640px) {
	.banigo-student-page .banigo-student-profile-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.banigo-student-page .banigo-student-profile-field {
		grid-template-rows: auto 46px auto;
	}

	.banigo-student-page .banigo-student-profile-field > label {
		align-self: auto;
	}

	.banigo-student-page .banigo-card-system__highlight {
		min-height: 0;
	}
}
