/**
 * Light / dark theme tokens + animated toggle + dashboard-wide compatibility.
 */

html[data-sfp-theme='dark'] {
	color-scheme: dark;
	--sfp-bg: #0c1220;
	--sfp-surface: #151d2e;
	--sfp-text: #e8edf5;
	--sfp-muted: #94a3b8;
	--sfp-border: #2d3a52;
	--sfp-accent: #60a5fa;
	--sfp-accent-hover: #93c5fd;
	--sfp-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
	--sfp-dash-bg: linear-gradient(160deg, #0c1220 0%, #121a2e 42%, #151028 100%);
	--sfp-sidebar-bg: linear-gradient(180deg, #151d2e 0%, #0f1524 100%);
	--sfp-bar-bg: linear-gradient(90deg, rgba(96, 165, 250, 0.12), rgba(167, 139, 250, 0.08));
	--sfp-bar-border: #2d3a52;
	--sfp-title-gradient: linear-gradient(90deg, #93c5fd, #f0abfc);
	--sfp-nav-heading: #818cf8;
	--sfp-nav-link: #cbd5e1;
	--sfp-nav-active-bg: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
	--sfp-nav-active-color: #c7d2fe;
	--sfp-input-bg: #1a2332;
	--sfp-toolbar-bg: linear-gradient(135deg, #151d2e 0%, #1a2238 55%, #1a1830 100%);
	--sfp-ui-btn-hover-bg: rgba(99, 102, 241, 0.2);
	--sfp-ui-btn-hover-color: #c7d2fe;
	--sfp-ui-close-hover-bg: rgba(255, 255, 255, 0.08);
}

html[data-sfp-theme='light'],
html:not([data-sfp-theme]) {
	color-scheme: light;
	--sfp-dash-bg: linear-gradient(160deg, #f8fafc 0%, #eef2ff 42%, #fdf2f8 100%);
	--sfp-sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	--sfp-bar-bg: linear-gradient(90deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.06));
	--sfp-bar-border: #e0e7ff;
	--sfp-title-gradient: linear-gradient(90deg, #4338ca, #be185d);
	--sfp-nav-heading: #6366f1;
	--sfp-nav-link: #525252;
	--sfp-nav-active-bg: linear-gradient(90deg, #eff6ff, #fdf4ff);
	--sfp-nav-active-color: #4338ca;
	--sfp-input-bg: #ffffff;
	--sfp-toolbar-bg: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #fdf2f8 100%);
	--sfp-ui-btn-hover-bg: rgba(99, 102, 241, 0.1);
	--sfp-ui-btn-hover-color: #4338ca;
	--sfp-ui-close-hover-bg: rgba(15, 23, 42, 0.06);
}

html.sfp-theme-switching,
html.sfp-theme-switching * {
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease,
		color 0.25s ease,
		box-shadow 0.35s ease !important;
}

/* ---- Animated toggle ---- */
.sfp-theme-toggle {
	flex-shrink: 0;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	line-height: 0;
	appearance: none;
	-webkit-appearance: none;
}

/* Block WP/theme button:hover backgrounds (often pink/accent) from bleeding onto the switch */
button.sfp-theme-toggle,
button.sfp-theme-toggle:hover,
button.sfp-theme-toggle:focus,
button.sfp-theme-toggle:focus-visible,
button.sfp-theme-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none;
	color: inherit;
}

/* Modal scrims — full-screen dismiss buttons must not inherit theme button:hover (pink) */
button.sfp-gate__scrim,
button.sfp-gate__scrim:hover,
button.sfp-gate__scrim:focus,
button.sfp-gate__scrim:focus-visible,
button.sfp-gate__scrim:active,
button.sfp-builder__drawer-backdrop,
button.sfp-builder__drawer-backdrop:hover,
button.sfp-builder__drawer-backdrop:focus,
button.sfp-builder__palette-backdrop,
button.sfp-builder__palette-backdrop:hover,
button.sfp-builder__palette-backdrop:focus {
	background: rgba(15, 23, 42, 0.45) !important;
	background-color: rgba(15, 23, 42, 0.45) !important;
	border: none !important;
	box-shadow: none !important;
	color: transparent !important;
}

html[data-sfp-theme='dark'] button.sfp-gate__scrim,
html[data-sfp-theme='dark'] button.sfp-gate__scrim:hover,
html[data-sfp-theme='dark'] button.sfp-builder__drawer-backdrop,
html[data-sfp-theme='dark'] button.sfp-builder__drawer-backdrop:hover,
html[data-sfp-theme='dark'] button.sfp-builder__palette-backdrop,
html[data-sfp-theme='dark'] button.sfp-builder__palette-backdrop:hover {
	background: rgba(0, 0, 0, 0.62) !important;
	background-color: rgba(0, 0, 0, 0.62) !important;
}

.sfp-theme-toggle:hover .sfp-theme-toggle__track {
	filter: brightness(1.04);
	box-shadow:
		inset 0 1px 3px rgba(0, 0, 0, 0.12),
		0 0 0 2px rgba(251, 191, 36, 0.35);
}

.sfp-theme-toggle.is-dark:hover .sfp-theme-toggle__track {
	filter: brightness(1.1);
	box-shadow:
		inset 0 1px 3px rgba(0, 0, 0, 0.45),
		0 0 0 2px rgba(129, 140, 248, 0.35);
}

.sfp-theme-toggle:focus-visible .sfp-theme-toggle__track {
	box-shadow:
		inset 0 1px 3px rgba(0, 0, 0, 0.12),
		0 0 0 3px rgba(99, 102, 241, 0.35);
}

.sfp-theme-toggle__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 56px;
	height: 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, #fde68a, #fbbf24);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
	transition: background 0.4s ease, box-shadow 0.35s ease;
}

.sfp-theme-toggle.is-dark .sfp-theme-toggle__track {
	background: linear-gradient(135deg, #1e293b, #312e81);
	border-color: #475569;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.sfp-theme-toggle__thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
	transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.35s ease;
}

.sfp-theme-toggle.is-dark .sfp-theme-toggle__thumb {
	transform: translateX(26px);
	background: #e2e8f0;
}

.sfp-theme-toggle__icon {
	position: absolute;
	top: 50%;
	font-size: 12px;
	line-height: 1;
	transform: translateY(-50%);
	transition: opacity 0.25s ease, transform 0.35s ease;
	pointer-events: none;
}

.sfp-theme-toggle__icon--sun {
	left: 8px;
	opacity: 1;
}

.sfp-theme-toggle__icon--moon {
	right: 8px;
	opacity: 0.35;
}

.sfp-theme-toggle.is-dark .sfp-theme-toggle__icon--sun {
	opacity: 0.35;
	transform: translateY(-50%) rotate(-20deg) scale(0.85);
}

.sfp-theme-toggle.is-dark .sfp-theme-toggle__icon--moon {
	opacity: 1;
	transform: translateY(-50%) rotate(12deg) scale(1.05);
}

.sfp-dash-main__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.sfp-dash-main__bar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.sfp-hub-app__topbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ---- Shell (use CSS variables) ---- */
.sfp-dash-wrap {
	background: var(--sfp-dash-bg);
	align-items: flex-start;
}

.sfp-dash-sidebar {
	background: var(--sfp-sidebar-bg);
	border-right-color: var(--sfp-bar-border);
	position: sticky;
	top: 0;
	align-self: flex-start;
	height: 100vh;
	max-height: 100vh;
	overflow-x: clip;
	overflow-y: auto;
}

.sfp-dash-main__bar {
	background: var(--sfp-bar-bg);
	border-color: var(--sfp-bar-border);
}

.sfp-dash-main__title {
	background: var(--sfp-title-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sfp-dash-nav__heading {
	color: var(--sfp-nav-heading);
}

.sfp-dash-nav__link {
	color: var(--sfp-nav-link);
}

.sfp-dash-nav__link:hover {
	background: var(--sfp-ui-btn-hover-bg) !important;
	background-color: var(--sfp-ui-btn-hover-bg) !important;
	color: var(--sfp-text) !important;
}

.sfp-dash-nav__link.is-active {
	background: var(--sfp-nav-active-bg);
	color: var(--sfp-nav-active-color);
}

html[data-sfp-theme='dark'] .sfp-dash-sidebar__account:hover,
html[data-sfp-theme='dark'] .sfp-dash-nav__link:hover:not(.is-active) {
	background: var(--sfp-ui-btn-hover-bg) !important;
	background-color: var(--sfp-ui-btn-hover-bg) !important;
	color: var(--sfp-text) !important;
}

/* Unified filter toolbars — max 2 rows (filters+actions | optional bulk) */
.sfp-surveys-list__toolbar,
.sfp-data-dash__toolbar,
.sfp-analytics__toolbar,
.sfp-templates__toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	gap: 8px 10px;
	align-items: center;
	padding: 10px 12px;
	margin-bottom: 18px;
	border-radius: 12px;
	border: 1px solid var(--sfp-bar-border);
	background: var(--sfp-toolbar-bg);
}

.sfp-surveys-list__toolbar-main,
.sfp-data-dash__toolbar-main,
.sfp-analytics__toolbar-main,
.sfp-templates__toolbar-main {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.sfp-templates__toolbar:has(.sfp-templates__toolbar-main:only-child) {
	grid-template-columns: 1fr;
}

.sfp-templates__toolbar-main {
	grid-column: 1 / -1;
}

.sfp-surveys-list__toolbar-actions,
.sfp-data-dash__toolbar-actions,
.sfp-analytics__toolbar-actions {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin-left: 0;
	flex-shrink: 0;
}

.sfp-surveys-list__bulk,
.sfp-data-dash__bulk {
	grid-column: 1 / -1;
	grid-row: 2;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	min-width: 0;
	overflow-x: auto;
}

.sfp-surveys-list__bulk[hidden],
.sfp-data-dash__bulk[hidden] {
	display: none !important;
}

/* Compact filter controls */
.sfp-surveys-list__search,
.sfp-data-dash__control,
.sfp-templates__search {
	flex: 0 0 auto;
	margin: 0;
}

.sfp-surveys-list__search {
	flex: 1 1 140px;
	min-width: 120px;
	max-width: 200px;
}

.sfp-surveys-list__search input,
.sfp-templates__search input {
	width: 100%;
	min-width: 0;
}

.sfp-data-dash__control--grow {
	flex: 1 1 130px;
	min-width: 110px;
	max-width: 200px;
}

.sfp-surveys-list__search input,
.sfp-surveys-list__select,
.sfp-data-dash__toolbar-main .sfp-data-dash__input,
.sfp-data-dash__toolbar-main .sfp-data-dash__select,
.sfp-analytics__toolbar-main .sfp-analytics__input,
.sfp-analytics__toolbar-main .sfp-analytics__select,
.sfp-templates__input,
.sfp-templates__select {
	flex: 0 0 auto;
	width: auto;
	padding: 7px 10px;
	border: 1px solid var(--sfp-border);
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	line-height: 1.3;
	background: var(--sfp-input-bg);
	color: var(--sfp-text);
}

.sfp-surveys-list__select,
.sfp-data-dash__select,
.sfp-analytics__select,
.sfp-templates__select {
	min-width: 108px;
	max-width: 150px;
	cursor: pointer;
}

.sfp-data-dash__input--date,
.sfp-analytics__input--date {
	min-width: 124px;
	max-width: 124px;
}

.sfp-data-dash__input--num {
	min-width: 82px;
	max-width: 96px;
}

.sfp-data-dash__toolbar-main .sfp-data-dash__input:not(.sfp-data-dash__input--date):not(.sfp-data-dash__input--num) {
	min-width: 100px;
	max-width: 140px;
}

.sfp-analytics__check {
	flex: 0 0 auto;
	white-space: nowrap;
}

.sfp-surveys-list__toolbar-actions .sfp-btn,
.sfp-data-dash__toolbar-actions .sfp-btn,
.sfp-analytics__toolbar-actions .sfp-btn,
.sfp-surveys-list__bulk .sfp-btn,
.sfp-data-dash__bulk .sfp-btn {
	padding: 7px 12px;
	font-size: 13px;
	white-space: nowrap;
	flex-shrink: 0;
}

.sfp-data-dash__bulk select,
.sfp-data-dash__bulk-extra {
	flex: 0 0 auto;
	min-width: 120px;
	max-width: 200px;
	padding: 7px 10px;
	font-size: 13px;
}

@media (max-width: 900px) {
	.sfp-surveys-list__toolbar,
	.sfp-data-dash__toolbar,
	.sfp-analytics__toolbar {
		grid-template-columns: 1fr;
	}

	.sfp-surveys-list__toolbar-actions,
	.sfp-data-dash__toolbar-actions,
	.sfp-analytics__toolbar-actions {
		grid-column: 1;
		grid-row: 2;
		justify-content: flex-start;
	}

	.sfp-surveys-list__bulk,
	.sfp-data-dash__bulk {
		grid-row: 3;
	}
}

/* Cards & data tables */
html[data-sfp-theme='dark'] .sfp-survey-card,
html[data-sfp-theme='dark'] .sfp-data-dash__tablewrap,
html[data-sfp-theme='dark'] .sfp-kpi,
html[data-sfp-theme='dark'] .sfp-hub-app__stat,
html[data-sfp-theme='dark'] .sfp-card,
html[data-sfp-theme='dark'] .sfp-wizard,
html[data-sfp-theme='dark'] .sfp-template-picker,
html[data-sfp-theme='dark'] .sfp-tpl-card,
html[data-sfp-theme='dark'] .sfp-builder__pane {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-data-dash__table thead th {
	background: rgba(99, 102, 241, 0.15);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-data-dash__field input,
html[data-sfp-theme='dark'] .sfp-data-dash__field select,
html[data-sfp-theme='dark'] .sfp-templates__search input,
html[data-sfp-theme='dark'] .sfp-templates__cat,
html[data-sfp-theme='dark'] input,
html[data-sfp-theme='dark'] select,
html[data-sfp-theme='dark'] textarea {
	background: var(--sfp-input-bg);
	color: var(--sfp-text);
	border-color: var(--sfp-border);
}

html[data-sfp-theme='dark'] .sfp-detail-pre {
	background: #0a0a12;
	color: #e2e8f0;
}

html[data-sfp-theme='dark'] .sfp-btn--ghost {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-btn--primary:hover,
html[data-sfp-theme='dark'] .sfp-dash-wrap .sfp-btn--primary:hover {
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
	border-color: #60a5fa;
	color: #fff;
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

html[data-sfp-theme='dark'] .sfp-btn--ghost:hover,
html[data-sfp-theme='dark'] .sfp-dash-wrap .sfp-btn--ghost:hover {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.28) 0%, rgba(96, 165, 250, 0.18) 100%);
	border-color: #60a5fa;
	color: #bfdbfe;
	box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
}

html[data-sfp-theme='dark'] .sfp-btn--danger {
	background: rgba(185, 28, 28, 0.15);
	border-color: rgba(248, 113, 113, 0.35);
	color: #fca5a5;
}

html[data-sfp-theme='dark'] .sfp-btn--danger:hover {
	background: linear-gradient(135deg, rgba(185, 28, 28, 0.35) 0%, rgba(127, 29, 29, 0.4) 100%);
	border-color: #f87171;
	color: #fecaca;
}

html[data-sfp-theme='dark'] .sfp-dash-sidebar__signout:hover {
	color: #93c5fd;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.15) 100%);
}

html[data-sfp-theme='dark'] .sfp-hub-app__hero {
	background: linear-gradient(135deg, #1a2238 0%, #1a1830 50%, #14261f 100%);
	border-color: var(--sfp-border);
}

html[data-sfp-theme='dark'] .sfp-guest__card,
html[data-sfp-theme='dark'] .sfp-gate .sfp-gate__card,
html[data-sfp-theme='dark'] .sfp-lock__card {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] dialog.sfp-modal[open]::backdrop {
	background: rgba(0, 0, 0, 0.65);
}

html[data-sfp-theme='dark'] dialog.sfp-modal.sfp-suggest-dialog[open],
html[data-sfp-theme='dark'] dialog.sfp-modal.sfp-suggest-dialog[open] .sfp-suggest,
html[data-sfp-theme='dark'] .sfp-suggest-dialog,
html[data-sfp-theme='dark'] .sfp-suggest {
	background: var(--sfp-surface, #1e293b);
}

html[data-sfp-theme='dark'] .sfp-suggest__title,
html[data-sfp-theme='dark'] .sfp-suggest__goal-label {
	color: #f1f5f9;
}

html[data-sfp-theme='dark'] .sfp-suggest__lead,
html[data-sfp-theme='dark'] .sfp-suggest__goal-desc {
	color: #94a3b8;
}

html[data-sfp-theme='dark'] .sfp-suggest__goal {
	background: rgba(15, 23, 42, 0.85);
	border-color: rgba(148, 163, 184, 0.25);
}

html[data-sfp-theme='dark'] .sfp-q-icon-btn {
	background: rgba(15, 23, 42, 0.9);
	border-color: rgba(148, 163, 184, 0.25);
	color: #94a3b8;
}

html[data-sfp-theme='dark'] .sfp-q-icon-btn--dup:hover {
	color: #93c5fd;
	border-color: rgba(96, 165, 250, 0.45);
	background: rgba(37, 99, 235, 0.2);
}

html[data-sfp-theme='dark'] .sfp-q-icon-btn--del:hover {
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.35);
	background: rgba(185, 28, 28, 0.2);
}

html[data-sfp-theme='dark'] .sfp-survey-card__share {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%);
	border-color: rgba(129, 140, 248, 0.45);
	color: #a5b4fc;
}

html[data-sfp-theme='dark'] .sfp-survey-card__embed {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(52, 211, 153, 0.16) 100%);
	border-color: rgba(52, 211, 153, 0.4);
	color: #6ee7b7;
}

html[data-sfp-theme='dark'] .sfp-share-dialog,
html[data-sfp-theme='dark'] .sfp-share-dialog__panel,
html[data-sfp-theme='dark'] .sfp-embed-dialog,
html[data-sfp-theme='dark'] .sfp-embed-dialog .sfp-share-dialog__panel {
	background: var(--sfp-surface, #1e293b);
}

html[data-sfp-theme='dark'] .sfp-share-dialog__title,
html[data-sfp-theme='dark'] .sfp-embed-dialog__head h4 {
	color: #f1f5f9;
}

html[data-sfp-theme='dark'] .sfp-share-dialog__field input,
html[data-sfp-theme='dark'] .sfp-embed-dialog__block textarea {
	background: rgba(15, 23, 42, 0.85);
	border-color: rgba(148, 163, 184, 0.25);
	color: #e2e8f0;
}

html[data-sfp-theme='dark'] .sfp-muted,
html[data-sfp-theme='dark'] .sfp-surveys-list__sub {
	color: var(--sfp-muted);
}

html[data-sfp-theme='dark'] .sfp-builder__journey {
	background: linear-gradient(90deg, rgba(30, 41, 59, 0.9), rgba(49, 46, 129, 0.35));
	border-color: rgba(99, 102, 241, 0.35);
}

html[data-sfp-theme='dark'] .sfp-builder__journey-btn {
	background: rgba(15, 23, 42, 0.85);
	border-color: rgba(148, 163, 184, 0.25);
	color: #e2e8f0;
}

html[data-sfp-theme='dark'] .sfp-palette-type {
	background: rgba(15, 23, 42, 0.7);
	border-color: rgba(148, 163, 184, 0.2);
}

html[data-sfp-theme='dark'] .sfp-palette-type__label {
	color: #f1f5f9;
}

html[data-sfp-theme='dark'] .sfp-builder__pane,
html[data-sfp-theme='dark'] .sfp-builder__topbar,
html[data-sfp-theme='dark'] .sfp-builder__q-item,
html[data-sfp-theme='dark'] .sfp-int__card,
html[data-sfp-theme='dark'] .sfp-analytics__card {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-survey-card__badge--published {
	background: rgba(34, 197, 94, 0.2);
	color: #86efac;
}

html[data-sfp-theme='dark'] .sfp-survey-card__badge--draft {
	background: rgba(234, 179, 8, 0.2);
	color: #fde047;
}

/* Top cards / KPI rows */
html[data-sfp-theme='dark'] .sfp-templates__hero,
html[data-sfp-theme='dark'] .sfp-analytics__kpi,
html[data-sfp-theme='dark'] .sfp-kpi {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

html[data-sfp-theme='dark'] .sfp-templates__hero-title,
html[data-sfp-theme='dark'] .sfp-analytics__card-title,
html[data-sfp-theme='dark'] .sfp-tpl-card__title {
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-tpl-card__desc,
html[data-sfp-theme='dark'] .sfp-analytics__hint {
	color: var(--sfp-muted);
}

html[data-sfp-theme='dark'] .sfp-data-dash--responses .sfp-data-dash__table thead th {
	--sfp-table-head-bg: rgba(99, 102, 241, 0.2);
	--sfp-table-head-text: #c7d2fe;
}

html[data-sfp-theme='dark'] .sfp-data-dash--leads .sfp-data-dash__table thead th {
	--sfp-table-head-bg: rgba(16, 185, 129, 0.15);
	--sfp-table-head-text: #6ee7b7;
}

html[data-sfp-theme='dark'] .sfp-pill {
	background: rgba(99, 102, 241, 0.25);
	color: #c7d2fe;
}

html[data-sfp-theme='dark'] .sfp-pill--hot {
	background: rgba(185, 28, 28, 0.25);
	color: #fca5a5;
}

html[data-sfp-theme='dark'] .sfp-pill--warm {
	background: rgba(180, 83, 9, 0.25);
	color: #fcd34d;
}

html[data-sfp-theme='dark'] .sfp-pill--cold {
	background: rgba(3, 105, 161, 0.25);
	color: #7dd3fc;
}

html[data-sfp-theme='dark'] .sfp-tag {
	background: rgba(148, 163, 184, 0.15);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-int__card {
	background: var(--sfp-surface);
	border-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-data-dash__table td,
html[data-sfp-theme='dark'] .sfp-data-dash__table th {
	border-bottom-color: var(--sfp-border);
	color: var(--sfp-text);
}

html[data-sfp-theme='dark'] .sfp-analytics__kpi-d--good {
	color: #6ee7b7;
}

html[data-sfp-theme='dark'] .sfp-analytics__kpi-d--bad {
	color: #fca5a5;
}
