/* Search & Social Appearance Audit - admin styles */

.ssaa-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0;
}

.ssaa-summary-box {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 12px 18px;
	min-width: 120px;
	display: flex;
	flex-direction: column;
}

.ssaa-summary-value {
	font-size: 1.6em;
	font-weight: 600;
	line-height: 1.3;
}

.ssaa-summary-label {
	color: #646970;
}

/* Severity summary boxes (Issues / Warnings / Notices) - filled soft tints so
   the severity shape reads at a glance, matching the row + tab severity badges.
   Fill colours = the badge tints (.ssaa-badge-error/-warn/-notice). A box whose
   count is ZERO carries no severity class (PHP), so it falls back to the neutral
   default box above - colour means "there is something here", never a coloured
   but empty alarm. See _standards DECISIONS "Severity is first-class". */
.ssaa-summary-critical {
	background: #fcf0f1;
	border-color: #e6a5a5;
}

.ssaa-summary-critical .ssaa-summary-value,
.ssaa-summary-critical .ssaa-summary-label {
	color: #8a2424;
}

.ssaa-summary-warning {
	background: #fcf9e8;
	border-color: #e8cf8a;
}

.ssaa-summary-warning .ssaa-summary-value,
.ssaa-summary-warning .ssaa-summary-label {
	color: #996800;
}

.ssaa-summary-notice {
	background: #f0f0f1;
	border-color: #c3c4c7;
}

.ssaa-summary-notice .ssaa-summary-value,
.ssaa-summary-notice .ssaa-summary-label {
	color: #50575e;
}

.ssaa-scan-controls {
	margin: 16px 0 24px;
}

/* Upgrade banner (Tier 1 upsell - blue "do more" prompt at the top of the
   Settings page, shown only when not premium). Pure prose + single CTA. */
.ssaa-upgrade-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-left: 4px solid #2271b1;
	border-radius: 3px;
	padding: 14px 18px;
	max-width: 760px;
	margin: 16px 0;
}

.ssaa-upgrade-banner__icon {
	color: #2271b1;
	font-size: 22px;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.ssaa-upgrade-banner__content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ssaa-upgrade-banner__content strong {
	font-size: 14px;
}

.ssaa-upgrade-banner__content span {
	color: #50575e;
}

.ssaa-upgrade-banner__button {
	flex-shrink: 0;
	margin-left: auto;
}

/* Accented Premium tab (blue star + blue label) so it stands out in the
   Settings nav now the upgrade banner has moved to the Dashboard. Two-class
   selector to win over core .nav-tab / .nav-tab-active colour. */
.nav-tab.ssaa-nav-tab-premium {
	color: #2271b1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nav-tab.ssaa-nav-tab-premium:hover,
.nav-tab.ssaa-nav-tab-premium:focus {
	color: #135e96;
}

.ssaa-nav-tab-premium-icon {
	color: #2271b1;
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	margin: 0;
}

/* Contextual upgrade hint (Tier 2 - one-line prose nudge under a free setting). */
.ssaa-premium-hint {
	color: #2271b1 !important;
	font-style: italic;
}

/* Premium tab (Tier 2 - prose feature comparison, one CTA top and bottom,
   no locked inputs or mock UI). */
.ssaa-premium-tab {
	max-width: 760px;
	margin-top: 12px;
}

.ssaa-premium-intro {
	font-size: 14px;
	line-height: 1.6;
	color: #50575e;
	max-width: 680px;
}

.ssaa-premium-cta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 16px 0;
}

.ssaa-premium-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 20px 0;
}

.ssaa-premium-group {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 14px 18px;
}

.ssaa-premium-group h3 {
	margin: 0 0 8px;
	font-size: 14px;
}

.ssaa-premium-group ul {
	margin: 0;
	list-style: disc;
	padding-left: 18px;
}

.ssaa-premium-group li {
	margin: 4px 0;
	color: #3c434a;
}

@media screen and (max-width: 782px) {
	.ssaa-premium-groups {
		grid-template-columns: 1fr;
	}
}

.ssaa-progress {
	margin-top: 12px;
	max-width: 480px;
}

