/*
 * Agenda section — vertical timeline, day/paper treatment.
 * Uses only tokens from tokens.css — no hardcoded colors/fonts/sizes.
 */

.agenda {
	background: var(--paper);
	padding: var(--space-2xl) var(--space-xl);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2xl);
}

.agenda__tabs {
	display: flex;
	gap: var(--space-sm);
}

.agenda__tab {
	padding: 14px 32px;
	border-radius: 3px;
	border: 1.5px solid rgba(74, 91, 87, 0.35);
	background: transparent;
	color: var(--ink-soft);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}

.agenda__tab.is-active {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--midnight);
}

.agenda__timeline {
	width: 100%;
	max-width: 800px;
	position: relative;
	padding-left: var(--space-xs);
}

.agenda__timeline[hidden] {
	display: none;
}

.agenda__row {
	display: flex;
	gap: var(--space-lg);
	padding-bottom: var(--space-xl);
	position: relative;
}

.agenda__row:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 27px;
	top: 16px;
	bottom: -8px;
	width: 1px;
	background: rgba(12, 110, 112, 0.25);
}

.agenda__node {
	flex-shrink: 0;
	width: 40px;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.agenda__node::after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--gold);
	margin-top: 4px;
}

.agenda__row-content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	margin-top: -4px;
}

.agenda__session {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.agenda__session:not(:last-child) {
	padding-bottom: var(--space-xs);
	border-bottom: 1px dashed rgba(12, 110, 112, 0.2);
}

.agenda__time {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--turquoise);
}

.agenda__concurrent {
	color: var(--turquoise);
	font-size: 11px;
}

.agenda__session-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-body-lg);
	color: var(--midnight);
	line-height: 1.4;
}

.agenda__session-desc {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink-soft);
	line-height: 1.6;
}

.agenda__session-desc p {
	margin: 0;
}

@media (max-width: 767px) {
	.agenda {
		padding: var(--space-2xl) var(--space-lg);
	}

	.agenda__tabs {
		width: 100%;
	}

	.agenda__tab {
		flex: 1;
		min-height: 44px;
		padding: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 13px;
	}
}
