.pcs-schedule,
.pcs-schedule * {
	box-sizing: border-box;
}

.pcs-schedule {
	--pcs-navy: #07142d;
	--pcs-blue: #0969da;
	--pcs-muted: #596172;
	--pcs-line: #d7dce3;
	--pcs-card-radius: 18px;
	width: 100%;
	overflow: hidden;
}

.pcs-schedule__inner {
	width: 100%;
	margin: 0 auto;
}

.pcs-schedule__header {
	text-align: center;
}

.pcs-schedule__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.pcs-schedule__eyebrow::before {
	content: "";
	display: block;
	width: 18px;
	height: 1px;
	flex: 0 0 auto;
}

.pcs-schedule__title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.pcs-schedule__description {
	max-width: 760px;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.7;
}

.pcs-schedule__tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.pcs-schedule__tab {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.pcs-schedule__tab:hover {
	transform: translateY(-1px);
}

.pcs-schedule__tab:focus-visible {
	outline: 2px solid var(--pcs-blue);
	outline-offset: 3px;
}

.pcs-schedule__tab-dot {
	display: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

.pcs-schedule__tab.is-active .pcs-schedule__tab-dot {
	display: inline-block;
}

.pcs-schedule__panel[hidden] {
	display: none !important;
}

.pcs-schedule__panel {
	animation: pcsFadeIn 0.28s ease both;
}

@keyframes pcsFadeIn {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pcs-schedule__columns,
.pcs-schedule__row {
	display: grid;
	grid-template-columns:
		minmax(160px, 1.6fr)
		minmax(74px, 0.65fr)
		minmax(100px, 1fr)
		minmax(90px, 0.9fr)
		minmax(130px, 1.2fr)
		minmax(80px, 0.75fr)
		minmax(105px, 0.8fr);
	align-items: center;
	column-gap: 20px;
}

.pcs-schedule__columns {
	padding: 0 12px 12px;
	border-bottom: 1px solid var(--pcs-line);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.pcs-schedule__row {
	min-height: 64px;
	border-bottom: 1px solid transparent;
	font-size: 13px;
	line-height: 1.45;
	transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.pcs-schedule__row:last-child {
	border-bottom-color: transparent;
}

.pcs-schedule__cell {
	min-width: 0;
}

.pcs-schedule__subject,
.pcs-schedule__day {
	font-weight: 700;
}

.pcs-status {
	font-weight: 700;
}

.pcs-schedule__action {
	display: flex;
	justify-content: flex-end;
}

.pcs-schedule__button {
	display: inline-flex;
	min-width: 108px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--pcs-blue);
	text-align: center;
	text-decoration: none;
	line-height: 1;
	font-weight: 700;
	transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.pcs-schedule__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(9, 105, 218, 0.16);
	text-decoration: none;
}

.pcs-schedule__button:focus-visible {
	outline: 2px solid var(--pcs-blue);
	outline-offset: 3px;
}

.pcs-schedule__empty {
	margin: 32px 0 0;
	padding: 20px;
	text-align: center;
	border: 1px dashed var(--pcs-line);
	border-radius: 14px;
	color: var(--pcs-muted);
}

.pcs-schedule__pagination {
	display: none;
}

.pcs-schedule__pagination.is-hidden {
	display: none !important;
}


/* Lightweight viewport and interaction animations */
.pcs-schedule__header,
.pcs-schedule__tabs,
.pcs-schedule__columns,
.pcs-schedule__row {
	transition:
		opacity 700ms cubic-bezier(.2,.75,.25,1),
		transform 700ms cubic-bezier(.2,.75,.25,1),
		background-color 220ms ease,
		box-shadow 220ms ease;
}

.pcs-schedule.pcs-motion-ready:not(.pcs-is-visible) .pcs-schedule__header {
	opacity: 0;
	transform: translateY(28px);
}

.pcs-schedule.pcs-motion-ready:not(.pcs-is-visible) .pcs-schedule__tabs {
	opacity: 0;
	transform: translateY(22px) scale(.97);
}

.pcs-schedule.pcs-motion-ready:not(.pcs-is-visible) .pcs-schedule__columns {
	opacity: 0;
	transform: translateY(18px);
}

.pcs-schedule.pcs-motion-ready:not(.pcs-is-visible) .pcs-schedule__row {
	opacity: 0;
	transform: translateY(30px);
}

.pcs-schedule.pcs-motion-ready .pcs-schedule__tabs {
	transition-delay: 130ms;
}

.pcs-schedule.pcs-motion-ready .pcs-schedule__columns {
	transition-delay: 220ms;
}

.pcs-schedule.pcs-motion-ready .pcs-schedule__row {
	transition-delay: calc(260ms + (var(--pcs-row-index) * 65ms));
}

.pcs-schedule.pcs-is-visible .pcs-schedule__header,
.pcs-schedule.pcs-is-visible .pcs-schedule__tabs,
.pcs-schedule.pcs-is-visible .pcs-schedule__columns,
.pcs-schedule.pcs-is-visible .pcs-schedule__row {
	opacity: 1;
	transform: none;
}

.pcs-schedule__panel.pcs-panel-enter {
	animation: pcsPanelEnter 420ms cubic-bezier(.2,.75,.25,1) both;
}

@keyframes pcsPanelEnter {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pcs-status--limited {
	animation: pcsLimitedPulse 2.4s ease-in-out infinite;
}

@keyframes pcsLimitedPulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: .58;
	}
}

.pcs-schedule__button {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.pcs-schedule__button::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -60%;
	width: 38%;
	height: 200%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
	transform: rotate(18deg);
	transition: left 550ms ease;
	pointer-events: none;
	z-index: -1;
}

.pcs-schedule__button:hover::after {
	left: 125%;
}

.pcs-schedule.pcs-is-visible .pcs-schedule__row:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(7, 20, 45, 0.06);
}

/* Tablet */
@media (max-width: 1024px) {
	.pcs-schedule__columns,
	.pcs-schedule__row {
		grid-template-columns:
			minmax(140px, 1.4fr)
			minmax(58px, 0.55fr)
			minmax(84px, 0.8fr)
			minmax(76px, 0.7fr)
			minmax(110px, 1fr)
			minmax(70px, 0.7fr)
			minmax(94px, 0.7fr);
		column-gap: 12px;
	}

	.pcs-schedule__button {
		min-width: 92px;
	}
}

/* Mobile premium cards */
@media (max-width: 767px) {
	.pcs-schedule__header {
		text-align: left;
	}

	.pcs-schedule__eyebrow {
		justify-content: flex-start;
	}

	.pcs-schedule__title {
		font-size: clamp(34px, 11vw, 48px);
	}

	.pcs-schedule__description {
		margin-left: 0;
		margin-right: 0;
	}

	.pcs-schedule__tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.pcs-schedule__tab {
		width: 100%;
		white-space: nowrap;
	}

	.pcs-schedule__columns {
		display: none;
	}

	.pcs-schedule__rows {
		--pcs-carousel-gap: 16px;
		display: flex;
		align-items: stretch;
		gap: var(--pcs-carousel-gap);
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 1px 10px;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 1px;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.pcs-schedule__rows::-webkit-scrollbar {
		display: none;
	}

	.pcs-schedule__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		flex: 0 0 100%;
		width: 100%;
		gap: 18px 16px;
		min-height: 0;
		border: 1px solid rgba(15, 23, 42, 0.08);
		border-radius: var(--pcs-card-radius);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.pcs-schedule__row:hover {
		transform: translateY(-2px);
	}

	.pcs-schedule__cell {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

	.pcs-schedule__cell::before {
		content: attr(data-label);
		display: block;
		color: #7a8291;
		font-size: 10px;
		font-weight: 600;
		line-height: 1.25;
		letter-spacing: 0.055em;
		text-transform: uppercase;
	}

	.pcs-schedule__subject {
		grid-column: 1 / -1;
		padding-bottom: 14px;
		border-bottom: 1px solid rgba(15, 23, 42, 0.08);
		font-size: 17px;
	}

	.pcs-schedule__action {
		grid-column: 1 / -1;
		display: block;
	}

	.pcs-schedule__action::before {
		display: none;
	}

	.pcs-schedule__button {
		width: 100%;
		min-height: 46px;
	}

	.pcs-schedule__pagination {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 24px;
		margin-top: 14px;
	}

	.pcs-schedule__dot {
		appearance: none;
		width: 8px;
		height: 8px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background-color: #d5dae4;
		cursor: pointer;
		opacity: 0.85;
		transition:
			width 0.25s ease,
			background-color 0.25s ease,
			opacity 0.25s ease,
			transform 0.25s ease;
	}

	.pcs-schedule__dot:hover {
		opacity: 1;
		transform: scale(1.12);
	}

	.pcs-schedule__dot.is-active {
		width: 28px;
		background-color: var(--pcs-blue);
		opacity: 1;
	}

	.pcs-schedule__dot:focus-visible {
		outline: 2px solid var(--pcs-blue);
		outline-offset: 3px;
	}
}

@media (max-width: 430px) {
	.pcs-schedule__tabs {
		grid-template-columns: 1fr;
	}

	.pcs-schedule__row {
		grid-template-columns: 1fr;
	}

	.pcs-schedule__subject,
	.pcs-schedule__action {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pcs-schedule__tab,
	.pcs-schedule__row,
	.pcs-schedule__button,
	.pcs-schedule__panel,
	.pcs-schedule__dot {
		animation: none !important;
		transition: none !important;
	}

	.pcs-schedule__rows {
		scroll-behavior: auto !important;
	}

	.pcs-schedule__header,
	.pcs-schedule__tabs,
	.pcs-schedule__columns,
	.pcs-schedule__row {
		opacity: 1 !important;
		transform: none !important;
	}
}
