/**
 * OGEEAT Admin Styles — v5 Professional Design
 *
 * Inspired by Yoast SEO metabox: grey background, bordered cards,
 * clear visual hierarchy. No white-on-white.
 */

/* ===== Design tokens ===== */
:root {
	--ogeeat-green: #00a32a;
	--ogeeat-green-bg: #edfaef;
	--ogeeat-green-dark: #007017;
	--ogeeat-orange: #dba617;
	--ogeeat-orange-bg: #fef8e8;
	--ogeeat-orange-dark: #996800;
	--ogeeat-red: #d63638;
	--ogeeat-red-bg: #fcf0f1;
	--ogeeat-blue: #2271b1;
	--ogeeat-blue-bg: #f0f6fc;
	--ogeeat-text: #1d2327;
	--ogeeat-muted: #646970;
	--ogeeat-subtle: #a7aaad;
	--ogeeat-light: #f6f7f7;
	--ogeeat-bg: #f0f0f1;
	--ogeeat-card-bg: #fff;
	--ogeeat-border: #c3c4c7;
	--ogeeat-border-light: #dcdcde;
	--ogeeat-radius: 8px;
	--ogeeat-radius-sm: 6px;
	--ogeeat-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
	--ogeeat-shadow-md: 0 2px 6px rgba(0,0,0,.08);
	--ogeeat-content-max: 760px;
}

/* ===== Settings page ===== */
.ogeeat-settings { max-width: 860px; margin: 20px 0; }
.ogeeat-settings .nav-tab-wrapper {
	border-bottom: 1px solid var(--ogeeat-border-light);
	margin-bottom: 24px;
}
.ogeeat-settings .ogeeat-media-field { display: flex; align-items: center; gap: 8px; }

/* Settings cards */
.ogeeat-settings-card {
	background: var(--ogeeat-card-bg);
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	margin-bottom: 20px;
	overflow: hidden;
}
.ogeeat-settings-card-header {
	background: #fbfbfc;
	border-bottom: 1px solid #f0f0f1;
	padding: 14px 24px;
}
.ogeeat-settings-card-header h2,
.ogeeat-settings-card-header h3 {
	margin: 0; font-size: 14px; font-weight: 600; color: var(--ogeeat-text);
}
.ogeeat-settings-card-header .description {
	margin: 4px 0 0; font-size: 12.5px;
}
.ogeeat-settings-card-body {
	padding: 8px 24px 20px;
}
.ogeeat-settings-card-body .form-table { margin-top: 0; }
.ogeeat-settings-card-body .form-table th {
	padding-left: 0; font-weight: 600; color: var(--ogeeat-text);
}
.ogeeat-settings .ogeeat-image-preview img {
	max-width: 300px; height: auto; margin-top: 10px;
	border-radius: var(--ogeeat-radius-sm); box-shadow: var(--ogeeat-shadow-sm);
}
.ogeeat-badge-soon {
	display: inline-block; font-size: 11px; font-weight: 500;
	background: #e8eaed; color: #5f6368; padding: 2px 10px;
	border-radius: 10px; margin-left: 8px; vertical-align: middle;
}

.ogeeat-tab-intro {
	background: var(--ogeeat-blue-bg);
	border-left: 4px solid var(--ogeeat-blue);
	padding: 16px 20px;
	margin: 16px 0 24px;
	border-radius: 0 var(--ogeeat-radius-sm) var(--ogeeat-radius-sm) 0;
}
.ogeeat-tab-intro p {
	font-size: 13.5px; color: var(--ogeeat-text);
	margin: 0 0 8px; line-height: 1.7;
}
.ogeeat-tab-intro p:last-child { margin-bottom: 0; }
.ogeeat-help-link {
	text-decoration: none; font-weight: 600;
	color: var(--ogeeat-blue);
}
.ogeeat-help-link:hover { text-decoration: underline; }

/* ===== Colored dots (admin columns) ===== */
.ogeeat-dot {
	display: inline-block; width: 12px; height: 12px;
	border-radius: 50%; vertical-align: middle;
}
.ogeeat-dot-green { background-color: var(--ogeeat-green); }
.ogeeat-dot-orange { background-color: var(--ogeeat-orange); }
.ogeeat-dot-red { background-color: var(--ogeeat-red); }
.ogeeat-dot-gray { background-color: var(--ogeeat-border); }
.column-ogeeat_score { width: 80px; text-align: center; }

