.hp-form--user-register:not(:has(input[name="hp_account_type"][value="school"]:checked)) .hp-form__field:has(.hp-account-school-name-field),
.hp-form--user-register .hp-form__field:has(.hp-account-school-name-field--hidden),
.hp-form--user-register .hp-form__field.hp-account-school-name-field--hidden {
	display: none !important;
}

.hp-account-empty {
	margin: 0;
	padding: 1.5rem 1.25rem;
	background: #fff;
	border: 1px solid rgba(7, 36, 86, 0.08);
	border-radius: 8px;
	text-align: center;
}

.hp-account-empty__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: rgba(15, 23, 39, 0.92);
}

.hp-account-school-name,
.hp-account-empty .hp-account-school-name {
	margin: 0 0 0.65rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgba(15, 23, 39, 0.78);
}

.hp-account-school-banner {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid rgba(7, 36, 86, 0.08);
	border-radius: 8px;
}

.hp-account-school-banner .hp-account-school-name {
	margin: 0;
	font-size: 1rem;
}

.hp-listing--view-page .hp-page__content > .hp-listing__work-cities {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: rgba(15, 23, 39, 0.88);
}

.hp-listing--view-page .hp-listing__school-line {
	margin: 0 0 0.45rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(15, 23, 39, 0.78);
}

.hp-listing--view-page .hp-listing__title {
	margin-top: 0;
}

.hp-listing--view-page .hp-listing__title-text {
	display: block;
}

.hp-account-empty__text {
	margin: 0 0 1.1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: rgba(15, 23, 39, 0.72);
}

.hp-account-empty__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 12rem;
}

.hp-form__action--user-register .hp-form__action-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: rgba(15, 23, 39, 0.58);
}

/* School settings: section heading before contact person fields */
.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) {
	display: flex;
	flex-direction: column;
}

.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) .hp-field__description,
.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) .hp-form__description {
	order: -1;
}

.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) .hp-field__label,
.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) .hp-form__label {
	order: 0;
}

.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) > .hp-field,
.hp-form--user-update .hp-form__field:has(.hp-instructor-form-section-heading) > input {
	order: 1;
}

.hp-form--user-update .hp-instructor-form-section-heading {
	margin: 1.25rem 0 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hp-form--user-update .hp-instructor-form-section-heading--first {
	margin-top: 0.35rem;
	padding-top: 0;
	border-top: none;
}

.hp-form--user-update .hp-instructor-form-section-heading__title {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: rgba(15, 23, 39, 0.92);
}
