.nx-legal {
	--nx-radius: 12px;
	max-width: 52rem;
	margin-inline: auto;
	color: var(--ns-text);
}

.nx-legal h2 {
	margin-block: 2.25rem 0.75rem;
	font-size: 1.375rem;
	line-height: 1.25;
	color: var(--ns-text);
}

.nx-legal a {
	color: inherit;
	text-decoration: underline;
}

.nx-legal__updated {
	color: var(--ns-muted);
	font-size: 0.875rem;
}

.nx-legal table {
	width: 100%;
	font-size: 0.9375rem;
}

.nx-legal table th,
.nx-legal table td {
	min-width: 7.5rem;
}

.nx-legal code {
	overflow-wrap: normal;
	word-break: normal;
	white-space: nowrap;
}

.nx-legal th,
.nx-legal td {
	padding: 0.6rem 0.75rem;
	border: 0;
	border-bottom: 1px solid var(--ns-border);
	background: transparent;
}

.nx-legal__company {
	margin-block: 1rem;
	padding: 1rem 1.25rem 1rem 2.25rem;
	list-style: disc;
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: 12px;
}

.nx-legal-links a {
	color: inherit;
}

.nx-legal-consent label {
	align-items: flex-start;
}

.nx-legal-cookie {
	--nx-radius: 14px;
	inset-inline: 1rem;
	inset-block-end: 1rem;
	z-index: 1000;
	align-items: center;
	gap: 1rem;
	padding: 0.875rem 1rem 0.875rem 1.25rem;
	background: var(--ns-bg);
	color: var(--ns-text);
	border: 1px solid var(--ns-border);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgb(0 0 0 / 0.16);
	font-size: 0.9375rem;
}

.nx-legal-cookie__text {
	flex: 1;
}

.nx-legal-cookie__ok {
	min-width: 4.5rem;
	min-height: 0;
	padding: 0.55rem 1.1rem;
	background: var(--ns-text);
	color: var(--ns-bg);
	border: 1px solid var(--ns-text);
	border-radius: 999px;
	font-weight: 600;
}

@media (max-width: 30rem) {
	.nx-legal-cookie__ok {
		width: auto;
	}
}
