.jssw-special-events {
	--jssw-border: #ddd;
	--jssw-tab-active: #111;
	--jssw-tab-active-bg: #c8c8c8;
	--jssw-tab-inactive: #999;
	--jssw-tab-inactive-bg: #f0f0f0;
	--jssw-session-bg: #f7f7f7;
	font: inherit;
	max-width: 100%;
}

.jssw-day-tabs {
	justify-content: center;
	margin-bottom: 0;
}

.jssw-time-bar {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin: 1.25rem 0 1.5rem;
	text-align: center;
}

.jssw-time-bar .jssw-time-controls {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	margin-left: 0;
	min-width: auto;
	text-align: center;
	width: 100%;
}

.jssw-time-bar .jssw-time-pill {
	align-self: center;
}

.jssw-time-bar .jssw-time-message {
	box-sizing: border-box;
	margin-bottom: 0;
	margin-top: 0.75rem;
	max-width: none;
	width: 100%;
}

.jssw-time-pill {
	background: var(--jssw-tab-inactive-bg);
	border: 1px solid var(--jssw-border);
	border-radius: 999px;
	display: inline-flex;
	padding: 0.2rem;
}

.jssw-special-events button.jssw-time-pill-option {
	appearance: none;
	background-color: transparent !important;
	border: none !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: var(--jssw-tab-inactive) !important;
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
	padding: 0.45rem 0.85rem;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.jssw-special-events button.jssw-time-pill-option:hover,
.jssw-special-events button.jssw-time-pill-option:focus {
	outline: none;
}

.jssw-special-events button.jssw-time-pill-option:hover:not(.is-selected),
.jssw-special-events button.jssw-time-pill-option:focus:not(.is-selected) {
	color: var(--jssw-tab-active) !important;
}

.jssw-special-events button.jssw-time-pill-option:focus-visible {
	box-shadow: inset 0 0 0 2px var(--jssw-tab-active) !important;
}

.jssw-special-events button.jssw-time-pill-option.is-selected,
.jssw-special-events button.jssw-time-pill-option[aria-pressed="true"] {
	background-color: #fff !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
	color: var(--jssw-tab-active) !important;
	font-weight: 500;
}

.jssw-special-events .jssw-time-message {
	background: #eef6fb !important;
	border: 1px solid #b8d4e8 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	color: #1e4a66 !important;
	display: block !important;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	margin: 0 0 1.5rem !important;
	padding: 0.65rem 0.85rem !important;
	text-align: center;
	width: 100%;
}

.jssw-tabs {
	border-bottom: 1px solid var(--jssw-border);
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
}

.jssw-special-events button.jssw-tab {
	align-items: center;
	appearance: none;
	background-color: var(--jssw-tab-inactive-bg) !important;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 4px 4px 0 0;
	box-shadow: none !important;
	color: var(--jssw-tab-inactive) !important;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	gap: 0.4rem;
	line-height: 1.4;
	margin: 0;
	padding: 0.75rem 1rem;
	text-decoration: none !important;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.jssw-tab-label {
	white-space: nowrap;
}

.jssw-special-events button.jssw-tab:hover,
.jssw-special-events button.jssw-tab:focus {
	outline: none;
}

.jssw-special-events button.jssw-tab:hover:not(.is-selected),
.jssw-special-events button.jssw-tab:focus:not(.is-selected) {
	background-color: #e4e4e4 !important;
	color: #777 !important;
}

.jssw-special-events button.jssw-tab:focus-visible {
	box-shadow: inset 0 0 0 2px var(--jssw-tab-active) !important;
}

.jssw-special-events button.jssw-tab.is-selected,
.jssw-special-events button.jssw-tab[aria-selected="true"] {
	background-color: var(--jssw-tab-active-bg) !important;
	border-bottom-color: var(--jssw-tab-active) !important;
	color: var(--jssw-tab-active) !important;
	font-weight: 700;
}

.jssw-panel[hidden] {
	display: none;
}

.jssw-session-block {
	margin-bottom: 2rem;
}

.jssw-session {
	background: var(--jssw-session-bg);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	text-transform: uppercase;
}

.jssw-schedule {
	border-collapse: collapse;
	font: inherit;
	width: 100%;
}

.jssw-schedule td {
	border-top: 1px solid var(--jssw-border);
	font: inherit;
	font-weight: 400;
	padding: 0.65rem 0.75rem;
	vertical-align: top;
}

.jssw-schedule--titles-only .jssw-details {
	width: 100%;
}

.jssw-event-title {
	display: block;
	font: inherit;
	font-weight: 400;
}

.jssw-unavailable {
	margin: 0;
}

.jssw-version-footer {
	color: #bbb;
	font-size: 0.75rem;
	line-height: 1.4;
	margin: 1.25rem 0 0;
	text-align: center;
}

.jssw-unavailable-message {
	background: #eef6fb;
	border: 1px solid #b8d4e8;
	border-radius: 4px;
	box-sizing: border-box;
	color: #1e4a66;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	padding: 0.85rem 1rem;
	text-align: center;
	width: 100%;
}

.jssw-search-bar {
	margin-bottom: 0.85rem;
}

.jssw-search-input-wrap {
	align-items: center;
	background: #fff;
	border: 1px solid var(--jssw-border);
	border-radius: 999px;
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem 0.85rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jssw-search-input-wrap:focus-within {
	border-color: #999;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.jssw-search-icon {
	color: var(--jssw-tab-inactive);
	flex-shrink: 0;
}

.jssw-special-events input.jssw-search-input {
	appearance: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: inherit !important;
	flex: 1 !important;
	font: inherit !important;
	font-size: 0.95rem !important;
	margin: 0 !important;
	min-width: 0 !important;
	outline: none !important;
	padding: 0 !important;
}

.jssw-special-events.is-searching .jssw-day-tabs,
.jssw-special-events.is-searching .jssw-time-pill,
.jssw-special-events.is-searching .jssw-panels {
	display: none;
}

.jssw-special-events.is-searching .jssw-time-bar {
	margin-bottom: 1rem;
	margin-top: 0;
}

.jssw-search-results[hidden] {
	display: none;
}

.jssw-search-empty {
	color: var(--jssw-tab-inactive);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
	padding: 2rem 0.75rem;
	text-align: center;
}

.jssw-search-meta {
	color: var(--jssw-tab-inactive);
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.jssw-event {
	cursor: pointer;
	transition: background-color 0.1s ease;
}

.jssw-event:hover {
	background-color: rgba(0, 0, 0, 0.035);
}

.jssw-event:focus {
	outline: 2px solid var(--jssw-tab-active);
	outline-offset: -2px;
}

.jssw-detail-overlay {
	align-items: flex-end;
	background: rgba(0, 0, 0, 0);
	bottom: 0;
	display: none;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	transition: background-color 0.3s ease;
	z-index: 9999;
}

.jssw-detail-overlay.is-visible {
	display: flex;
}

.jssw-detail-overlay.is-open {
	background: rgba(0, 0, 0, 0.5);
}

.jssw-detail-sheet {
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	max-height: 80vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 1.5rem 2rem;
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
}

.jssw-detail-content {
	background: #fff;
}

.jssw-detail-overlay.is-open .jssw-detail-sheet {
	transform: translateY(0);
}

.jssw-detail-handle {
	background: #ddd;
	border-radius: 3px;
	height: 4px;
	margin: 0.85rem auto 0;
	width: 40px;
}

.jssw-detail-header {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	padding: 0.25rem 0;
}

button.jssw-detail-close {
	align-items: center;
	appearance: none;
	background: transparent !important;
	border: none !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	color: var(--jssw-tab-inactive) !important;
	cursor: pointer;
	display: inline-flex;
	height: 2rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
	width: 2rem;
}

button.jssw-detail-close:hover,
button.jssw-detail-close:focus {
	background: var(--jssw-tab-inactive-bg) !important;
	color: var(--jssw-tab-active) !important;
	outline: none;
}

.jssw-detail-time {
	color: var(--jssw-tab-inactive);
	font-size: 0.9rem;
	margin: 0 0 0.4rem;
}

.jssw-detail-title {
	color: var(--jssw-tab-active);
	display: flex;
	flex-direction: column;
	font-size: 1.15rem;
	font-weight: 700;
	gap: 0.15rem;
	line-height: 1.4;
	margin: 0 0 0.5rem;
}

.jssw-detail-event-name {
	font-weight: 700;
}

.jssw-detail-department {
	color: #555;
	font-size: 0.95rem;
	font-weight: 500;
}

.jssw-detail-lead {
	color: #555;
	font-size: 0.95rem;
	font-style: italic;
	margin: 0;
}

.jssw-detail-location {
	border-top: 1px solid var(--jssw-border);
	color: var(--jssw-tab-active);
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 1rem 0 0;
	padding-top: 1rem;
}

@media (min-width: 601px) {
	.jssw-detail-sheet {
		margin-left: auto;
		margin-right: auto;
		max-width: 640px;
	}
}

@media (max-width: 600px) {
	.jssw-tabs {
		flex-direction: column;
	}

	.jssw-special-events button.jssw-tab {
		border-bottom: none !important;
		border-left: 3px solid transparent !important;
		border-radius: 4px;
		text-align: left;
		width: 100%;
	}

	.jssw-special-events button.jssw-tab.is-selected,
	.jssw-special-events button.jssw-tab[aria-selected="true"] {
		border-bottom: none !important;
		border-left-color: var(--jssw-tab-active) !important;
	}

	.jssw-time-pill {
		width: 100%;
	}

	.jssw-special-events button.jssw-time-pill-option {
		flex: 1;
		text-align: center;
	}

	.jssw-schedule,
	.jssw-schedule tbody,
	.jssw-schedule tr,
	.jssw-schedule td {
		display: block;
		width: 100%;
	}

	.jssw-schedule tr.jssw-event {
		border-bottom: 1px solid var(--jssw-border);
		border-top: none;
		padding: 0.65rem 0;
	}

	.jssw-schedule td {
		border: none;
		padding: 0.15rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jssw-detail-overlay,
	.jssw-detail-sheet,
	.jssw-special-events button.jssw-tab,
	.jssw-special-events button.jssw-time-pill-option {
		transition: none;
	}
}
