.nsc-root {
	--nsc-bg: rgba(0, 0, 0, 0.9);
	--nsc-text: #FFFFFF;
	--nsc-accent: #B2A89D;
	--nsc-accent-text: #FFFFFF;
	--nsc-outline-text: transparent;
	--nsc-active: #0a7a0a;
	--nsc-muted: #6b6159;
	--nsc-border: #d9d6c8;
	font-family: Helvetica, Calibri, Arial, sans-serif;
	color: var(--nsc-text);
}

.nsc-root *,
.nsc-root *::before,
.nsc-root *::after {
	box-sizing: border-box;
}

.nsc-banner[hidden],
.nsc-intro[hidden] {
	display: none;
}

.nsc-title {
	margin: 0 0 0.75rem;
	font-family: Helvetica, Calibri, Arial, sans-serif;
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nsc-text);
}

.nsc-text,
.nsc-modal p {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--nsc-text);
}

.nsc-root a {
	color: var(--nsc-text);
	text-decoration: underline;
}

.nsc-btn {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.7rem 0.75rem;
	border: 2px solid var(--nsc-accent);
	border-radius: 4px;
	background: var(--nsc-accent);
	color: var(--nsc-accent-text);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.nsc-btn:hover {
	background: #D8CEC3;
	border-color: #D8CEC3;
}

.nsc-btn-outline {
	background: var(--nsc-accent);
	color: var(--nsc-text);
}

.nsc-btn-outline:hover {
	background: #D8CEC3;
	border-color: #D8CEC3;
}

.nsc-btn:focus-visible,
.nsc-close:focus-visible,
.nsc-link:focus-visible,
.nsc-category summary:focus-visible,
.nsc-switch input:focus-visible+.nsc-switch-track {
	outline: 3px solid #D8CEC3;
	outline-offset: 2px;
}

.nsc-banner {
	position: fixed;
	left: 1.5rem;
	bottom: 1.5rem;
	z-index: 1000001;
	width: calc(100% - 3rem);
	max-width: 36rem;
	padding: 1.5rem;
	border-radius: 6px;
	background: var(--nsc-bg);
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.9);
}

.nsc-actions {
	display: flex;
	gap: 0.75rem;
}

.nsc-modal {
	width: calc(100% - 2rem);
	max-width: 44rem;
	max-height: calc(100vh - 2rem);
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--nsc-bg);
	color: var(--nsc-text);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.nsc-modal[open] {
	display: flex;
	flex-direction: column;
}

.nsc-modal::backdrop {
	background: rgba(0, 0, 0, 0.9);
}

.nsc-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 1.5rem 0;
}

.nsc-modal-head .nsc-title {
	margin-bottom: 0;
}

.nsc-close {
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--nsc-muted);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.nsc-modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 1rem 1.5rem;
}

.nsc-link {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--nsc-text);
	font: inherit;
	font-size: 0.9375rem;
	text-decoration: underline;
	cursor: pointer;
}

.nsc-category {
	border-top: 1px solid var(--nsc-border);
	padding: 0.75rem 0;
}

.nsc-category:last-child {
	border-bottom: 1px solid var(--nsc-border);
}

.nsc-category summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
}

.nsc-category summary::-webkit-details-marker {
	display: none;
}

.nsc-category summary::before {
	content: "";
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.25rem;
	border-right: 2px solid var(--nsc-text);
	border-bottom: 2px solid var(--nsc-text);
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
}

.nsc-category[open] summary::before {
	transform: rotate(45deg);
}

.nsc-category-title {
	flex: 1 1 auto;
	font-family: Helvetica, Calibri, Arial, sans-serif;
	font-size: 1.0625rem;
}

.nsc-category>p {
	margin: 0.75rem 0 0;
	color: var(--nsc-muted);
}

.nsc-always {
	color: var(--nsc-active);
	font-size: 0.9375rem;
	font-weight: 700;
}

.nsc-switch {
	position: relative;
	display: inline-block;
	flex: none;
	cursor: pointer;
}

.nsc-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.nsc-switch-track {
	display: block;
	width: 2.75rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #9a928a;
	transition: background 0.15s ease;
}

.nsc-switch-track::after {
	content: "";
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.1875rem;
	border-radius: 50%;
	background: #FFFFFF;
	transition: transform 0.15s ease;
}

.nsc-switch input:checked+.nsc-switch-track {
	background: var(--nsc-active);
}

.nsc-switch input:checked+.nsc-switch-track::after {
	transform: translateX(1.25rem);
}

.nsc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.nsc-modal-foot {
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.5rem 1.5rem;
	border-top: 1px solid var(--nsc-border);
}

@media (max-width: 480px) {
	.nsc-banner {
		left: 0.75rem;
		bottom: 0.75rem;
		width: calc(100% - 1.5rem);
		padding: 1.25rem;
	}

	.nsc-actions,
	.nsc-modal-foot {
		flex-direction: column;
	}

	.nsc-btn {
		flex: none;
	}

	.nsc-modal-head,
	.nsc-modal-body,
	.nsc-modal-foot {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nsc-category summary::before,
	.nsc-switch-track,
	.nsc-switch-track::after {
		transition: none;
	}
}