.wi-builder-panel-root {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 100050;
	width: 420px;
	max-width: calc(100vw - 32px);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: #1e1e1e;
	--wi-brand-orange: #e64f1d;
	--wi-brand-orange-border: #c9460f;
	--wi-brand-orange-hover: #f06030;
	--wi-brand-orange-soft: #fff4ef;
	--wi-brand-orange-soft-border: #f0c4b0;
}

/* Stay above Thrive Architect / Elementor chrome when editing. */
body.tcb-editor-main .wi-builder-panel-root,
body.elementor-editor-active .wi-builder-panel-root,
body.elementor-editor-preview .wi-builder-panel-root {
	z-index: 999999;
}

/*
 * OptimizePress 3: #op3-frame-live-editor uses z-index 1000002.
 * Thrive/Elementor 999999 is not enough; stay below wp-auth-check (1000010+).
 */
body.op-editor-active .wi-builder-panel-root,
body.op3-builder-active .wi-builder-panel-root,
body.op3-editor .wi-builder-panel-root,
.wi-builder-panel-root.is-op-builder {
	z-index: 1000008;
}

/* OP preview overlay must sit above the OP iframe; default overlay is only 100060. */
body.op-editor-active .wi-builder-panel__overlay,
body.op3-builder-active .wi-builder-panel__overlay,
body.op3-editor .wi-builder-panel__overlay,
.wi-builder-panel__overlay.is-op-builder {
	z-index: 1000009;
}

.wi-builder-panel__notice {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 100090;
	max-width: 360px;
	padding: 10px 14px;
	border-radius: 6px;
	background: #1e1e1e;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.wi-builder-panel__notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wi-builder-panel__rescue {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid #dba617;
	background: #fcf9e8;
	color: #1e1e1e;
}

.wi-builder-panel__rescue.is-pending {
	border-color: #dba617;
	background: #fcf9e8;
}

.wi-builder-panel__rescue.is-warn {
	border-color: var(--wi-brand-orange-soft-border);
	background: var(--wi-brand-orange-soft);
}

.wi-builder-panel__rescue strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.wi-builder-panel__rescue p {
	margin: 0 0 6px;
}

.wi-builder-panel__rescue-hint {
	opacity: 0.85;
	font-size: 12px;
}

.wi-builder-panel__rescue-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: 10px;
}

.wi-builder-panel__rescue-actions .button {
	margin: 0;
}

.wi-builder-panel__rescue-btn {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}

.wi-builder-panel__rescue-btn--primary {
	background: #2271b1;
	border-color: #135e96;
	color: #fff !important;
}

.wi-builder-panel__rescue-btn--primary:hover,
.wi-builder-panel__rescue-btn--primary:focus {
	background: #135e96;
	color: #fff !important;
}

.wi-builder-panel__rescue-btn--secondary {
	background: #fff;
	border-color: #c3c4c7;
	color: #1e1e1e !important;
}

.wi-builder-panel__rescue-btn--secondary:hover,
.wi-builder-panel__rescue-btn--secondary:focus {
	border-color: #8c8f94;
	color: #1e1e1e !important;
}

.wi-builder-panel__rescue-btn--preview {
	background: #fff4ef;
	border-color: #f0c4b0;
	color: #c9460f !important;
}

.wi-builder-panel__rescue-btn--preview:hover,
.wi-builder-panel__rescue-btn--preview:focus {
	background: #ffe8dc;
	color: #a3390c !important;
}

.wi-gb-rescue-banner {
	position: fixed;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999999;
	max-width: min(720px, calc(100vw - 24px));
	width: 100%;
	pointer-events: none;
}

.wi-gb-rescue-banner__inner {
	pointer-events: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 8px;
	padding: 12px 14px;
	border-radius: 8px;
	border: 2px solid #dba617;
	background: #fff8e5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	color: #1e1e1e;
	font-size: 13px;
	line-height: 1.4;
}

