.lexnexa-consent[hidden],
.lexnexa-consent [hidden] {
	display: none !important;
}

/* Hide the banner before first paint for visitors with a complete decision. */
body.lexnexa-consent-decided .lexnexa-consent__banner {
	display: none;
}

.lexnexa-consent,
.lexnexa-consent *,
.lexnexa-consent *::before,
.lexnexa-consent *::after {
	box-sizing: border-box;
}

.lexnexa-consent {
	--lexnexa-consent-bg: #161616;
	--lexnexa-consent-panel: #ffffff;
	--lexnexa-consent-text: #1b1b1b;
	--lexnexa-consent-muted: #555555;
	--lexnexa-consent-light: #ffffff;
	--lexnexa-consent-accent: #b99a55;
	--lexnexa-consent-border: #d8d8d8;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	position: relative;
	z-index: 2147483000;
}

.lexnexa-consent__banner {
	background: var(--lexnexa-consent-panel);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 5px;
	bottom: 28px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
	color: var(--lexnexa-consent-text);
	left: 32px;
	max-width: calc(100vw - 32px);
	padding: 24px;
	position: fixed;
	width: 435px;
}

.lexnexa-consent__copy {
	max-width: none;
}

.lexnexa-consent__copy h2,
.lexnexa-consent__dialog h2 {
	font-family: inherit;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 8px;
	padding: 0;
	text-transform: none;
}

.lexnexa-consent__dialog h2 {
	padding-right: 52px;
}

.lexnexa-consent__copy p,
.lexnexa-consent__dialog > p,
.lexnexa-consent__category p {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
}

.lexnexa-consent__copy a {
	color: #735b23;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.lexnexa-consent__actions,
.lexnexa-consent__dialog-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lexnexa-consent__actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 0.8fr 1.1fr 1.1fr;
	margin-top: 16px;
}

.lexnexa-consent__button,
.lexnexa-consent__link-button,
.lexnexa-consent__reopen,
.lexnexa-consent__close {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 2px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
}

.lexnexa-consent__button {
	background: transparent;
	border: 1px solid var(--lexnexa-consent-accent);
	color: inherit;
	font-size: 0.86rem;
	min-height: 44px;
	min-width: 0;
	padding: 9px 10px;
}

.lexnexa-consent__button:hover {
	background: #f4f0e7;
}

.lexnexa-consent__button--primary {
	background: #8b6e2f;
	border-color: #8b6e2f;
	color: #ffffff;
}

.lexnexa-consent__button--primary:hover {
	background: #745b27;
	border-color: #745b27;
}

.lexnexa-consent__link-button {
	background: transparent;
	border: 0;
	color: inherit;
	min-height: 44px;
	padding: 10px 8px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lexnexa-consent__button:disabled,
.lexnexa-consent__link-button:disabled,
.lexnexa-consent__reopen:disabled,
.lexnexa-consent__close:disabled {
	cursor: wait;
	opacity: 0.65;
}

.lexnexa-consent button:focus-visible,
.lexnexa-consent a:focus-visible,
.lexnexa-consent input:focus-visible,
.lexnexa-consent__dialog:focus-visible {
	outline: 3px solid #ffd36b;
	outline-offset: 3px;
}

.lexnexa-consent__modal {
	align-items: center;
	display: flex;
	justify-content: center;
	inset: 0;
	overflow: auto;
	padding: 24px;
	position: fixed;
}

.lexnexa-consent__backdrop {
	background: rgba(0, 0, 0, 0.68);
	inset: 0;
	position: fixed;
}

.lexnexa-consent__dialog {
	background: var(--lexnexa-consent-panel);
	border-radius: 6px;
	box-shadow: 0 18px 64px rgba(0, 0, 0, 0.35);
	color: var(--lexnexa-consent-text);
	margin: auto;
	max-height: calc(100vh - 48px);
	max-width: 835px;
	overflow: auto;
	padding: 30px;
	position: relative;
	width: 100%;
}

.lexnexa-consent__dialog > p {
	color: var(--lexnexa-consent-muted);
	margin-bottom: 22px;
	padding-right: 32px;
}

.lexnexa-consent__close {
	background: transparent;
	border: 0;
	color: var(--lexnexa-consent-text);
	font-size: 30px;
	height: 44px;
	position: absolute;
	right: 14px;
	top: 12px;
	width: 44px;
	z-index: 1;
}

.lexnexa-consent__category {
	border: 1px solid var(--lexnexa-consent-border);
	margin: 0 0 12px;
	padding: 15px 16px;
}

.lexnexa-consent__category legend {
	align-items: center;
	display: flex;
	font-size: 1.05rem;
	font-weight: 700;
	justify-content: space-between;
	margin: 0;
	padding: 0 2px;
	width: 100%;
}

.lexnexa-consent__always-active {
	color: #168000;
	font-size: 0.86rem;
	font-weight: 700;
	margin-left: auto;
}

.lexnexa-consent__always-active + input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px !important;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px !important;
}

