.isube-schedule {
	box-sizing: border-box;
	color: #1f2937;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 auto;
	width: 100%;
}

.isube-schedule__title {
	color: #123a5c;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 22px;
	text-align: center;
}

.isube-schedule__filters {
	border-bottom: 1px solid #e6edf6;
	border-top: 1px solid #e6edf6;
	margin: 0 0 32px;
	padding: 14px 0;
}

.isube-schedule__filter-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	padding: 7px 0;
}

.isube-schedule__filter-label {
	color: #123a5c;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	min-width: 48px;
}

.isube-schedule__filter-options {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.isube-schedule__search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 14px;
}

.isube-schedule__search-field {
	align-items: center;
	background: #fff;
	border: 1px solid #cfd8e6;
	border-radius: 4px;
	display: flex;
	flex: 1 1 240px;
	gap: 8px;
	min-width: 0;
	padding: 0 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.isube-schedule__search-field:focus-within {
	border-color: #056de8;
	box-shadow: 0 0 0 4px rgba(5, 109, 232, 0.12);
}

.isube-schedule__search-icon {
	color: #9aa8b8;
	flex: 0 0 auto;
	height: 16px;
	width: 16px;
}

.isube-schedule__search-input {
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: #1f2937;
	font-size: 14px;
	height: 44px;
	min-width: 0;
	outline: none;
	padding: 0;
	width: 100%;
}

.isube-schedule__search-input::placeholder {
	color: #9aa8b8;
}

.isube-schedule__search-submit {
	background: #1f4f9c;
	border: 0;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 600;
	min-height: 44px;
	min-width: 108px;
	padding: 0 26px;
	transition: background-color 0.15s ease;
}

.isube-schedule__search-submit:hover,
.isube-schedule__search-submit:focus {
	background: #056de8;
	outline: none;
}

.isube-schedule__search-status {
	align-items: center;
	color: #40566b;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 12px;
	margin: 0 0 14px;
}

.isube-schedule__search-status[hidden] {
	display: none !important;
}

.isube-schedule__search-count {
	font-variant-numeric: tabular-nums;
}

.isube-schedule__search-reset {
	background: none;
	border: 1px solid #cfd8e6;
	border-radius: 4px;
	color: #33475b;
	cursor: pointer;
	font-size: 12px;
	padding: 3px 12px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.isube-schedule__search-reset:hover,
.isube-schedule__search-reset:focus {
	border-color: #056de8;
	color: #056de8;
	outline: none;
}

.isube-schedule__filter {
	background: none;
	border: 0;
	border-radius: 6px;
	color: #33475b;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4;
	padding: 4px 10px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.isube-schedule__filter:hover,
.isube-schedule__filter:focus {
	background: #eaf2ff;
	color: #056de8;
	outline: none;
}

.isube-schedule__filter.is-active {
	background: #056de8;
	color: #fff;
}

/* Filter labels and day/venue titles carry both languages inline, so both
   spans must render side by side instead of the block layout used in cells. */
.isube-schedule__filter .isube-schedule__en,
.isube-schedule__filter .isube-schedule__zh {
	display: inline;
	font-size: inherit;
	margin: 0;
}

.isube-schedule__filter .isube-schedule__zh::before {
	content: " / ";
}

body.meeting-mobile-lang-zh .isube-schedule__filter .isube-schedule__zh::before {
	content: "";
}

.isube-schedule__day-block[hidden],
.isube-schedule__panel[hidden] {
	display: none !important;
}

.isube-schedule__day-block {
	margin: 0 0 48px;
}

.isube-schedule__panel + .isube-schedule__panel {
	margin-top: 32px;
}

.isube-schedule__day-title {
	border-bottom: 2px solid #e6edf6;
	color: #123a5c;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 22px;
	padding: 10px 0;
	text-align: center;
}

.isube-schedule__venue-title {
	border-left: 4px solid #056de8;
	color: #123a5c;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 12px;
	padding-left: 12px;
}

.isube-schedule__day-title .isube-schedule__zh {
	display: block;
	font-size: 0.6em;
	font-weight: 600;
	margin-top: 4px;
}

.isube-schedule__venue-title .isube-schedule__en {
	display: block;
}

.isube-schedule__venue-title .isube-schedule__zh {
	color: #5f6b7a;
	display: block;
	font-size: 0.72em;
	font-weight: 600;
	margin-top: 2px;
}

.isube-schedule__table-wrap {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	overflow-x: auto;
	width: 100%;
}

.isube-schedule__table {
	border-collapse: collapse;
	font-size: 13px;
	table-layout: fixed;
	width: 100%;
}

.isube-schedule__table th,
.isube-schedule__table td {
	border-bottom: 1px solid #eef2f7;
	box-sizing: border-box;
	padding: 10px 12px;
	text-align: center;
	vertical-align: middle;
	word-break: break-word;
}

/* Column divider: one vertical rule between every two columns. The rule before
   the moderator column is slightly stronger so the chaired talks read as one
   block and the moderator stands apart. */
.isube-schedule__table tr > * + * {
	border-left: 1px solid #e6edf6;
}

.isube-schedule__table tr > .isube-schedule__host {
	border-left-color: #d3e0f0;
}

.isube-schedule__table thead th {
	background: #f5f8fc;
	border-bottom: 1px solid #dbe3ee;
	color: #40566b;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
}

.isube-schedule__table thead th + th {
	border-left-color: #dbe3ee;
}

.isube-schedule__col-time {
	width: 100px;
}

.isube-schedule__col-topic {
	width: 40%;
}

.isube-schedule__col-speaker {
	width: 16%;
}

.isube-schedule__col-org {
	width: 22%;
}

.isube-schedule__col-host {
	width: 15%;
}

.isube-schedule__row td {
	background: #fff;
}

/* Search results: matched rows keep a soft tint so they stand out from the
   filtered-out rows, which are removed from the table. */
.isube-schedule__row--match td {
	background: #fffbe8;
}

/* The mobile card layout sets `display: block` on table rows, which would
   otherwise override the hidden attribute used by the search filter. */
.isube-schedule__table tr[hidden] {
	display: none !important;
}

.isube-schedule__time {
	color: #40566b;
	font-weight: 600;
	white-space: nowrap;
}

.isube-schedule__time-value {
	color: #056de8;
	display: block;
	font-weight: 700;
}

.isube-schedule__topic {
	line-height: 1.6;
}

.isube-schedule__topic .isube-schedule__zh {
	color: #5f6b7a;
}

.isube-schedule__speaker .isube-schedule__en {
	color: #123a5c;
	font-weight: 600;
}

.isube-schedule__speaker .isube-schedule__zh,
.isube-schedule__speaker .isube-schedule__text {
	color: #123a5c;
	font-size: 12px;
}

.isube-schedule__host .isube-schedule__en,
.isube-schedule__host .isube-schedule__text {
	color: #33475b;
}

.isube-schedule__host .isube-schedule__zh {
	color: #5f6b7a;
	font-size: 11px;
}

.isube-schedule__org .isube-schedule__en,
.isube-schedule__org .isube-schedule__text {
	color: #5f6b7a;
}

.isube-schedule__org .isube-schedule__zh {
	color: #7b8794;
	font-size: 12px;
}

.isube-schedule__host {
	color: #33475b;
	font-size: 12px;
	line-height: 1.5;
}

/* A moderator merged across the talks of one session block. Hidden on desktop
   because the rowspan cell above already covers those rows; shown again in the
   mobile card layout, where every card stands on its own. */
.isube-schedule__host--merged {
	display: none;
	vertical-align: middle;
}

/* First line of the topic, speaker, institution and moderator cells is the
   primary line, so it is emphasised; wrapped/translated lines below stay at the
   normal weight. */
.isube-schedule__primary {
	font-weight: 700;
}

/* A bilingual cell prints English on top and Chinese below. Only the top line
   is the primary one, so the Chinese line keeps the normal weight here; the
   mobile language switcher can hide the English line, and the Chinese line is
   restored to bold in that case further down. */
.isube-schedule__zh .isube-schedule__primary {
	font-weight: 400;
}

/* Generic bilingual pair: English primary, Chinese secondary. Cell-specific
   rules above adjust colour and size for speaker, institution and moderator.
   Line breaks typed in the editor are preserved, so a speaker cell holding
   several names keeps one name per line. */
.isube-schedule__en {
	display: block;
	white-space: pre-line;
}

.isube-schedule__zh {
	display: block;
	font-size: 0.94em;
	margin-top: 2px;
	white-space: pre-line;
}

.isube-schedule__text {
	display: block;
	white-space: pre-line;
}

.isube-schedule__tba {
	color: #94a3b8;
}

.isube-schedule__row--section th {
	background: #eaf2ff;
	border-bottom: 1px solid #d3e3fb;
	color: #123a5c;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
}

.isube-schedule__row--note td {
	background: #fffaf0;
	color: #8a5600;
	font-weight: 600;
	text-align: center;
}

.isube-schedule__field-label {
	display: none;
}

@media (max-width: 1200px) {
	.isube-schedule__col-topic {
		width: 34%;
	}

	.isube-schedule__col-org {
		width: 24%;
	}
}

@media (max-width: 767px) {
	.isube-schedule__title {
		font-size: 24px;
		margin-bottom: 16px;
	}

	.isube-schedule__filter-row {
		gap: 6px 12px;
	}

	.isube-schedule__filter {
		font-size: 13px;
		padding: 3px 8px;
	}

	.isube-schedule__search {
		gap: 10px;
	}

	.isube-schedule__search-field {
		flex: 1 1 100%;
	}

	.isube-schedule__search-input {
		font-size: 15px;
		height: 42px;
	}

	.isube-schedule__search-submit {
		flex: 1 1 100%;
		min-height: 42px;
	}

	.isube-schedule__day-block {
		margin-bottom: 32px;
	}

	.isube-schedule__panel + .isube-schedule__panel {
		margin-top: 24px;
	}

	.isube-schedule__day-title {
		font-size: 21px;
		margin-bottom: 16px;
		padding: 8px 0;
	}

	.isube-schedule__venue-title {
		font-size: 16px;
	}

	.isube-schedule__table-wrap {
		border: 0;
		box-shadow: none;
		overflow: visible;
	}

	.isube-schedule__table,
	.isube-schedule__table tbody {
		display: block;
		width: 100%;
	}

	.isube-schedule__table thead {
		display: none;
	}

	.isube-schedule__table tbody {
		display: grid;
		gap: 12px;
	}

	.isube-schedule__table tr {
		background: #fff;
		border: 1px solid #dbe3ee;
		border-radius: 10px;
		display: block;
		padding: 12px 14px;
	}

	/* Each cell becomes a label/value pair: the field name sits in front of the
	   content in blue bold, and the value column starts after the colon, so
	   wrapped lines align there instead of returning to the left edge. */
	.isube-schedule__table td {
		align-items: baseline;
		border: 0;
		display: flex;
		gap: 2px 0;
		padding: 0;
		text-align: left;
	}

	.isube-schedule__table td > :not(.isube-schedule__field-label) {
		flex: 1 1 auto;
		min-width: 0;
		overflow-wrap: break-word;
	}

	/* Cards stack vertically, so the column dividers must not be drawn. */
	.isube-schedule__table tr > * + *,
	.isube-schedule__table thead th + th {
		border-left: 0;
	}

	/* Cards are independent on mobile, so a merged moderator is repeated here. */
	.isube-schedule__host--merged {
		display: block;
	}

	.isube-schedule__table td + td {
		margin-top: 6px;
	}

	/* Field name in front of the value: blue, bold, followed by a colon. */
	.isube-schedule__field-label {
		color: #056de8;
		display: block;
		flex: 0 0 auto;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0;
		margin-bottom: 0;
		white-space: nowrap;
	}

	.isube-schedule__field-label::after {
		content: ": ";
	}

	body.meeting-mobile-lang-zh .isube-schedule__field-label::after {
		content: "：";
	}

	.isube-schedule__time {
		color: #056de8;
		font-size: 13px;
	}

	.isube-schedule__topic {
		font-size: 14px;
		line-height: 1.55;
	}

	.isube-schedule__row--section,
	.isube-schedule__row--note {
		display: block;
		border: 0;
		padding: 0;
	}

	.isube-schedule__row--section th,
	.isube-schedule__row--note td {
		border-radius: 8px;
		display: block;
		padding: 10px 12px;
		text-align: left;
	}

	.isube-schedule__row--section th {
		background: #eaf2ff;
		font-size: 14px;
	}

	.isube-schedule__row--note td {
		background: #fffaf0;
		font-size: 13px;
	}

	/* On mobile only the selected meeting language is shown. */
	.isube-schedule__zh {
		display: none;
	}

	body.meeting-mobile-lang-zh .isube-schedule__en {
		display: none;
	}

	body.meeting-mobile-lang-zh .isube-schedule__zh {
		display: block;
		margin-top: 0;
	}

	/* The Chinese line is the only visible one in this mode, so its first line
	   becomes the primary line again. */
	body.meeting-mobile-lang-zh .isube-schedule__zh .isube-schedule__primary {
		font-weight: 700;
	}

	/* Filter buttons keep a single inline label even in Chinese mode. */
	body.meeting-mobile-lang-zh .isube-schedule__filter .isube-schedule__zh {
		display: inline;
	}
}