/* --- Bulk Audit table: column widths ---------------------------------- */
.ogeeat_page_ogeeat-audit .wp-list-table th.column-geo,
.ogeeat_page_ogeeat-audit .wp-list-table td.column-geo { width: 100px; white-space: nowrap; }
.ogeeat_page_ogeeat-audit .wp-list-table th.column-eeat,
.ogeeat_page_ogeeat-audit .wp-list-table td.column-eeat { width: 70px; text-align: center; white-space: nowrap; }
.ogeeat_page_ogeeat-audit .wp-list-table th.column-og,
.ogeeat_page_ogeeat-audit .wp-list-table td.column-og { width: 90px; white-space: nowrap; }
.ogeeat_page_ogeeat-audit .wp-list-table th.column-author,
.ogeeat_page_ogeeat-audit .wp-list-table td.column-author { width: auto; min-width: 160px; }
.ogeeat_page_ogeeat-audit .wp-list-table th.column-date,
.ogeeat_page_ogeeat-audit .wp-list-table td.column-date { width: 110px; white-space: nowrap; }
.ogeeat-geo-label { font-size: 11px; color: var(--ogeeat-muted); }
.ogeeat-reviewed-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #edfaef;
	vertical-align: middle;
	margin-left: 2px;
}
.ogeeat-reviewed-badge .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #00a32a;
}

/* ==========================================================
   METABOX — Grey background like Yoast, no white-on-white
   ========================================================== */

.ogeeat-metabox {
	margin: -6px -12px -12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	background: #f1f5f9;
}

/* ===== Tabs bar — centered with the content below ===== */
.ogeeat-metabox-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	max-width: 860px;
	margin: 0 auto;
	border-bottom: 1px solid var(--ogeeat-border-light);
	background: #fff;
	padding: 0 24px;
	border-radius: 6px 6px 0 0;
	margin-top: 20px;
}
.ogeeat-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 14px 18px;
	margin-bottom: -1px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ogeeat-muted);
	cursor: pointer;
	transition: color .15s, border-color .2s, background .15s;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ogeeat-tab .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}