.lexnexa-consent__category label {
	cursor: pointer;
}

.lexnexa-consent__category input[type="checkbox"] {
	accent-color: #725820;
	flex: 0 0 auto;
	height: 24px;
	margin: 0 0 0 18px;
	width: 24px;
}

.lexnexa-consent__category p {
	color: var(--lexnexa-consent-muted);
	font-size: 0.94rem;
	margin-top: 6px;
	max-width: 560px;
}

.lexnexa-consent__dialog-actions {
	color: var(--lexnexa-consent-text);
	margin-top: 22px;
}

.lexnexa-consent__dialog-actions .lexnexa-consent__button {
	flex: 1 1 180px;
}

.lexnexa-consent__dialog-actions .lexnexa-consent__button:hover {
	background: #f1f1f1;
}

.lexnexa-consent__dialog-actions .lexnexa-consent__button--primary:hover {
	background: #967a3d;
}

.lexnexa-consent__policy {
	margin: 18px 0 0 !important;
}

.lexnexa-consent__policy a {
	color: #4d3b16;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lexnexa-consent__reopen {
	align-items: center;
	background: var(--lexnexa-consent-accent);
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	bottom: 14px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
	color: var(--lexnexa-consent-light);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	left: 14px;
	min-height: 44px;
	min-width: 44px;
	padding: 7px;
	position: fixed;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 44px;
}

.lexnexa-consent__reopen:hover {
	background: #9f8243;
	box-shadow: 0 5px 17px rgba(0, 0, 0, 0.34);
	transform: translateY(-1px);
}

.lexnexa-consent__reopen:active {
	transform: translateY(0);
}

.lexnexa-consent__reopen-icon {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

/* Keep the live status available to screen readers without reserving space. */
[data-lexnexa-consent-status] {
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

html.lexnexa-consent-is-open {
	overflow: hidden;
}

@media (max-width: 820px) {
	.lexnexa-consent__banner {
		bottom: 16px;
		left: 16px;
	}
}

@media (max-width: 520px) {
	.lexnexa-consent__banner {
		left: 12px;
		max-width: calc(100vw - 24px);
		padding: 19px;
		width: auto;
	}

	.lexnexa-consent__actions {
		grid-template-columns: 1fr;
	}

	.lexnexa-consent__modal {
		padding: 10px;
	}

	.lexnexa-consent__dialog {
		margin: 8px auto;
		padding: 24px 18px;
	}

	.lexnexa-consent__dialog > p {
		padding-right: 28px;
	}

	.lexnexa-consent__dialog-actions {
		flex-direction: column;
	}

	.lexnexa-consent__dialog-actions .lexnexa-consent__button {
		flex-basis: auto;
		width: 100%;
	}

	.lexnexa-consent__reopen {
		bottom: 8px;
		left: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lexnexa-consent *,
	.lexnexa-consent *::before,
	.lexnexa-consent *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