.ssaa-progress-track {
	background: #dcdcde;
	border-radius: 9999px;
	height: 12px;
	overflow: hidden;
}

.ssaa-progress-fill {
	background: #2271b1;
	height: 100%;
	width: 0;
	transition: width 0.3s ease;
}

.ssaa-progress-text {
	display: inline-block;
	margin-top: 4px;
	color: #646970;
}

/* Badge system (cross-plugin contract - see _standards DECISIONS "Badge and
   status-indicator system"). Three element types:
   1. Severity badge  - filled tint + numeral, clickable (in a .ssaa-issues-btn).
   2. Fact badge      - neutral outline, no numeral, clickable.
   3. Status indicator (.ssaa-status) - icon + text, no pill, NOT clickable.
   The clickable types (1, 2) live in a .ssaa-issues-btn button and get a
   persistent chevron from the rule below; the chevron IS the "clickable" cue. */
.ssaa-badge {
	display: inline-block;
	border-radius: 3px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
	border: 1px solid transparent;
	white-space: nowrap;
}

.ssaa-badge-ok {
	background: #edfaef;
	color: #007017;
}

.ssaa-badge-warn {
	background: #fcf9e8;
	color: #996800;
}

.ssaa-badge-error {
	background: #fcf0f1;
	color: #8a2424;
}

.ssaa-badge-notice {
	background: #f0f0f1;
	color: #50575e;
}

/* Fact badge: a clickable reference value (e.g. Robots), not a count. Neutral
   outline so it reads as "info you can open", distinct from the filled
   severity badges (counts) and the chevron-less status indicators (state). */
.ssaa-badge-fact {
	background: transparent;
	color: #50575e;
	border: 1px solid #c3c4c7;
}

/* Persistent "clickable" affordance: every badge inside a clickable button
   carries a trailing chevron. Status indicators are not buttons, so they never
   get one - that is how the user tells clickable from static at a glance. */
/* A bare-reset button - font: inherit is load-bearing: relying on the native
   button font (or WP .button-link) compresses the badge vertically; inheriting
   the table font gives it its proper top/bottom room. A subtle brightness shift
   on hover and a focus-visible ring complete the affordance. Mirrors LIHA. */
.ssaa-issues-btn {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

.ssaa-issues-btn .ssaa-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.ssaa-issues-btn .ssaa-badge::after {
	font-family: dashicons;
	content: "\f345";
	font-size: 14px;
	line-height: 1;
	opacity: 0.6;
}

.ssaa-issues-btn:hover .ssaa-badge {
	filter: brightness( 0.97 );
}

.ssaa-issues-btn:focus {
	outline: none;
}

.ssaa-issues-btn:focus-visible .ssaa-badge {
	box-shadow: 0 0 0 2px #2271b1;
}

/* Status indicator: pure state (OK, Missing, Scan error). Icon + coloured text,
   no pill, no chevron, not clickable. */
.ssaa-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
}

.ssaa-status .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	line-height: 1;
}

.ssaa-status-ok {
	color: #007017;
}

.ssaa-status-warn {
	color: #996800;
}

.ssaa-status-error {
	color: #8a2424;
}

/* Issues column: badges stack one per line and never wrap mid-label, so a row
   with both a critical and a warning badge reads cleanly in a narrow column. */
.ssaa-issues-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

/* Card meta row badges (notices) sit on their own line and wrap neatly next
   to the descriptive chips. */
.ssaa-preview-meta .ssaa-issues-btn {
	margin-right: 4px;
}

.ssaa-issue-list {
	margin: 0;
}

.ssaa-issue-list li {
	margin: 0 0 4px;
}

.ssaa-tab-count {
	display: inline-block;
	background: #d63638;
	color: #fff;
	border-radius: 9999px;
	font-size: 11px;
	line-height: 1;
	padding: 3px 7px;
	vertical-align: middle;
}

.ssaa-tab-count-muted {
	background: #646970;
}

/* Findings tab severity badges: three fixed slots (issues / warnings /
   notices), always shown with a count even at zero. Soft tints (matching the
   row + summary badges), never the loud solid red of the old single count. */
