.lh-dtp,
.lh-date-picker {
	position: relative;
	width: 100%;
}

.lh-dtp__native,
.lh-date-picker__native {
	border: 0 !important;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0 !important;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.lh-dtp__trigger,
.lh-date-picker__trigger {
	align-items: center;
	background: #fff;
	border: 1px solid #d4ccc2;
	border-radius: 10px;
	box-sizing: border-box;
	color: #6b625c;
	cursor: pointer;
	display: grid;
	font: inherit;
	font-size: .95rem;
	font-weight: 400;
	gap: 0;
	grid-template-columns: 1fr 1fr;
	min-height: 3rem;
	padding: 0;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease;
	width: 100%;
}

.lh-dtp__trigger:hover,
.lh-dtp__trigger:focus-visible,
.lh-date-picker__trigger:hover,
.lh-date-picker__trigger:focus-visible {
	border-color: #7a3e48;
	box-shadow: 0 0 0 3px rgb(122 62 72 / .12);
	outline: none;
}

.lh-dtp__trigger.is-filled,
.lh-date-picker__trigger.is-filled {
	color: #222;
}

.lh-dtp__trigger-date,
.lh-dtp__trigger-time {
	display: block;
	padding: .65rem .85rem;
}

.lh-dtp__trigger-date {
	border-right: 1px solid #ece6de;
	font-weight: 600;
}

.lh-date-picker__trigger {
	display: flex;
	padding: .65rem .85rem;
}

.lh-dtp__trigger-time {
	color: #6b625c;
	font-size: .88rem;
}

.lh-dtp__trigger.is-filled .lh-dtp__trigger-time {
	color: #7a3e48;
	font-weight: 600;
}

.lh-dtp__popover,
.lh-date-picker__popover {
	background: #fff;
	border: 1px solid #e8e2da;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgb(36 38 36 / .14);
	display: none;
	left: 0;
	margin-top: .45rem;
	max-width: min(100vw - 2rem, 28rem);
	padding: .85rem;
	position: absolute;
	top: 100%;
	width: min(100%, 28rem);
	z-index: 60;
}

.lh-dtp.is-open > .lh-dtp__popover {
	display: grid;
	gap: .75rem;
	z-index: 80;
}

.lh-date-picker.is-open > .lh-date-picker__popover {
	display: block;
	z-index: 80;
}

.lh-dtp__popover[hidden],
.lh-date-picker__popover[hidden] {
	display: none !important;
}

.lh-dtp__cal-head {
	align-items: center;
	display: grid;
	grid-template-columns: 2rem 1fr 2rem;
	margin-bottom: .35rem;
}

.lh-dtp__month {
	font-size: .95rem;
	font-weight: 700;
	margin: 0;
	text-align: center;
}

.lh-dtp__nav {
	background: #faf8f5;
	border: 1px solid #e8e2da;
	border-radius: 999px;
	color: #7a3e48;
	cursor: pointer;
	font: inherit;
	font-size: .95rem;
	height: 2rem;
	width: 2rem;
}

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

.lh-dtp__weekdays,
.lh-dtp__days {
	display: grid;
	gap: .2rem;
	grid-template-columns: repeat(7, 1fr);
}

.lh-dtp__weekdays span {
	color: #6b625c;
	font-size: .72rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.lh-dtp__day {
	aspect-ratio: 1;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: #222;
	cursor: pointer;
	font: inherit;
	font-size: .86rem;
}

.lh-dtp__day:hover:not(:disabled),
.lh-dtp__day:focus-visible:not(:disabled) {
	background: #f3ecee;
}

.lh-dtp__day.is-selected {
	background: #7a3e48;
	color: #fff;
	font-weight: 700;
}

.lh-dtp__day.is-outside {
	color: #b8aea4;
}

.lh-dtp__day:disabled {
	color: #d4ccc2;
	cursor: not-allowed;
}

.lh-dtp__times {
	display: grid;
	gap: .35rem;
	grid-template-rows: auto auto 1fr auto;
	min-height: 0;
}

.lh-dtp__times-title {
	grid-row: 1;
}

.lh-dtp__time-nav--up {
	grid-row: 2;
}

.lh-dtp__time-grid {
	grid-row: 3;
}

.lh-dtp__time-nav--down {
	grid-row: 4;
}

.lh-dtp__times-title {
	color: #6b625c;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	margin: 0 0 .45rem;
	text-transform: uppercase;
}

.lh-dtp__time-grid {
	display: grid;
	gap: .35rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-height: 11rem;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.lh-dtp__time-nav {
	background: #faf8f5;
	border: 1px solid #e8e2da;
	border-radius: 999px;
	color: #7a3e48;
	cursor: pointer;
	font: inherit;
	font-size: .75rem;
	font-weight: 700;
	height: 1.75rem;
	margin: 0 auto;
	width: 2rem;
}

.lh-dtp__time-nav:hover,
.lh-dtp__time-nav:focus-visible {
	background: #f3ecee;
	border-color: #7a3e48;
}

.lh-student-portal label:has(.lh-dtp),
.lh-vacancy-preferences__fields label:has(.lh-dtp) {
	gap: .35rem;
}

.lh-dtp__time {
	background: #faf8f5;
	border: 1px solid #e8e2da;
	border-radius: 999px;
	color: #222;
	cursor: pointer;
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	padding: .45rem .35rem;
}

.lh-dtp__time:hover:not(:disabled),
.lh-dtp__time:focus-visible:not(:disabled) {
	border-color: #7a3e48;
	color: #7a3e48;
}

.lh-dtp__time.is-selected {
	background: #7a3e48;
	border-color: #7a3e48;
	color: #fff;
}

.lh-dtp__time:disabled {
	cursor: not-allowed;
	opacity: .45;
}

.lh-dtp__actions {
	align-items: center;
	border-top: 1px solid #ece6de;
	display: flex;
	gap: .5rem;
	justify-content: space-between;
	padding-top: .65rem;
}

.lh-dtp__clear,
.lh-dtp__done {
	background: transparent;
	border: 0;
	color: #7a3e48;
	cursor: pointer;
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	padding: .35rem .15rem;
}

.lh-dtp__done {
	background: #7a3e48;
	border-radius: 999px;
	color: #fff;
	padding: .45rem .95rem;
}

.lh-dtp__done:hover,
.lh-dtp__done:focus-visible {
	background: #6d3540;
}

.lh-tutor-dashboard label:has(.lh-dtp),
.lh-tutor-dashboard label:has(.lh-date-picker),
.lh-tutor-crm label:has(.lh-dtp),
.lh-tutor-crm label:has(.lh-date-picker) {
	gap: .45rem;
}

@media (min-width: 640px) {
	.lh-dtp.is-open > .lh-dtp__popover {
		grid-template-columns: 1.1fr .9fr;
		max-width: min(100vw - 2rem, 36rem);
		width: 36rem;
	}

	.lh-dtp__calendar {
		grid-column: 1;
	}

	.lh-dtp__times {
		border-left: 1px solid #ece6de;
		grid-column: 2;
		padding-left: .75rem;
	}

	.lh-dtp__actions {
		grid-column: 1 / -1;
	}

	.lh-dtp__time-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: 16rem;
	}
}
