/* Teem Summit Agenda - public page (v2, PDF design) */
.tsa-root,
.tsa-root *,
.tsa-wrap,
.tsa-wrap * {
	box-sizing: border-box;
}

.tsa-root {
	--tsa-gray: #f5f5f5;
	--tsa-gray-deep: #e8e9eb;
	--tsa-ink: #12233a;
	--tsa-slate: #5e6e82;
	--tsa-speaker: #3a5870;
	--tsa-blue: #0089ff;
	--tsa-navy: #00294f;
	--tsa-blue-tint: #e7f3fe;
	--tsa-tag-border: #c5cfd8;
	--tsa-blue-soft: #f4faff;
	--tsa-shoot: #c4d8f8;
	--tsa-shoot-note: #52708c;
	--tsa-shoot-tag-border: #9fb6d8;
	--tsa-radius: 20px;
	max-width: 1060px;
	margin: 0 auto;
	color: var(--tsa-ink);
	-webkit-font-smoothing: antialiased;
}

/* ---------- controls ---------- */
.tsa-controls {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 14px;
}

.tsa-search {
	position: relative;
	flex: 1 1 320px;
}

.tsa-root .tsa-search-input {
	width: 100%;
	height: 52px;
	border: 1px solid var(--tsa-gray-deep) !important;
	background: #fff;
	border-radius: 999px;
	padding: 0 22px;
	line-height: 1.3;
	color: var(--tsa-ink);
	box-shadow: none;
	transition: border-color .15s ease;
}

.tsa-root .tsa-search-input:focus {
	outline: none;
	border-color: var(--tsa-blue);
}

.tsa-search-drop {
	display: none;
	position: absolute;
	z-index: 40;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 41, 79, .16);
	overflow: hidden;
	padding: 6px;
}

.tsa-search-drop.tsa-open { display: block; }

.tsa-search-opt {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 9px;
	cursor: pointer;
	font-size: 15px;
}

.tsa-search-opt:hover,
.tsa-search-opt.tsa-active { background: var(--tsa-blue-tint); }

.tsa-opt-name { font-weight: 600; }
.tsa-opt-company { font-size: 12px; color: var(--tsa-slate); }

.tsa-tz {
	display: inline-flex;
	align-items: center;
	height: 52px;
	background: #fff;
	border: 1px solid var(--tsa-gray-deep);
	border-radius: 999px;
	padding: 6px;
	flex: 0 0 auto;
}

.tsa-root .tsa-tz-btn {
	opacity: .65;
	border: 1px solid transparent;
	background: transparent;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsa-navy);
	cursor: pointer;
	line-height: 1;
	transition: all .15s ease;
	box-shadow: none;
}

.tsa-root .tsa-tz-btn.tsa-active {
	opacity: 1;
	background: var(--tsa-blue-soft);
	border-color: var(--tsa-blue);
	color: var(--tsa-blue);
}

/* ---------- person bar ---------- */
.tsa-personbar {
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	padding: 14px 20px;
	border-radius: 60px;
	background: var(--tsa-blue-tint);
}

.tsa-personbar-active { display: flex; }

.tsa-personbar-text { font-weight: 700; font-size: 15px; color: var(--tsa-navy); }

.tsa-root .tsa-personbar-clear {
	border: 0;
	background: transparent;
	color: var(--tsa-blue);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0;
	margin-left: auto;
	text-decoration: underline;
	box-shadow: none;
}

/* ---------- day tabs ---------- */
.tsa-days {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 52px 0 26px;
}

.tsa-root .tsa-day-btn {
	color: var(--tsa-navy);
	background: var(--tsa-gray);
	border: 1px solid var(--tsa-gray);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	border-radius: 16px !important;
	padding: 12px 22px;
	cursor: pointer;
	line-height: 1.2;
	transition: all .15s ease;
	box-shadow: none;
}

.tsa-day-btn-wd {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .65;
}

.tsa-day-btn-num {
	font-size: 17px;
	font-weight: 800;
}

.tsa-root .tsa-day-btn.tsa-active {
	border: 1px solid var(--tsa-blue);
	background: var(--tsa-blue-tint);
	color: var(--tsa-blue);
}

.tsa-root .tsa-day-btn.tsa-active .tsa-day-btn-wd { opacity: .75; }

/* ---------- agenda ---------- */
.tsa-agenda-date {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: var(--tsa-navy);
	margin: 0 0 26px;
}

.tsa-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.tsa-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 14px;
	align-items: stretch;
}

