/**
 * V2 jobs table — full-viewport layout on dedicated table pages.
 */

body.tfiber-jobs-v2-page.tfiber-jobs-v2-mobile-locked {
	overflow: hidden;
	height: 100dvh;
}

body.tfiber-jobs-v2-page .entry-content,
body.tfiber-jobs-v2-page .site-content,
body.tfiber-jobs-v2-page .content-area,
body.tfiber-jobs-v2-page .ct-container,
body.tfiber-jobs-v2-page .ct-container-fluid,
body.tfiber-jobs-v2-page #main-container,
body.tfiber-jobs-v2-page .site-main,
body.tfiber-jobs-v2-page main.site-main {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.tfiber-jobs-v2-page .entry-content {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

body.tfiber-jobs-v2-page .entry-header {
	margin-bottom: 0;
}

.tfiber-jobs.tfiber-jobs-v2 {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - var(--tfiber-v2-top-offset, 0px));
	height: calc(100dvh - var(--tfiber-v2-top-offset, 0px));
	position: relative;
	overflow: hidden;
	font-weight: 500;
}

body.tfiber-jobs-v2-page .tfiber-jobs.tfiber-jobs-v2 {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 !important;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.tfiber-jobs-v2 .tfiber-jobs-tabs {
	flex-shrink: 0;
}

/* Keep search + toolbar visible on the jobs table (panel tabs hide them via inline styles). */
.tfiber-jobs-v2:not(.is-dashboard-active):not(.tfiber-jobs-c2c-active):not(.tfiber-jobs-repeats-active):not(.tfiber-jobs-call-center-active) .tfiber-jobs-tabs-right {
	display: flex !important;
}

.tfiber-jobs-v2:not(.is-dashboard-active) .tfiber-jobs-tabs-right .tfiber-jobs-search-wrap,
.tfiber-jobs-v2:not(.is-dashboard-active) .tfiber-jobs-tabs-right .tfiber-jobs-toolbar-actions {
	display: flex !important;
}

body.tfiber-jobs-v2-page .tfiber-jobs-v2 .tfiber-jobs-tabs {
	margin: 8px 10px 10px;
}

/* V2 dark chrome — keyed off .is-dark-theme (grid uses this class; public.css tabs
   rules use [data-theme="simplified-dark"] which can drift after localStorage sync). */
.tfiber-jobs-v2.is-dark-theme {
	--tfiber-dark-bg: #08101d;
	--tfiber-dark-panel: #0f172a;
	--tfiber-dark-border: #233247;
	--tfiber-dark-border-strong: #334155;
	--tfiber-dark-text: #e5edf8;
	--tfiber-dark-muted: #94a3b8;
	background: var(--tfiber-dark-bg);
	color: var(--tfiber-dark-text);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-tabs {
	background: linear-gradient(180deg, rgba(8, 16, 29, 0.96), rgba(15, 23, 42, 0.94));
	border: 1px solid var(--tfiber-dark-border);
	border-radius: 16px;
	box-shadow: 0 14px 34px rgba(2, 6, 23, 0.34);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-tabs.is-fixed {
	box-shadow: 0 14px 36px rgba(2, 6, 23, 0.54);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-tab {
	background: linear-gradient(135deg, #172132, #0f172a);
	border-color: var(--tfiber-dark-border-strong);
	box-shadow: 0 6px 16px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	color: #dbe7f5;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-tab:hover {
	background: linear-gradient(135deg, #1d2a3d, #152033);
	box-shadow: 0 10px 22px rgba(2, 6, 23, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-tab.is-active {
	background:
		radial-gradient(circle at 18% 0%, rgba(245, 158, 11, 0.34), transparent 38%),
		linear-gradient(135deg, #0f172a, #1d2a3d 58%, #7c4a03);
	border-color: rgba(245, 158, 11, 0.3);
	box-shadow: 0 12px 28px rgba(2, 6, 23, 0.38), 0 0 0 1px rgba(245, 158, 11, 0.18);
	color: #fff7ed;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-search-wrap {
	background: var(--tfiber-dark-panel);
	box-shadow: 0 0 0 1px var(--tfiber-dark-border);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-search {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--tfiber-dark-text);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-search-icon,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-search::placeholder {
	color: var(--tfiber-dark-muted);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-updated {
	color: var(--tfiber-dark-muted);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-toolbar-actions {
	background: rgba(15, 23, 42, 0.84);
	border-color: var(--tfiber-dark-border-strong);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-toolbar-button {
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-settings-button,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-undo-button,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-redo-button {
	background: linear-gradient(135deg, #172132, #0f172a);
	border-color: var(--tfiber-dark-border-strong);
	box-shadow: 0 6px 16px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	color: #dbe7f5;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-settings-button:hover,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-undo-button:hover,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-redo-button:hover {
	background: linear-gradient(135deg, #1d2a3d, #152033);
	filter: none;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-undo-button:disabled,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-redo-button:disabled,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-undo-button.is-unavailable,
.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-redo-button.is-unavailable {
	background: linear-gradient(135deg, #111827, #1e293b);
	border-color: #243244;
	color: #64748b;
}

.tfiber-jobs-v2 .tfiber-jobs-v2-grid-wrap {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.tfiber-jobs-v2 .tfiber-jobs-v2-grid {
	width: 100%;
	height: 100%;
	min-height: 0;
}

body.tfiber-jobs-v2-page .tfiber-jobs-v2 .tfiber-jobs-v2-grid .ag-root-wrapper,
body.tfiber-jobs-v2-page .tfiber-jobs-v2 .tfiber-jobs-v2-grid.tfiber-jobs-c2c-grid .ag-root-wrapper {
	border-left: none;
	border-right: none;
	border-bottom: none;
	border-radius: 0;
}

.tfiber-jobs-v2 .tfiber-jobs-v2-grid .ag-root-wrapper {
	height: 100% !important;
}

.tfiber-jobs-v2 .tfiber-jobs-v2-grid .ag-root-wrapper-body,
.tfiber-jobs-v2 .tfiber-jobs-v2-grid .ag-body-viewport,
.tfiber-jobs-v2 .tfiber-jobs-v2-grid.tfiber-jobs-c2c-grid .ag-root-wrapper-body,
.tfiber-jobs-v2 .tfiber-jobs-v2-grid.tfiber-jobs-c2c-grid .ag-body-viewport {
	min-height: 0;
}

.tfiber-jobs-v2 .tfiber-jobs-v2-grid-wrap.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
	z-index: 10;
	pointer-events: none;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-v2-grid-wrap.is-loading::after {
	background: rgba(30, 30, 30, 0.6);
}

/* ALL tab MO picker dropdown (v2) */
.tfiber-jobs-all-tab-mo-dropdown {
	position: fixed;
	z-index: 10050;
	pointer-events: none;
}

.tfiber-jobs-all-tab-mo-dropdown:not([hidden]) {
	pointer-events: auto;
}

.tfiber-jobs-all-tab-mo-dropdown__panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
	border: 1px solid rgba(148, 163, 184, 0.55);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
	display: flex;
	flex-direction: column;
	max-height: min(70vh, 420px);
	min-width: 260px;
	max-width: 420px;
	overflow: hidden;
}

.tfiber-jobs-all-tab-mo-dropdown__header {
	padding: 10px 12px 0;
	font-size: 13px;
}

.tfiber-jobs-all-tab-mo-dropdown__intro {
	color: #475569;
	font-size: 12px;
	line-height: 1.4;
	margin: 6px 12px 8px;
}

.tfiber-jobs-all-tab-mo-dropdown__actions {
	display: flex;
	gap: 6px;
	margin: 0 12px 8px;
}

.tfiber-jobs-all-tab-mo-dropdown__actions button {
	background: rgba(244, 163, 64, 0.12);
	border: 1px solid rgba(244, 163, 64, 0.45);
	border-radius: 6px;
	color: #b45309;
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
}

.tfiber-jobs-all-tab-mo-dropdown__actions button:hover {
	background: rgba(244, 163, 64, 0.2);
	border-color: #f4a340;
	color: #92400e;
}

.tfiber-jobs-all-tab-mo-dropdown__grid {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	overflow: auto;
	padding: 0 12px 8px;
	flex: 1 1 auto;
	min-height: 0;
}

.tfiber-jobs-all-tab-mo-dropdown .tfiber-jobs-all-tab-mo-choice {
	align-items: center;
	background: rgba(244, 163, 64, 0.08);
	border: 1px solid rgba(244, 163, 64, 0.42);
	border-radius: 8px;
	color: #b45309;
	cursor: pointer;
	display: flex;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	padding: 6px 8px;
	transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.tfiber-jobs-all-tab-mo-dropdown .tfiber-jobs-all-tab-mo-choice input {
	accent-color: #f4a340;
}

.tfiber-jobs-all-tab-mo-dropdown .tfiber-jobs-all-tab-mo-choice:hover {
	background: rgba(244, 163, 64, 0.14);
	border-color: #f4a340;
}

.tfiber-jobs-all-tab-mo-dropdown .tfiber-jobs-all-tab-mo-choice:has(input:checked) {
	background: linear-gradient(135deg, rgba(255, 132, 0, 0.22), rgba(244, 163, 64, 0.28));
	border-color: #f4a340;
	box-shadow: 0 0 0 1px rgba(244, 163, 64, 0.32);
	color: #9a3412;
}

.tfiber-jobs-all-tab-mo-dropdown__status {
	font-size: 11px;
	font-weight: 700;
	margin: 0 12px 6px;
}

.tfiber-jobs-all-tab-mo-dropdown__status.is-error {
	color: #b91c1c;
}

.tfiber-jobs-all-tab-mo-dropdown__footer {
	border-top: 1px solid rgba(244, 163, 64, 0.22);
	padding: 8px 12px;
}

.tfiber-jobs-all-tab-mo-dropdown__apply {
	background:
		radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.34), transparent 34%),
		linear-gradient(135deg, #ff8400, #f4a340);
	border: 1px solid rgba(244, 163, 64, 0.65);
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(244, 163, 64, 0.28);
	color: #111827;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	padding: 7px 14px;
	width: 100%;
}

.tfiber-jobs-all-tab-mo-dropdown__apply:hover:not(:disabled) {
	background:
		radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.42), transparent 34%),
		linear-gradient(135deg, #ff9500, #ffb347);
	box-shadow: 0 10px 22px rgba(244, 163, 64, 0.34);
}

.tfiber-jobs-all-tab-mo-dropdown__apply:disabled {
	opacity: 0.65;
	cursor: wait;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__panel {
	background: linear-gradient(180deg, #1e293b, #0f172a);
	border-color: rgba(244, 163, 64, 0.35);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(244, 163, 64, 0.12);
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__header {
	color: #ffc766;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__intro {
	color: #94a3b8;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__actions button {
	background: rgba(244, 163, 64, 0.12);
	border-color: rgba(244, 163, 64, 0.45);
	color: #ffc766;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__actions button:hover {
	background: rgba(244, 163, 64, 0.22);
	border-color: #f4a340;
	color: #ffe8c2;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-choice {
	background: rgba(244, 163, 64, 0.08);
	border-color: rgba(244, 163, 64, 0.38);
	color: #ffc766;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-choice:hover {
	background: rgba(244, 163, 64, 0.16);
	border-color: #f4a340;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-choice:has(input:checked) {
	background: linear-gradient(135deg, rgba(255, 132, 0, 0.28), rgba(244, 163, 64, 0.34));
	border-color: #f4a340;
	box-shadow: 0 0 0 1px rgba(244, 163, 64, 0.42), 0 0 12px rgba(244, 163, 64, 0.16);
	color: #ffe8c2;
}

.tfiber-jobs-all-tab-mo-dropdown.is-dark-theme .tfiber-jobs-all-tab-mo-dropdown__footer {
	border-top-color: rgba(244, 163, 64, 0.22);
}

/* -------------------------------------------------------------------
 * Mobile — v2 full-page layout (match v1 breakpoint at 782px)
 * ----------------------------------------------------------------- */

@media (max-width: 782px) {
	body.tfiber-jobs-v2-page .entry-content > p:has([data-tfiber-v2-wrap]),
	body.tfiber-jobs-v2-page .entry-content p:has(.tfiber-jobs-v2) {
		margin: 0;
		padding: 0;
	}

	body.tfiber-jobs-v2-page .entry-header {
		margin-bottom: 0;
		padding-bottom: 0;
	}

	body.tfiber-jobs-v2-page .entry-header .entry-title {
		font-size: 1.05rem;
		line-height: 1.2;
		margin: 0;
		padding: 2px 8px 0;
	}

	body.tfiber-jobs-v2-page .tfiber-jobs.tfiber-jobs-v2,
	.tfiber-jobs.tfiber-jobs-v2.is-mobile-viewport {
		position: fixed;
		top: var(--tfiber-v2-top-offset, 0px);
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw !important;
		max-width: 100vw !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none;
		border-radius: 0;
		box-shadow: none;
		z-index: 100;
	}

	body.tfiber-jobs-v2-page .entry-content,
	body.tfiber-jobs-v2-page .site-content,
	body.tfiber-jobs-v2-page .content-area,
	body.tfiber-jobs-v2-page .ct-container,
	body.tfiber-jobs-v2-page .ct-container-fluid,
	body.tfiber-jobs-v2-page #main-container,
	body.tfiber-jobs-v2-page .site-main,
	body.tfiber-jobs-v2-page main.site-main {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	body.tfiber-jobs-v2-page .tfiber-jobs-v2 .tfiber-jobs-tabs,
	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-tabs {
		margin: 0 !important;
		padding: 2px 4px 4px !important;
		border-radius: 0;
		border-left: none;
		border-right: none;
		gap: 4px;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-tabs-left {
		padding-bottom: 0;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-tabs-right {
		align-items: center;
		flex: 0 0 100%;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 4px;
		min-width: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-search-wrap {
		box-sizing: border-box;
		flex: 1 1 0;
		height: 34px;
		max-width: none;
		min-width: 0;
		width: auto;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-search {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-clear-filters-button {
		flex: 0 0 auto;
		flex-shrink: 0;
		font-size: 10px;
		min-height: 28px;
		overflow: hidden;
		padding: 4px 8px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-clear-filters-suffix {
		display: none;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-toolbar-actions {
		border-radius: 999px;
		box-sizing: border-box;
		flex: 0 0 auto;
		flex-shrink: 0;
		flex-wrap: nowrap;
		gap: 3px;
		overflow: visible;
		padding: 2px;
		width: auto;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-toolbar-button,
	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-tab {
		flex-shrink: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-updated {
		display: none;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-toolbar-button.tfiber-jobs-scroll {
		display: none;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-import-notice {
		font-size: 11px;
		margin-top: 0;
		max-width: none;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-v2-grid-wrap {
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-update-notice {
		border-radius: 14px;
		bottom: max(8px, env(safe-area-inset-bottom, 0px));
		left: 8px;
		right: 8px;
		max-width: none;
	}

	.tfiber-jobs-all-tab-mo-dropdown__panel {
		left: 8px !important;
		max-width: none;
		min-width: 0;
		right: 8px !important;
		width: auto !important;
	}
}

@media (max-width: 480px) {
	body.tfiber-jobs-v2-page .tfiber-jobs-v2 .tfiber-jobs-tabs,
	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-tabs {
		margin: 0 !important;
		padding: 1px 2px 3px !important;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-search-wrap {
		height: 32px;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-search {
		font-size: 16px;
		line-height: 32px;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-toolbar-actions {
		border-radius: 999px;
		padding: 2px;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-toolbar-button {
		min-height: 28px;
		padding: 3px 7px;
	}

	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-undo-button,
	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-redo-button,
	.tfiber-jobs-v2.is-mobile-viewport .tfiber-jobs-settings-button {
		min-height: 28px;
		min-width: 28px;
		padding: 2px;
	}
}

/* Admin-only: WebSocket offline warning */
.tfiber-jobs-ws-admin-notice {
	display: none;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0;
	padding: 8px 14px;
	background: #fef3c7;
	border-bottom: 1px solid #f59e0b;
	color: #92400e;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.tfiber-jobs-ws-admin-notice.is-visible {
	display: flex !important;
}

.tfiber-jobs-ws-admin-notice__icon {
	flex-shrink: 0;
	font-size: 15px;
}

.tfiber-jobs-ws-admin-notice__text code {
	font-size: 12px;
	font-weight: 500;
}

.tfiber-jobs-ws-admin-notice__link {
	margin-left: auto;
	color: #b45309;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-ws-admin-notice {
	background: rgba(180, 83, 9, 0.22);
	border-bottom-color: rgba(245, 158, 11, 0.55);
	color: #fde68a;
}

.tfiber-jobs-v2.is-dark-theme .tfiber-jobs-ws-admin-notice__link {
	color: #fcd34d;
}

/* Admin-only (test): theme picker banner */
.tfiber-jobs-v2-theme-picker-banner {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.28s ease;
}

.tfiber-jobs-v2-theme-picker-banner.is-open {
	pointer-events: auto;
	opacity: 1;
}

.tfiber-jobs-v2-theme-picker-banner__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 10%, rgba(244, 163, 64, 0.18), transparent 42%),
		radial-gradient(circle at 80% 90%, rgba(59, 130, 246, 0.14), transparent 38%),
		rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tfiber-jobs-v2-theme-picker-banner__dialog {
	position: relative;
	width: min(720px, 100%);
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 22px;
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, 0.04),
		0 28px 60px rgba(15, 23, 42, 0.24),
		0 8px 20px rgba(244, 163, 64, 0.12);
	padding: 28px 28px 22px;
	color: #0f172a;
	transform: translateY(14px) scale(0.97);
	opacity: 0;
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.tfiber-jobs-v2-theme-picker-banner.is-open .tfiber-jobs-v2-theme-picker-banner__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.tfiber-jobs-v2-theme-picker-banner__glow {
	position: absolute;
	top: -80px;
	right: -40px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(244, 163, 64, 0.35), transparent 68%);
	pointer-events: none;
}

.tfiber-jobs-v2-theme-picker-banner__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #64748b;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tfiber-jobs-v2-theme-picker-banner__close svg {
	width: 14px;
	height: 14px;
}

.tfiber-jobs-v2-theme-picker-banner__close:hover,
.tfiber-jobs-v2-theme-picker-banner__close:focus-visible {
	background: rgba(15, 23, 42, 0.1);
	color: #0f172a;
	transform: scale(1.04);
	outline: none;
}

.tfiber-jobs-v2-theme-picker-banner__header {
	position: relative;
	padding-right: 36px;
}

.tfiber-jobs-v2-theme-picker-banner__header h2 {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a;
}

.tfiber-jobs-v2-theme-picker-banner__header p {
	margin: 0;
	max-width: 34em;
	color: #64748b;
	font-size: 15px;
	line-height: 1.5;
}

.tfiber-jobs-v2-theme-picker-banner__choices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.tfiber-jobs-v2-theme-picker-choice {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 0;
	border: 2px solid #64748b;
	border-radius: 16px;
	background: #ffffff;
	color: inherit;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	box-shadow:
		0 2px 8px rgba(15, 23, 42, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.6);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
	opacity: 0;
	transform: translateY(10px);
}

.tfiber-jobs-v2-theme-picker-banner.is-open .tfiber-jobs-v2-theme-picker-choice {
	opacity: 1;
	transform: translateY(0);
}

.tfiber-jobs-v2-theme-picker-banner.is-open .tfiber-jobs-v2-theme-picker-choice:nth-child(1) {
	transition-delay: 0.06s;
}

.tfiber-jobs-v2-theme-picker-banner.is-open .tfiber-jobs-v2-theme-picker-choice:nth-child(2) {
	transition-delay: 0.12s;
}

.tfiber-jobs-v2-theme-picker-banner.is-open .tfiber-jobs-v2-theme-picker-choice:nth-child(3) {
	transition-delay: 0.18s;
}

.tfiber-jobs-v2-theme-picker-choice:hover,
.tfiber-jobs-v2-theme-picker-choice:focus-visible {
	border-color: #f4a340;
	box-shadow:
		0 10px 24px rgba(244, 163, 64, 0.18),
		0 0 0 3px rgba(244, 163, 64, 0.14);
	transform: translateY(-3px);
	outline: none;
}

.tfiber-jobs-v2-theme-picker-choice.is-selecting {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
	transform: scale(0.98);
}

.tfiber-jobs-v2-theme-picker-choice__preview {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 12px 10px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	min-height: 78px;
}

.tfiber-jobs-v2-theme-picker-choice__row {
	display: block;
	height: 10px;
	border-radius: 4px;
}

.tfiber-jobs-v2-theme-picker-choice__preview--light {
	background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.tfiber-jobs-v2-theme-picker-choice__preview--light .tfiber-jobs-v2-theme-picker-choice__row:nth-child(1) {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-choice__preview--light .tfiber-jobs-v2-theme-picker-choice__row:nth-child(2) {
	background: #f1f5f9;
}

.tfiber-jobs-v2-theme-picker-choice__preview--light .tfiber-jobs-v2-theme-picker-choice__row:nth-child(3) {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-choice__preview--light .tfiber-jobs-v2-theme-picker-choice__row:nth-child(4) {
	background: #f8fafc;
}

.tfiber-jobs-v2-theme-picker-choice__preview--dark {
	background: linear-gradient(180deg, #1e293b, #0f172a);
}

.tfiber-jobs-v2-theme-picker-choice__preview--dark .tfiber-jobs-v2-theme-picker-choice__row:nth-child(1) {
	background: #334155;
}

.tfiber-jobs-v2-theme-picker-choice__preview--dark .tfiber-jobs-v2-theme-picker-choice__row:nth-child(2) {
	background: #1e293b;
}

.tfiber-jobs-v2-theme-picker-choice__preview--dark .tfiber-jobs-v2-theme-picker-choice__row:nth-child(3) {
	background: #334155;
}

.tfiber-jobs-v2-theme-picker-choice__preview--dark .tfiber-jobs-v2-theme-picker-choice__row:nth-child(4) {
	background: #1e293b;
}

.tfiber-jobs-v2-theme-picker-choice__preview--colorful {
	background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.tfiber-jobs-v2-theme-picker-choice__preview--colorful .tfiber-jobs-v2-theme-picker-choice__row:nth-child(1) {
	background: #ffd1d1;
}

.tfiber-jobs-v2-theme-picker-choice__preview--colorful .tfiber-jobs-v2-theme-picker-choice__row:nth-child(2) {
	background: #ffe98a;
}

.tfiber-jobs-v2-theme-picker-choice__preview--colorful .tfiber-jobs-v2-theme-picker-choice__row:nth-child(3) {
	background: #ffffff;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-choice__preview--colorful .tfiber-jobs-v2-theme-picker-choice__row:nth-child(4) {
	background: #cfe2ff;
}

.tfiber-jobs-v2-theme-picker-choice__body {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 12px 12px 14px;
}

.tfiber-jobs-v2-theme-picker-choice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, #fff7ed, #ffedd5);
	color: #c2410c;
	flex-shrink: 0;
}

.tfiber-jobs-v2-theme-picker-choice__icon svg {
	width: 18px;
	height: 18px;
}

.tfiber-jobs-v2-theme-picker-choice[data-theme-choice="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice__icon {
	background: linear-gradient(135deg, #334155, #1e293b);
	color: #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-choice[data-theme-choice="colorful"] .tfiber-jobs-v2-theme-picker-choice__icon {
	background: linear-gradient(135deg, #fde68a, #facc15);
	color: #92400e;
}

.tfiber-jobs-v2-theme-picker-choice__copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tfiber-jobs-v2-theme-picker-choice__title {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a;
}

.tfiber-jobs-v2-theme-picker-choice__desc {
	font-size: 12px;
	color: #64748b;
	line-height: 1.35;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__dialog {
	background:
		linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
	border-color: rgba(51, 65, 85, 0.9);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04),
		0 28px 60px rgba(0, 0, 0, 0.45),
		0 8px 20px rgba(244, 163, 64, 0.08);
	color: #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__header h2,
.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice__title {
	color: #f1f5f9 !important;
	-webkit-text-fill-color: #f1f5f9;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__header p {
	color: #94a3b8;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__close {
	background: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__close:hover,
.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-banner__close:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	color: #e2e8f0;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice {
	background: #0f172a;
	border-color: #94a3b8;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.28),
		inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice__desc {
	color: #94a3b8;
}

.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice:hover,
.tfiber-jobs-v2-theme-picker-banner[data-theme="simplified-dark"] .tfiber-jobs-v2-theme-picker-choice:focus-visible {
	border-color: #f4a340;
	box-shadow:
		0 10px 24px rgba(244, 163, 64, 0.16),
		0 0 0 3px rgba(244, 163, 64, 0.12);
}

@media (max-width: 720px) {
	.tfiber-jobs-v2-theme-picker-banner__choices {
		grid-template-columns: 1fr;
	}

	.tfiber-jobs-v2-theme-picker-banner__dialog {
		padding: 22px 18px 18px;
		border-radius: 18px;
	}

	.tfiber-jobs-v2-theme-picker-choice__body {
		grid-template-columns: auto 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tfiber-jobs-v2-theme-picker-banner,
	.tfiber-jobs-v2-theme-picker-banner__dialog,
	.tfiber-jobs-v2-theme-picker-choice {
		transition: none !important;
		animation: none !important;
	}
}
