html:has(.ehb-agenda-calendar:target) {
	scroll-behavior: auto !important;
	scroll-padding-top: 0 !important;
}

.ehb-agenda-calendar:target {
	scroll-margin-top: 80px;
}

.ehb-agenda-calendar {
	--ehb-agenda-primary: var(--primary, #00c19f);
	--adp-accent-color: var(--ehb-agenda-primary);
	--adp-background-color: transparent;
	--adp-border-color: transparent;
	--adp-border-color-inline: transparent;
	--adp-border-color-inner: transparent;
	--adp-nav-arrow-color: var(--ehb-agenda-primary);
	--adp-nav-color-secondary: var(--ehb-agenda-primary);
	--adp-day-name-color: var(--ehb-agenda-primary);
	--adp-day-name-color: color-mix(in srgb, var(--ehb-agenda-primary) 62%, white);
	--adp-color-current-date: #363636;
	--adp-cell-background-color-selected: var(--ehb-agenda-primary);
	--adp-cell-background-color-selected: color-mix(in srgb, var(--ehb-agenda-primary) 66%, white);
	--adp-background-color-selected-other-month: var(--ehb-agenda-primary);
	--adp-background-color-selected-other-month: color-mix(in srgb, var(--ehb-agenda-primary) 66%, white);
	--adp-width: 100%;
	--adp-font-family: inherit;
	--adp-font-size: clamp(15px, 2.5vw, 18px);
	--adp-nav-height: 74px;
	--adp-padding: 0px;
	--adp-border-radius: 0px;
	--adp-cell-border-radius: 0px;
	--adp-day-cell-height: 34px;
	--adp-transition-duration: 0.12s;
}

.ehb-agenda-calendar__picker {
	width: 100%;
}

.ehb-context-chip {
	--ehb-agenda-primary: var(--primary, #00c19f);
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin: 0 0 0.85rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ehb-agenda-primary) 12%, white);
	color: var(--ehb-agenda-primary);
	font-size: 0.86em;
	font-weight: 600;
	line-height: 1.4;
}

