.ibenlo-consent-banner[hidden],
.ibenlo-consent-modal[hidden],
.ibenlo-consent-choice[hidden] {
	display: none !important;
}

.ibenlo-consent-banner,
.ibenlo-consent-modal {
	--ibenlo-consent-bg: var(--theme-panel-strong, #172131);
	--ibenlo-consent-panel: var(--theme-bg, #0d1320);
	--ibenlo-consent-text: var(--theme-text, #f6f2e8);
	--ibenlo-consent-ink: var(--theme-ink, #fffaf0);
	--ibenlo-consent-subtle: var(--theme-subtle, rgba(246, 242, 232, 0.72));
	--ibenlo-consent-accent: var(--theme-accent, #3fead9);
	--ibenlo-consent-accent-secondary: var(--theme-accent-secondary, #5fed70);
	--ibenlo-consent-on-accent: var(--theme-text-on-accent, #071017);
	--ibenlo-consent-edge: var(--theme-edge, rgba(255, 255, 255, 0.16));
	box-sizing: border-box;
	color: var(--ibenlo-consent-text);
	font-family: var(--ibenlo-font-body, inherit);
	letter-spacing: 0;
}

.ibenlo-consent-banner *,
.ibenlo-consent-modal * {
	box-sizing: border-box;
}

.ibenlo-consent-banner {
	position: fixed;
	right: clamp(12px, 2.4vw, 34px);
	bottom: 0;
	left: clamp(12px, 2.4vw, 34px);
	z-index: 2147483000;
	display: grid;
	grid-template-areas:
		"copy actions"
		"manage manage";
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.55fr);
	column-gap: clamp(22px, 3vw, 48px);
	row-gap: clamp(9px, 1vw, 13px);
	align-items: center;
	width: min(1120px, calc(100% - clamp(24px, 4.8vw, 68px)));
	margin-inline: auto;
	padding: clamp(16px, 2vw, 24px) clamp(20px, 2.6vw, 30px) clamp(12px, 1.5vw, 18px);
	padding-bottom: max(clamp(12px, 1.5vw, 18px), env(safe-area-inset-bottom));
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--ibenlo-consent-accent) 8%, transparent), transparent 44%),
		var(--ibenlo-consent-bg);
	border: 1px solid var(--ibenlo-consent-edge);
	border-bottom: 0;
	border-radius: var(--ibenlo-card-radius, 8px) var(--ibenlo-card-radius, 8px) 0 0;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.ibenlo-consent-banner__copy {
	grid-area: copy;
	min-width: 0;
}

.ibenlo-consent-eyebrow {
	margin: 0 0 8px;
	color: var(--ibenlo-consent-accent);
	font-family: var(--ibenlo-font-display, inherit);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.ibenlo-consent-banner h2,
.ibenlo-consent-modal h2,
.ibenlo-consent-modal h3 {
	margin: 0;
	color: var(--ibenlo-consent-ink);
	font-family: var(--ibenlo-font-display, inherit);
	letter-spacing: 0;
}

.ibenlo-consent-modal h2 {
	font-size: clamp(1.38rem, 2vw, 2rem);
	line-height: 1.08;
}

.ibenlo-consent-banner h2.ibenlo-consent-banner__heading {
	margin: 0 0 7px;
	color: var(--ibenlo-consent-subtle);
	font-size: var(--ibenlo-type-eyebrow, 1.4375rem);
	font-weight: var(--ibenlo-type-eyebrow-weight, 500);
	line-height: var(--ibenlo-type-eyebrow-line-height, 1);
	letter-spacing: var(--ibenlo-type-eyebrow-letter-spacing, 0.24em);
}

.ibenlo-consent-banner__copy > p:last-child,
.ibenlo-consent-choice p {
	margin: 0;
	color: var(--ibenlo-consent-subtle);
	font-size: var(--ibenlo-type-disclosure, 0.96rem);
	line-height: var(--ibenlo-type-disclosure-line-height, 1.5);
}

.ibenlo-consent-banner a,
.ibenlo-cookie-preferences-link {
	color: var(--ibenlo-consent-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ibenlo-consent-banner a:hover,
.ibenlo-consent-banner a:focus-visible,
.ibenlo-cookie-preferences-link:hover,
.ibenlo-cookie-preferences-link:focus-visible {
	color: var(--ibenlo-consent-accent-secondary);
}

.ibenlo-consent-banner__actions,
.ibenlo-consent-modal__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
}

.ibenlo-consent-banner__actions {
	grid-area: actions;
}

.ibenlo-consent-button,
.ibenlo-consent-text-button,
.ibenlo-consent-icon-button,
.ibenlo-cookie-preferences-link {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	letter-spacing: 0;
	cursor: pointer;
}

.ibenlo-consent-button {
	min-height: var(--ibenlo-button-min-height, 46px);
	padding: 10px 15px;
	border: 1px solid var(--ibenlo-consent-accent-secondary);
	border-radius: var(--ibenlo-button-radius, 6px);
	font-family: var(--ibenlo-font-display, inherit);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ibenlo-consent-button--primary {
	color: var(--ibenlo-consent-on-accent);
	background: var(--ibenlo-consent-accent-secondary);
}

.ibenlo-consent-button--quiet {
	color: var(--ibenlo-consent-accent-secondary);
	background: transparent;
}

.ibenlo-consent-button:hover,
.ibenlo-consent-button:focus-visible {
	transform: translateY(-1px);
}

.ibenlo-consent-button--quiet:hover,
.ibenlo-consent-button--quiet:focus-visible {
	color: var(--ibenlo-consent-on-accent);
	background: var(--ibenlo-consent-accent-secondary);
}

.ibenlo-consent-text-button {
	justify-self: center;
	padding: 5px 8px;
	color: var(--ibenlo-consent-accent);
	background: transparent;
	border: 0;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ibenlo-consent-banner__manage {
	grid-area: manage;
}

.ibenlo-consent-button:focus-visible,
.ibenlo-consent-text-button:focus-visible,
.ibenlo-consent-icon-button:focus-visible,
.ibenlo-cookie-preferences-link:focus-visible,
.ibenlo-consent-switch input:focus-visible + span {
	outline: 3px solid var(--theme-focus-ring, color-mix(in srgb, var(--ibenlo-consent-accent) 68%, transparent));
	outline-offset: 3px;
}

.ibenlo-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483100;
	display: grid;
	place-items: center;
	padding: clamp(12px, 3vw, 36px);
}

.ibenlo-consent-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 14, 0.76);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.ibenlo-consent-modal__panel {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0;
	width: min(720px, 100%);
	max-height: min(760px, calc(100dvh - 24px));
	overflow: auto;
	padding: clamp(22px, 4vw, 38px);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ibenlo-consent-accent) 7%, transparent), transparent 38%),
		var(--ibenlo-consent-bg);
	border: 1px solid var(--ibenlo-consent-edge);
	border-radius: var(--ibenlo-card-radius, 8px);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.ibenlo-consent-modal__panel:focus {
	outline: none;
}

.ibenlo-consent-modal__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	gap: 20px;
	align-items: start;
	padding-bottom: 22px;
}

.ibenlo-consent-icon-button {
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--ibenlo-consent-ink);
	background: transparent;
	border: 0;
}

.ibenlo-consent-icon-button span::before,
.ibenlo-consent-icon-button span::after {
	position: absolute;
	top: 20px;
	left: 7px;
	width: 28px;
	height: 2px;
	background: currentColor;
	content: '';
}

.ibenlo-consent-icon-button span::before {
	transform: rotate(45deg);
}

.ibenlo-consent-icon-button span::after {
	transform: rotate(-45deg);
}

.ibenlo-consent-choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid var(--ibenlo-consent-edge);
}

label.ibenlo-consent-choice {
	cursor: pointer;
}

.ibenlo-consent-choice h3 {
	font-size: 1rem;
	line-height: 1.25;
}

.ibenlo-consent-choice p {
	font-size: 0.9rem;
}

.ibenlo-consent-required {
	color: var(--ibenlo-consent-accent-secondary);
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	white-space: nowrap;
}

.ibenlo-consent-switch {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	width: 52px;
	height: 30px;
}

.ibenlo-consent-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ibenlo-consent-switch > span {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--ibenlo-consent-subtle) 20%, transparent);
	border: 1px solid var(--ibenlo-consent-edge);
	border-radius: 999px;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.ibenlo-consent-switch > span::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	background: var(--ibenlo-consent-ink);
	border-radius: 50%;
	content: '';
	transition: transform 160ms ease, background-color 160ms ease;
}