.ogeeat-tab:hover {
	color: var(--ogeeat-text);
	background: rgba(34, 113, 177, .04);
}
.ogeeat-tab.active {
	color: var(--ogeeat-blue);
	font-weight: 600;
	border-bottom-color: var(--ogeeat-blue);
	background: rgba(34, 113, 177, .06);
}
.ogeeat-tab.active .dashicons {
	color: var(--ogeeat-blue);
}
/* Per-network brand accents on the tab icon */
.ogeeat-tab[data-tab="facebook"].active .dashicons { color: #1877f2; }
.ogeeat-tab[data-tab="facebook"].active { border-bottom-color: #1877f2; color: #1877f2; }
.ogeeat-tab[data-tab="twitter"].active .dashicons { color: #000; }
.ogeeat-tab[data-tab="twitter"].active { border-bottom-color: #000; color: #000; }
.ogeeat-tab[data-tab="linkedin"].active .dashicons { color: #0077b5; }
.ogeeat-tab[data-tab="linkedin"].active { border-bottom-color: #0077b5; color: #0077b5; }
.ogeeat-tab[data-tab="google"].active .dashicons { color: #4285f4; }
.ogeeat-tab[data-tab="google"].active { border-bottom-color: #4285f4; color: #4285f4; }

/* ===== Tab content — centered, max-width constrained (Yoast-style) ===== */
.ogeeat-tab-content {
	display: none;
	max-width: 860px;
	margin: 0 auto 20px;
	padding: 24px;
	background: #fff;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
}
.ogeeat-tab-content.active { display: block; }

/* ===== GEO HERO BANNER ===== */
.ogeeat-hero {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 22px 26px;
	border-radius: 10px;
	margin-bottom: 20px;
	border: 1px solid;
}
.ogeeat-hero--green {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border-color: #bbf7d0;
}
.ogeeat-hero--orange {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border-color: #fde68a;
}
.ogeeat-hero--red {
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	border-color: #fecaca;
}

/* Ring gauge */
.ogeeat-hero-ring {
	flex-shrink: 0;
	position: relative;
	width: 88px;
	height: 88px;
}
.ogeeat-hero-ring svg {
	width: 88px;
	height: 88px;
	display: block;
}
.ogeeat-hero-ring .ring-bg {
	fill: none;
	stroke: rgba(255, 255, 255, .6);
	stroke-width: 2.5;
}
.ogeeat-hero-ring .ring-fill {
	fill: none;
	stroke-width: 2.5;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: center;
	transition: stroke-dasharray .6s ease, stroke .4s ease;
}
.ogeeat-hero-score {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.ogeeat-hero-score strong {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.5px;
}
.ogeeat-hero-score small {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-top: 4px;
}

/* Hero text */
.ogeeat-hero-text { flex: 1; min-width: 0; }
.ogeeat-hero-text h3 {
	font-size: 15px; font-weight: 700;
	margin: 0 0 4px; color: var(--ogeeat-text);
}
.ogeeat-hero-text p {
	font-size: 13px; color: var(--ogeeat-muted);
	margin: 0 0 10px; line-height: 1.5;
}

/* Badges row */
.ogeeat-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ogeeat-badge {
	display: inline-flex; align-items: center; gap: 3px;
	font-size: 11px; font-weight: 600;
	padding: 3px 10px; border-radius: 20px;
	background: rgba(255,255,255,.9); color: var(--ogeeat-text);
	border: 1px solid rgba(0,0,0,.06);
}
.ogeeat-badge .dashicons { font-size: 14px; width: 14px; height: 14px; line-height: 14px; }
.ogeeat-badge--ok .dashicons { color: var(--ogeeat-green); }
.ogeeat-badge--warn .dashicons { color: var(--ogeeat-orange); }
.ogeeat-badge--fail .dashicons { color: var(--ogeeat-red); }

/* ===== Collapsible sections — White cards on grey bg ===== */
.ogeeat-sections {
	display: flex; flex-direction: column; gap: 8px;
	margin-bottom: 8px;
}
.ogeeat-section {
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius-sm);
	overflow: hidden;
	background: var(--ogeeat-card-bg);
}
.ogeeat-section-toggle {
	display: flex; align-items: center; width: 100%;
	background: var(--ogeeat-card-bg); border: none;
	padding: 11px 14px;
	font-size: 13px; font-weight: 600; color: var(--ogeeat-text);
	cursor: pointer; gap: 8px; text-align: left;
	transition: background .15s;
}
.ogeeat-section-toggle:hover { background: #f8f9fa; }
.ogeeat-section-toggle .sec-icon {
	font-size: 18px; width: 18px; height: 18px; line-height: 18px; flex-shrink: 0;
}
.ogeeat-section-toggle .sec-arrow {
	margin-left: auto; font-size: 18px; width: 18px; height: 18px;
	color: var(--ogeeat-subtle); transition: transform .25s;
}
.ogeeat-section.open .sec-arrow { transform: rotate(180deg); }
.ogeeat-section-body {
	display: none; border-top: 1px solid var(--ogeeat-border-light);
}
.ogeeat-section.open .ogeeat-section-body { display: block; }
.ogeeat-section--problems .sec-icon { color: var(--ogeeat-red); }
.ogeeat-section--improvements .sec-icon { color: var(--ogeeat-orange); }
.ogeeat-section--good .sec-icon { color: var(--ogeeat-green); }

/* ===== Check items ===== */
.ogeeat-check {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid #f4f5f7;
}
.ogeeat-check:last-child { border-bottom: none; }
.ogeeat-check-icon {
	flex-shrink: 0; width: 30px; height: 30px;
	border-radius: var(--ogeeat-radius-sm);
	display: flex; align-items: center; justify-content: center;
}
.ogeeat-check-icon .dashicons {
	font-size: 16px; width: 16px; height: 16px; line-height: 16px;
}
.ogeeat-check-icon--red { background: var(--ogeeat-red-bg); color: var(--ogeeat-red); }
.ogeeat-check-icon--orange { background: var(--ogeeat-orange-bg); color: var(--ogeeat-orange-dark); }
.ogeeat-check-icon--green { background: var(--ogeeat-green-bg); color: var(--ogeeat-green-dark); }
.ogeeat-check-body { flex: 1; min-width: 0; padding-top: 1px; }
.ogeeat-check-label {
	font-size: 13px; font-weight: 600; color: var(--ogeeat-text); margin-bottom: 2px;
}
.ogeeat-check-message {
	font-size: 12.5px; color: var(--ogeeat-muted); line-height: 1.5;
}

/* ===== Divider ===== */
.ogeeat-divider {
	border: none; border-top: 1px solid var(--ogeeat-border-light);
	margin: 16px 0;
}

/* ===== E-E-A-T Author Card — White card on grey bg ===== */
.ogeeat-author-card {
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius); overflow: hidden;
	margin-bottom: 16px;
	background: var(--ogeeat-card-bg);
}
.ogeeat-author-card-header {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px;
	background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
	border-bottom: 1px solid var(--ogeeat-border-light);
}
.ogeeat-author-card-header img {
	width: 48px; height: 48px; border-radius: 50%;
	flex-shrink: 0; border: 2px solid #fff;
	box-shadow: var(--ogeeat-shadow-sm);
}
.ogeeat-author-info { flex: 1; min-width: 0; }
.ogeeat-author-info h4 { font-size: 13px; font-weight: 700; margin: 0 0 3px; }
.ogeeat-author-info p { font-size: 12.5px; color: var(--ogeeat-muted); margin: 0; }
.ogeeat-author-missing { color: var(--ogeeat-red); font-style: italic; }

.ogeeat-pct-ring { flex-shrink: 0; position: relative; width: 46px; height: 46px; }
.ogeeat-pct-ring svg { width: 46px; height: 46px; }
.ogeeat-pct-ring .ring-bg { fill: none; stroke: #e0e0e0; stroke-width: 5; transform: rotate(-90deg); transform-origin: center; }
.ogeeat-pct-ring .ring-fill { fill: none; stroke-width: 5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.ogeeat-pct-ring span {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 700;
}

/* ===== Schema Status Panel ===== */
.ogeeat-schema-status {
	display: flex; gap: 0;
}
.ogeeat-schema-item {
	flex: 1; padding: 12px 14px; text-align: center;
	border-right: 1px solid var(--ogeeat-border-light);
	font-size: 11px;
	transition: background .15s;
}
.ogeeat-schema-item:last-child { border-right: none; }
.ogeeat-schema-item:hover { background: #fafbfc; }
.ogeeat-schema-item .dashicons {
	font-size: 18px; width: 18px; height: 18px; line-height: 18px;
	display: block; margin: 0 auto 5px;
}
.ogeeat-schema-item--ok .dashicons { color: var(--ogeeat-green); }
.ogeeat-schema-item--fail .dashicons { color: var(--ogeeat-red); }
.ogeeat-schema-item strong { display: block; font-size: 12px; font-weight: 600; color: var(--ogeeat-text); }
.ogeeat-schema-item span { color: var(--ogeeat-muted); }

/* ===== Entity Linking Map ===== */
.ogeeat-entity-map {
	display: flex; align-items: center; justify-content: center;
	gap: 0; padding: 16px 18px;
	border-top: 1px solid var(--ogeeat-border-light);
	background: #fafbfc;
}
.ogeeat-entity {
	display: flex; flex-direction: column; align-items: center;
	text-align: center; padding: 6px 12px;
}
.ogeeat-entity-icon {
	width: 42px; height: 42px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 5px; box-shadow: var(--ogeeat-shadow-sm);
}
.ogeeat-entity-icon .dashicons { font-size: 18px; width: 18px; height: 18px; line-height: 18px; }
.ogeeat-entity-icon--ok { background: var(--ogeeat-green-bg); color: var(--ogeeat-green); }
.ogeeat-entity-icon--fail { background: var(--ogeeat-red-bg); color: var(--ogeeat-red); }
.ogeeat-entity-name { font-size: 11px; font-weight: 600; color: var(--ogeeat-text); }
.ogeeat-entity-type { font-size: 10px; color: var(--ogeeat-muted); }
.ogeeat-entity-link {
	display: flex; align-items: center;
	height: 3px; width: 40px; position: relative;
}
.ogeeat-entity-link--ok { background: var(--ogeeat-green); }
.ogeeat-entity-link--partial { background: var(--ogeeat-orange); }
.ogeeat-entity-link--fail { background: var(--ogeeat-border-light); }
.ogeeat-entity-link::after {
	content: ''; position: absolute; right: -3px; top: -3px;
	width: 8px; height: 8px; border-radius: 50%; background: inherit;
}

/* Profile link */
.ogeeat-profile-link {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; color: var(--ogeeat-blue); text-decoration: none;
	font-weight: 500;
	padding: 10px 18px; border-top: 1px solid var(--ogeeat-border-light);
	transition: background .15s;
}
.ogeeat-profile-link:hover { text-decoration: underline; background: #fafbfc; }
.ogeeat-profile-link .dashicons { font-size: 14px; width: 14px; height: 14px; line-height: 14px; }

/* ===== LLMS.txt Status Card — White card on grey bg ===== */
.ogeeat-llms-card {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 18px;
	background: var(--ogeeat-card-bg);
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
	margin-top: 20px;
}
.ogeeat-llms-icon {
	flex-shrink: 0; width: 40px; height: 40px;
	border-radius: 50%; background: var(--ogeeat-blue-bg);
	display: flex; align-items: center; justify-content: center;
}
.ogeeat-llms-icon .dashicons {
	font-size: 20px; width: 20px; height: 20px; line-height: 20px;
	color: var(--ogeeat-blue);
}
.ogeeat-llms-info { flex: 1; min-width: 0; }
.ogeeat-llms-info strong {
	display: block; font-size: 13px; font-weight: 700; color: var(--ogeeat-text);
	margin-bottom: 3px;
}
.ogeeat-llms-info span {
	font-size: 12px; color: var(--ogeeat-muted); line-height: 1.5;
}
.ogeeat-llms-links {
	flex-shrink: 0; display: flex; flex-direction: column; gap: 4px;
}
.ogeeat-llms-links a {
	display: inline-flex; align-items: center; gap: 3px;
	font-size: 12px; font-weight: 500; color: var(--ogeeat-blue);
	text-decoration: none; padding: 0;
	background: none; border: none;
	white-space: nowrap;
}
.ogeeat-llms-links a:hover {
	text-decoration: underline; color: var(--ogeeat-blue);
}
.ogeeat-llms-links a .dashicons {
	font-size: 12px; width: 12px; height: 12px; line-height: 12px;
}
.ogeeat-llms-disabled {
	display: flex; align-items: center; gap: 8px;
	padding: 12px 16px; margin-top: 20px;
	background: var(--ogeeat-card-bg);
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
	font-size: 13px; color: var(--ogeeat-muted);
}
.ogeeat-llms-disabled .dashicons {
	font-size: 18px; width: 18px; height: 18px; line-height: 18px;
	color: var(--ogeeat-subtle);
}
.ogeeat-llms-exclude {
	margin-top: 10px;
	padding: 10px 16px;
	background: var(--ogeeat-card-bg);
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
}
.ogeeat-llms-exclude label {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; color: var(--ogeeat-text); cursor: pointer;
}
.ogeeat-llms-exclude input[type="checkbox"] {
	margin: 0;
}

/* ===== Google Preview ===== */
.ogeeat-google-toggle {
	display: inline-flex;
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius-sm);
	overflow: hidden; margin-bottom: 16px;
}
.ogeeat-device-btn {
	background: var(--ogeeat-card-bg); border: none;
	border-right: 1px solid var(--ogeeat-border-light);
	padding: 6px 14px; font-size: 12px; font-weight: 500;
	cursor: pointer; color: var(--ogeeat-muted);
	transition: all .15s;
}
.ogeeat-device-btn:last-child { border-right: none; }
.ogeeat-device-btn.active { background: var(--ogeeat-blue); color: #fff; }
.ogeeat-google-preview {
	max-width: 600px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
	background: var(--ogeeat-card-bg); border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius); padding: 16px;
}
.ogeeat-google-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ogeeat-google-favicon { width: 26px; height: 26px; border-radius: 50%; }
.ogeeat-google-favicon-placeholder {
	display: inline-block; width: 26px; height: 26px;
	border-radius: 50%; background: #e0e0e0;
}
.ogeeat-google-sitename { display: block; font-size: 14px; color: #202124; line-height: 1.2; }
.ogeeat-google-url { display: block; font-size: 12px; color: #4d5156; }
.ogeeat-google-body { display: flex; gap: 16px; }
.ogeeat-google-text { flex: 1; }
.ogeeat-google-title {
	font-size: 20px; color: #1a0dab; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; margin-bottom: 6px;
}
.ogeeat-google-desc {
	font-size: 14px; color: #4d5156; line-height: 1.58;
	display: -webkit-box; -webkit-line-clamp: 3;
	-webkit-box-orient: vertical; overflow: hidden;
}
.ogeeat-google-date { color: #70757a; }
.ogeeat-google-thumb {
	flex-shrink: 0; width: 92px; height: 92px;
	border-radius: 8px; overflow: hidden;
}
.ogeeat-google-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ogeeat-google-preview.ogeeat-desktop .ogeeat-google-thumb { display: none; }

/* ===== Facebook Preview ===== */
.ogeeat-facebook-preview {
	max-width: 500px;
	margin: 0 auto;
	border: 1px solid #e4e6eb;
	border-radius: var(--ogeeat-radius); overflow: hidden;
	font-family: Helvetica, Arial, sans-serif;
}
.ogeeat-facebook-image { width: 100%; aspect-ratio: 1.91 / 1; background: #f0f2f5; overflow: hidden; }
.ogeeat-facebook-image img { width: 100%; height: 100%; object-fit: cover; }
.ogeeat-facebook-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #999; font-size: 14px; }
.ogeeat-facebook-text { padding: 12px 14px; background: var(--ogeeat-card-bg); }
.ogeeat-facebook-domain { display: block; font-size: 12px; color: #606770; text-transform: uppercase; margin-bottom: 4px; }
.ogeeat-facebook-title { font-size: 16px; font-weight: 600; color: #1d2129; line-height: 1.35; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ogeeat-facebook-desc { font-size: 14px; color: #606770; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== X/Twitter Preview ===== */
.ogeeat-twitter-preview {
	max-width: 500px;
	margin: 0 auto;
	border: 1px solid #cfd9de;
	border-radius: 16px; overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ogeeat-twitter-image { width: 100%; aspect-ratio: 1.91 / 1; background: #f7f9fa; overflow: hidden; position: relative; }
.ogeeat-twitter-image img { width: 100%; height: 100%; object-fit: cover; }
.ogeeat-twitter-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #999; font-size: 14px; }
.ogeeat-twitter-domain-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.ogeeat-twitter-text { padding: 12px 14px; background: var(--ogeeat-card-bg); }
.ogeeat-twitter-title { font-size: 15px; font-weight: 600; color: #0f1419; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ogeeat-twitter-desc { font-size: 14px; color: #536471; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== LinkedIn Preview ===== */
.ogeeat-linkedin-preview {
	max-width: 500px;
	margin: 0 auto;
	border: 1px solid #e0e0e0;
	border-radius: var(--ogeeat-radius); overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ogeeat-linkedin-image { width: 100%; aspect-ratio: 1.91 / 1; background: #f3f2ef; overflow: hidden; }
.ogeeat-linkedin-image img { width: 100%; height: 100%; object-fit: cover; }
.ogeeat-linkedin-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #999; font-size: 14px; }
.ogeeat-linkedin-text { padding: 12px 14px; background: #f3f2ef; }
.ogeeat-linkedin-title { font-size: 14px; font-weight: 600; color: #000; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ogeeat-linkedin-domain { font-size: 12px; color: rgba(0,0,0,.6); }

/* ===== SEO managed notice ===== */
.ogeeat-seo-managed-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--ogeeat-blue-bg);
	border: 1px solid #c5d9ed;
	border-radius: var(--ogeeat-radius);
	font-size: 13px;
	color: var(--ogeeat-text);
	line-height: 1.5;
}
.ogeeat-seo-managed-notice .dashicons {
	color: var(--ogeeat-blue);
	font-size: 18px;
	width: 18px;
	height: 18px;
	vertical-align: text-bottom;
	margin-right: 6px;
}

/* ===== Fields intro text ===== */
.ogeeat-fields-intro {
	font-size: 12.5px;
	color: var(--ogeeat-muted);
	margin: 0 0 14px;
	line-height: 1.5;
}

/* ===== Override fields — White card on grey bg ===== */
.ogeeat-fields {
	max-width: var(--ogeeat-content-max);
	margin: 0 auto;
	padding: 14px 18px 16px;
	background: var(--ogeeat-card-bg);
	border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
	margin-top: 20px;
}
.ogeeat-fields--network {
	margin-top: 16px;
}

/* ===== Network info note (LinkedIn) ===== */
.ogeeat-network-info {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: var(--ogeeat-blue-bg);
	border: 1px solid #c5d9ed;
	border-radius: var(--ogeeat-radius-sm);
	font-size: 12.5px;
	color: var(--ogeeat-text);
	line-height: 1.5;
}
.ogeeat-network-info .dashicons {
	color: var(--ogeeat-blue);
	font-size: 16px;
	width: 16px;
	height: 16px;
	vertical-align: text-bottom;
	margin-right: 4px;
}
.ogeeat-field { margin-bottom: 16px; }
.ogeeat-field:last-child { margin-bottom: 0; }
.ogeeat-field label {
	display: block; font-size: 13px; font-weight: 600;
	margin-bottom: 5px; color: var(--ogeeat-text);
}
.ogeeat-field input[type="text"],
.ogeeat-field textarea {
	border: 1px solid var(--ogeeat-border);
	border-radius: var(--ogeeat-radius-sm);
	padding: 8px 12px; font-size: 13px;
	transition: border-color .15s, box-shadow .15s;
}
.ogeeat-field input[type="text"]:focus,
.ogeeat-field textarea:focus {
	border-color: var(--ogeeat-blue);
	box-shadow: 0 0 0 2px rgba(34,113,177,.12);
	outline: none;
}
.ogeeat-field textarea { resize: vertical; }
.ogeeat-counter {
	text-align: right; font-size: 11px; color: var(--ogeeat-muted); margin-top: 3px;
}
.ogeeat-counter .ogeeat-count-green { color: var(--ogeeat-green); font-weight: 600; }
.ogeeat-counter .ogeeat-count-orange { color: var(--ogeeat-orange); font-weight: 600; }
.ogeeat-counter .ogeeat-count-red { color: var(--ogeeat-red); font-weight: 600; }
.ogeeat-field .ogeeat-media-field { display: flex; align-items: center; gap: 8px; }
.ogeeat-field .ogeeat-image-preview img {
	max-width: 200px; height: auto; margin-top: 10px;
	border-radius: var(--ogeeat-radius-sm); box-shadow: var(--ogeeat-shadow-sm);
}

/* ==========================================================
   DASHBOARD WIDGET — "AI Command Center" Design
   Prefixed with #ogeeat_dashboard for WP admin specificity.
   ========================================================== */

#ogeeat_dashboard .ogeeat-dw {
	margin: -1px -12px -12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	box-sizing: border-box;
}
#ogeeat_dashboard .ogeeat-dw *,
#ogeeat_dashboard .ogeeat-dw *::before,
#ogeeat_dashboard .ogeeat-dw *::after {
	box-sizing: border-box;
}

/* --- Hero: Dual Score --- */
#ogeeat_dashboard .ogeeat-dw-hero {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-around;
	padding: 28px 20px 24px;
	background: linear-gradient(160deg, #f8fafc 0%, #eef3f9 50%, #f0f6fc 100%);
	border-bottom: 1px solid #dcdcde;
}
#ogeeat_dashboard .ogeeat-dw-score {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
}
#ogeeat_dashboard .ogeeat-dw-ring {
	position: relative;
	width: 96px;
	height: 96px;
	margin-bottom: 10px;
}
#ogeeat_dashboard .ogeeat-dw-ring svg {
	display: block;
	width: 96px;
	height: 96px;
}
#ogeeat_dashboard .ogeeat-dw-ring-value {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#ogeeat_dashboard .ogeeat-dw-ring-number {
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
}
#ogeeat_dashboard .ogeeat-dw-ring-unit {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 2px;
	font-weight: 600;
}
#ogeeat_dashboard .ogeeat-dw-score-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #50575e;
	margin-bottom: 4px;
}
#ogeeat_dashboard .ogeeat-dw-score-detail {
	font-size: 11px;
	color: #94a3b8;
	text-align: center;
	line-height: 1.4;
}
#ogeeat_dashboard .ogeeat-dw-score-detail a {
	color: var(--ogeeat-blue);
	text-decoration: none;
	font-weight: 600;
}
#ogeeat_dashboard .ogeeat-dw-score-detail a:hover {
	text-decoration: underline;
}

/* --- Metrics Grid (2x2 cards) --- */
#ogeeat_dashboard .ogeeat-dw-metrics {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	padding: 12px;
	background: #f0f0f1;
}
#ogeeat_dashboard .ogeeat-dw-metric {
	padding: 14px 16px;
	background: #fff;
	border-radius: 6px;
	transition: background .15s;
}
#ogeeat_dashboard .ogeeat-dw-metric:hover {
	background: #fafbfc;
}
#ogeeat_dashboard .ogeeat-dw-metric-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
	margin-bottom: 8px;
	display: flex !important;
	align-items: center;
	gap: 5px;
}
#ogeeat_dashboard .ogeeat-dw-metric-label .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
	line-height: 12px;
	color: #94a3b8;
}
#ogeeat_dashboard .ogeeat-dw-metric-row {
	display: flex !important;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 6px;
}
#ogeeat_dashboard .ogeeat-dw-metric-value {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: #1d2327;
}
#ogeeat_dashboard .ogeeat-dw-metric-suffix {
	font-size: 12px;
	color: #646970;
	font-weight: 500;
}
#ogeeat_dashboard .ogeeat-dw-metric-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	line-height: 1.2;
}
#ogeeat_dashboard .ogeeat-dw-metric-bar {
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
	margin-bottom: 6px;
	overflow: hidden;
}
#ogeeat_dashboard .ogeeat-dw-metric-bar-fill {
	height: 100%;
	border-radius: 2px;
	min-width: 2px;
	transition: width .6s ease;
}
#ogeeat_dashboard .ogeeat-dw-metric-detail {
	font-size: 11px;
	color: #94a3b8;
	line-height: 1.4;
}
#ogeeat_dashboard .ogeeat-dw-metric-detail a {
	color: var(--ogeeat-blue);
	text-decoration: none;
}
#ogeeat_dashboard .ogeeat-dw-metric-detail a:hover {
	text-decoration: underline;
}
#ogeeat_dashboard .ogeeat-dw-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	vertical-align: 1px;
	margin-right: 2px;
}