.ssaa-tab-sev {
	display: inline-block;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	padding: 3px 7px;
	margin-left: 3px;
	vertical-align: middle;
}

.ssaa-tab-sev-critical {
	background: #fcf0f1;
	color: #8a2424;
}

.ssaa-tab-sev-warning {
	background: #fcf9e8;
	color: #996800;
}

.ssaa-tab-sev-notice {
	background: #f0f0f1;
	color: #50575e;
	border: 1px solid #dcdcde;
}

/* Table layout: fixed column widths so the preview column claims the space
   and the flag/date columns stay compact. The preview column is the only one
   left without a width, so it absorbs the remainder (the wide primary cell).
   A per-tab min-width on the scroll wrapper keeps things readable on narrow
   screens - you scroll sideways instead of the columns collapsing. */

.ssaa-table-scroll .wp-list-table {
	table-layout: fixed;
}

.ssaa-table-scroll-social .wp-list-table {
	min-width: 720px;
}

.ssaa-table-scroll-search .wp-list-table {
	min-width: 760px;
}

.ssaa-table-scroll-issues .wp-list-table {
	min-width: 760px;
}

/* Title gets the same share on both tabs (Search and Social have the same
   column set now). */
.ssaa-wrap .column-title {
	width: 24%;
}

.ssaa-wrap .column-issues {
	width: 116px;
}

.ssaa-wrap .column-author {
	width: 130px;
}

.ssaa-wrap .column-canonical_url {
	width: 76px;
}

.ssaa-wrap .column-robots {
	width: 96px;
}

.ssaa-wrap .column-scanned_at {
	width: 160px;
}

/* Preview cells: Social share card + Search (Google) result snippet.
   These replace the old cramped OG/SEO text columns and stop the
   narrow-screen column collapse. */

.ssaa-table-scroll {
	overflow-x: auto;
}