.ibenlo-consent-switch input:checked + span {
	background: var(--ibenlo-consent-accent-secondary);
	border-color: var(--ibenlo-consent-accent-secondary);
}

.ibenlo-consent-switch input:checked + span::after {
	background: var(--ibenlo-consent-on-accent);
	transform: translateX(22px);
}

.ibenlo-consent-modal__actions {
	padding-top: 22px;
	border-top: 1px solid var(--ibenlo-consent-edge);
}

body.ibenlo-consent-modal-open {
	overflow: hidden;
}

.ibenlo-cookie-preferences-link {
	padding: 0;
	background: transparent;
	border: 0;
	font-size: inherit;
}

@media (max-width: 760px) {
	.ibenlo-consent-banner {
		grid-template-areas:
			"copy"
			"actions"
			"manage";
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		max-height: 100dvh;
		overflow: auto;
		padding: 18px 20px 12px;
		padding-bottom: max(12px, env(safe-area-inset-bottom));
	}

	.ibenlo-consent-modal__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.ibenlo-consent-choice {
		gap: 16px;
	}
}

@media (max-width: 460px) {
	.ibenlo-consent-modal h2 {
		font-size: 1.34rem;
	}

	.ibenlo-consent-banner__copy > p:last-child {
		font-size: var(--ibenlo-type-disclosure-mobile, 0.9rem);
	}

	.ibenlo-consent-banner__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.ibenlo-consent-modal {
		align-items: end;
		padding: 8px;
	}

	.ibenlo-consent-modal__panel {
		max-height: calc(100dvh - 16px);
		padding: 20px;
	}

	.ibenlo-consent-choice {
		padding: 17px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ibenlo-consent-banner *,
	.ibenlo-consent-modal * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