/* --- Trust Signals --- */
#ogeeat_dashboard .ogeeat-dw-trust {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f1;
}
#ogeeat_dashboard .ogeeat-dw-trust-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
	margin-bottom: 8px;
}
#ogeeat_dashboard .ogeeat-dw-trust-label .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}
#ogeeat_dashboard .ogeeat-dw-trust-score {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
}
#ogeeat_dashboard .ogeeat-dw-trust-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
#ogeeat_dashboard .ogeeat-dw-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
}
#ogeeat_dashboard .ogeeat-dw-trust-item .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}
#ogeeat_dashboard .ogeeat-dw-trust-item--green {
	background: #edfaef;
	color: #00a32a;
}
#ogeeat_dashboard .ogeeat-dw-trust-item--red {
	background: #fcf0f1;
	color: #d63638;
}
#ogeeat_dashboard .ogeeat-dw-trust-item--orange {
	background: #fef8e8;
	color: #996800;
}
#ogeeat_dashboard a.ogeeat-dw-trust-item {
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
#ogeeat_dashboard a.ogeeat-dw-trust-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
#ogeeat_dashboard a.ogeeat-dw-trust-item--green { color: #00a32a; }
#ogeeat_dashboard a.ogeeat-dw-trust-item--red { color: #d63638; }
#ogeeat_dashboard a.ogeeat-dw-trust-item--orange { color: #996800; }

