.artecs-consent[hidden],
.artecs-consent-settings[hidden],
.artecs-consent__error[hidden] {
	display: none !important;
}

.artecs-consent,
.artecs-consent * {
	box-sizing: border-box;
}

.artecs-consent {
	position: fixed;
	z-index: 999999;
	left: max(1rem, env(safe-area-inset-left));
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 70rem;
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 1rem 1.1rem;
	overflow: auto;
	border: 1px solid #111;
	border-radius: .4rem;
	background: #fff;
	color: #111;
	box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .16);
	font-size: .95rem;
	line-height: 1.45;
}

.artecs-consent__body {
	max-width: 48rem;
}

.artecs-consent__title {
	display: block;
	margin-bottom: .25rem;
}

.artecs-consent__text,
.artecs-consent__error {
	margin: 0;
}

.artecs-consent__error {
	margin-top: .45rem;
	color: #a00;
}

.artecs-consent__text a {
	color: inherit;
	text-decoration: underline;
}

.artecs-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
}

.artecs-consent__button,
.artecs-consent-settings {
	min-height: 2.75rem;
	padding: .55rem .85rem;
	border: 1px solid #111;
	border-radius: .25rem;
	background: #fff;
	color: #111;
	font: inherit;
	cursor: pointer;
}

.artecs-consent__button:disabled {
	cursor: wait;
	opacity: .65;
}

.artecs-consent__button--primary,
.artecs-consent__button:hover,
.artecs-consent-settings:hover {
	background: #111;
	color: #fff;
}

.artecs-consent__button:focus-visible,
.artecs-consent-settings:focus-visible,
.artecs-consent__text a:focus-visible {
	outline: 3px solid #1a73e8;
	outline-offset: 2px;
}

.artecs-consent-settings {
	position: fixed;
	z-index: 999998;
	left: max(.75rem, env(safe-area-inset-left));
	bottom: max(.75rem, env(safe-area-inset-bottom));
	min-height: 2.25rem;
	padding: .3rem .55rem;
	font-size: .78rem;
}

@media (max-width: 720px) {
	.artecs-consent {
		align-items: stretch;
		flex-direction: column;
	}

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

	.artecs-consent__button {
		width: 100%;
	}
}