.tsa-time {
	background: var(--tsa-gray);
	border-radius: var(--tsa-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 17px;
	font-weight: 700;
	color: var(--tsa-navy);
	padding: 16px 12px;
	text-align: center;
	white-space: nowrap;
}

.tsa-time-empty { color: var(--tsa-slate); font-weight: 500; }

.tsa-time,
.tsa-card {
	transition: background-color .15s ease;
}

.tsa-row:not(.tsa-row-shoot):hover .tsa-time,
.tsa-row:not(.tsa-row-shoot):hover .tsa-card:not(.tsa-card-mine) {
	background: var(--tsa-blue-tint);
}

/* ---------- cards ---------- */
.tsa-card {
	background: var(--tsa-gray);
	border-radius: var(--tsa-radius);
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
	overflow: hidden;
}

.tsa-card-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	padding: 22px 26px;
	flex: 1 1 auto;
	min-width: 0;
}

.tsa-card-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--tsa-navy);
	line-height: 1.3;
}

.tsa-card-speaker {
	font-size: 15px;
	font-weight: 500;
	color: var(--tsa-speaker);
}

.tsa-card-note { font-size: 13px; color: var(--tsa-slate); line-height: 1.5; }

.tsa-card-mine {
	background: var(--tsa-blue-tint);
	box-shadow: inset 0 0 0 2px var(--tsa-blue);
}

.tsa-mine-headline {
	font-size: 15px;
	font-weight: 800;
	color: var(--tsa-navy);
	margin-top: 4px;
}

.tsa-groupmates { margin-top: 2px; }

.tsa-groupmates summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsa-blue);
}

.tsa-groupmates-list {
	margin-top: 8px;
	font-size: 13px;
	color: var(--tsa-slate);
	line-height: 1.7;
}

/* ---------- tags ---------- */
.tsa-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.tsa-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tsa-navy);
	border: 1px solid var(--tsa-tag-border);
	border-radius: 999px;
	padding: 6px 14px;
	line-height: 1.2;
	background: transparent;
}

.tsa-tag-icon {
	display: inline-flex;
	align-items: center;
	color: var(--tsa-navy);
}

.tsa-tag-leaders {
	background: var(--tsa-navy);
	border-color: var(--tsa-navy);
	color: #fff;
}

/* ---------- photoshoot card (blue, from the design PDF) ---------- */
.tsa-card-shoot,
.tsa-row-shoot .tsa-time {
	background: var(--tsa-shoot);
}

.tsa-card-shoot .tsa-card-note { color: var(--tsa-shoot-note); }

.tsa-card-shoot .tsa-tag {
	border-color: var(--tsa-shoot-tag-border);
}

.tsa-row-shoot:hover .tsa-time,
.tsa-row-shoot:hover .tsa-card,
.tsa-row-shoot:hover .tsa-card-shoot {
	background: var(--tsa-shoot);
}

/* With an image the card grows tall: pin the title to the top and the
   tags to the bottom (paddings still apply). */
.tsa-card-hasmedia .tsa-card-main { justify-content: flex-start; }
.tsa-card-hasmedia .tsa-tags { margin-top: auto; padding-top: 14px; }
.tsa-card-hasmedia .tsa-groupmates { margin-top: 8px; }

/* ---------- card image ---------- */
/* The image is pinned to the card's right edge and never dictates the
   card's height - content does. min-height keeps the PDF proportions. */
.tsa-card-hasmedia { position: relative; }

.tsa-card-hasmedia .tsa-card-main {
	padding-right: calc(32% + 26px);
	min-height: 150px;
}

.tsa-card-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 32%;
	max-width: 380px;
	overflow: hidden;
}

/* !important: the theme's responsive css forces img { height: auto } */
.tsa-card-media img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}

/* ---------- mobile (layout from mobile.pdf) ---------- */
@media (max-width: 760px) {
	.tsa-controls { gap: 10px; }

	.tsa-tz {
		width: 100%;
	}

	.tsa-root .tsa-tz-btn {
		flex: 1 1 0;
		justify-content: center;
		text-align: center;
	}

	.tsa-days { gap: 8px; }
	.tsa-root .tsa-day-btn { padding: 10px 12px; border-radius: 13px !important; flex: 1 1 auto; }
	.tsa-day-btn-num { font-size: 14px; }

	/* time column stays on the left: start / dash / end stacked */
	.tsa-row {
		grid-template-columns: 92px 1fr;
		gap: 10px;
	}

	.tsa-time {
		flex-direction: column;
		gap: 2px;
		font-size: 14px;
		padding: 12px 6px;
		white-space: normal;
	}

	/* image becomes a full-width banner on top of the card */
	.tsa-card { flex-direction: column; gap: 0; }
	.tsa-card-main { padding: 18px 20px; }
	.tsa-card-title { font-size: 18px; }

	.tsa-card-hasmedia .tsa-card-main {
		padding-right: 20px;
		min-height: 0;
	}

	.tsa-card-media {
		position: static;
		width: 100%;
		max-width: none;
		height: 150px;
		order: -1;
	}
}