/* --- Module Pills --- */
#ogeeat_dashboard .ogeeat-dw-modules {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f1;
}
#ogeeat_dashboard .ogeeat-dw-modules-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
	margin-bottom: 8px;
}
#ogeeat_dashboard .ogeeat-dw-pills {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
}
#ogeeat_dashboard .ogeeat-dw-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity .15s;
	white-space: nowrap;
	line-height: 1.5;
}
#ogeeat_dashboard .ogeeat-dw-pill:hover {
	opacity: .8;
	text-decoration: none;
}
#ogeeat_dashboard .ogeeat-dw-pill--on {
	background: #edfaef;
	color: #007017;
}
#ogeeat_dashboard .ogeeat-dw-pill--on .ogeeat-dw-pill-dot {
	background: #00a32a;
}
#ogeeat_dashboard .ogeeat-dw-pill--off {
	background: #f0f0f1;
	color: #646970;
}
#ogeeat_dashboard .ogeeat-dw-pill--off .ogeeat-dw-pill-dot {
	background: #a7aaad;
}
#ogeeat_dashboard .ogeeat-dw-pill-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}
#ogeeat_dashboard .ogeeat-dw-pill-name {
	line-height: 1;
}

/* --- Quick Actions --- */
#ogeeat_dashboard .ogeeat-dw-actions {
	padding: 10px 16px 8px;
	border-bottom: 1px solid #f0f0f1;
}
#ogeeat_dashboard .ogeeat-dw-actions-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
	margin-bottom: 6px;
}
#ogeeat_dashboard .ogeeat-dw-action {
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 12px;
	color: #1d2327;
	line-height: 1.4;
}
#ogeeat_dashboard .ogeeat-dw-action-icon {
	font-size: 8px;
	flex-shrink: 0;
	line-height: 1;
}
#ogeeat_dashboard .ogeeat-dw-action-text {
	flex: 1;
}
#ogeeat_dashboard .ogeeat-dw-action-link {
	font-size: 11px;
	font-weight: 500;
	color: var(--ogeeat-blue);
	text-decoration: none;
	white-space: nowrap;
}
#ogeeat_dashboard .ogeeat-dw-action-link:hover {
	text-decoration: underline;
}

