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

.ipc-consent {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 20px;
	background: rgba(24, 24, 27, 0.5);
}

.ipc-consent__inner {
	width: min(720px, 100%);
	padding: 22px;
	border: 1px solid #d7d7db;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
	color: #202124;
}

.ipc-consent__inner h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ipc-consent__inner p {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.55;
}

.ipc-consent__learn {
	margin-top: 8px !important;
}

.ipc-consent__learn a {
	color: #315c4d;
	text-decoration: underline;
}

.ipc-consent__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}

.ipc-consent__button,
.ipc-consent-manage {
	min-height: 44px;
	border: 2px solid #315c4d;
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ipc-consent__button--primary {
	background: #315c4d;
	color: #fff;
}

.ipc-consent__button--secondary {
	background: #fff;
	color: #315c4d;
}

.ipc-consent__button:focus-visible,
.ipc-consent-manage:focus-visible {
	outline: 3px solid #f3be3d;
	outline-offset: 2px;
}

.ipc-consent-manage {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 2147482000;
	min-height: 38px;
	padding: 7px 12px;
	border-width: 1px;
	background: #fff;
	color: #315c4d;
	font-size: 0.82rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

@media (max-width: 600px) {
	.ipc-consent {
		padding: 12px;
	}

	.ipc-consent__inner {
		padding: 18px;
	}

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