
		
		
/* title2() css for popup tooltip */
		.div_title2_popup {
		  position: absolute;
		  background: #333;
		  color: #fff;
		  padding: 3px 6px;
		  border-radius: 5px;
		  font-size: .8rem;
		  z-index: 9999;
		  white-space: normal;
		  max-width: 300px;
		  word-wrap: break-word;
		  pointer-events: none;
		  opacity: 0;
		  transition: opacity 0.15s ease;
		}

/*1  FLEX BOX DEFAULT */

		/* ------------------------------- */
		/*  RESET / BASE                   */
		/* ------------------------------- */

		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		html, body {
			font-family: Arial, sans-serif;
			line-height: 1.2;
			color: #222;
		}

		img {
			max-width: 100%;
			display: block;
		}

		a {
			text-decoration: none;
			color: inherit;
		}

		/* Ensure proper mobile scaling */
		meta[name="viewport"] {
			content: width=device-width, initial-scale=1;
		}

		/* ------------------------------- */
		/*  FLEX UTILITIES                 */
		/* ------------------------------- */

		.flex {
			display: flex;
		}

		.flex-row {
			display: flex;
			flex-direction: row;
		}

		.flex-col {
			display: flex;
			flex-direction: column;
		}

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

		.flex-between {
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.wrap {
			flex-wrap: wrap;
		}

		.gap-sm { gap: 8px; }
		.gap-md { gap: 16px; }
		.gap-lg { gap: 32px; }

		/* ------------------------------- */
		/*  LAYOUT CONTAINERS              */
		/* ------------------------------- */

		.container {
			width: 100%;
			max-width: 1100px;
			margin: auto;
			padding: 16px;
		}

		/* ------------------------------- */
		/*  HEADER / NAV                   */
		/* ------------------------------- */

		header {
			background: #333;
			color: #fff;
			padding: 16px;
		}

		nav {
			display: flex;
			gap: 16px;
			flex-wrap: wrap;
		}

		nav a {
			color: #fff;
			padding: 8px 12px;
			border-radius: 4px;
		}

		nav a:hover {
			background: #444;
		}

		.venue-link {
			color: inherit;
			text-decoration: none;
		}

		.venue-link:hover {
			color: #007bff;
			text-decoration: none;
		}

		.venue-link i {
			font-size: 0.9em;
			margin-right: 3px;
		}

		/* ------------------------------- */
		/*  CARD GRID                      */
		/* ------------------------------- */

		.grid {
			display: flex;
			gap: 20px;
			flex-wrap: wrap;
		}

		.card {
			flex: 1 1 calc(33.33% - 20px);
			background: #f5f5f5;
			padding: 20px;
			border-radius: 8px;
		}

		/* Tablet */
		@media (max-width: 900px) {
			.card {
				flex: 1 1 calc(50% - 20px);
			}
		}

		/* Phone */
		@media (max-width: 600px) {
			.card {
				flex: 1 1 100%;
			}
		}

		/* ------------------------------- */
		/*  BUTTONS                        */
		/* ------------------------------- */

		.btn {
			padding: 10px 16px;
			border: none;
			border-radius: 6px;
			cursor: pointer;
			background: #007bff;
			color: #fff;
			display: inline-block;
			text-align: center;
		}

		.btn:hover {
			background: #0069d9;
		}
		
		.btn_blue {
			padding: 4px 12px;
			border: none;
			border-radius: 15px;
			cursor: pointer;
			background: #007bff;
			color: #fff;
			font-size: 14px;
			display: inline-block;
			text-align: center;
		}
		
		.btn_blue:hover {
			background: #0069d9;
		}

		.btn_gray {
			padding: 4px 12px;
			border: none;
			border-radius: 15px;
			cursor: pointer;
			background: #6c757d;
			color: #fff;
			font-size: 14px;
			display: inline-block;
			text-align: center;
		}

		.btn_gray:hover {
			background: #5a6268;
		}

		.btn_purple {
			padding: 6px 20px;
			border: 2px solid #5b5476;
			border-radius: 4px;
			cursor: pointer;
			background: #5b5476;
			color: #fff;
			font-size: 15px;
			font-weight: normal;
			display: inline-block;
			text-align: center;
			min-width: 100px;
		}

		.btn_purple:hover {
			background: #4a4464;
			border-color: #4a4464;
		}
		
		.btn_blue_light {
			padding: 4px 12px;
			border: none;
			border-radius: 15px;
			cursor: pointer;
			background: #dc3545;
			color: #fff;
			font-size: 14px;
			display: inline-block;
			text-align: center;
		}
		
		.btn_blue_light:hover {
			background: #c82333;
		}
		
		
		.btn_view {
			
			width:150px;
			margin-left:12px;
			
		}
		
		
		
		.btn_red {
			padding: 4px 12px;
			border: none;
			border-radius: 14px;
			cursor: pointer;
			background: #990000;
			color: #fff;
			font-size: 15px;
			display: inline-block;
			text-align: center;
		}
		
		

		/* ------------------------------- */
		/*  SPACING HELPERS                */
		/* ------------------------------- */

		.mt-sm { margin-top: 8px; }
		.mt-md { margin-top: 16px; }
		.mt-lg { margin-top: 32px; }

		.mb-sm { margin-bottom: 8px; }
		.mb-md { margin-bottom: 16px; }
		.mb-lg { margin-bottom: 32px; }

		.p-sm { padding: 8px; }
		.p-md { padding: 16px; }
		.p-lg { padding: 32px; }
/*----------------------------------------------------------------*/


/*2  SCHEDULE TABLE */
			.table_session {
				width: 100%;
				border-collapse: collapse;
				table-layout: fixed; /* makes non-first columns equal width */
				margin-bottom: 32px;
			}

			/* First column: shrink to fit time */
			.table_session th:first-child,
			.table_session td:first-child {
				width: 50px;             /* Fixed width - can be overridden */
				white-space: nowrap;     /* prevents wrapping the time */
				overflow: hidden;
				text-overflow: ellipsis;
			}

			table.table_session th,
			table.table_session td {
				padding: 6px 10px;
				border: 1px solid #ddd;
				vertical-align: top;
			}

			/* Slate blue session title row */
			table.table_session .header1 th {
				background: #5A6F8C;
				color: white!important;
				font-size: 18px;
				font-weight: bold;
				text-align: center;
			}

			/* Column header row */
			table.table_session .header2 th {
				background: #E4E9F0;
				color: #2a3140;
				font-weight: bold;
				text-align: center;

			}
			/* First column: true minimal-width */
			.table_session col.col-time {
				width: 1px;              /* enforce real minimum */
			}

			/* All track columns share equal remaining space */
			.table_session col.col-track {
				width: auto;
			}

			/*Cell Contents */
				.table_session .cell_content {
					
					vertical-align: top;
					padding-top: 12px;
					line-height: 1.3;
					
				}
				
			/* Clickable cell highlight */
				.table_session .cell_content.clickable-cell {
					cursor: pointer;
					min-height: 40px;
					position: relative;
					transition: transform 0.2s ease;
				}
				
				.table_session .cell_content.clickable-cell.highlighted {
					background-color: #d4e1ff;
				}
				
				.table_session .cell_content.clickable-cell.highlighted.multiple-in-row {
					background-color: #fffacd;
				}
				
				/* Engage button */
				.btn_engage {
					background: linear-gradient(135deg, #f5f5f5 0%, #dcdcdc 100%);
					color: #333;
					border: none;
					border-radius: 20px;
					padding: 6px 16px;
					font-size: 13px;
					font-weight: 500;
					cursor: pointer;
					margin-top: 6px;
					margin-bottom: 5px;
					display: block;
					width: fit-content;
					margin-left: auto;
					margin-right: auto;
					box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
								0 2px 4px rgba(0, 0, 0, 0.08),
								inset 0 1px 0 rgba(255, 255, 255, 0.5);
					text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
					transition: all 0.3s ease;
					position: relative;
					overflow: hidden;
				}
				
				.btn_engage i {
					margin-right: 6px;
				}
				
				.btn_engage::before {
					content: '';
					position: absolute;
					top: 0;
					left: -100%;
					width: 100%;
					height: 100%;
					background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
					transition: left 0.5s;
				}
				
				.btn_engage:hover {
					background: linear-gradient(135deg, #d0d0d0 0%, #b0b0b0 100%);
					box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 
								0 4px 8px rgba(0, 0, 0, 0.1),
								inset 0 1px 0 rgba(255, 255, 255, 0.6);
					transform: translateY(-1px);
				}
				
				.btn_engage:hover::before {
					left: 100%;
				}
				
				.btn_engage:active {
					transform: translateY(0);
					box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 
								0 1px 2px rgba(0, 0, 0, 0.08),
								inset 0 1px 0 rgba(255, 255, 255, 0.5);
				}
				
				.table_session .header2 th.clickable-column-header {
					cursor: pointer;
				}
				
				/* Animation for cell click */
				@keyframes cellSaved {
					0% {
						transform: scale(1);
						box-shadow: 0 0 0 0 rgba(91, 84, 118, 0.7);
					}
					50% {
						transform: scale(1.02);
						box-shadow: 0 0 0 8px rgba(91, 84, 118, 0);
					}
					100% {
						transform: scale(1);
						box-shadow: 0 0 0 0 rgba(91, 84, 118, 0);
					}
				}
				
				.table_session .cell_content.clickable-cell.saved-animation {
					animation: cellSaved 0.4s ease;
				}

		.abstract{
			margin-left:8px;
			text-align:left;
			font-size:95%;
			background-color:transparent;
			border-left:3px solid #5b5476;
			line-height:1.4;
			color:#333;
			padding-left:8px;
			padding-right:3px;
		}
		
		.authors{
			text-align:left;
			font-size:95%;
			background-color:transparent;
			border-left:3px solid #5b5476;
			line-height:1.4;
			color:#333;
			margin-bottom:8px;
			margin-left:8px;
			margin-right:8px;
			padding-left:8px;
			padding-right:3px;
		}
		
	.abstract * {
    margin: 0;
    padding: 0;
}

/*----------------------------------------------------------------*/


/*3 Alerts*/

	/* alert */

		.alert {
		  padding: 0.75rem 1.25rem;
		  border: 1px solid transparent;
		  border-radius: 0.25rem;
		  margin-bottom: 1rem;
		  font-size: 0.95rem;
		}

		/* Warning */
	
			.alert-warning {
			  color: #856404;
			  background-color: #fff3cd;
			  border-color: #ffeeba;
			}

		/* Info */
			.alert-info {
			  color: #0c5460;
			  background-color: #d1ecf1;
			  border-color: #bee5eb;
			}

		/* Danger */
			.alert-danger {
			  color: #721c24;
			  background-color: #f8d7da;
			  border-color: #f5c6cb;
			  
			}

/* Alert2 - Custom alert popup */
	.alert2_overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 9999;
		display: none;
	}

	.alert2_popup {
		position: fixed;
		top: 33%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-color: white;
		color: #333;
		padding: 20px 24px;
		border: 1px solid #ccc;
		border-radius: 4px;
		box-shadow: 0 4px 20px rgba(0,0,0,0.3);
		font-size: 14px;
		z-index: 10000;
		max-width: 420px;
		text-align: center;
		line-height: 1.4;
		display: none;
		opacity: 0;
		animation: alert2DropIn 0.3s ease-out forwards;
	}

	@keyframes alert2DropIn {
		0% {
			opacity: 0;
			transform: translate(-50%, -100%);
		}
		100% {
			opacity: 1;
			transform: translate(-50%, -50%);
		}
	}

	@keyframes vibrate {
		0%   { transform: translate(-50%, -50%); }
		25%  { transform: translate(calc(-50% - 4px), calc(-50% - 4px)); }
		50%  { transform: translate(calc(-50% + 4px), calc(-50% + 4px)); }
		75%  { transform: translate(calc(-50% - 4px), calc(-50% + 4px)); }
		100% { transform: translate(-50%, -50%); }
	}

	.alert2_popup.shake {
		animation: shake 0.5s ease-in-out;
	}

	.alert2_popup.vibrate {
		animation: vibrate 0.3s ease-in-out;
	}

	.btn_alert2 {
		width: 80px;
	}

/* Fixed compact site header */
	.main-header-bar {
		position: fixed;
		top: var(--offline-banner-offset, 0px);
		left: 0;
		width: 100%;
		background-color: #5b5476;
		color: white;
		padding: 6px 0 0;
		z-index: 1000;
	}

	.main-header-inner {
		position: relative;
		max-width: 1600px;
		margin: 0 auto;
		padding: 0 12px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 40px;
	}

	.header-nav-left,
	.header-nav-right {
		display: flex;
		align-items: flex-start;
		gap: 5px;
		flex: 0 0 auto;
		z-index: 1;
	}

	.header-title-text {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		max-width: 46%;
		font-size: 18px;
		font-weight: bold;
		line-height: 1.2;
		white-space: nowrap;
		overflow: hidden;
		pointer-events: none;
		z-index: 0;
	}

	.header-title-link,
	.header-see-current {
		pointer-events: auto;
	}

	.header-title-link {
		color: white;
		text-decoration: none;
		overflow: hidden;
		display: block;
		min-width: 0;
	}

	.header-title-full,
	.header-title-short {
		display: block;
		overflow: hidden;
		white-space: nowrap;
	}

	.header-title-short {
		display: none;
	}

	.header-title-text.is-short .header-title-full {
		display: none;
	}

	.header-title-text.is-short .header-title-short {
		display: block;
	}

	.header-see-current {
		flex: 0 0 auto;
	}

	.main-header-spacer {
		width: 100%;
		height: 52px;
	}

	/* Pre-sized for fixed header + visible day/session filter row (avoids first-paint jump) */
	.main-header-spacer.with-day-filters {
		height: 98px;
	}

/* Day Filter Buttons (live inside the same purple header bar) */
	.day-filter-container {
		text-align: center;
		background-color: transparent;
		color: white;
		padding-top: 2px;
		padding-bottom: 8px;
		margin: 0;
		border: none;
	}

	.main-header-bar .day-filter-container {
		background-color: transparent;
	}

	.day-filter-buttons-wrapper {
		font-size: 18px;
		margin-bottom: 0px;
	}

	.day-filter-btn {
		background-color: #5b5476;
		color: white;
		border: 2px solid white;
		padding: 6px 16px;
		margin: 0 5px;
		cursor: pointer;
		border-radius: 4px;
		font-size: 15px;
		font-weight: normal;
		min-width: 100px;
		text-align: center;
		display: inline-block;
	}

	.day-filter-btn.active {
		background-color: #e8b84a;
		color: #2c2540;
		border-color: #e8b84a;
		font-weight: bold;
	}

	.day-filter-btn.active:hover {
		background-color: #f0c96a;
		color: #2c2540;
	}

/* Navigation buttons in header */
	.nav-btn {
		background-color: #5b5476;
		color: white;
		border: 2px solid white;
		padding: 6px 12px;
		margin: 0;
		cursor: pointer;
		border-radius: 4px;
		font-size: 14px;
		font-weight: normal;
		text-decoration: none;
		display: inline-block;
		transition: background-color 0.2s;
		width: auto;
		min-width: 80px;
		white-space: nowrap;
		text-align: center;
		box-sizing: border-box;
	}

	.nav-btn.active {
		background-color: #e8b84a;
		color: #2c2540;
		border-color: #e8b84a;
		font-weight: bold;
	}

	.nav-btn:hover {
		background-color: rgba(255, 255, 255, 0.2);
	}

	.nav-btn.active:hover {
		background-color: #f0c96a;
		color: #2c2540;
	}

	/* Older years (same look as nav-btn, wider label, right-aligned) */
	.nav-btn.older-years-btn {
		width: auto;
		min-width: 80px;
		white-space: nowrap;
	}

	.nav-btn.logout-btn {
		background-color: #000;
		border-color: #000;
		color: #fff;
	}

	.nav-btn.logout-btn:hover {
		background-color: #222;
		border-color: #222;
		color: #fff;
	}

	.header-auth {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		margin-right: 0;
	}

	.header-auth-email {
		font-size: 11px;
		line-height: 1.2;
		color: rgba(255, 255, 255, 0.85);
		max-width: 160px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-align: center;
	}

	.header-menu {
		position: relative;
		display: inline-block;
	}

	.header-pdf-btn {
		min-width: 80px;
		white-space: nowrap;
	}

	.header-more-btn {
		background: transparent;
		border: none;
		color: #fff;
		padding: 4px 8px;
		margin: 0;
		min-width: 0;
		cursor: pointer;
		font-size: 18px;
		line-height: 1;
		border-radius: 0;
		box-shadow: none;
	}

	.header-more-btn:hover,
	.header-more-btn.is-active {
		background: transparent;
		color: #e8b84a;
	}

	.header-menu-dropdown {
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		min-width: 160px;
		background: #fff;
		border: 1px solid #d0cdd8;
		border-radius: 4px;
		box-shadow: 0 6px 18px rgba(44, 37, 64, 0.18);
		overflow: hidden;
		z-index: 1100;
		transform-origin: top right;
		animation: headerMenuSlide 0.16s ease-out;
	}

	@keyframes headerMenuSlide {
		from {
			opacity: 0;
			transform: translateY(-6px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.header-menu-item {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 9px 14px;
		border: 0;
		border-bottom: 1px solid #eee;
		background: #fff;
		color: #2c2540;
		font-size: 14px;
		text-align: left;
		text-decoration: none;
		cursor: pointer;
		white-space: nowrap;
	}

	.header-menu-item:last-child {
		border-bottom: 0;
	}

	.header-menu-item:hover {
		background: #f3f1f7;
		color: #5b5476;
	}

	/* Search highlight */
	.search-highlight {
		background-color: #ffe999;
		padding: 2px 0;
		border-radius: 2px;
	}

	/* Search container */
	.search-container {
		width: 345px;
		margin: 10px auto;
		position: relative;
	}

	.search-container .fa-search {
		position: absolute;
		left: 2px;
		top: 2px;
		bottom: 2px;
		color: #666;
		background-color: #e0e0e0;
		padding: 0 12px;
		border-radius: 3px 0 0 3px;
		pointer-events: none;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#schedule-search {
		width: 100%;
		padding: 10px 40px 10px 50px;
		font-size: 16px;
		border: 2px solid #ccc;
		border-radius: 5px;
	}

	#clear-search {
		display: none;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		background: #d32f2f;
		border: none;
		color: white;
		cursor: pointer;
		font-size: 18px;
		padding: 5px 10px;
		border-radius: 4px;
	}

	#clear-search:hover {
		background-color: #b71c1c;
		border-radius: 4px;
	}

	/* Landing page day / maps headers — match talks.php slate blue */
	.schedule-day-header {
		position: relative;
		background-color: #5A6F8C !important;
		color: #fff !important;
		padding: 8px 10px;
		padding-right: 100px;
		font-weight: bold;
		font-size: 16px;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}

	.schedule-day-header .day-toggle,
	.schedule-day-header .room-maps-toggle {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		background-color: #5b5476;
		color: white;
		border: none;
		border-radius: 4px;
		padding: 4px 14px;
		cursor: pointer;
		font-size: 14px;
		font-weight: normal;
	}

	/* Schedule footer bar */
	.schedule-footer-rule {
		border: 0;
		border-top: 1px solid #ccc;
		margin: 20px 0 0 0;
		width: 100%;
	}
	.schedule-footer-bar {
		background-color: #5b5476;
		color: white;
		text-align: center;
		padding: 8px 0;
		font-size: 12px;
		margin-top: 12px;
		width: 100%;
	}

/*----------------------------------------------------------------*/
/* ENGAGE PAGE STYLES (compact form layout)                       */
/*----------------------------------------------------------------*/

	.engage-page {
		font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
		line-height: 1.35;
		color: #2a2a2a;
	}

	.engage-header-bar {
		position: relative;
		width: 100%;
		background-color: #5b5476;
		color: white;
		padding: 6px 0 0;
		margin: 0;
	}

	.engage-header-inner {
		position: relative;
		max-width: 1600px;
		margin: 0 auto;
		padding: 0 12px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 40px;
	}

	.engage-header-nav {
		display: flex;
		align-items: flex-start;
		gap: 5px;
		flex: 0 0 auto;
		z-index: 1;
	}

	.engage-header-title {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		font-size: 18px;
		font-weight: bold;
		line-height: 1.2;
		white-space: nowrap;
		z-index: 0;
	}

	.engage-container {
		max-width: 720px;
		margin: 16px auto 40px;
		padding: 16px 18px 22px;
		background-color: #ffffff;
		border-radius: 6px;
		box-shadow: 0 1px 6px rgba(0,0,0,.08);
	}

	.engage-field {
		margin: 0 0 8px;
		font-size: 14.4px;
		line-height: 1.4;
	}

	.engage-field-label {
		font-weight: 700;
		color: #2a2a2a;
		margin-right: 4px;
	}

	.engage-title-value {
		font-size: inherit;
		font-weight: 400;
		color: #1a1a1a;
	}

	.engage-authors {
		margin: 2px 0 8px 0;
		font-size: 0.9em;
		color: #3a3a3a;
		line-height: 1.45;
	}

	.engage-authors .affil {
		font-style: italic;
		color: #666;
		font-size: 0.9em;
	}

	.engage-presenter-tag {
		font-size: 0.78em;
		font-weight: 600;
		color: #5b5476;
		white-space: nowrap;
		margin-left: 4px;
	}

	.engage-presenter-tag i {
		margin-right: 3px;
	}

	.engage-view-abstract {
		display: inline-block;
		background: #fff;
		color: #5b5476;
		border: 1px solid #5b5476;
		border-radius: 4px;
		font-size: 13px;
		padding: 3px 10px;
		margin: 0 0 8px;
		cursor: pointer;
	}

	.engage-view-abstract:hover {
		background: #f5f3f8;
	}

	.engage-abstract {
		display: none;
		padding: 10px 12px;
		background-color: #faf9f6;
		border-left: 3px solid #5b5476;
		border-radius: 4px;
		line-height: 1.5;
		color: #3a3a3a;
		font-size: 11.2px;
		cursor: pointer;
		margin: 0 0 8px;
	}

	.engage-abstract.is-open {
		display: block;
	}

	.engage-paper-section {
		margin: 0 0 4px;
		font-size: 14px;
		color: #3a3a3a;
	}

	.engage-paper-after {
		margin-left: 4px;
	}

	.engage-paper-text {
		font-size: 14px;
		color: #3a3a3a;
		line-height: 1.4;
	}

	.engage-request-btn {
		display: inline-block;
		width: auto;
		background: #5b5476;
		color: #fff;
		border: 2px solid #5b5476;
		border-radius: 15px;
		font-size: 14px;
		padding: 4px 10px;
		margin: 0;
		cursor: pointer;
		white-space: nowrap;
	}

	.engage-request-btn:hover {
		background: #4a4464;
		border-color: #4a4464;
		color: #fff;
	}

	.engage-paper-requested {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		background: #e9e9e9;
		color: #555;
		padding: 6px 10px;
		border-radius: 4px;
		font-size: 13px;
		line-height: 1.3;
	}

	.engage-paper-check-icon {
		color: #5b5476;
		margin-right: 4px;
	}

	.engage-paper-cancel {
		color: #c00;
		cursor: pointer;
		font-weight: 600;
		text-decoration: underline;
		white-space: nowrap;
		background: none;
		border: none;
		padding: 0;
		font-size: inherit;
		font-family: inherit;
	}

	.engage-paper-cancel:hover {
		color: #900;
	}

	.engage-divider {
		margin: 12px 0;
		border: none;
		border-top: 1px solid #e8e8e8;
	}

	.engage-feedback-title {
		font-size: 18px;
		font-weight: 700;
		color: #1a1a1a;
		margin: 0 0 8px;
	}

	.engage-feedback-form {
		margin-top: 0;
	}

	.engage-feedback-question {
		font-size: 14px;
		font-weight: 600;
		color: #2a2a2a;
		margin: 0 0 6px;
	}

	.engage-radio-option {
		margin: 0 0 2px;
		padding: 2px 0;
		background: transparent;
		border-radius: 0;
	}

	.engage-radio-label {
		display: flex;
		align-items: flex-start;
		gap: 6px;
		cursor: pointer;
		font-size: 13px;
		line-height: 1.3;
		color: #3a3a3a;
	}

	.engage-radio-input {
		margin-top: 2px;
		width: 14px;
		height: 14px;
		flex: 0 0 auto;
		cursor: pointer;
	}

	.engage-radio-text {
		font-size: 13px;
		color: #3a3a3a;
		line-height: 1.3;
	}

	.engage-textarea-label {
		font-size: 14px;
		font-weight: 600;
		color: #2a2a2a;
		margin: 10px 0 2px;
	}

	.engage-textarea-note {
		font-size: 13px;
		color: #990000;
		margin-bottom: 4px;
		font-style: italic;
	}

	.engage-textarea {
		width: 100%;
		padding: 10px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 14px;
		font-family: inherit;
		resize: vertical;
		line-height: 1.45;
		min-height: 140px;
		margin-bottom: 2px;
	}

	.engage-textarea:focus {
		border-color: #5b5476;
		outline: none;
	}

	.engage-textarea-hint {
		margin-top: 4px;
	}

	.engage-textarea-hint span {
		color: #2563eb;
		font-size: 13px;
		font-weight: 500;
	}

	.engage-submit-btn {
		display: block;
		margin: 12px auto 0;
		background: #5b5476;
		color: #fff;
		border: 2px solid #5b5476;
		border-radius: 6px;
		font-size: 15px;
		font-weight: 600;
		padding: 8px 22px;
		cursor: pointer;
		width: fit-content !important;
	}

	.engage-submit-btn:hover {
		background: #4a4464;
		border-color: #4a4464;
		color: #fff;
	}

	.engage-section-spacing {
		margin-bottom: 12px;
	}

	/* Simple mobile scaling: just shrink everything proportionally */
	@media (max-width: 900px) {
		.main-header-inner {
			padding: 0 8px;
		}

		.header-title-text {
			font-size: 15px;
			max-width: 40%;
		}
	}

	@media (max-width: 600px) {
		.main-header-bar {
			padding-top: 4px;
			padding-bottom: 4px;
		}

		.main-header-inner {
			flex-wrap: wrap;
			justify-content: center;
			row-gap: 6px;
			min-height: 0;
		}

		.header-title-text {
			position: static;
			left: auto;
			top: auto;
			transform: none;
			order: -1;
			width: 100%;
			max-width: 100%;
			font-size: 14px;
			justify-content: center;
		}

		.header-nav-left,
		.header-nav-right {
			flex-wrap: wrap;
			justify-content: center;
		}
		
		.main-header-bar .nav-btn {
			width: auto;
			min-width: 60px;
			white-space: nowrap;
			padding: 4px 8px;
			font-size: 11px;
		}

		.main-header-bar .nav-btn.older-years-btn {
			width: auto;
			font-size: 11px;
		}
	}

/* Selection toaster (near mouse pointer) */
#selection-toast {
	position: fixed;
	left: 0;
	top: 0;
	transform: translateY(4px);
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #2d2a3a;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	white-space: nowrap;
}
#selection-toast.selection-toast-show {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
#selection-toast.selection-toast-hide {
	visibility: hidden;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}
#selection-toast .fa-check {
	color: #7dcea0;
	font-size: 15px;
}

/* Offline status banner sits above the fixed purple header (js/offline.js) */
.offline-banner {
	display: none;
	background: #8B0000;
	color: #fff;
	text-align: center;
	padding: 10px 14px;
	font-size: 0.95rem;
	line-height: 1.35;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1001;
	box-sizing: border-box;
}
.offline-banner.is-visible {
	display: block;
}
.offline-banner b {
	font-weight: 700;
}