.wi-gb-rescue-banner__inner strong {
	flex: 1 1 100%;
	font-size: 14px;
}

.wi-gb-rescue-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
	width: 100%;
}

.wi-gb-rescue-banner__actions .wi-builder-panel__rescue-btn {
	width: auto;
	flex: 1 1 160px;
}

body.elementor-editor-active .wi-gb-rescue-banner,
body.elementor-editor-preview .wi-gb-rescue-banner {
	display: none !important;
}

.wi-builder-panel-root.is-collapsed .wi-builder-panel__body {
	display: none;
}

.wi-builder-panel {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.wi-builder-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
	cursor: pointer;
	user-select: none;
}

.wi-builder-panel__head strong {
	font-size: 13px;
	color: #1e1e1e;
}

.wi-builder-panel__toggle {
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #50575e;
	font-size: 18px;
	line-height: 1;
	padding: 2px 6px;
}

.wi-builder-panel-root:not(.is-collapsed) .wi-builder-panel__head {
	background: var(--wi-brand-orange-soft);
	border-bottom-color: var(--wi-brand-orange-soft-border);
}

.wi-builder-panel-root:not(.is-collapsed) .wi-builder-panel__head strong {
	color: var(--wi-brand-orange);
}

.wi-builder-panel-root:not(.is-collapsed) .wi-builder-panel__toggle {
	color: var(--wi-brand-orange);
}

.wi-builder-panel-root.is-wi-editor-surface.is-collapsed .wi-builder-panel__head {
	border-left: 3px solid var(--wi-brand-orange);
	padding-left: 9px;
}

.wi-builder-panel-root.is-wi-editor-surface.is-collapsed .wi-builder-panel__head strong {
	color: var(--wi-brand-orange);
}

.wi-builder-panel__body {
	padding: 12px;
	max-height: min(70vh, 640px);
	overflow-y: auto;
}

.wi-builder-panel__row {
	margin-bottom: 10px;
}

.wi-builder-panel__row label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 12px;
}

.wi-builder-panel__surfaces {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.wi-builder-panel__surfaces label {
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

.wi-builder-panel__surfaces input:disabled + span {
	opacity: 0.45;
	cursor: not-allowed;
}

.wi-builder-panel__surface-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	margin-left: 4px;
	border-radius: 50%;
	border: 1px solid #646970;
	color: #50575e;
	font-size: 10px;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1;
	vertical-align: middle;
	cursor: help;
}

.wi-builder-panel select,
.wi-builder-panel textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	padding: 6px 8px;
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/*
 * Isolate form fields from dark page-builder themes (Oxygen sets body color #fff).
 * Own field class + ID scope so builders cannot bleach WI panel text.
 */
#wi-builder-panel-root .wi-builder-panel__field,
#wi-builder-panel-root .wi-builder-panel__campaign-search-input,
#wi-builder-panel-root .wi-builder-panel__textarea,
#wi-builder-panel-root .wi-builder-panel__setup-webinar-select,
#wi-builder-panel-root select.wi-builder-panel__campaign,
#wi-builder-panel-root .wi-builder-panel select,
#wi-builder-panel-root .wi-builder-panel textarea {
	color: #1d2327 !important;
	-webkit-text-fill-color: #1d2327 !important;
	caret-color: #1d2327;
	background-color: #fff !important;
	background-image: none !important;
}

#wi-builder-panel-root .wi-builder-panel__field::placeholder,
#wi-builder-panel-root .wi-builder-panel__campaign-search-input::placeholder {
	color: #646970 !important;
	-webkit-text-fill-color: #646970 !important;
	opacity: 1;
}

#wi-builder-panel-root .wi-builder-panel__campaign-search-item {
	color: #1d2327;
	-webkit-text-fill-color: #1d2327;
	background-color: #fff;
}

