.emceu-attendance-app {
	max-width: 720px;
}
.emceu-event-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.emceu-event-list li {
	margin: 0 0 8px;
}
.emceu-event-button {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 4px;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fafafa;
	cursor: pointer;
	font-size: 1em;
	text-align: left;
}
.emceu-event-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.emceu-event-trainers {
	color: #666;
	font-size: 0.85em;
}
.emceu-event-button:hover {
	background: #f0f0f0;
}
.emceu-event-name {
	font-weight: 600;
}
.emceu-event-date {
	color: #666;
	font-size: 0.9em;
	white-space: nowrap;
}
.emceu-empty {
	color: #666;
}
.emceu-back-button {
	background: none;
	border: none;
	color: #2271b1;
	cursor: pointer;
	padding: 0 0 10px;
	font-size: 0.95em;
}
.emceu-back-button:hover {
	text-decoration: underline;
}
.emceu-attendee-table {
	width: 100%;
	border-collapse: collapse;
}
.emceu-attendee-table th,
.emceu-attendee-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #e2e2e2;
}
.emceu-status-pill {
	display: inline-block;
	padding: 4px 12px;
	border: 0;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	background: #f0f0f1;
	color: #666;
}
.emceu-status-pill[data-status="1"] {
	background: #e6f4ea;
	color: #1a7a32;
}
.emceu-status-pill[data-status="0"] {
	background: #fcf0f1;
	color: #b32d2e;
}
.emceu-status-pill[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.emceu-loading,
.emceu-error {
	color: #666;
	padding: 10px 0;
}
.emceu-error {
	color: #d63638;
}
.emceu-event-meta {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: #f6f7f7;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
}
.emceu-event-meta-row {
	display: flex;
	gap: 8px;
	padding: 2px 0;
	font-size: 0.92em;
}
.emceu-event-meta-row dt {
	font-weight: 600;
	min-width: 80px;
	color: #444;
}
.emceu-event-meta-row dd {
	margin: 0;
	color: #333;
}
.emceu-add-attendee-wrap {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #e2e2e2;
}
.emceu-add-attendee-link {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	color: #2271b1;
	cursor: pointer;
	font-size: 1em;
}
.emceu-add-attendee-link:hover {
	text-decoration: underline;
}
.emceu-attendance-events h2 {
	margin-top: 28px;
}
.emceu-attendance-events h2:first-child {
	margin-top: 0;
}
.emceu-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 14px;
	padding-top: 10px;
}
.emceu-pagination-link {
	text-decoration: none;
	color: #2271b1;
	font-size: 0.9em;
}
.emceu-pagination-link:hover {
	text-decoration: underline;
}
.emceu-pagination-disabled {
	color: #aaa;
	cursor: default;
}
.emceu-pagination-status {
	color: #666;
	font-size: 0.9em;
}
.emceu-add-participant-wrap {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #e2e2e2;
}
.emceu-add-participant-wrap h3 {
	margin: 0 0 10px;
	font-size: 1em;
}
.emceu-add-participant-search-row {
	position: relative;
}
.emceu-add-participant-search-row input[type="text"] {
	width: 100%;
	max-width: 340px;
	padding: 6px 8px;
}
.emceu-participant-result-list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	max-width: 340px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	background: #fff;
}
.emceu-participant-result-list li {
	margin: 0;
}
.emceu-participant-result-list button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 6px 10px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 0.92em;
}
.emceu-participant-result-list button:hover {
	background: #f0f0f0;
}
.emceu-add-participant-ticket-row select {
	max-width: 340px;
}
.emceu-add-participant-status {
	margin-left: 10px;
	color: #666;
	font-size: 0.9em;
}
.emceu-manager-date-row input[type="date"] {
	margin-right: 14px;
}
.emceu-manager-date-row label {
	margin-right: 4px;
}
.emceu-sort-btn {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
}
.emceu-sort-btn:hover {
	text-decoration: underline;
}
.emceu-clinician-select {
	max-width: 100%;
}

/* Booking note flag on the roster (v1.8.4): small, inline at the end of the name, whole cell is the target */
.emceu-attendee-table td.emceu-has-note {
	cursor: pointer;
}
.emceu-attendee-table td.emceu-has-note:hover { background: #fff9e6; }
.emceu-note-flag {
	display: inline;
	margin: 0 0 0 2px;
	padding: 0 3px;
	font: inherit;
	font-size: 0.75em;
	line-height: 1;
	vertical-align: baseline;
	cursor: pointer;
	background: #fff4d6;
	border: 1px solid #b26a00;
	border-radius: 3px;
	-webkit-appearance: none;
	appearance: none;
}
.emceu-note-flag:hover,
.emceu-note-flag.is-open { background: #ffe9a8; }
.emceu-note-flag:focus-visible { outline: 2px solid #b26a00; outline-offset: 1px; }
.emceu-attendee-table .emceu-note-row td {
	padding: 8px 12px;
	background: #fff4d6;
	border-left: 4px solid #b26a00;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.emceu-event-notes {
	display: inline-block;
	margin-top: 4px;
	padding: 1px 8px;
	font-size: 0.8em;
	font-weight: 600;
	background: #fff4d6;
	border: 1px solid #b26a00;
	border-radius: 999px;
}

.emceu-status-help {
	margin: 0 0 8px;
	font-size: 0.85em;
	color: #666;
}