.ehb-agenda-calendar .air-datepicker {
	--adp-accent-color: var(--ehb-agenda-primary);
	--adp-background-color: transparent;
	--adp-border-color: transparent;
	--adp-border-color-inline: transparent;
	--adp-border-color-inner: transparent;
	--adp-nav-arrow-color: var(--ehb-agenda-primary);
	--adp-nav-color-secondary: var(--ehb-agenda-primary);
	--adp-day-name-color: color-mix(in srgb, var(--ehb-agenda-primary) 62%, white);
	--adp-day-name-color-hover: var(--ehb-agenda-primary);
	--adp-color-current-date: var(--ehb-agenda-primary);
	--adp-color-secondary: #777;
	--adp-color: #555;
	--adp-cell-background-color-hover: color-mix(in srgb, var(--ehb-agenda-primary) 12%, white);
	--adp-cell-background-color-selected: color-mix(in srgb, var(--ehb-agenda-primary) 66%, white);
	--adp-cell-background-color-selected-hover: color-mix(in srgb, var(--ehb-agenda-primary) 76%, white);
	--adp-background-color-selected-other-month: color-mix(in srgb, var(--ehb-agenda-primary) 66%, white);
	--adp-background-color-selected-other-month-focused: color-mix(in srgb, var(--ehb-agenda-primary) 76%, white);
	--adp-width: 100%;
	--adp-font-family: inherit;
	--adp-font-size: clamp(15px, 2.5vw, 18px);
	--adp-nav-height: 74px;
	--adp-padding: 0px;
	--adp-border-radius: 0px;
	--adp-cell-border-radius: 0px;
	--adp-day-cell-height: 34px;
	--adp-transition-duration: 0.12s;
	width: 100%;
	max-width: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ehb-agenda-calendar .air-datepicker-nav {
	min-height: var(--adp-nav-height);
	padding: 0;
	align-items: center;
	border: 0;
}

.ehb-agenda-calendar .air-datepicker-nav--title {
	flex: 1;
	flex-direction: column;
	gap: 3px;
	padding: 0 4px;
	color: var(--ehb-agenda-primary);
	line-height: 1.15;
}

.ehb-agenda-calendar .air-datepicker-nav--title:hover,
.ehb-agenda-calendar .air-datepicker-nav--title:active {
	background: transparent;
}

.ehb-agenda-calendar__year {
	font-size: 0.88em;
	font-weight: 600;
}

.ehb-agenda-calendar__month {
	font-size: 1.3em;
	font-weight: 500;
}

.ehb-agenda-calendar .air-datepicker-nav--action {
	width: 32px;
	flex: 0 0 32px;
	color: var(--ehb-agenda-primary);
}

.ehb-agenda-calendar .air-datepicker-nav--action:hover,
.ehb-agenda-calendar .air-datepicker-nav--action:active {
	background: transparent;
}

.ehb-agenda-calendar .air-datepicker-nav--action svg {
	width: 18px;
	height: 18px;
	overflow: visible;
}

.ehb-agenda-calendar .air-datepicker-nav--action path {
	stroke: var(--ehb-agenda-primary);
	stroke-width: 2.5px;
}

.ehb-agenda-calendar .air-datepicker--content {
	padding: 0;
}

.ehb-agenda-calendar .air-datepicker-body--day-names {
	margin: 5px 0 7px;
}

.ehb-agenda-calendar .air-datepicker-body--day-name {
	font-size: 0.86em;
	font-weight: 500;
}

.ehb-agenda-calendar .air-datepicker-cell.-day- {
	font-size: 1em;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-no-event {
	color: #363636;
	cursor: default;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-no-event.-focus- {
	background: transparent;
	color: #363636;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-no-event:hover {
	background: transparent;
	color: #363636;
}

/* Dates belonging to the displayed month stay dark, including today's date. */
.ehb-agenda-calendar .air-datepicker-cell.-day-:not(.-other-month-):not(.-selected-) {
	color: #363636;
}

/* Keep adjacent-month dates muted even when the calendar marks them as no-event. */
.ehb-agenda-calendar .air-datepicker-cell.-day-.-other-month-:not(.-selected-) {
	color: #c8c8c8;
}

.ehb-agenda-calendar .air-datepicker-cell.-day-.-other-month-.-focus-:not(.-selected-),
.ehb-agenda-calendar .air-datepicker-cell.-day-.-other-month-:hover:not(.-selected-) {
	background: transparent;
	color: #c8c8c8;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-has-event {
	position: relative;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-has-event::after {
	position: absolute;
	bottom: 3px;
	left: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--ehb-agenda-primary);
	content: "";
	transform: translateX(-50%);
}

.ehb-agenda-calendar .air-datepicker-cell.-selected-.ehb-agenda-has-event::after {
	background: #fff;
}

.ehb-agenda-calendar .air-datepicker-cell.-selected- {
	color: #fff;
}

.ehb-agenda-calendar .air-datepicker-cell.ehb-agenda-no-event.-selected- {
	background: transparent;
	color: #363636;
}

.ehb-agenda-calendar__clear {
	margin-block-start: 0.75rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--ehb-agenda-primary);
	border-radius: 0.2rem;
	background: transparent;
	color: var(--ehb-agenda-primary);
	font: inherit;
	cursor: pointer;
}

.ehb-agenda-calendar__clear[hidden] {
	display: none;
}

@media (max-width: 480px) {
	.ehb-agenda-calendar {
		--adp-font-size: 16px;
		--adp-day-cell-height: 32px;
		--adp-nav-height: 66px;
	}

	.ehb-agenda-calendar .air-datepicker {
		--adp-font-size: 16px;
		--adp-day-cell-height: 32px;
		--adp-nav-height: 66px;
	}
}