/* --- Footer --- */
#ogeeat_dashboard .ogeeat-dw-footer {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
}
#ogeeat_dashboard .ogeeat-dw-footer-links {
	display: flex !important;
	gap: 14px;
}
#ogeeat_dashboard .ogeeat-dw-footer-links a {
	font-size: 11.5px;
	color: var(--ogeeat-blue);
	text-decoration: none;
	font-weight: 500;
	display: flex !important;
	align-items: center;
	gap: 3px;
}
#ogeeat_dashboard .ogeeat-dw-footer-links a:hover {
	text-decoration: underline;
}
#ogeeat_dashboard .ogeeat-dw-footer-links .dashicons {
	font-size: 13px;
	width: 13px;
	height: 13px;
}

/* ===== Documentation page ===== */
.ogeeat-docs-page .ogeeat-docs-intro {
	font-size: 14px; color: var(--ogeeat-text); margin-bottom: 20px; max-width: 800px;
}
.ogeeat-docs-nav {
	display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px;
	padding: 12px 16px; background: var(--ogeeat-card-bg); border: 1px solid var(--ogeeat-border-light);
	border-radius: var(--ogeeat-radius);
}
.ogeeat-docs-nav a {
	display: inline-block; padding: 4px 12px; font-size: 13px; font-weight: 500;
	text-decoration: none; color: var(--ogeeat-blue); background: var(--ogeeat-blue-bg);
	border-radius: 12px; transition: background .15s, color .15s;
}
.ogeeat-docs-nav a:hover { background: var(--ogeeat-blue); color: #fff; }
.ogeeat-docs-content { max-width: 800px; }
.ogeeat-docs-content h3 { font-size: 14px; font-weight: 700; margin: 20px 0 8px; color: var(--ogeeat-text); }
.ogeeat-docs-content p { font-size: 13.5px; line-height: 1.65; color: #3c434a; margin: 0 0 12px; }
.ogeeat-docs-content ul,
.ogeeat-docs-content ol { font-size: 13.5px; line-height: 1.65; color: #3c434a; margin: 0 0 12px; padding-left: 24px; }
.ogeeat-docs-content li { margin-bottom: 4px; }
.ogeeat-docs-content code { background: #f0f0f1; padding: 2px 6px; border-radius: 3px; font-size: 12px; }
.ogeeat-docs-content pre {
	background: #f6f7f7; padding: 12px 16px; border-radius: var(--ogeeat-radius-sm);
	font-size: 12.5px; line-height: 1.6; overflow-x: auto; border: 1px solid var(--ogeeat-border-light);
}
.ogeeat-docs-content table { font-size: 13px; }
.ogeeat-docs-content table th { font-weight: 600; }

/* ==========================================================
   BULK AUDIT — WP_List_Table enhancements
   ========================================================== */

.ogeeat-audit-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}
