html.lh-student-app-html,
html:has(body.lh-student-app-body) {
	scrollbar-gutter: stable;
}

.lh-student-app-body {
	overflow-x: clip;
	margin: 0;
	background: #eee9e2;
}

.lh-student-app {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	min-width: 0;
	overflow-x: clip;
}

.lh-student-app__content {
	flex: 1 1 auto;
	max-width: 64rem;
	width: 100%;
	margin: 0 auto;
	min-width: 0;
	box-sizing: border-box;
	padding: 1rem max(1rem, env(safe-area-inset-right, 0)) calc(1rem + env(safe-area-inset-bottom, 0)) max(1rem, env(safe-area-inset-left, 0));
}

.lh-student-app__bar-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.45rem;
	align-items: center;
}

.lh-student-app__install {
	flex: 0 0 auto;
	padding: 0.45rem 0.75rem;
	border: 1px solid #7a3e48;
	border-radius: 999px;
	color: #7a3e48;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	background: #fff;
	cursor: pointer;
}

.lh-student-app__install:hover,
.lh-student-app__install:focus-visible {
	color: #fff;
	background: #7a3e48;
}

.lh-student-app__install[hidden] {
	display: none !important;
}

/* Install is for phone/tablet only — not desktop browsers. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
	html:not(.lh-student-app-standalone) .lh-student-app__install {
		display: none !important;
	}
}

.lh-student-app__bar {
	position: sticky;
	top: 0;
	z-index: 40;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100%;
	margin-inline: calc(50% - 50vw);
	background: #fffdf8;
	border-bottom: 1px solid #e8e2da;
	box-shadow: 0 1px 0 rgb(36 38 36 / 0.04);
	padding-top: env(safe-area-inset-top, 0);
}

.lh-student-app__bar-inner {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	max-width: 64rem;
	width: 100%;
	margin: 0 auto;
	padding: 0.65rem max(1rem, env(safe-area-inset-right, 0)) 0.65rem max(1rem, env(safe-area-inset-left, 0));
}

.lh-student-app__brand {
	display: inline-flex;
	gap: 0.55rem;
	align-items: center;
	color: #242624;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.lh-student-app__brand-icon {
	flex: 0 0 auto;
	border-radius: 0.55rem;
}

.lh-student-app__sign-out {
	flex: 0 0 auto;
	padding: 0.45rem 0.75rem;
	border: 1px solid #d4ccc2;
	border-radius: 999px;
	color: #625f58;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
}

.lh-student-app__sign-out:hover,
.lh-student-app__sign-out:focus-visible {
	border-color: #7a3e48;
	color: #7a3e48;
	background: #f3ecee;
}

.lh-student-app .lh-student-account__fallback,
.lh-student-app .lh-student-portal {
	max-width: none;
}

.lh-student-app .lh-student-account__title {
	margin-top: 0;
}

.lh-student-app .lh-student-account__fallback-lead {
	color: #6b625c;
}

.lh-student-app .lh-student-account__fallback-links {
	font-size: 0.875rem;
}

.lh-student-app-install {
	display: grid;
	justify-items: center;
	max-width: 22rem;
	margin: 2rem auto;
	padding: 1.5rem 0;
	text-align: center;
}

.lh-student-app-install__icon {
	border-radius: 1rem;
	box-shadow: 0 10px 28px rgb(40 20 25 / 0.12);
}

.lh-student-app-install__title {
	margin: 1rem 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.lh-student-app-install__lede {
	margin: 0 0 1.25rem;
	color: #6b625c;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.lh-student-app-install__note {
	margin: 0 0 1rem;
	color: #7a3e48;
	font-size: 0.875rem;
	line-height: 1.45;
}

.lh-student-app-install__button {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	background: #7a3e48;
	cursor: pointer;
}

.lh-student-app-install__button:disabled {
	opacity: 0.55;
	cursor: wait;
}

.lh-student-app-install__status {
	min-height: 1.25rem;
	margin: 0.85rem 0 0;
	color: #6b625c;
	font-size: 0.875rem;
	line-height: 1.45;
}

.lh-student-app-install__manual {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border: 1px solid #e8e2da;
	border-radius: 12px;
	background: #fff;
	color: #6b625c;
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: left;
}

.lh-student-app-install__manual p {
	margin: 0 0 0.65rem;
}

.lh-student-app-install__manual p:last-child {
	margin-bottom: 0;
}

.lh-student-app-install__link {
	color: #7a3e48;
	font-weight: 700;
	text-decoration: none;
}

.lh-student-app-install__link:hover,
.lh-student-app-install__link:focus-visible {
	text-decoration: underline;
}

html.lh-student-app-standalone .lh-student-app-install,
html.lh-student-app-standalone .lh-student-app__install {
	display: none !important;
}

.lh-student-app .lh-student-account__fallback-form .lh-auth-form__field--checkbox {
	display: none;
}

.lh-app-push-prompt {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(1rem, env(safe-area-inset-top, 0)) max(1rem, env(safe-area-inset-right, 0)) max(1rem, env(safe-area-inset-bottom, 0)) max(1rem, env(safe-area-inset-left, 0));
	background: rgb(36 38 36 / 0.45);
}

.lh-app-push-prompt__panel {
	width: min(100%, 22rem);
	padding: 1.25rem 1.35rem 1.35rem;
	border: 1px solid #e8e2da;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgb(40 20 25 / 0.18);
}

.lh-app-push-prompt__title {
	margin: 0 0 0.65rem;
	color: #242624;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
}

.lh-app-push-prompt__body {
	margin: 0 0 1rem;
	color: #6b625c;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.lh-app-push-prompt__error {
	margin: 0 0 0.85rem;
	color: #8b3a3a;
	font-size: 0.875rem;
	line-height: 1.45;
}

.lh-app-push-prompt__actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.lh-app-push-prompt__actions .button {
	justify-content: center;
	width: 100%;
}
