:root {
	--spcc-ink: #171717;
	--spcc-muted: #5b6168;
	--spcc-surface: #ffffff;
	--spcc-soft: #f4f6f8;
	--spcc-border: #cbd1d7;
	--spcc-choice: #123d31;
	--spcc-choice-hover: #0c2d24;
	--spcc-focus: #f0b429;
	--spcc-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.spcc-root,
.spcc-root *,
.spcc-reopen,
.spcc-reopen * {
	box-sizing: border-box;
}

.spcc-root[hidden],
.spcc-root [hidden],
.spcc-reopen[hidden] {
	display: none !important;
}

.spcc-banner {
	position: fixed;
	z-index: 2147483645;
	right: 20px;
	bottom: 20px;
	left: 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
	gap: 26px;
	max-width: 1160px;
	max-height: calc(100vh - 40px);
	margin: 0 auto;
	padding: 24px;
	overflow: auto;
	color: var(--spcc-ink);
	background: var(--spcc-surface);
	border: 1px solid var(--spcc-border);
	border-radius: 16px;
	box-shadow: var(--spcc-shadow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

.spcc-banner h2,
.spcc-preferences h2,
.spcc-preferences h3 {
	margin: 0;
	color: var(--spcc-ink);
	font-family: inherit;
	line-height: 1.2;
}

.spcc-banner h2,
.spcc-preferences h2 {
	font-size: clamp(22px, 3vw, 30px);
}

.spcc-banner p,
.spcc-preferences p {
	margin: 10px 0 0;
	color: var(--spcc-muted);
}

.spcc-banner strong,
.spcc-preferences strong {
	color: var(--spcc-ink);
}

.spcc-eyebrow {
	margin: 0 0 6px !important;
	color: var(--spcc-choice) !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.spcc-policy-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
}

.spcc-policy-links a,
.spcc-preferences a {
	color: #0c5f9c;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.spcc-actions {
	display: flex;
	gap: 10px;
}

.spcc-actions--first {
	flex-direction: column;
	justify-content: center;
}

.spcc-button,
.spcc-back,
.spcc-reopen {
	min-height: 44px;
	padding: 11px 16px;
	color: var(--spcc-ink);
	background: var(--spcc-surface);
	border: 2px solid var(--spcc-choice);
	border-radius: 8px;
	font: 700 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: center;
	cursor: pointer;
}

.spcc-button--choice,
.spcc-button--primary {
	color: #fff;
	background: var(--spcc-choice);
}

.spcc-button--choice:hover,
.spcc-button--choice:focus-visible,
.spcc-button--primary:hover,
.spcc-button--primary:focus-visible {
	background: var(--spcc-choice-hover);
}

.spcc-button--secondary:hover,
.spcc-button--secondary:focus-visible,
.spcc-back:hover,
.spcc-back:focus-visible {
	background: var(--spcc-soft);
}

.spcc-button:focus-visible,
.spcc-back:focus-visible,
.spcc-reopen:focus-visible,
.spcc-switch input:focus-visible + span,
.spcc-preferences summary:focus-visible {
	outline: 3px solid var(--spcc-focus);
	outline-offset: 3px;
}

.spcc-preferences {
	position: fixed;
	z-index: 2147483646;
	top: 50%;
	left: 50%;
	width: min(760px, calc(100vw - 32px));
	max-height: min(800px, calc(100vh - 32px));
	padding: 24px;
	overflow: auto;
	transform: translate(-50%, -50%);
	color: var(--spcc-ink);
	background: var(--spcc-surface);
	border: 1px solid var(--spcc-border);
	border-radius: 16px;
	box-shadow: var(--spcc-shadow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.spcc-dialog-open .spcc-root::before {
	content: "";
	position: fixed;
	z-index: 2147483645;
	inset: 0;
	background: rgba(9, 17, 15, 0.55);
}

.spcc-root .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.spcc-dialog-open {
	overflow: hidden;
}

.spcc-preferences__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.spcc-back {
	min-height: 40px;
	padding: 8px 12px;
}

.spcc-category-list {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.spcc-category {
	overflow: hidden;
	background: var(--spcc-soft);
	border: 1px solid var(--spcc-border);
	border-radius: 10px;
}

.spcc-category__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 16px;
}

.spcc-category h3 {
	font-size: 18px;
}

.spcc-category__summary p {
	margin-top: 5px;
	font-size: 14px;
}

.spcc-category details {
	border-top: 1px solid var(--spcc-border);
}

.spcc-category summary {
	padding: 12px 16px;
	font-weight: 700;
	cursor: pointer;
}

.spcc-category__details {
	padding: 0 16px 16px;
	background: var(--spcc-surface);
}

.spcc-switch {
	position: relative;
	display: inline-flex;
}

.spcc-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.spcc-switch span {
	position: relative;
	display: block;
	width: 52px;
	height: 30px;
	background: #747b82;
	border: 2px solid #747b82;
	border-radius: 999px;
	transition: background 0.16s ease;
}

.spcc-switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.16s ease;
}

.spcc-switch input:checked + span {
	background: var(--spcc-choice);
	border-color: var(--spcc-choice);
}

.spcc-switch input:checked + span::after {
	transform: translateX(22px);
}

.spcc-switch input:disabled + span {
	opacity: 0.72;
	cursor: not-allowed;
}

.spcc-table-scroll {
	width: 100%;
	margin-top: 12px;
	overflow-x: auto;
}

.spcc-cookie-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-size: 13px;
}

.spcc-cookie-table th,
.spcc-cookie-table td {
	padding: 9px;
	vertical-align: top;
	border: 1px solid var(--spcc-border);
	text-align: left;
}

.spcc-cookie-table th {
	color: var(--spcc-ink);
	background: #e9edf0;
}

.spcc-cookie-table code {
	padding: 1px 4px;
	color: #253135;
	background: #eef1f2;
}

.spcc-empty {
	font-style: italic;
}

.spcc-withdrawal {
	margin-top: 18px;
	padding: 14px;
	background: #edf6f2;
	border-left: 4px solid var(--spcc-choice);
}

.spcc-withdrawal p {
	margin: 0;
	font-size: 14px;
}

.spcc-actions--preferences {
	flex-wrap: wrap;
	margin-top: 20px;
}

.spcc-actions--preferences .spcc-button {
	flex: 1 1 160px;
}

.spcc-reopen {
	position: fixed;
	z-index: 2147483644;
	bottom: 14px;
	left: 14px;
	min-height: 38px;
	padding: 8px 12px;
	color: #fff;
	background: var(--spcc-choice);
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
	font-size: 13px;
}

.spcc-noscript {
	position: fixed;
	z-index: 2147483647;
	right: 12px;
	bottom: 12px;
	left: 12px;
	padding: 12px;
	color: #171717;
	background: #fff4cc;
	border: 2px solid #735c00;
	font: 600 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.spcc-embed__placeholder {
	display: grid;
	place-items: center;
	min-height: 240px;
	padding: 30px;
	background: var(--spcc-soft);
	border: 1px solid var(--spcc-border);
	text-align: center;
}

.spcc-embed iframe {
	display: block;
	border: 0;
}

@media (max-width: 720px) {
	.spcc-banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		grid-template-columns: 1fr;
		gap: 18px;
		max-height: calc(100vh - 20px);
		padding: 18px;
	}

	.spcc-actions--first {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.spcc-actions--first .spcc-button--secondary {
		grid-column: 1 / -1;
	}

	.spcc-preferences {
		top: 8px;
		right: 8px;
		bottom: 8px;
		left: 8px;
		width: auto;
		max-height: none;
		padding: 18px;
		transform: none;
	}
}

@media (max-width: 430px) {
	.spcc-actions--first {
		grid-template-columns: 1fr;
	}

	.spcc-actions--first .spcc-button--secondary {
		grid-column: auto;
	}

	.spcc-preferences__header {
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spcc-switch span,
	.spcc-switch span::after {
		transition: none;
	}
}
