.new-meetings-list {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.new-meetings-item {
	margin: 0 0 0.75em;
	padding: 0 0 0.75em;
	border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.new-meetings-item:last-child {
	border-bottom: 0;
}

.new-meetings-item > span {
	display: block;
}

.new-meetings-name {
	font-weight: 600;
}

.new-meetings-since {
	font-size: 0.875em;
	opacity: 0.8;
}

.new-meetings-notice,
.new-meetings-more {
	margin: 0 0 1em;
}

/* A meeting name that opens the popup but has no details page to link to. */
.new-meetings-open {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	text-align: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}

/*
 * The meeting details popup (js/new-meetings-popup.js). Colors are variables, so a theme or the Custom CSS
 * setting can change them, for example: .nm-popup-root { --nm-popup-accent: #7a1f5c; }
 */
.nm-popup-root {
	--nm-popup-bg: #fff;
	--nm-popup-text: #1d2327;
	--nm-popup-muted: #5b6470;
	--nm-popup-rule: rgba(29, 35, 39, 0.1);
	--nm-popup-accent: #1f4e8c;
	--nm-popup-accent-text: #fff;
	--nm-popup-badge-bg: rgba(31, 78, 140, 0.1);
	--nm-popup-radius: 16px;

	position: fixed;
	inset: 0;
	/*
	 * The highest z-index there is. Sticky bars, cookie banners and chat buttons often use it too; the popup is
	 * added at the end of <body>, so on a tie it still paints on top.
	 */
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

.nm-popup-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 16, 22, 0.5);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nm-popup {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 30rem;
	max-height: calc(100vh - 3rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.75rem 1.75rem 1.5rem;
	border-radius: var(--nm-popup-radius);
	background: var(--nm-popup-bg);
	color: var(--nm-popup-text);
	box-shadow: 0 24px 64px rgba(12, 16, 22, 0.28), 0 2px 8px rgba(12, 16, 22, 0.08);
	font-size: 1rem;
	line-height: 1.5;
	text-align: left;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.nm-popup:focus {
	outline: none;
}

.nm-popup-root.is-open .nm-popup-backdrop {
	opacity: 1;
}

.nm-popup-root.is-open .nm-popup {
	opacity: 1;
	transform: none;
}

.nm-popup p,
.nm-popup h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.nm-popup-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--nm-popup-muted);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nm-popup-close:hover,
.nm-popup-close:focus-visible {
	background: var(--nm-popup-rule);
	color: var(--nm-popup-text);
}

.nm-popup-close:focus-visible,
.nm-popup-action:focus-visible {
	outline: 2px solid var(--nm-popup-accent);
	outline-offset: 2px;
}

.nm-popup-head {
	padding-right: 2rem;
}

.nm-popup .nm-popup-badge {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.2em 0.7em;
	border-radius: 999px;
	background: var(--nm-popup-badge-bg);
	color: var(--nm-popup-accent);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.6;
}

.nm-popup .nm-popup-title {
	font-family: inherit;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.25;
}

.nm-popup .nm-popup-when {
	margin-top: 0.375rem;
	font-weight: 600;
}

.nm-popup .nm-popup-area {
	margin-top: 0.125rem;
	color: var(--nm-popup-muted);
	font-size: 0.9375rem;
}

.nm-popup .nm-popup-section {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--nm-popup-rule);
}

.nm-popup .nm-popup-place,
.nm-popup .nm-popup-label {
	font-weight: 600;
}

.nm-popup .nm-popup-info,
.nm-popup .nm-popup-phone {
	margin-top: 0.25rem;
	color: var(--nm-popup-muted);
	font-size: 0.9375rem;
	overflow-wrap: anywhere;
}

.nm-popup .nm-popup-comments {
	color: var(--nm-popup-muted);
	font-size: 0.9375rem;
	white-space: pre-line;
}

.nm-popup-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin-top: 1.5rem;
}

.nm-popup .nm-popup-action {
	display: inline-flex;
	align-items: center;
	padding: 0.625em 1.1em;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: filter 0.15s ease, background-color 0.15s ease;
}

.nm-popup .nm-popup-primary {
	background: var(--nm-popup-accent);
	color: var(--nm-popup-accent-text);
}

.nm-popup .nm-popup-primary:hover {
	filter: brightness(1.12);
}

.nm-popup .nm-popup-secondary {
	box-shadow: inset 0 0 0 1.5px var(--nm-popup-accent);
	color: var(--nm-popup-accent);
}

.nm-popup .nm-popup-secondary:hover {
	background: var(--nm-popup-badge-bg);
}

.nm-popup .nm-popup-link {
	padding-left: 0.25em;
	padding-right: 0.25em;
	color: var(--nm-popup-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.nm-popup-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Phones: a sheet that slides up from the bottom. */
@media (max-width: 600px) {
	.nm-popup-root {
		align-items: flex-end;
		padding: 0;
	}

	.nm-popup {
		max-width: none;
		max-height: 88vh;
		padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
		border-radius: var(--nm-popup-radius) var(--nm-popup-radius) 0 0;
		transform: translateY(100%);
		transition-duration: 0.25s;
	}

	.nm-popup-actions .nm-popup-primary,
	.nm-popup-actions .nm-popup-secondary {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-popup,
	.nm-popup-backdrop {
		transition: none;
	}

	.nm-popup {
		transform: none;
	}
}