#wi-builder-panel-root .wi-builder-panel__campaign-search-item:hover,
#wi-builder-panel-root .wi-builder-panel__campaign-search-item:focus {
	color: var(--wi-brand-orange);
	-webkit-text-fill-color: var(--wi-brand-orange);
}

#wi-builder-panel-root .wi-builder-panel select option {
	color: #1d2327;
	background-color: #fff;
}

.wi-builder-panel select.wi-builder-panel__campaign {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	max-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.wi-builder-panel__campaign-search {
	position: relative;
	width: 100%;
}

.wi-builder-panel__campaign-search-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	padding: 6px 8px;
	font-size: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wi-builder-panel__campaign-search-input:focus {
	border-color: var(--wi-brand-orange);
	box-shadow: 0 0 0 1px var(--wi-brand-orange);
	outline: none;
}

.wi-builder-panel__setup-webinar-search {
	margin-top: 6px;
}

.wi-builder-panel__setup-webinar-search .wi-builder-panel__campaign-search-input {
	padding: 8px 10px;
	font-size: 13px;
}

.wi-builder-panel__campaign-search-list {
	position: absolute;
	z-index: 100020;
	left: 0;
	right: 0;
	max-height: 220px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wi-builder-panel__campaign-search-item {
	padding: 7px 10px;
	font-size: 12px;
	cursor: pointer;
}

.wi-builder-panel__campaign-search-item:hover,
.wi-builder-panel__campaign-search-item:focus {
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__campaign-search-item.is-empty {
	cursor: default;
	color: #646970;
}

.wi-builder-panel textarea,
.wi-builder-panel__textarea {
	min-height: 0;
	resize: vertical;
	line-height: 1.45;
	padding: 8px 10px;
	font-size: 12px;
	box-sizing: border-box;
}

.wi-builder-panel__textarea.is-compact {
	min-height: 0;
	height: auto;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

.wi-builder-panel__textarea.is-tall {
	min-height: 140px;
	max-height: none;
}

.wi-builder-panel__packages {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.wi-builder-panel__pkg-btn {
	border: 1px solid var(--wi-brand-orange);
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
	border-radius: 4px;
	padding: 5px 8px;
	font-size: 11px;
	cursor: pointer;
}

.wi-builder-panel__pkg-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.wi-builder-panel__pkg-btn.is-active {
	background: var(--wi-brand-orange);
	color: #fff;
}

.wi-builder-panel__actions {
	display: flex;
	gap: 8px;
	margin: 8px 0 10px;
}

.wi-builder-panel__actions button {
	flex: 1;
	border: 1px solid var(--wi-brand-orange-border);
	background: var(--wi-brand-orange);
	color: #fff;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
}

.wi-builder-panel__actions button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wi-builder-panel__preview-wrap {
	margin-bottom: 10px;
}

.wi-builder-panel__landing-links {
	margin: -2px 0 12px;
	text-align: center;
}

.wi-builder-panel__landing-link {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
	line-height: 1.4;
	text-decoration: underline;
	cursor: pointer;
}

.wi-builder-panel__landing-link--make {
	color: var(--wi-brand-orange, #e07714);
	font-weight: 600;
}

.wi-builder-panel__landing-link--make:hover,
.wi-builder-panel__landing-link--make:focus {
	color: #b85f0f;
}

.wi-builder-panel__landing-link--restore {
	color: #8c8f94;
	font-weight: 500;
}

.wi-builder-panel__landing-link--restore:hover,
.wi-builder-panel__landing-link--restore:focus {
	color: #646970;
}

.wi-builder-panel__landing-link:disabled {
	opacity: 0.55;
	cursor: wait;
}

.wi-builder-panel__preview-btn {
	display: block;
	width: 100%;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	background: #f6f7f7;
	color: #1e1e1e;
	border-radius: 4px;
	padding: 0 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.wi-builder-panel__preview-btn:hover,
.wi-builder-panel__preview-btn.is-open {
	border-color: var(--wi-brand-orange);
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__preview-btn.is-loading {
	opacity: 0.7;
}

.wi-builder-panel__preview-popover {
	position: fixed;
	z-index: 100055;
	display: none;
	pointer-events: auto;
}

.wi-builder-panel__preview-popover.is-visible {
	display: block;
}

.wi-builder-panel__preview-popover-inner {
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	width: 420px;
	max-height: min(52vh, 420px);
	overflow: hidden;
	padding: 0;
}

.wi-builder-panel__preview-popover-inner .wi-builder-panel__preview-frame {
	display: block;
	width: 100%;
	height: min(52vh, 420px);
	border: 0;
	background: #f6f7f7;
}

.wi-builder-panel__overlay {
	position: fixed;
	inset: 0;
	z-index: 100060;
	display: none;
}

.wi-builder-panel__overlay.is-visible {
	display: block;
}

.wi-builder-panel__overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.wi-builder-panel__overlay-dialog {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	max-width: calc(100vw - 48px);
	max-height: min(88vh, calc(100vh - 48px));
	height: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.wi-builder-panel__overlay-dialog.is-surface-reg.is-reg-rail {
	max-width: min(calc(26rem + 32px), calc(100vw - 48px));
}

.wi-builder-panel__overlay-dialog.is-surface-reg:not(.is-reg-rail) {
	max-width: min(920px, calc(100vw - 48px));
}

.wi-builder-panel__overlay-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #dcdcde;
	background: #f6f7f7;
}

.wi-builder-panel__overlay-close {
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #50575e;
	padding: 0 4px;
}

.wi-builder-panel__overlay-body {
	overflow: auto;
	padding: 0;
	flex: 0 1 auto;
	display: block;
	min-height: 0;
}

.wi-builder-panel__overlay-body .wi-builder-panel__preview-frame {
	display: block;
	width: auto;
	height: auto;
	min-height: 0;
	border: 0;
	background: #f6f7f7;
	vertical-align: top;
}

body.wi-builder-panel-overlay-open {
	overflow: auto;
}

body.wi-builder-panel-overlay-pinned {
	overflow: hidden;
}

body.wi-builder-panel-overlay-open .wi-builder-panel-root {
	z-index: 100070;
}

/*
 * #A1106: overlay-open must NOT drop the OP panel under #op3-frame-live-editor (1000002).
 * Without this, Live Preview hover sets overlay-open → panel z-index 100070 → panel vanishes.
 */
body.wi-builder-panel-overlay-open .wi-builder-panel-root.is-op-builder,
body.op-editor-active.wi-builder-panel-overlay-open .wi-builder-panel-root,
body.op3-builder-active.wi-builder-panel-overlay-open .wi-builder-panel-root,
body.op3-editor.wi-builder-panel-overlay-open .wi-builder-panel-root {
	z-index: 1000008 !important;
}

body.wi-builder-panel-overlay-open .wi-builder-panel__overlay.is-op-builder,
body.op-editor-active.wi-builder-panel-overlay-open .wi-builder-panel__overlay,
body.op3-builder-active.wi-builder-panel-overlay-open .wi-builder-panel__overlay,
body.op3-editor.wi-builder-panel-overlay-open .wi-builder-panel__overlay {
	z-index: 1000009 !important;
}

body.wi-builder-panel-overlay-open:not(.wi-builder-panel-overlay-pinned) .wi-builder-panel__overlay-backdrop {
	pointer-events: none;
	background: rgba(0, 0, 0, 0.18);
}

.wi-builder-panel-preview-empty {
	margin: 0;
	color: #646970;
	font-size: 12px;
}

.wi-builder-panel__setup-step--webinar {
	margin: 0 0 12px;
	padding: 14px 12px;
	border: 2px solid var(--wi-brand-orange);
	border-radius: 6px;
	background: var(--wi-brand-orange-soft);
}

.wi-builder-panel__setup-progress {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-webinar-label {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
}

.wi-builder-panel__setup-webinar-select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 8px 10px;
	font-size: 13px;
}

.wi-builder-panel__setup-webinar-select:focus {
	border-color: var(--wi-brand-orange);
	box-shadow: 0 0 0 1px var(--wi-brand-orange);
	outline: none;
}

.wi-builder-panel__setup-webinar-continue {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--wi-brand-orange-border);
	border-radius: 4px;
	background: var(--wi-brand-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wi-builder-panel__setup-webinar-continue:hover {
	background: var(--wi-brand-orange-hover);
	border-color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-webinar-continue:disabled {
	opacity: 0.6;
	cursor: default;
}

#wi-builder-panel-root.is-setup-webinar .wi-builder-panel__body {
	padding-top: 4px;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__head {
	background: var(--wi-brand-orange-soft);
	border-bottom-color: var(--wi-brand-orange-soft-border);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__head strong {
	color: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-continue,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-yes,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-webinar-continue {
	border: 1px solid var(--wi-brand-orange-border);
	background: var(--wi-brand-orange);
	color: #fff;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-continue:hover,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-yes:hover,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-webinar-continue:hover {
	background: var(--wi-brand-orange-hover);
	border-color: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-no,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-refresh,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-build-done {
	border: 1px solid var(--wi-brand-orange);
	background: #fff;
	color: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-link,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__dashboard-link {
	color: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__publish-banner,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__build-banner {
	background: var(--wi-brand-orange-soft);
	border: 1px solid var(--wi-brand-orange-soft-border);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__pkg-btn {
	border-color: var(--wi-brand-orange);
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__pkg-btn.is-active {
	background: var(--wi-brand-orange);
	color: #fff;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__actions button {
	border-color: var(--wi-brand-orange-border);
	background: var(--wi-brand-orange);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__preview-btn:hover,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__preview-btn.is-open {
	border-color: var(--wi-brand-orange);
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-nav {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.wi-builder-panel__setup-back {
	flex: 0 0 72px;
	padding: 8px 6px;
	border: 1px solid var(--wi-brand-orange);
	border-radius: 4px;
	background: #fff;
	color: var(--wi-brand-orange);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.wi-builder-panel__setup-back:hover {
	background: var(--wi-brand-orange-soft);
}

.wi-builder-panel__setup-back:disabled {
	opacity: 0.6;
	cursor: default;
}

.wi-builder-panel__setup-nav .wi-builder-panel__setup-continue,
.wi-builder-panel__setup-nav .wi-builder-panel__setup-refresh,
.wi-builder-panel__setup-nav .wi-builder-panel__setup-build-done {
	flex: 1 1 auto;
	width: auto;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-back {
	border-color: var(--wi-brand-orange);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-step {
	margin-bottom: 12px;
}

.wi-builder-panel__setup-step strong {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
}

.wi-builder-panel__setup-step p {
	margin: 0 0 8px;
	color: #50575e;
	font-size: 12px;
	line-height: 1.45;
}

.wi-builder-panel__setup-continue {
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wi-builder-panel__setup-continue:hover {
	background: #135e96;
}

.wi-builder-panel__setup-continue:disabled {
	opacity: 0.6;
	cursor: default;
}

.wi-builder-panel__setup-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wi-builder-panel__setup-yes,
.wi-builder-panel__setup-no,
.wi-builder-panel__setup-refresh,
.wi-builder-panel__setup-build-done {
	width: 100%;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wi-builder-panel__setup-yes,
.wi-builder-panel__setup-continue {
	border: 0;
	background: #2271b1;
	color: #fff;
}

.wi-builder-panel__setup-continue,
.wi-builder-panel__setup-webinar-continue,
.wi-builder-panel__setup-yes,
.wi-builder-panel__setup-no,
.wi-builder-panel__setup-refresh,
.wi-builder-panel__setup-build-done,
.wi-builder-panel__setup-back {
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.wi-builder-panel__setup-no:hover,
.wi-builder-panel__setup-refresh:hover,
.wi-builder-panel__setup-build-done:hover {
	background: #f0f6fc;
	border-color: #135e96;
	color: #135e96;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-no:hover,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-refresh:hover,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-build-done:hover {
	background: var(--wi-brand-orange-soft);
	border-color: var(--wi-brand-orange);
	color: var(--wi-brand-orange);
}

@keyframes wi-bp-spin {
	to { transform: rotate(360deg); }
}

.wi-builder-panel__setup-continue.is-busy,
.wi-builder-panel__setup-webinar-continue.is-busy,
.wi-builder-panel__setup-yes.is-busy,
.wi-builder-panel__setup-no.is-busy,
.wi-builder-panel__setup-refresh.is-busy,
.wi-builder-panel__setup-build-done.is-busy,
.wi-builder-panel__setup-back.is-busy {
	position: relative;
	pointer-events: none;
	cursor: progress;
}

.wi-builder-panel__setup-continue.is-busy,
.wi-builder-panel__setup-webinar-continue.is-busy,
.wi-builder-panel__setup-yes.is-busy {
	color: rgba(255, 255, 255, 0.35);
}

.wi-builder-panel__setup-no.is-busy,
.wi-builder-panel__setup-refresh.is-busy,
.wi-builder-panel__setup-build-done.is-busy,
.wi-builder-panel__setup-back.is-busy {
	color: rgba(34, 113, 177, 0.35);
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-no.is-busy,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-refresh.is-busy,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-build-done.is-busy,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-back.is-busy {
	color: rgba(232, 93, 4, 0.35);
}

.wi-builder-panel__setup-continue.is-busy::after,
.wi-builder-panel__setup-webinar-continue.is-busy::after,
.wi-builder-panel__setup-yes.is-busy::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: wi-bp-spin 0.6s linear infinite;
}

.wi-builder-panel__setup-no.is-busy::after,
.wi-builder-panel__setup-refresh.is-busy::after,
.wi-builder-panel__setup-build-done.is-busy::after,
.wi-builder-panel__setup-back.is-busy::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 2px solid #2271b1;
	border-top-color: transparent;
	border-radius: 50%;
	animation: wi-bp-spin 0.6s linear infinite;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-no.is-busy::after,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-refresh.is-busy::after,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-build-done.is-busy::after,
#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-back.is-busy::after {
	border-color: var(--wi-brand-orange);
	border-top-color: transparent;
}

.wi-builder-panel__setup-yes:hover,
.wi-builder-panel__setup-continue:hover {
	background: #135e96;
}

.wi-builder-panel__setup-no,
.wi-builder-panel__setup-refresh,
.wi-builder-panel__setup-build-done {
	border: 1px solid #2271b1;
	background: #fff;
	color: #2271b1;
}

.wi-builder-panel__setup-label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 12px;
}

.wi-builder-panel__page-pick {
	width: 100%;
	margin-bottom: 8px;
}

.wi-builder-panel__setup-link {
	color: #2271b1;
	font-weight: 600;
}

.wi-builder-panel__setup-complete-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 10px 0 8px;
}

.wi-builder-panel__setup-complete-action {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.wi-builder-panel__setup-complete-action--primary {
	border: 1px solid var(--wi-brand-orange);
	background: #fff;
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-complete-action--primary:hover {
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-complete-action--secondary {
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	color: #1d2327;
}

.wi-builder-panel__setup-complete-action--secondary:hover {
	background: #fff;
	border-color: #8c8f94;
	color: #1d2327;
}

.wi-builder-panel__setup-complete-step {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	background: var(--wi-brand-orange-soft);
	color: var(--wi-brand-orange);
}

.wi-builder-panel__setup-complete-action--secondary .wi-builder-panel__setup-complete-step {
	background: #e0e0e0;
	color: #50575e;
}

.wi-builder-panel__setup-complete-text {
	flex: 1 1 auto;
}

.wi-builder-panel__setup-complete-check {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	opacity: 0;
	position: relative;
}

.wi-builder-panel__setup-complete-action--primary.is-done {
	border-color: #00a32a;
	background: #f0fff4;
	color: #1d2327;
}

.wi-builder-panel__setup-complete-action--primary.is-done .wi-builder-panel__setup-complete-check {
	opacity: 1;
	background: #00a32a;
}

.wi-builder-panel__setup-complete-action--primary.is-done .wi-builder-panel__setup-complete-check::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wi-builder-panel__setup-complete-action--attach {
	border: 1px solid #c3c4c7;
	background: #fff;
	color: #1d2327;
	cursor: default;
}

.wi-builder-panel__setup-complete-action--attach.is-done {
	border-color: #00a32a;
	background: #f0fff4;
}

.wi-builder-panel__setup-complete-action--attach .wi-builder-panel__setup-complete-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wi-builder-panel__setup-complete-label {
	font-weight: 600;
	font-size: 13px;
}

.wi-builder-panel__setup-complete-hint {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	color: #50575e;
}

.wi-builder-panel__setup-complete-preview {
	font-size: 12px;
	font-weight: 600;
	color: var(--wi-brand-orange);
	text-decoration: underline;
}

.wi-builder-panel__setup-complete-action--attach.is-done .wi-builder-panel__setup-complete-check {
	opacity: 1;
	background: #00a32a;
}

.wi-builder-panel__setup-complete-action--attach.is-done .wi-builder-panel__setup-complete-check::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wi-builder-panel__setup-complete-action.is-locked {
	opacity: 0.55;
	cursor: not-allowed;
}

.wi-builder-panel__setup-editor-choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.wi-builder-panel__setup-editor-choice {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid #e86f4a;
	background: #fff;
	color: #e86f4a;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.wi-builder-panel__setup-editor-choice:hover {
	background: #fff5f0;
}

.wi-builder-panel__setup-editor-choice--block {
	background: #fff5f0;
}

.wi-builder-panel__setup-complete-action--webinar {
	border-color: #f59e0b;
	background: #fffbeb;
}

.wi-builder-panel__setup-wizard-closed {
	margin: 8px 0 0;
	padding: 8px 10px 0;
	border-top: 1px solid #e0e0e0;
	font-size: 11px;
	font-weight: 600;
	color: #787c82;
	text-align: center;
	line-height: 1.45;
}

.wi-builder-panel__setup-wizard-closed.is-done {
	padding: 10px 12px;
	border-top: 0;
	border-radius: 4px;
	background: #f0fff4;
	border: 1px solid #b8e6c1;
	color: #1d6f42;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
}

.wi-builder-panel__publish-banner,
.wi-builder-panel__build-banner {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 4px;
	background: #f0f6fc;
	border: 1px solid #c3d9ed;
}

.wi-builder-panel__publish-banner p,
.wi-builder-panel__build-banner p {
	margin: 0 0 8px;
	font-size: 12px;
	line-height: 1.45;
	color: #1d2327;
}

.wi-builder-panel__publish-banner.is-complete {
	background: #edfaef;
	border-color: #b8e6bf;
}

.wi-builder-panel__dashboard-link {
	display: inline-block;
	margin-top: 4px;
}

.wi-builder-panel__setup-shortcodes {
	margin: 8px 0 12px;
	padding-top: 8px;
	border-top: 1px solid #e0e0e0;
}

.wi-builder-panel__setup-skip-wrap {
	margin: 10px 0 2px;
	text-align: center;
}

.wi-builder-panel__setup-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 12px 0 2px;
	padding-top: 8px;
	border-top: 1px solid #e0e0e0;
}

.wi-builder-panel__setup-footer--no-back {
	justify-content: center;
}

.wi-builder-panel__setup-back--footer {
	background: none;
	border: none;
	color: #646970;
	font-size: 11px;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	flex: 0 0 auto;
}

.wi-builder-panel__setup-back--footer:hover {
	color: #2271b1;
}

#wi-builder-panel-root.is-wi-wizard-setup .wi-builder-panel__setup-back--footer {
	border: none;
	background: none;
	color: #646970;
	padding: 0;
	min-width: 0;
}

.wi-builder-panel__setup-skip {
	background: none;
	border: none;
	color: #646970;
	font-size: 11px;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

.wi-builder-panel__landing-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 12px 0 14px;
}

.wi-builder-panel__landing-card {
	margin: 0;
	padding: 8px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	text-align: center;
	cursor: pointer;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.wi-builder-panel__landing-preview {
	display: block;
	width: 100%;
	min-height: 72px;
	margin-bottom: 2px;
}

.wi-builder-panel__landing-card .wi-builder-panel__landing-wire {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.wi-builder-panel__landing-card.is-selected {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.wi-builder-panel__landing-card--focus.is-selected {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.wi-builder-panel__landing-wire {
	border-radius: 3px;
	margin-bottom: 4px;
}

.wi-builder-panel__landing-wire--header {
	height: 10px;
	background: #dcdcde;
}

.wi-builder-panel__landing-wire--nav {
	height: 8px;
	background: #c3c4c7;
	width: 70%;
	margin-left: auto;
}

.wi-builder-panel__landing-wire--content {
	height: 36px;
	background: #fff;
	border: 1px dashed #c3c4c7;
}

.wi-builder-panel__landing-wire--content.wi-builder-panel__landing-wire--tall {
	height: 52px;
}

.wi-builder-panel__landing-wire--footer {
	height: 10px;
	background: #dcdcde;
}

.wi-builder-panel__landing-wire--wi-footer {
	height: 8px;
	background: #2271b1;
	opacity: 0.35;
	width: 55%;
	margin: 0 auto;
}

.wi-builder-panel__landing-card figcaption,
.wi-builder-panel__landing-card-label {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.35;
	color: #50575e;
	text-align: center;
	display: block;
}

.wi-builder-panel__setup-landing-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wi-builder-panel__setup-landing-choice-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wi-builder-panel__setup-landing-continue-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.wi-builder-panel__setup-landing-actions .wi-builder-panel__setup-landing-apply,
.wi-builder-panel__setup-landing-actions .wi-builder-panel__setup-landing-skip {
	background: transparent;
	color: #50575e;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 12px;
	cursor: pointer;
	width: 100%;
}

.wi-builder-panel__setup-landing-actions .wi-builder-panel__setup-landing-apply.is-primary,
.wi-builder-panel__setup-landing-actions .wi-builder-panel__setup-landing-skip.is-primary {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.wi-builder-panel__setup-landing-applied {
	margin: 0 0 6px;
	font-size: 12px;
	color: #00a32a;
}
.wi-builder-panel__campaign-locked {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}
.wi-builder-panel__mixed-banner {
	margin: 0 0 10px;
	padding: 10px;
	border: 1px solid #d63638;
	border-radius: 6px;
	background: #fcf0f1;
}
.wi-builder-panel__mixed-title {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: #b32d2e;
}
.wi-builder-panel__mixed-body {
	margin: 0 0 8px;
	font-size: 12px;
	color: #50575e;
}
.wi-builder-panel__mixed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wi-builder-panel__mixed-pick {
	cursor: pointer;
	border: 1px solid var(--wi-brand-orange-border, #c9460f);
	border-radius: 4px;
	background: var(--wi-brand-orange, #e64f1d);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 10px;
}
.wi-builder-panel__mixed-pick:hover {
	background: var(--wi-brand-orange-hover, #f06030);
}

