/* Security Advisor — design tokens (scoped to this page) */
.wf-sn-ai-advisor-page {
	--wf-sn-ai-accent: #047857;
	--wf-sn-ai-accent-hover: #347761;
	--wf-sn-ai-accent-soft: #e6f9f5;
	--wf-sn-ai-accent-mid: #86efac;
	--wf-sn-ai-surface: #ffffff;
	--wf-sn-ai-surface-muted: #f8fafc;
	--wf-sn-ai-surface-panel: #ecfdf5;
	--wf-sn-ai-surface-toolbar: #f1f5f9;
	--wf-sn-ai-border: #e2e8f0;
	--wf-sn-ai-border-strong: #cbd5e1;
	--wf-sn-ai-text: #1d2327;
	--wf-sn-ai-text-muted: #64748b;
	--wf-sn-ai-radius: 10px;
	--wf-sn-ai-radius-sm: 8px;
	--wf-sn-ai-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px var(--wf-sn-ai-accent);
}

/* Security Advisor page – cards and layout */
.wf-sn-ai-advisor-page .wf-sn-ai-card {
	background: var(--wf-sn-ai-surface);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	margin-bottom: 20px;
}

/* Section rhythm: title → description → table */
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner > .wf-sn-ai-section-title {
	margin: 0 0 6px 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner > .wf-sn-ai-section-title + .description {
	margin-top: 0;
	margin-bottom: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner > .description + .wf-sn-ai-reports-table,
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner > .wf-sn-ai-section-title + .wf-sn-ai-reports-table {
	margin-top: 14px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner > .description + .description + .wf-sn-ai-reports-table {
	margin-top: 14px;
}

.wf-sn-ai-improvement-body {
	font-size: 1.2em;
	line-height: 1.4em;
}


.wp-core-ui .wf-sn-ai-card-inner .wf-sn-ai-view-full-report {
	margin-left: auto;
	padding: 0;
	height: auto;
	border: 0;
	background: none;
	color: #2271b1;
	font-size: 14px;
}



.wf-sn-ai-card-inner span.description {
	clear: both;
	width: 100%;
	display: block;
	font-style: italic;
	padding-left: 22px;
	margin-top: 10px;
}

.wf-sn-ai-advisor-page .wf-sn-ai-card-inner {
	padding: 16px 20px;
}

/* WordPress 7 required — prominent but calm callout */
.wf-sn-ai-wp7-required {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	max-width: 720px;
	margin-top: 8px;
	padding: 20px 22px;
	background: linear-gradient(135deg, #f0f6fc 0%, #f6f7f7 100%);
	border: 1px solid #c3d9ed;
	border-left-width: 4px;
	border-left-color: #2271b1;
	border-radius: 6px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.wf-sn-ai-wp7-required__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	font-size: 36px;
	line-height: 1;
	color: #2271b1;
	margin-top: 2px;
}
.wf-sn-ai-wp7-required__body {
	min-width: 0;
}
.wf-sn-ai-wp7-required__title {
	margin: 0 0 10px 0;
	font-size: 1.15em;
	line-height: 1.3;
	color: #1d2327;
}
.wf-sn-ai-wp7-required__lead {
	margin: 0 0 12px 0;
	font-size: 14px;
	line-height: 1.55;
	color: #2c3338;
}
.wf-sn-ai-wp7-required__list {
	margin: 0 0 16px 1.2em;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #50575e;
}
.wf-sn-ai-wp7-required__list li {
	margin-bottom: 6px;
}
.wf-sn-ai-wp7-required__actions {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wf-sn-ai-advisor-page .wf-sn-ai-locale-wrapper {
	margin: 0 0 8px 0;
}

.wf-sn-ai-advisor-page .wf-sn-ai-locale-label {
	margin-right: 6px;
	font-weight: 500;
}

.wf-sn-ai-advisor-page .wf-sn-ai-locale {
	min-width: 180px;
}

/* Preview data modal */
.wf-sn-ai-preview-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}
.wf-sn-ai-preview-modal[hidden] {
	display: none;
}
.wf-sn-ai-preview-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}
.wf-sn-ai-preview-modal-content {
	position: relative;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	max-width: 90%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
}
.wf-sn-ai-preview-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #dcdcde;
	flex-shrink: 0;
}
.wf-sn-ai-preview-modal-title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
}
.wf-sn-ai-preview-modal-close {
	font-size: 24px;
	line-height: 1;
	padding: 0 4px;
	cursor: pointer;
	color: #50575e;
	background: none;
	border: none;
}
.wf-sn-ai-preview-modal-close:hover {
	color: #1d2327;
}
.wf-sn-ai-preview-modal-body {
	padding: 16px;
	overflow: auto;
	flex: 1;
	min-height: 0;
}
.wf-sn-ai-preview-modal-body pre {
	margin: 0;
	padding: 12px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	font-size: 12px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 60vh;
	overflow: auto;
}
.wf-sn-ai-preview-modal-body code {
	background: none;
	padding: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-preview-data-row {
	margin-top: 8px;
	margin-bottom: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-preview-data-link {
	text-decoration: none;
}

/* Security Advisor page – result blocks and layout */
.wf-sn-ai-advisor-page .wf-sn-ai-result-wrapper {
	margin-top: 12px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result-stage {
	color: #646970;
	font-size: 14px;
	margin-bottom: 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result-stats {
	margin: 0 0 6px;
	color: var(--wf-sn-ai-text-muted, #646970);
	font-size: 13px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result-canvas.wf-sn-ai-result.wf-sn-ai-result--error {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result-timer {
	font-family: ui-monospace, monospace;
	font-size: 13px;
	color: #646970;
	margin-left: 8px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 10px;
	padding: 10px 12px 10px 12px;
	max-width: 36em;
	color: #50575e;
	font-size: 13px;
	line-height: 1.45;
	background: linear-gradient(135deg, #f6f7f9 0%, #f0f0f1 100%);
	border-radius: 6px;
	border-left: 3px solid #2271b1;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip:not([hidden]) {
	display: flex;
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip.wf-sn-ai-tip-visible {
	max-width: initial;
	margin: 0px 10px 10px 10px;
	width: auto;
	opacity: 1;
	transform: translateY(0);
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip.wf-sn-ai-tip-enter {
	animation: wf-sn-ai-tip-enter 0.4s ease forwards;
}
@keyframes wf-sn-ai-tip-enter {
	0% {
		opacity: 0.5;
		transform: translateY(6px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	font-size: 18px;
	line-height: 1.2;
	color: #2271b1;
	margin-top: 1px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip-text {
	flex: 1;
	min-width: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result {
	min-height: 2.5em;
	padding: 12px;
	margin-top: 8px;
	background: #f0f0f1;
	border-radius: 4px;
	white-space: normal;
}
.wf-sn-ai-advisor-page .wf-sn-ai-result.loading {
	color: #646970;
}
.wf-sn-ai-advisor-page .wf-sn-ai-section {
	margin-bottom: 1.5em;
}
.wf-sn-ai-section-title {
	margin-top: 0;
}

/* Parsed report sections */
.wf-sn-ai-advisor-page .wf-sn-ai-report-section {
	max-width: 100%;
	margin-bottom: 1.25em;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-section:last-child {
	margin-bottom: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-heading {
	font-size: 1.3em;
	font-weight: 600;
	margin: 0 0 10px 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-body {
	font-size: 1.2em;
	line-height: 1.5;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-executive {
	border-left: 3px solid #2271b1;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 0 4px 4px 0;
	padding: 10px 12px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-executive .wf-sn-ai-report-body {
	margin: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-improvements .wf-sn-ai-report-body {
	padding-left: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-risk-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 10px;
	margin-left: 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-risk-badge.wf-sn-ai-risk-low {
	background: #d4edda;
	color: #155724;
}
.wf-sn-ai-advisor-page .wf-sn-ai-risk-badge.wf-sn-ai-risk-medium {
	background: #fff3cd;
	color: #856404;
}
.wf-sn-ai-advisor-page .wf-sn-ai-risk-badge.wf-sn-ai-risk-high {
	background: #f8d7da;
	color: #721c24;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-activity .wf-sn-ai-report-body {
	color: #50575e;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement {
	margin-bottom: 6px;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	background: #f6f7f7;
	cursor: pointer;
	text-align: left;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement-toggle:hover {
	background: #f0f0f1;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement-label {
	font-weight: 500;
	font-size: 1.4em;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement-details {
	margin-top: 6px;
	padding: 8px 10px;
	border-left: 2px solid #dcdcde;
}

.wf-sn-ai-advisor-page .wf-sn-ai-improvement-title {
	margin: 0 0 4px 0;
	font-weight: 600;
}

.wf-sn-ai-advisor-page .wf-sn-ai-activity-trend {
	margin-top: 6px;
	font-size: 12px;
	color: #646970;
}

/* Previous reports list */
.wf-sn-ai-reports-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wf-sn-ai-report-item {
	margin-bottom: 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
}
/* List-style previous reports only — do not apply width:100% to table View buttons */
.wf-sn-ai-report-item .wf-sn-ai-report-toggle {
	display: block;
	width: 100%;
	text-align: left;
	padding: 10px 12px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 14px;
}
.wf-sn-ai-report-item .wf-sn-ai-report-toggle:hover {
	background: #f0f0f1;
}
.wf-sn-ai-report-date {
	display: block;
	color: #646970;
	font-size: 12px;
	margin-bottom: 4px;
}
.wf-sn-ai-report-full {
	padding: 12px;
	border-top: 1px solid #c3c4c7;
	background: #f6f7f7;
	white-space: pre-wrap;
	font-size: 13px;
}

/* Latest Security Report card */
.wf-sn-ai-latest-report .wf-sn-ai-latest-report-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-bottom: 16px;
}
.wf-sn-ai-latest-report .wf-sn-ai-section-title {
	margin: 0;
}
.wf-sn-ai-latest-report-meta {
	color: #646970;
	font-size: 14px;
}
.wf-sn-ai-view-full-report {
	margin-left: auto;
	padding: 0;
	height: auto;
	border: 0;
	background: none;
	color: #2271b1;
	font-size: 14px;
}
.wf-sn-ai-view-full-report:hover {
	color: #135e96;
	text-decoration: underline;
}
.wf-sn-ai-latest-report-body {
	margin-bottom: 20px;
}
.wf-sn-ai-chart-title {
	margin: 0 0 8px 0;
	font-size: 14px;
}
.wf-sn-ai-chart-bars {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.wf-sn-ai-chart-bar-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}
.wf-sn-ai-chart-label {
	min-width: 100px;
}
.wf-sn-ai-chart-bar {
	height: 20px;
	min-width: 4px;
	border-radius: 3px;
}
.wf-sn-ai-chart-bar-prev { background: #dcdcde; }
.wf-sn-ai-chart-bar-current { background: #2271b1; }
.wf-sn-ai-chart-value {
	min-width: 2em;
	text-align: right;
}
.wf-sn-ai-latest-summary,
.wf-sn-ai-latest-improvements {
	margin-top: 16px;
}
.wf-sn-ai-latest-improvements-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wf-sn-ai-latest-improvement-item {
	margin-bottom: 8px;
	list-style: none;
}
.wf-sn-ai-latest-improvement-item--static {
	list-style: none;
}
.wf-sn-ai-latest-improvement {
	display: block;
	margin-bottom: 0;
	font-size: 14px;
}
.wf-sn-ai-latest-improvement--static {
	display: flex;
	align-items: center;
	gap: 10px;
}
.wf-sn-ai-latest-improvement__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	list-style: none;
	font-weight: inherit;
}
.wf-sn-ai-latest-improvement__summary::-webkit-details-marker {
	display: none;
}
.wf-sn-ai-latest-improvement__summary::marker {
	display: none;
	content: '';
}
.wf-sn-ai-latest-improvement__body {
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.wf-sn-ai-latest-improvement__body .wf-sn-ai-improvement-body {
	font-size: 14px;
	line-height: 1.5;
	color: #50575e;
}
.wf-sn-ai-improvement-dot {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	flex-shrink: 0;
}
.wf-sn-ai-priority-high .wf-sn-ai-improvement-dot { background: #e8baba; }
.wf-sn-ai-priority-medium .wf-sn-ai-improvement-dot { background: #dba617; }
.wf-sn-ai-priority-low .wf-sn-ai-improvement-dot { background: #72aee6; }
.wf-sn-ai-priority-badge {
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 4px;
	margin-left: auto;
	font-weight: 600;
}
.wf-sn-ai-priority-high .wf-sn-ai-priority-badge {
	background: #e8baba;
	color: #000000;
}
.wf-sn-ai-priority-medium .wf-sn-ai-priority-badge {
	background: #dba617;
	color: #fff;
}
.wf-sn-ai-priority-low .wf-sn-ai-priority-badge {
	background: #f0f0f1;
	color: #1d2327;
}
.wf-sn-ai-full-report-expanded {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #dcdcde;
}

/* Unified panel: full audit + chips + response stack */
.wf-sn-ai-panel--interact {
	border-color: #c3d4e0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.wf-sn-ai-panel--interact > .wf-sn-ai-card-inner > .wf-sn-ai-section-title,
.wf-sn-ai-advisor-page .wf-sn-ai-report-column-card > .wf-sn-ai-card-inner > .wf-sn-ai-section-title:first-child {
	margin-top: 0;
}
.wf-sn-ai-action-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-top: 12px;
	padding: 12px 14px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}
.wf-sn-ai-action-toolbar__chips.wf-sn-ai-chip-row {
	margin-top: 0;
	flex: 1 1 220px;
}
.wf-sn-ai-rescan-details {
	margin: 14px 0 0 0;
	padding: 10px 12px;
	background: #fcfcfc;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
}
.wf-sn-ai-rescan-summary {
	cursor: pointer;
	font-weight: 500;
	color: #2271b1;
	list-style: none;
}
.wf-sn-ai-rescan-summary::-webkit-details-marker {
	display: none;
}
.wf-sn-ai-rescan-tip {
	margin: 10px 0 0 0;
	padding-top: 10px;
	padding-left: 0;
	border-top: 1px solid #e8e8e8;
	font-style: normal;
}
.wf-sn-ai-response-stack {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #dcdcde;
}
.wf-sn-ai-response-panel--full-report .wf-sn-ai-result-wrapper {
	margin-top: 0;
}
.wf-sn-ai-response-panel--assistant {
	margin-top: 18px;
}
.wf-sn-ai-response-panel__title {
	margin: 0 0 8px 0;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #646970;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details {
	margin: 10px 0 0 0;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details:first-child {
	margin-top: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-answer--preview,
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-priority--preview {
	margin: 0 0 10px 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details__summary {
	cursor: pointer;
	padding: 8px 12px;
	font-weight: 600;
	font-size: 13px;
	color: #1d2327;
	list-style: none;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details__summary::-webkit-details-marker {
	display: none;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details__body {
	padding: 0 12px 12px 12px;
	border-top: 1px solid #f0f0f1;
	font-size: 14px;
	line-height: 1.5;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-details__body .wf-sn-ai-assistant-list {
	margin-top: 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-expand {
	margin: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__teaser .wf-sn-ai-assistant-answer--preview,
.wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__teaser .wf-sn-ai-assistant-priority--preview {
	margin-bottom: 6px;
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__toggle.button.button-link {
	display: inline;
	padding: 0;
	margin: 0 0 4px 0;
	min-height: 0;
	line-height: inherit;
	font-weight: 600;
	font-size: inherit;
	box-shadow: none;
	text-decoration: underline;
	border: none;
	background: transparent;
	height: auto;
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__toggle.button.button-link:hover {
	color: var(--wf-sn-ai-accent-hover, #135e96);
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__full[hidden] {
	display: none !important;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-expand__full:focus {
	outline: none;
	box-shadow: var(--wf-sn-ai-focus-ring);
	border-radius: 4px;
}
.wf-sn-ai-locale-inline label {
	margin-right: 6px;
}
.wf-sn-ai-locale-inline .wf-sn-ai-ui-locale {
	min-width: 180px;
}
.wf-sn-ai-what-happens.description {
	margin-top: 8px;
	margin-bottom: 0;
	color: #646970;
}
.wf-sn-ai-what-happens a {
	text-decoration: none;
}

/* Previous reports table */
.wf-sn-ai-previous-reports .wf-sn-ai-section-title {
	margin-top: 0;
}
.wf-sn-ai-reports-table {
	margin-top: 0;
	border: 1px solid #c3c4c7;
	border-collapse: collapse;
}
.wf-sn-ai-reports-table th,
.wf-sn-ai-reports-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #c3c4c7;
}
.wf-sn-ai-reports-table th {
	background: #f6f7f7;
	font-weight: 600;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-summary {
	max-width: 400px;
	color: #50575e;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-actions {
	white-space: normal;
	vertical-align: middle;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-actions-inner {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-toggle,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-chip-history-toggle {
	display: inline-block;
	width: auto;
	min-width: auto;
	border: 1px solid #2271b1;
	color: #2271b1;
	background: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
	text-align: center;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-toggle:hover,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-chip-history-toggle:hover {
	background: #f0f0f1;
	color: #135e96;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-delete-report {
	width: auto;
	display: inline-block;
}
.wf-sn-ai-report-detail-cell {
	background: #f6f7f7;
	vertical-align: top;
}
.wf-sn-ai-report-detail-cell .wf-sn-ai-report-full {
	padding: 12px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-detail-full {
	white-space: normal;
	word-break: break-word;
}

/* Full-width layout when sidebar is not shown (Security Advisor page) */
.wf-sn-ai-advisor-fullwidth.secnin_content_wrapper {
	display: block;
}
.wf-sn-ai-advisor-fullwidth #secnin_content_top {
	display: block;
	width: 100%;
	max-width: none;
}

/* AI badge in admin menu */
.sn-ai-menu-badge {
	display: inline-block;
	margin-left: 4px;
	padding: 2px 6px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	color: #1d2327;
	background: #dcdcde;
	border-radius: 3px;
	vertical-align: middle;
}

/* Workspace header + two-column band */
.wf-sn-ai-workspace-header {
	margin-bottom: 8px;
}
.wf-sn-ai-workspace-meta {
	margin-top: 4px;
}
.wf-sn-ai-subheading {
	margin: 0 0 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}
.wf-sn-ai-workspace-band {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 20px;
	max-width: 960px;
}
@media (min-width: 900px) {
	.wf-sn-ai-workspace-band {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}
.wf-sn-ai-delta-card {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 14px 16px;
}

/* Re-evaluate notice (admin) */
.wf-sn-ai-reevaluate-notice .wf-sn-ai-reevaluate-notice__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 8px 0 12px 0;
}
.wf-sn-ai-reevaluate-notice__message {
	margin: 0;
	flex: 1 1 200px;
}
.wf-sn-ai-reevaluate-notice__icon {
	color: #00a32a;
	margin-right: 4px;
}

/* Chip buttons + assistant output (inside unified panel) */
.wf-sn-ai-assistant-output {
	min-height: 40px;
	margin: 0;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}
.wf-sn-ai-assistant-list {
	margin: 8px 0 0 1.2em;
}
.wf-sn-ai-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.wf-sn-ai-chip.button {
	margin: 0;
	border-radius: 20px;
	padding: 6px 14px;
	height: auto;
	line-height: 1.3;
	font-size: 13px;
}
.wf-sn-ai-chip--disabled,
.wf-sn-ai-chip:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.wf-sn-ai-chip-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: 220px;
}

.wf-sn-ai-chip-reason {
	margin: 0;
	font-size: 12px;
	line-height: 1.35;
}

.wf-sn-ai-readiness-list,
.wf-sn-ai-priority-list {
	margin: 0 0 1em;
	padding-left: 0;
	list-style: none;
}

.wf-sn-ai-readiness-item,
.wf-sn-ai-priority-item {
	margin-bottom: 0.75em;
}

.wf-sn-ai-delta-card ul {
	margin: 0 0 1em 1.2em;
}

.wf-sn-ai-error-panel {
	border: 1px solid #dcdcde;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	padding: 12px 14px;
	border-radius: 4px;
}

.wf-sn-ai-error-title {
	margin: 0 0 8px;
	font-size: 15px;
}

.wf-sn-ai-error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wf-sn-ai-error-technical summary {
	cursor: pointer;
	font-weight: 600;
}

.wf-sn-ai-settings-summary {
	cursor: pointer;
	font-weight: 600;
	padding: 12px 0;
}

.wf-sn-ai-settings-stack {
	display: flex;
	flex-direction: column;
}

.wf-sn-ai-settings-group {
	padding: 18px 0;
	border-bottom: 1px solid var(--wf-sn-ai-border, #dcdcde);
}

.wf-sn-ai-settings-group:first-child {
	padding-top: 4px;
}

.wf-sn-ai-settings-group:last-of-type {
	border-bottom: none;
}

.wf-sn-ai-settings-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
	gap: 12px 24px;
	align-items: start;
}

.wf-sn-ai-settings-row__content h3,
.wf-sn-ai-settings-row__content h4 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
}

.wf-sn-ai-settings-row__content .description {
	margin: 0;
}

.wf-sn-ai-settings-row__control {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	min-width: 0;
}

.wf-sn-ai-settings-row__control select.regular-text {
	width: 100%;
	max-width: 220px;
}

.wf-sn-ai-settings-row--toggle .wf-sn-ai-settings-row__control {
	padding-top: 2px;
}

.wf-sn-ai-settings-subtitle {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
}

.wf-sn-ai-settings-actions {
	padding-top: 18px;
	margin-top: 4px;
	border-top: 1px solid var(--wf-sn-ai-border, #dcdcde);
}

.wf-sn-ai-settings-group--abilities .wf-sn-ai-abilities-list {
	margin-top: 14px;
	padding: 14px 16px;
	background: var(--wf-sn-ai-surface-panel, #f6f7f7);
	border: 1px solid var(--wf-sn-ai-border, #dcdcde);
	border-radius: var(--wf-sn-ai-radius-sm, 4px);
}

.wf-sn-ai-generate-lead {
	margin: 10px 0 12px;
}

.wf-sn-ai-readiness-compact {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 10px 12px;
	background: var(--wf-sn-ai-surface-panel, #f6f7f7);
	border: 1px solid var(--wf-sn-ai-border, #dcdcde);
	border-radius: var(--wf-sn-ai-radius-sm, 4px);
	font-size: 13px;
}

.wf-sn-ai-readiness-compact__label {
	font-weight: 600;
	color: var(--wf-sn-ai-text, #1d2327);
}

.wf-sn-ai-readiness-compact__ok {
	color: var(--wf-sn-ai-accent, #00a32a);
}

.wf-sn-ai-readiness-compact__issues {
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1 1 100%;
}

.wf-sn-ai-readiness-compact__issue {
	margin: 0 0 4px;
	color: var(--wf-sn-ai-text-muted, #646970);
}

.wf-sn-ai-readiness-compact__issue:last-child {
	margin-bottom: 0;
}

.wf-sn-ai-readiness-compact__action {
	margin-left: auto;
}

.wf-sn-ai-no-report-yet {
	margin-top: 16px;
	padding: 12px 14px;
	background: var(--wf-sn-ai-surface-panel, #f6f7f7);
	border: 1px dashed var(--wf-sn-ai-border, #dcdcde);
	border-radius: var(--wf-sn-ai-radius-sm, 4px);
}

.wf-sn-ai-no-report-yet p {
	margin: 0;
	font-size: 13px;
	color: var(--wf-sn-ai-text-muted, #646970);
}

.wf-sn-ai-delta-card--inline,
.wf-sn-ai-top-priorities--inline {
	margin-top: 16px;
}

.wf-sn-ai-quiet-state {
	padding: 12px 0;
}

.wf-sn-ai-quiet-state ul {
	margin: 0.5em 0 0 1.2em;
}

.wf-sn-ai-abilities-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--wf-sn-ai-border);
}

.wf-sn-ai-settings-card--footer {
	margin-top: 8px;
}

.wf-sn-ai-settings-card.sncard.settings-card .wf-sn-ai-card-inner {
	padding-bottom: 20px;
	overflow: visible;
}

.wf-sn-ai-abilities-list__title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
}

.wf-sn-ai-abilities-list__intro {
	margin: 0 0 12px;
}

.wf-sn-ai-abilities-notice {
	margin: 0 0 14px;
	padding: 8px 12px;
}

.wf-sn-ai-abilities-notice p {
	margin: 0;
}

.wf-sn-ai-abilities-list__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wf-sn-ai-abilities-list__item {
	margin: 0 0 12px;
	padding: 0;
}

.wf-sn-ai-abilities-list__item:last-child {
	margin-bottom: 0;
}

.wf-sn-ai-abilities-list__label {
	display: block;
	font-size: 13px;
}

.wf-sn-ai-abilities-list__summary {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #646970;
}

.wf-sn-ai-report-usage-meta {
	margin-top: 12px;
	font-size: 12px;
	color: #646970;
}

.wf-sn-ai-show-more-issues {
	margin-top: 8px;
	padding-left: 0 !important;
}

/* —— Mock bridge: workspace header, band, toolbar, assistant context, issues, tables —— */

.wf-sn-ai-advisor-page .wf-sn-ai-workspace-header {
	margin-bottom: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-header__brand {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-header__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	font-size: 36px;
	line-height: 1;
	color: var(--wf-sn-ai-accent);
	margin-top: 2px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-header__titles {
	min-width: 0;
}
.wf-sn-ai-advisor-page h1.wf-sn-ai-advisor-heading {
	margin: 0 0 6px 0;
	font-size: 1.65em;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--wf-sn-ai-accent);
	line-height: 1.2;
}
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-header__tagline {
	margin: 0 0 8px 0;
	font-style: normal;
	color: var(--wf-sn-ai-text-muted);
	font-size: 14px;
	line-height: 1.5;
	max-width: 52em;
}
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-meta {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wf-sn-ai-text-muted);
}

.wf-sn-ai-advisor-page .wf-sn-ai-workspace-band {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
	max-width: 1200px;
	margin-bottom: 22px;
}
@media (min-width: 960px) {
	.wf-sn-ai-advisor-page .wf-sn-ai-workspace-band {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
	}
}
.wf-sn-ai-advisor-page .wf-sn-ai-subheading {
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page .wf-sn-ai-delta-card {
	background: var(--wf-sn-ai-surface-muted);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius);
	padding: 16px 18px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.wf-sn-ai-advisor-page .wf-sn-ai-delta-card__placeholder {
	color: var(--wf-sn-ai-text-muted);
	font-style: normal;
}

/* Two-column workspace: audit (left) + follow-ups (right) */
.wf-sn-ai-advisor-page .wf-sn-ai-workspace-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: stretch;
	max-width: 1200px;
}
@media (min-width: 960px) {
	.wf-sn-ai-advisor-page .wf-sn-ai-workspace-columns:not(.wf-sn-ai-workspace-columns--no-chat) {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
	}
}
.wf-sn-ai-advisor-page .wf-sn-ai-section.wf-sn-ai-panel--interact {
	border: none;
	box-shadow: none;
	background: transparent;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-column .wf-sn-ai-card-inner > .wf-sn-ai-section-title:first-child,
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column .wf-sn-ai-section-title:first-child {
	margin-top: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-generate-primary-wrap {
	margin: 18px 0 14px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-generate-primary-wrap .wf-sn-ai-generate-btn.button-large {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 22px;
	height: auto;
	font-size: 15px;
	line-height: 1.35;
}
.wf-sn-ai-advisor-page .wf-sn-ai-report-column-card .wf-sn-ai-latest-report {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column-inner {
	display: flex;
	flex-direction: column;
	min-height: 440px;
	height: 100%;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__head {
	margin-bottom: 8px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__head .wf-sn-ai-section-title {
	margin-bottom: 6px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__convo-wrap {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 200px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__convo-wrap .wf-sn-ai-assistant-output--convo {
	flex: 1 1 auto;
	min-height: 160px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column .wf-sn-ai-convo {
	max-height: min(42vh, 400px);
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__chips {
	flex-shrink: 0;
	margin-top: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column__chips .wf-sn-ai-chip-row--footer {
	justify-content: flex-start;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chat-column-card {
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius);
	background: linear-gradient(180deg, var(--wf-sn-ai-surface-panel) 0%, var(--wf-sn-ai-surface-muted) 100%);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.wf-sn-ai-advisor-page .wf-sn-ai-panel--interact {
	border-color: var(--wf-sn-ai-border-strong);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.wf-sn-ai-advisor-page .wf-sn-ai-action-toolbar {
	margin-top: 14px;
	padding: 14px 16px;
	background: var(--wf-sn-ai-surface-toolbar);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius);
	gap: 12px 14px;
}

.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-generate-btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wf-sn-ai-advisor-page .wf-sn-ai-chip.button {
	background: transparent;
	color: var(--wf-sn-ai-accent);
	border: 1px solid var(--wf-sn-ai-accent);
	border-radius: 999px;
	box-shadow: none;
	font-weight: 500;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip.button:hover:not(:disabled) {
	background: var(--wf-sn-ai-accent-soft);
	color: var(--wf-sn-ai-accent-hover);
	border-color: var(--wf-sn-ai-accent-hover);
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip.button:focus-visible {
	outline: none;
	box-shadow: var(--wf-sn-ai-focus-ring);
}

.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context {
	margin-top: 20px;
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius);
	background: linear-gradient(180deg, var(--wf-sn-ai-surface-panel) 0%, var(--wf-sn-ai-surface-muted) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
	overflow: hidden;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.45);
	border-bottom: 1px solid var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context__icon {
	color: var(--wf-sn-ai-accent);
	font-size: 20px;
	width: 20px;
	height: 20px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context__body {
	padding: 16px;
	background: rgba(255, 255, 255, 0.35);
}

.wf-sn-ai-advisor-page .wf-sn-ai-response-stack {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-response-panel--assistant {
	margin-top: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-response-panel__subtitle {
	margin: 0 0 8px 0;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wf-sn-ai-text-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-result-canvas.wf-sn-ai-result,
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-output.wf-sn-ai-result-canvas {
	background: var(--wf-sn-ai-surface);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-output {
	position: relative;
	min-height: 48px;
}

/* Assistant conversation thread (chip Q&A, paginated) */
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-output--convo {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo {
	max-height: min(52vh, 520px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 10px 12px;
	background: var(--wf-sn-ai-surface);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	scroll-behavior: auto;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__load-wrap {
	text-align: center;
	padding: 4px 0 10px 0;
	border-bottom: 1px solid var(--wf-sn-ai-border);
	margin-bottom: 8px;
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__load-older.button-link {
	padding: 4px 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wf-sn-ai-accent);
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__load-older.button-link:hover {
	color: var(--wf-sn-ai-accent-hover);
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__load-older.button-link:focus-visible {
	outline: none;
	box-shadow: var(--wf-sn-ai-focus-ring);
	border-radius: 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__load-older:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turns {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turn {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turn--pending .wf-sn-ai-convo__answer,
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turn--error .wf-sn-ai-convo__answer {
	min-height: 72px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turn--error .wf-sn-ai-convo__answer {
	border-color: #dba617;
	background: #fcf9e8;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__chip-wrap {
	align-self: flex-end;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	max-width: 92%;
	min-width: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__prompt {
	margin: 0;
	max-width: 100%;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wf-sn-ai-accent-hover);
	background: var(--wf-sn-ai-accent-soft);
	border: 1px solid var(--wf-sn-ai-accent-mid);
	border-radius: 999px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__chip-time {
	display: block;
	margin: 0;
	max-width: 100%;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	text-align: right;
	color: var(--wf-sn-ai-text-muted);
}
/* Pending/error turns use a bare prompt (no chip-wrap). */
.wf-sn-ai-advisor-page .wf-sn-ai-convo__turn > .wf-sn-ai-convo__prompt {
	align-self: flex-end;
	max-width: 92%;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__answer {
	margin: 0;
	padding: 12px 14px;
	text-align: left;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo__meta-row {
	margin: 0;
	padding: 0 2px;
	display: flex;
	justify-content: flex-end;
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__delete.button-link {
	padding: 2px 6px;
	font-size: 12px;
	color: var(--wf-sn-ai-text-muted);
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__delete.button-link:hover {
	color: #b32d2e;
}
.wp-core-ui .wf-sn-ai-advisor-page .wf-sn-ai-convo__delete.button-link:focus-visible {
	outline: none;
	box-shadow: var(--wf-sn-ai-focus-ring);
	border-radius: 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo-intro {
	margin-top: 0;
	margin-bottom: 10px;
}

.wf-sn-ai-advisor-page .wf-sn-ai-followup-journey {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 160px;
	padding: 20px 16px;
	background: var(--wf-sn-ai-surface);
	border: 1px dashed var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	text-align: center;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-journey[hidden] {
	display: none !important;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-journey__badge {
	display: inline-block;
	margin: 0 auto 8px;
	padding: 2px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wf-sn-ai-accent);
	background: var(--wf-sn-ai-accent-soft, #edfaef);
	border-radius: 999px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-journey__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-journey__text {
	margin: 0;
	max-width: 34em;
	margin-left: auto;
	margin-right: auto;
}

.wf-sn-ai-advisor-page .wf-sn-ai-followup-locked {
	margin-top: 12px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-locked[hidden] {
	display: none !important;
}

.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-details,
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details {
	margin: 0;
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	padding: 8px 12px 10px;
	background: var(--wf-sn-ai-surface-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details {
	margin-top: 10px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details[hidden] {
	display: none !important;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-details__summary,
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details__summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--wf-sn-ai-text-muted);
	list-style: none;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-details__summary::-webkit-details-marker,
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details__summary::-webkit-details-marker {
	display: none;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-details__summary::before,
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details__summary::before {
	content: "\25B6";
	display: inline-block;
	margin-right: 6px;
	font-size: 9px;
	color: var(--wf-sn-ai-text-muted);
	transition: transform 0.15s ease;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-details[open] .wf-sn-ai-followup-preview-details__summary::before,
.wf-sn-ai-advisor-page .wf-sn-ai-followup-comparison-details[open] .wf-sn-ai-followup-comparison-details__summary::before {
	transform: rotate(90deg) translateX(1px);
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-list {
	margin: 8px 0 0;
	padding: 0 0 0 18px;
	font-size: 13px;
	color: var(--wf-sn-ai-text-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-list li {
	margin: 0 0 4px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-followup-preview-list li:last-child {
	margin-bottom: 0;
}

.wf-sn-ai-advisor-page .wf-sn-ai-followup-active[hidden] {
	display: none !important;
}
.wf-sn-ai-advisor-page .wf-sn-ai-chip-hint {
	margin: 0 0 8px;
	font-size: 13px;
}

.wf-sn-ai-advisor-page .wf-sn-ai-convo-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 160px;
	padding: 24px 12px;
	background: var(--wf-sn-ai-surface);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo-loading[hidden] {
	display: none !important;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo-loading .spinner {
	float: none;
	margin: 0;
	vertical-align: middle;
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo-loading__text {
	font-size: 14px;
	color: var(--wf-sn-ai-text-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-convo[hidden] {
	display: none !important;
}

/* Collapsed archive: chip history table (secondary to convo) */
.wf-sn-ai-advisor-page .wf-sn-ai-archive-details {
	margin: 0;
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	padding: 10px 14px 14px;
	background: var(--wf-sn-ai-surface-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-archive-summary {
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--wf-sn-ai-text);
	list-style: none;
	padding: 4px 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-archive-summary::-webkit-details-marker {
	display: none;
}
.wf-sn-ai-advisor-page .wf-sn-ai-archive-summary::before {
	content: "\25B6";
	display: inline-block;
	margin-right: 8px;
	font-size: 10px;
	transform: translateY(-1px);
	color: var(--wf-sn-ai-text-muted);
	transition: transform 0.15s ease;
}
.wf-sn-ai-advisor-page .wf-sn-ai-archive-details[open] .wf-sn-ai-archive-summary::before {
	transform: rotate(90deg) translateX(1px);
}
@media (prefers-reduced-motion: reduce) {
	.wf-sn-ai-advisor-page .wf-sn-ai-archive-summary::before {
		transition: none;
	}
}
.wf-sn-ai-advisor-page .wf-sn-ai-archive-lead {
	margin: 6px 0 12px 0;
}

.wf-sn-ai-advisor-page .wf-sn-ai-empty-state {
	margin: 0;
	color: var(--wf-sn-ai-text-muted);
	font-style: italic;
	font-size: 14px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-empty-state[hidden] {
	display: none !important;
}

.wf-sn-ai-advisor-page .wf-sn-ai-meta-footer-strip,
.wf-sn-ai-advisor-page .wf-sn-ai-inline-usage--footer {
	margin-top: 12px;
	margin-bottom: 0;
	padding-top: 10px;
	border-top: 1px solid var(--wf-sn-ai-border);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wf-sn-ai-text-muted);
	line-height: 1.45;
}
.wf-sn-ai-advisor-page .wf-sn-ai-assistant-context .wf-sn-ai-inline-usage--footer {
	border-top-color: var(--wf-sn-ai-border-strong);
}

.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip {
	border-left-color: var(--wf-sn-ai-accent);
	background: linear-gradient(135deg, var(--wf-sn-ai-surface-muted) 0%, var(--wf-sn-ai-accent-soft) 100%);
}
.wf-sn-ai-advisor-page .wf-sn-ai-waiting-tip-icon {
	color: var(--wf-sn-ai-accent);
}

.wf-sn-ai-advisor-page .wf-sn-ai-report-executive {
	border-left: 4px solid var(--wf-sn-ai-accent);
	background: var(--wf-sn-ai-surface-muted);
	border-radius: 0 var(--wf-sn-ai-radius-sm) var(--wf-sn-ai-radius-sm) 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-summary {
	margin: 0 0 20px 0;
	padding: 0 0 18px 0;
	border-bottom: 1px solid var(--wf-sn-ai-border);
	background: transparent;
	border-left: none;
	border-radius: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-summary .wf-sn-ai-report-heading {
	margin: 0 0 10px 0;
	font-size: 1.15em;
	font-weight: 600;
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-summary .wf-sn-ai-report-body {
	font-size: 1.08em;
	line-height: 1.55;
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-report-body .wf-sn-ai-latest-chart-wrap {
	margin-top: 0;
}

.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement-item {
	margin-bottom: 10px;
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement {
	padding: 12px 14px;
	border-radius: var(--wf-sn-ai-radius-sm);
	border: 1px solid var(--wf-sn-ai-border);
	border-left-width: 4px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement .wf-sn-ai-latest-improvement__summary:focus-visible {
	outline: none;
	box-shadow: var(--wf-sn-ai-focus-ring);
	border-radius: 4px;
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement .wf-sn-ai-latest-improvement__summary::after {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	margin-left: 8px;
	flex-shrink: 0;
	align-self: center;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
	transition: transform 0.15s ease;
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement[open] .wf-sn-ai-latest-improvement__summary::after {
	transform: rotate(225deg);
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-high.wf-sn-ai-latest-improvement {
	background: #fef2f2;
	border-left-color: #b91c1c;
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-medium.wf-sn-ai-latest-improvement {
	background: #fffbeb;
	border-left-color: #b45309;
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-low.wf-sn-ai-latest-improvement {
	background: var(--wf-sn-ai-accent-soft);
	border-left-color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement--static {
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: var(--wf-sn-ai-radius-sm);
	border: 1px solid var(--wf-sn-ai-border);
	border-left-width: 4px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-high.wf-sn-ai-latest-improvement--static {
	background: #fef2f2;
	border-left-color: #b91c1c;
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-medium.wf-sn-ai-latest-improvement--static {
	background: #fffbeb;
	border-left-color: #b45309;
}
.wf-sn-ai-advisor-page .wf-sn-ai-priority-low.wf-sn-ai-latest-improvement--static {
	background: var(--wf-sn-ai-accent-soft);
	border-left-color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement .wf-sn-ai-improvement-label,
.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement--static .wf-sn-ai-improvement-label {
	font-weight: 600;
	color: var(--wf-sn-ai-text);
}
.wf-sn-ai-advisor-page details.wf-sn-ai-latest-improvement .wf-sn-ai-priority-badge,
.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement--static .wf-sn-ai-priority-badge {
	border-radius: 999px;
	font-size: 11px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement__body {
	border-top-color: var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-latest-improvement__body .wf-sn-ai-improvement-body {
	color: var(--wf-sn-ai-text-muted);
}

.wf-sn-ai-advisor-page .wf-sn-ai-reports-table tbody tr.wf-sn-ai-report-row,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table tbody tr.wf-sn-ai-chip-history-row {
	transition: background-color 0.12s ease;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table tbody tr.wf-sn-ai-report-row:hover,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table tbody tr.wf-sn-ai-chip-history-row:hover {
	background: var(--wf-sn-ai-accent-soft);
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table td:first-child {
	color: var(--wf-sn-ai-text-muted);
	font-size: 13px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-summary {
	font-weight: 600;
	color: var(--wf-sn-ai-text);
	max-width: 420px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-meta {
	font-size: 12px;
	color: var(--wf-sn-ai-text-muted);
	font-weight: 500;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table {
	border-color: var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
	overflow: hidden;
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table th {
	background: var(--wf-sn-ai-surface-muted);
	border-bottom-color: var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table td {
	border-bottom-color: var(--wf-sn-ai-border);
}

.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-toggle,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-chip-history-toggle {
	border-color: var(--wf-sn-ai-accent);
	color: var(--wf-sn-ai-accent);
	background: var(--wf-sn-ai-surface);
}
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-report-toggle:hover,
.wf-sn-ai-advisor-page .wf-sn-ai-reports-table .wf-sn-ai-chip-history-toggle:hover {
	background: var(--wf-sn-ai-accent-soft);
	color: var(--wf-sn-ai-accent-hover);
	border-color: var(--wf-sn-ai-accent-hover);
}

.wf-sn-ai-advisor-page .wf-sn-ai-view-full-report,
.wf-sn-ai-advisor-page .wf-sn-ai-card-inner .wf-sn-ai-view-full-report {
	color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-view-full-report:hover {
	color: var(--wf-sn-ai-accent-hover);
}

.wf-sn-ai-advisor-page .wf-sn-ai-chart-bar-current {
	background: var(--wf-sn-ai-accent);
}

.wf-sn-ai-advisor-page .wf-sn-ai-rescan-summary {
	color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-preview-data-link {
	color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-what-happens a {
	color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-what-happens a:hover {
	color: var(--wf-sn-ai-accent-hover);
}

/* AI busy: spin, pulse, skeleton, prompt echo */
@keyframes wf-sn-ai-spin {
	to {
		transform: rotate(360deg);
	}
}
@keyframes wf-sn-ai-pulse-soft {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.12);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(4, 120, 87, 0.06);
	}
}
@keyframes wf-sn-ai-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.wf-sn-ai-advisor-page--ai-busy .wf-sn-ai-panel--interact .wf-sn-ai-result-wrapper {
	animation: wf-sn-ai-pulse-soft 2s ease-in-out infinite;
}

.wf-sn-ai-advisor-page--ai-busy .wf-sn-ai-chat-column-card {
	animation: wf-sn-ai-pulse-soft 2.2s ease-in-out infinite;
}

.wf-sn-ai-advisor-page .wf-sn-ai-assistant-prompt-echo {
	margin: 0 0 10px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--wf-sn-ai-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--wf-sn-ai-text);
}

.wf-sn-ai-advisor-page .wf-sn-ai-skeleton {
	padding: 8px 0 4px 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar {
	height: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	background: linear-gradient(
		90deg,
		var(--wf-sn-ai-surface-muted) 0%,
		var(--wf-sn-ai-accent-soft) 45%,
		var(--wf-sn-ai-surface-muted) 90%
	);
	background-size: 200% 100%;
	animation: wf-sn-ai-shimmer 1.2s ease-in-out infinite;
}
.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar--long {
	width: 92%;
}
.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar--medium {
	width: 68%;
}
.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar:last-child {
	margin-bottom: 0;
	width: 55%;
}

/* Connector status badge */
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0 0;
	font-size: 13px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge--connected .wf-sn-ai-connector-badge__dot {
	background: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge--warning .wf-sn-ai-connector-badge__dot {
	background: #d97706;
}
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge__logo {
	border-radius: 4px;
	object-fit: contain;
}
.wf-sn-ai-advisor-page .wf-sn-ai-connector-badge__text {
	font-weight: 500;
	color: var(--wf-sn-ai-text);
}

/* First-run onboarding */
.wf-sn-ai-advisor-page .wf-sn-ai-onboarding-steps {
	margin: 16px 0;
	padding: 16px 18px;
	background: var(--wf-sn-ai-surface-panel);
	border: 1px solid var(--wf-sn-ai-border);
	border-radius: var(--wf-sn-ai-radius-sm);
}
.wf-sn-ai-advisor-page .wf-sn-ai-onboarding-steps__list {
	margin: 0 0 12px 1.2em;
	padding: 0;
}
.wf-sn-ai-advisor-page .wf-sn-ai-onboarding-steps__list li {
	margin-bottom: 6px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-onboarding-steps__actions {
	margin: 0;
}

/* Test connection */
.wf-sn-ai-advisor-page .wf-sn-ai-test-connection {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	margin-top: 0;
	width: 100%;
	max-width: 220px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-test-connection__status {
	font-size: 13px;
	color: var(--wf-sn-ai-text-muted);
}
.wf-sn-ai-advisor-page .wf-sn-ai-test-connection__status--ok {
	color: var(--wf-sn-ai-accent);
}
.wf-sn-ai-advisor-page .wf-sn-ai-test-connection__status--error {
	color: #b45309;
}
.wf-sn-ai-advisor-page .wf-sn-ai-test-connection__status .spinner {
	float: none;
	margin: 0 4px 0 0;
	vertical-align: middle;
}

/* Danger zone */
.wf-sn-ai-advisor-page .wf-sn-ai-danger-zone {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--wf-sn-ai-border);
}
.wf-sn-ai-advisor-page .wf-sn-ai-danger-zone h3 {
	margin: 0 0 8px;
	font-size: 14px;
}
.wf-sn-ai-advisor-page .wf-sn-ai-danger-zone .description {
	margin-bottom: 12px;
}

/* Scheduled AI reports */
.wf-sn-ai-advisor-page .wf-sn-ai-schedule-panel__details {
	margin-top: 14px;
	padding: 14px 16px;
	background: var(--wf-sn-ai-surface-panel, #f6f7f7);
	border: 1px solid var(--wf-sn-ai-border, #dcdcde);
	border-radius: var(--wf-sn-ai-radius-sm, 4px);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-panel.is-disabled .wf-sn-ai-schedule-panel__details {
	display: none;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-panel__details .wf-sn-ai-settings-row {
	grid-template-columns: minmax(0, 1fr) minmax(160px, 200px);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-meta {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--wf-sn-ai-border, #dcdcde);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule--locked {
	opacity: 0.72;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule--locked .wf-sn-ai-schedule-panel__details {
	display: block;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule--locked select,
.wf-sn-ai-advisor-page .wf-sn-ai-schedule--locked input.switch {
	pointer-events: none;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-status {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--wf-sn-ai-text-muted);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-status--ok {
	color: var(--wf-sn-ai-accent);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-status--warn {
	color: #b45309;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-run-now {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-run-now__status {
	font-size: 13px;
	color: var(--wf-sn-ai-text-muted);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-run-now__status--ok {
	color: var(--wf-sn-ai-accent);
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-run-now__status--error {
	color: #b45309;
}

.wf-sn-ai-advisor-page .wf-sn-ai-schedule-upsell {
	margin-top: 14px;
}

@media (max-width: 782px) {
	.wf-sn-ai-settings-row,
	.wf-sn-ai-advisor-page .wf-sn-ai-schedule-panel__details .wf-sn-ai-settings-row {
		grid-template-columns: 1fr;
	}

	.wf-sn-ai-settings-row__control {
		align-items: flex-start;
	}

	.wf-sn-ai-settings-row__control select.regular-text,
	.wf-sn-ai-advisor-page .wf-sn-ai-test-connection {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wf-sn-ai-advisor-page--ai-busy .wf-sn-ai-result-wrapper,
	.wf-sn-ai-advisor-page--ai-busy .wf-sn-ai-chat-column-card,
	.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar {
		animation: none !important;
	}
	.wf-sn-ai-advisor-page .wf-sn-ai-skeleton__bar {
		background: var(--wf-sn-ai-border);
	}
}
