.mod-swimteam-schedule {
	margin-block: 1rem;
}

.mod-swimteam-schedule-empty {
	margin: 0;
}

.mod-swimteam-schedule-items {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}

.mod-swimteam-schedule-item {
	padding: 1rem 1.25rem;
	border: 1px solid var(--border-color, #dee2e6);
	border-radius: 0.5rem;
	background: var(--body-bg, #fff);
}

.mod-swimteam-schedule-item-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
}

.mod-swimteam-schedule-item-meet .mod-swimteam-schedule-item-header {
	padding-right: 2rem;
}

.mod-swimteam-schedule-item-topbar {
	position: relative;
	margin-bottom: 0.35rem;
}

.mod-swimteam-schedule-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid var(--border-color, #dee2e6);
	border-radius: 0.375rem;
	background: var(--body-bg, #fff);
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.mod-swimteam-schedule-toggle-link:hover,
.mod-swimteam-schedule-toggle-link:focus-visible {
	color: inherit;
	text-decoration: none;
}

.mod-swimteam-schedule-toggle:hover,
.mod-swimteam-schedule-toggle:focus-visible {
	border-color: var(--link-color, #0d6efd);
	outline: none;
	box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

.mod-swimteam-schedule-toggle-icon {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.mod-swimteam-schedule-item-meet.is-expanded .mod-swimteam-schedule-toggle-icon,
.mod-swimteam-schedule-item-meet.is-selected .mod-swimteam-schedule-toggle-icon {
	transform: rotate(225deg);
}

.mod-swimteam-schedule-item-meet.is-selected {
	border-color: var(--link-color, #0d6efd);
	box-shadow: inset 0 0 0 1px var(--link-color, #0d6efd);
}

.mod-swimteam-schedule-summary {
	margin: 0;
	color: var(--secondary-color, #6c757d);
	font-size: 0.925rem;
}

.mod-swimteam-schedule-title {
	font-size: 1.1rem;
	font-weight: 600;
}

.mod-swimteam-schedule-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.75rem 1rem;
	margin: 0;
}

.mod-swimteam-schedule-field {
	margin: 0;
}

.mod-swimteam-schedule-field dt {
	font-weight: 600;
	margin-bottom: 0.15rem;
}

.mod-swimteam-schedule-field dd {
	margin: 0;
}

.mod-swimteam-schedule-field-full {
	grid-column: 1 / -1;
}

.mod-swimteam-schedule-link {
	margin: 0.75rem 0 0;
}
