.mla-agenda {
	--mla-accent: #ff6a00;
	--mla-accent-rgb: 255, 106, 0;
	--mla-text: inherit;
	--mla-muted: rgba(139, 143, 150, 1);
	--mla-border: rgba(128, 128, 128, 0.1);

	box-sizing: border-box;
	width: 100%;
	color: var(--mla-text);
}

.mla-agenda *,
.mla-agenda *::before,
.mla-agenda *::after {
	box-sizing: border-box;
}

.mla-agenda [hidden] {
	display: none !important;
}

.mla-theme-dark {
	--mla-text: #ffffff;
	--mla-muted: #8b8f96;
}

.mla-theme-light {
	--mla-text: #333333;
	--mla-muted: #7a7f87;
}

.mla-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mla-toolbar {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 24px;
}

.mla-tabs {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	min-width: 0;
}

.mla-tab {
	display: inline-flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 4px;
	max-width: min(260px, 100%);
	padding: 11px 14px;
	background: transparent;
	border: 1px solid rgba(var(--mla-accent-rgb), 0.32);
	border-radius: 4px;
	color: var(--mla-text);
	font: inherit;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mla-tab:hover,
.mla-tab:focus {
	border-color: var(--mla-accent);
	outline: none;
}

.mla-tab.is-active {
	background: var(--mla-accent);
	border-color: var(--mla-accent);
	color: #ffffff;
}

.mla-tab-date {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.mla-tab-title {
	overflow: hidden;
	max-width: 100%;
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.mla-search {
	position: relative;
	flex: 0 1 280px;
	min-width: 220px;
}

.mla-search input[type="search"] {
	width: 100%;
	min-height: 43px;
	padding: 10px 13px;
	background: transparent;
	border: 1px solid var(--mla-border);
	border-radius: 4px;
	color: var(--mla-text);
	font: inherit;
	line-height: 1.3;
}

.mla-search input[type="search"]::placeholder {
	color: var(--mla-muted);
	opacity: 1;
}

.mla-search input[type="search"]:focus {
	border-color: var(--mla-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--mla-accent-rgb), 0.14);
}

.mla-day-heading {
	display: none;
	margin: 28px 0 12px;
	color: var(--mla-text);
	line-height: 1.25;
}

.mla-agenda.is-searching .mla-tabs {
	display: none;
}

.mla-agenda.is-searching .mla-day-heading {
	display: block;
}

.mla-no-results,
.mla-empty-day {
	margin: 0;
	padding: 22px 15px;
	color: var(--mla-muted);
	border-bottom: 1px solid var(--mla-border);
}

.mla-row {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr) 260px 150px;
	gap: 32px;
	align-items: center;
	min-width: 0;
	border-bottom: 1px solid var(--mla-border);
	padding: 15px 15px;
	transition: background-color 160ms ease;
}

.mla-row:not(.mla-head):hover {
	background-color: rgba(var(--mla-accent-rgb), 0.1);
}

.mla-head {
	padding-top: 0;
	padding-bottom: 20px;
}

.mla-head h5,
.mla-time,
.mla-action h4,
.mla-session h3,
.mla-category,
.mla-excerpt,
.mla-location {
	margin: 0;
	padding: 0;
}

.mla-head h5 {
	color: var(--mla-muted);
	letter-spacing: 3px;
	text-transform: uppercase;
}

.mla-time,
.mla-action a {
	color: var(--mla-accent);
}

.mla-session {
	min-width: 0;
}

.mla-session h3 {
	line-height: 1.35;
}

.mla-category {
	margin-top: 6px;
	color: var(--mla-muted);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.mla-excerpt {
	max-width: 680px;
	margin-top: 10px;
	color: var(--mla-muted);
	line-height: 1.65;
}

.mla-location {
	min-width: 0;
	line-height: 1.45;
}

.mla-action {
	text-align: right;
}

.mla-action a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
	text-decoration: none;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.mla-action h4 {
	color: inherit;
	line-height: 1.2;
}

.mla-action a:hover,
.mla-action a:focus {
	color: var(--mla-accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 980px) {
	.mla-row {
		grid-template-columns: 90px minmax(0, 1fr) minmax(160px, 220px) 125px;
		gap: 22px;
	}
}

@media (max-width: 768px) {
	.mla-toolbar {
		flex-direction: column;
		gap: 14px;
		margin-bottom: 18px;
	}

	.mla-tabs,
	.mla-search {
		width: 100%;
	}

	.mla-search {
		flex-basis: auto;
		min-width: 0;
	}

	.mla-tab {
		max-width: 100%;
	}

	.mla-head {
		display: none;
	}

	.mla-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 15px 15px;
	}

	.mla-location {
		color: var(--mla-muted);
	}

	.mla-location::before {
		content: "Location: ";
	}

	.mla-location:empty::before {
		content: "";
	}

	.mla-action {
		margin-top: 6px;
		text-align: left;
	}

	.mla-action a {
		justify-content: flex-start;
	}

	.mla-excerpt {
		max-width: none;
		margin-top: 8px;
	}
}