.ssaa-preview {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

/* Both cards (Social and Search) cap the body the same way so the image sits
   next to the text and the two tabs match. The cap scales with the screen:
   narrower on portrait tablets, wider on desktop. Phone admin is not a target. */
.ssaa-preview-body {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 440px;
}

@media ( min-width: 1025px ) {
	.ssaa-preview-body {
		max-width: 560px;
	}
}

@media ( min-width: 1367px ) {
	.ssaa-preview-body {
		max-width: 1040px;
	}
}

.ssaa-card-thumb {
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid #dcdcde;
	flex: 0 0 auto;
	display: block;
}

/* Thumbnail size is set by context, both 64px tall so the two tabs match:
   the Social card is the 1.91:1 Facebook/OG landscape card (1200x630), the
   Search card is the square mobile-SERP thumbnail. */
.ssaa-preview-social .ssaa-card-thumb,
.ssaa-preview-social .ssaa-card-thumb-none {
	width: 122px;
	height: 64px;
}

.ssaa-preview-search .ssaa-card-thumb,
.ssaa-preview-search .ssaa-card-thumb-none {
	width: 64px;
	height: 64px;
}

.ssaa-zoomable {
	cursor: zoom-in;
}

.ssaa-card-thumb-none {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-align: center;
	background: #f0f0f1;
	color: #8c8f94;
}

.ssaa-card-thumb-none .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.ssaa-card-title {
	font-weight: 600;
}

.ssaa-card-desc {
	color: #646970;
	font-size: 12px;
	line-height: 1.4;
}

.ssaa-preview-meta {
	margin-top: 3px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.ssaa-chip-muted {
	background: #f0f0f1;
	color: #50575e;
}

/* Search card meta row: Canonical + Robots flags and the author chip. */
.ssaa-meta-pair {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ssaa-meta-label {
	font-size: 11px;
	color: #646970;
}

.ssaa-chip-muted .dashicons {
	font-size: 13px;
	width: 13px;
	height: 13px;
	vertical-align: text-bottom;
}

.ssaa-chip-public-dot {
	color: #007017;
	font-weight: 600;
}

.ssaa-chip.ssaa-author-chip {
	text-transform: none;
}

.ssaa-author-muted {
	opacity: 0.75;
}

/* Full-size image lightbox (click a preview thumbnail). */
.ssaa-img-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba( 0, 0, 0, 0.75 );
}

.ssaa-img-lightbox[hidden] {
	display: none;
}

.ssaa-img-lightbox img {
	display: block;
	max-width: 92vw;
	max-height: 80vh;
	border-radius: 4px;
	background: #fff;
}

/* Crop-frame overlay: the centred rectangle the platform keeps. The frame's
   huge box-shadow dims everything outside it; .ssaa-lightbox-imgwrap clips the
   shadow to the image so the backdrop, close button and caption stay clear. */
.ssaa-lightbox-stage {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 92vw;
}

.ssaa-lightbox-imgwrap {
	position: relative;
	display: inline-block;
	line-height: 0;
	overflow: hidden;
	border-radius: 4px;
}

.ssaa-lightbox-frame {
	position: absolute;
	box-sizing: border-box;
	border: 2px solid rgba( 255, 255, 255, 0.95 );
	box-shadow: 0 0 0 9999px rgba( 0, 0, 0, 0.5 );
}

.ssaa-lightbox-frame[hidden] {
	display: none;
}

.ssaa-lightbox-caption {
	margin: 0;
	max-width: 92vw;
	text-align: center;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	background: rgba( 0, 0, 0, 0.55 );
	padding: 5px 12px;
	border-radius: 3px;
}

.ssaa-lightbox-caption[hidden] {
	display: none;
}

.ssaa-img-lightbox-close {
	position: absolute;
	top: 12px;
	right: 18px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.ssaa-clip1 {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ssaa-clip2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Search card: body on the left, mobile SERP thumbnail on the right. Width cap
   is shared with the Social card (see .ssaa-preview-body above); only the
   line gap differs to match the tighter Google-snippet look. */
.ssaa-preview-search .ssaa-preview-body {
	gap: 1px;
}

.ssaa-mobile-shot {
	flex: 0 0 auto;
	text-align: center;
}

.ssaa-mobile-tag {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 10px;
	line-height: 1;
	color: #646970;
	background: #f0f0f1;
	border-radius: 2px;
	padding: 2px 6px;
	margin-top: 4px;
}

.ssaa-mobile-tag .dashicons {
	width: 12px;
	height: 12px;
	font-size: 12px;
}

.ssaa-noimg-note {
	font-size: 9px;
	line-height: 1.1;
	padding: 0 3px;
}

.ssaa-card-thumb-noimg {
	border: 1px dashed #c3c4c7;
	background: #f6f7f7;
}

.ssaa-serp-url {
	color: #5f6368;
	font-size: 12px;
}

.ssaa-serp-title {
	color: #1a0dab;
	font-size: 14px;
	font-weight: 600;
}

.ssaa-serp-desc {
	color: #4d5156;
	font-size: 12px;
	line-height: 1.4;
}



/* Modal */

.ssaa-modal-open {
	overflow: hidden;
}

.ssaa-modal-overlay {
	/* Hidden by default. Do NOT rely on the hidden attribute alone: an
	   author display rule on this class would override the UA's
	   [hidden]{display:none} - that exact bug shipped in 0.3.0. */
	display: none;
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
	z-index: 100100;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ssaa-modal-overlay.ssaa-open {
	display: flex;
}

.ssaa-modal {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba( 0, 0, 0, 0.25 );
	max-width: 720px;
	width: 100%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
}

.ssaa-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #dcdcde;
	padding: 12px 20px;
}

.ssaa-modal-head h2 {
	margin: 0;
	font-size: 1.1em;
}

.ssaa-modal-close {
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
	color: #646970;
}

.ssaa-modal-body {
	padding: 16px 20px;
	overflow-y: auto;
}

.ssaa-modal-issue {
	border-bottom: 1px solid #f0f0f1;
	margin-bottom: 16px;
	padding-bottom: 12px;
}

.ssaa-modal-issue h3,
.ssaa-modal-issue h4 {
	margin: 0 0 6px;
}

.ssaa-evidence {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 8px 10px;
	overflow-x: auto;
	margin: 4px 0;
}

.ssaa-evidence code {
	background: transparent;
	padding: 0;
}

.ssaa-chip {
	display: inline-block;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	text-transform: uppercase;
	vertical-align: middle;
}

.ssaa-chip-critical {
	background: #fcf0f1;
	color: #8a2424;
}

.ssaa-chip-warning {
	background: #fcf9e8;
	color: #996800;
}

.ssaa-chip-notice {
	background: #f0f6fc;
	color: #0a4b78;
}

.ssaa-chip-area-search {
	background: #f0f6fc;
	color: #0a4b78;
}

.ssaa-chip-area-social {
	background: #f6f0fc;
	color: #4a2a78;
}

.ssaa-chip-area-ai {
	background: #f0fcf9;
	color: #0a6c5c;
}

.ssaa-chip-area-structure {
	background: #fbf3e8;
	color: #78500a;
}

.ssaa-chip-public {
	background: #edfaef;
	color: #007017;
	text-transform: none;
}

.ssaa-author-muted {
	color: #8c8f94;
}

.ssaa-modal-facts {
	margin: 0 0 16px;
	border: 1px solid #f0f0f1;
	border-radius: 3px;
	padding: 10px 12px;
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 4px 16px;
}

.ssaa-modal-facts dt {
	color: #646970;
	font-weight: 600;
}

.ssaa-modal-facts dd {
	margin: 0;
	word-break: break-all;
}

.ssaa-modal-issue-ignored {
	opacity: 0.55;
}

.ssaa-ignore-controls {
	margin: 8px 0 0;
}

.ssaa-ignore-controls .button.ssaa-btn-busy {
	cursor: default;
}

.ssaa-btn-spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: -2px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: ssaa-spin 0.7s linear infinite;
}

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

.ssaa-modal-ok {
	background: #edfaef;
	color: #007017;
	border-radius: 3px;
	padding: 10px 12px;
	font-weight: 600;
}

.ssaa-wrap .column-areas {
	width: 110px;
}

.ssaa-wrap .column-post_type {
	width: 80px;
}

.ssaa-wrap .column-summary {
	width: 42%;
}

.ssaa-modal-foot {
	border-top: 1px solid #dcdcde;
	padding: 12px 20px;
	text-align: right;
}

/* Logs tab - canonical PlugUpp layout (DOIG reference) */

/* Documentation link - identical treatment to DOIG's .doig-docs-link. */

.ssaa-nav-tab-wrapper .ssaa-docs-link {
	float: right;
	margin: 9px 0 0;
	padding: 4px 8px;
	text-decoration: none;
	font-size: 13px;
	color: #2271b1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ssaa-nav-tab-wrapper .ssaa-docs-link:hover,
.ssaa-nav-tab-wrapper .ssaa-docs-link:focus {
	color: #135e96;
	text-decoration: underline;
}

.ssaa-nav-tab-wrapper .ssaa-docs-link .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
}



.ssaa-admin-footer {
	color: #646970;
	margin-top: 24px;
}

.ssaa-type-option {
	display: block;
	margin-bottom: 6px;
}

.ssaa-filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 12px;
	flex-wrap: wrap;
}

.ssaa-filter-bar label {
	font-weight: 600;
}

.ssaa-export-btn {
	margin-left: auto;
}

/* Match the premium filter bar's controls to WordPress's native list-table
   toolbar. WP sizes selects/buttons inside .tablenav at 32px (line-height 30px),
   but a standalone control (this bar sits outside .tablenav) takes the larger
   admin default (40px here), so the bar looked oversized next to the bulk-action
   + type-filter row beneath it. Pin to the native 32px/30px so the two rows read
   as one consistent toolbar. Font sizes already match (14px select / 13px button). */
.ssaa-filter-bar select,
.ssaa-filter-bar .button {
	min-height: 32px;
	height: 32px;
	line-height: 30px;
}

/* Author picker (token multi-select) */

.ssaa-hidden {
	display: none;
}

.ssaa-user-picker {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	max-width: 25em;
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	padding: 6px 8px;
	cursor: text;
}

.ssaa-user-picker-input {
	border: 0;
	outline: 0;
	box-shadow: none;
	flex: 1;
	min-width: 140px;
	padding: 2px;
}

.ssaa-user-picker-input:focus {
	border: 0;
	outline: 0;
	box-shadow: none;
}

.ssaa-user-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f0f6fc;
	color: #0a4b78;
	border-radius: 3px;
	padding: 2px 6px;
	font-size: 13px;
}

.ssaa-user-chip-remove {
	background: none;
	border: 0;
	color: #0a4b78;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	padding: 0 2px;
}

.ssaa-user-chip-remove:hover {
	color: #d63638;
}

.ssaa-user-picker-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.1 );
	max-height: 220px;
	overflow-y: auto;
}

