/* Anue Helper popups: base styles. Each popup's own CSS (Anue Helper › Popups) is scoped to #anue-popup-ID. */
.anue-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(24, 18, 19, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.anue-popup-overlay[hidden] {
	display: none;
}
.anue-popup-overlay.is-open {
	opacity: 1;
}
.anue-popup {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 540px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	padding: 40px 32px 32px;
	background: #fff;
	color: var(--charcoal, #33434c);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	transform: translateY(12px);
	transition: transform 0.2s ease;
}
.anue-popup-overlay.is-open .anue-popup {
	transform: none;
}
.anue-popup:focus {
	outline: none;
}
.anue-popup > :first-child {
	margin-top: 0;
}
.anue-popup > :last-child {
	margin-bottom: 0;
}
.anue-popup-x {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 30px;
	line-height: 40px;
	cursor: pointer;
}
.anue-popup-x:hover,
.anue-popup-x:focus-visible {
	color: var(--sage-dark, #8e9a64);
}
.anue-popup-button {
	display: inline-block;
	padding: 0.75rem 2rem;
	background: var(--sage, #99a37d);
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.15s ease;
}
.anue-popup-button:hover,
.anue-popup-button:focus {
	background: var(--charcoal, #33434c);
}
html.anue-popup-open {
	overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
	.anue-popup-overlay,
	.anue-popup {
		transition: none;
	}
}
