

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

.scex-consent {
	margin: 0 0 1em;
}

.scex-consent__doc {
	max-height: 220px;
	margin: 0 0 0.75em;
	padding: 12px 14px;
	overflow: auto;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.02);
	font-size: 0.875em;
	line-height: 1.7;
}

.scex-consent__doc:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.scex-consent__title {
	margin: 0 0 0.5em;
	font-size: 1.0625em;
	font-weight: 600;
}

.scex-consent__body > :first-child {
	margin-top: 0;
}

.scex-consent__body > :last-child {
	margin-bottom: 0;
}





.scex-consent .scex-consent__doc .scex-consent__body :is(h1, h2, h3, h4, h5, h6),
.scex-doc-dialog .scex-doc-dialog__body :is(h1, h2, h3, h4, h5, h6),
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions :is(h1, h2, h3, h4, h5, h6) {
	margin: 1.25em 0 0.4em;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: normal;
}

.scex-consent__body :is(h1, h2, h3, h4, h5, h6) .ln,
.woocommerce-terms-and-conditions :is(h1, h2, h3, h4, h5, h6) .ln {
	margin-right: 0.6em;
	color: var(--seal, inherit);
	font-weight: 400;
}


.scex-consent .scex-consent__doc .scex-consent__body > :first-child,
.scex-consent .scex-consent__doc .scex-consent__body > :first-child > :first-child,
.scex-doc-dialog .scex-doc-dialog__body > :first-child,
.scex-doc-dialog .scex-doc-dialog__body > :first-child > :first-child,
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions > :first-child,
.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions > :first-child > :first-child {
	margin-top: 0;
}

.scex-consent__body :is(p, li, dd),
.woocommerce-terms-and-conditions :is(p, li, dd) {
	text-wrap: pretty;
}

.scex-consent__note {
	margin: 0 0 0.75em;
	font-size: 0.9em;
	color: #b32d2e;
}


.scex-consent__agree a,
.woocommerce-terms-and-conditions-checkbox-text a {
	white-space: nowrap;
}



.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
.scex-consent__own .woocommerce-form__label-for-checkbox,
.scex-consent__agree .woocommerce-form__label-for-checkbox {
	position: relative;
	display: block;
	padding-left: calc(16px + 0.85em);
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox > input[type="checkbox"],
.scex-consent__own .woocommerce-form__label-for-checkbox > input[type="checkbox"],
.scex-consent__agree .woocommerce-form__label-for-checkbox > input[type="checkbox"] {
	position: absolute;
	top: 0.25em;
	top: calc((1lh - 16px) / 2);
	left: 0;
	margin: 0;
}



.scex-consent--docs {
	margin: 0;
}

html.scex-doc-dialog-open {
	overflow: hidden;
}

.scex-doc-dialog {
	width: min(720px, calc(100vw - 32px));
	max-width: none;
	max-height: 86vh;
	max-height: 86dvh;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #222;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.scex-doc-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.scex-doc-dialog__inner {
	display: flex;
	flex-direction: column;
	max-height: inherit;
}

.scex-doc-dialog__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.scex-doc-dialog__title {
	flex: 1;
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
}

.scex-doc-dialog__x {
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.scex-doc-dialog__x:hover {
	background: rgba(0, 0, 0, 0.06);
}

.scex-doc-dialog__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 16px 20px;
	overflow: auto;
	overscroll-behavior: contain;
	font-size: 0.9375rem;
	line-height: 1.8;
}

.scex-doc-dialog__body:focus {
	outline: none;
}

.scex-doc-dialog__foot {
	padding: 12px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	text-align: right;
}



.scex-consent--nda {
	margin: 1em 0 0.5em;
}

.scex-consent--nda .scex-consent__agree {
	margin: 0;
}



.scex-consent--register .scex-consent__agree {
	margin: 0;
}

.scex-consent--register .scex-consent__agree a {
	text-decoration: underline;
}