.ssaa-user-picker-item {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}

.ssaa-user-picker-item:hover,
.ssaa-user-picker-item:focus {
	background: #f0f6fc;
}

.ssaa-user-picker-empty {
	padding: 8px 10px;
	color: #646970;
}

/* Brand header - logo right-aligned on the title row (cross-plugin standard). */

.ssaa-page-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 4px;
}

.ssaa-page-head h1 {
	margin: 0;
	padding: 9px 0 4px;
}

.ssaa-brand-logo img {
	height: 32px;
	width: auto;
	display: block;
}

/* "Changes since last scan" (premium) - the badge button above the table and
   the modal list of per-page changes. */
.ssaa-changes-bar {
	margin: 6px 0 10px;
}

.ssaa-changes-open .dashicons {
	vertical-align: text-bottom;
}

.ssaa-changes-list {
	margin: 8px 0 0;
	list-style: none;
	padding: 0;
}

.ssaa-changes-item {
	padding: 8px 0;
	border-top: 1px solid #f0f0f1;
	line-height: 1.6;
}

.ssaa-changes-item:first-child {
	border-top: 0;
}

.ssaa-changes-detail {
	color: #50575e;
}

.ssaa-changes-detail em {
	font-style: normal;
	background: #f6f7f7;
	padding: 0 4px;
	border-radius: 3px;
}

