.oh-consent [hidden] { display: none !important; }
.oh-consent {
	box-sizing: border-box;
	width: min(100% - 2rem, 72rem);
	margin: 1.25rem auto 0;
	color: #10263f;
	font: inherit;
}

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

.oh-consent__notice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 1rem;
	border: 1px solid #c8d6e4;
	border-radius: 0.75rem;
	background: #f4f8fc;
}

.oh-consent__notice p {
	flex: 1 1 20rem;
	margin: 0;
	line-height: 1.5;
}

.oh-consent button {
	min-height: 2.75rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid #34536f;
	border-radius: 0.45rem;
	background: #fff;
	color: inherit;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.oh-consent button:focus-visible,
.oh-consent a:focus-visible,
.oh-consent input:focus-visible {
	outline: 3px solid #1d6feb;
	outline-offset: 3px;
}

.oh-consent [data-oh-accept],
.oh-consent [data-oh-save] {
	border-color: #174a77;
	background: #174a77;
	color: #fff;
}

.oh-consent dialog {
	width: min(34rem, calc(100vw - 2rem));
	max-height: min(80vh, 42rem);
	padding: 1.5rem;
	border: 1px solid #b6c5d4;
	border-radius: 0.8rem;
	color: #10263f;
	background: #fff;
	box-shadow: 0 1.25rem 3rem rgb(10 31 56 / 24%);
}

.oh-consent dialog::backdrop {
	background: rgb(10 31 56 / 42%);
}

.oh-consent dialog h2 {
	margin-block: 0 0.75rem;
	font-size: 1.35rem;
}

.oh-consent dialog form > label {
	display: block;
	margin-block: 0.8rem;
}

.oh-consent__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

@media (max-width: 38rem) {
	.oh-consent__notice {
		align-items: stretch;
	}

	.oh-consent__notice button {
		flex: 1 1 8rem;
	}
}