/* plugupp-tokens - shared cross-plugin token / chip multi-select field (spec in
   _standards CONVENTIONS "Token multi-select field"; identical block in every
   plugin). Used by the premium Exclusion Rules builder. Portable: no ssaa- prefix.
   The input's border/outline/box-shadow are !important to beat WP core's
   input[type=text] (0,1,1) and avoid a box-in-a-box. */
.plugupp-tokens { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; box-sizing: border-box; min-height: 30px; padding: 2px 6px; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; }
.plugupp-tokens:focus-within { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; }
.plugupp-token { display: inline-flex; align-items: center; gap: 4px; background: #f0f6fc; border: 1px solid #c5d9ed; border-radius: 3px; padding: 1px 4px 1px 8px; font-size: 12px; line-height: 1.7; color: #1d2327; }
.plugupp-token-off { background: #f6f7f7; color: #8c8f94; text-decoration: line-through; border-style: dashed; }
.plugupp-token-x { background: none; border: 0; cursor: pointer; font-size: 14px; line-height: 1; color: #50575e; padding: 0 2px; }
.plugupp-token-x:hover { color: #b32d2e; }
.plugupp-token-off .plugupp-token-x { text-decoration: none; }
.plugupp-token-off .plugupp-token-x:hover { color: #00712b; }
.plugupp-token-input { flex: 1 1 140px; min-width: 100px; height: 24px; margin: 0; padding: 0 2px; font-size: 13px; background: transparent; border: 0 !important; outline: none !important; box-shadow: none !important; }

/* Findings that repeat across a whole content type, summarised once directly
   above the table (1.5.1). Built on core's inline notice so it inherits the
   admin's own padding, border and background - the 1.5.0 version was a bare
   left border with no vertical padding and read as a stray line of text. */
.ssaa-cluster-notice {
	margin: 12px 0;
	padding: 4px 12px;
}

.ssaa-cluster-notice p {
	margin: 8px 0;
}

.ssaa-cluster-notice ul {
	margin: 8px 0 8px 4px;
	list-style: disc inside;
}

.ssaa-cluster-notice li {
	margin: 3px 0;
}
