/* PHP Compatibility Checker by Volade — extension du design Volade */

.pcc-wrap-inner {
	max-width: 1200px;
}

.pcc-wrap-standalone {
	max-width: 960px;
	margin: 20px 20px 40px 0;
}

.pcc-wrap-standalone .pcc-intro,
.pcc-wrap-standalone .pcc-profile-chip,
.pcc-wrap-standalone .pcc-stats-bar,
.pcc-wrap-standalone .pcc-page-header,
.pcc-wrap-standalone .pcc-env-strip {
	margin-left: 0;
}

/* ——— En-tête ——— */

.pcc-page-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 20px 18px;
}

.pcc-page-header h1 {
	margin: 0 0 6px;
	font-size: 23px;
	font-weight: 600;
	color: var(--volade-g-900, #111827);
}

.pcc-page-subtitle {
	margin: 0;
	max-width: 560px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--volade-g-600, #4b5563);
}

.pcc-header-actions {
	flex-shrink: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.pcc-header-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 700;
	color: var(--volade-i-700, #4338ca);
	background: var(--volade-i-50, #eef2ff);
	border: 1px solid var(--volade-i-200, #c7d2fe);
	box-shadow: 0 1px 2px rgba(79, 70, 229, 0.08);
}

/* ——— Intro ——— */

.pcc-intro {
	display: flex;
	gap: 18px;
	margin: 0 0 24px 18px;
	padding: 22px 24px;
	border: 1px solid var(--volade-i-200, #c7d2fe);
	border-radius: var(--volade-radius, 12px);
	background: linear-gradient(135deg, var(--volade-i-50, #eef2ff) 0%, #fff 60%);
	box-shadow: var(--volade-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
	transition: padding 0.2s ease;
}

.pcc-intro.is-collapsed {
	padding: 14px 20px;
	align-items: center;
}

.pcc-intro-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.pcc-intro.is-collapsed .pcc-intro-head {
	margin: 0;
}

.pcc-intro.is-collapsed .pcc-intro-icon {
	font-size: 28px;
}

.pcc-intro-toggle {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--volade-i-600, #4f46e5) !important;
	text-decoration: none;
	padding: 4px 8px;
	border-radius: var(--volade-radius-sm, 8px);
	border: none;
	background: transparent;
	cursor: pointer;
	box-shadow: none;
}

.pcc-intro-toggle:hover,
.pcc-intro-toggle:focus {
	color: var(--volade-i-700, #4338ca) !important;
	background: rgba(99, 102, 241, 0.08);
	text-decoration: underline;
}

.pcc-intro.is-collapsed h2 {
	margin: 0;
	font-size: 16px;
}

.pcc-intro-collapsible[hidden] {
	display: none !important;
}

.pcc-intro-collapsible {
	margin-top: 12px;
}

.pcc-intro-icon {
	font-size: 40px;
	line-height: 1;
	flex-shrink: 0;
}

.pcc-intro h2 {
	margin: 0;
	font-size: 18px;
	color: var(--volade-g-900, #111827);
}

.pcc-intro-lead {
	font-size: 14px;
	line-height: 1.55;
	color: var(--volade-g-700, #374151);
	margin: 0 0 10px;
}

.pcc-intro-body p {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--volade-g-600, #4b5563);
}

.pcc-intro-list {
	margin: 12px 0;
	padding-left: 20px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--volade-g-700, #374151);
}

.pcc-intro-list li {
	margin-bottom: 6px;
}

.pcc-intro-tip {
	margin: 12px 0 0 !important;
	padding: 10px 12px;
	border-radius: var(--volade-radius-sm, 8px);
	background: #fff;
	border: 1px dashed var(--volade-i-200, #c7d2fe);
	font-size: 13px !important;
}

.pcc-workflow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 16px 0 14px;
	padding: 0;
	list-style: none;
}

.pcc-workflow-step {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--volade-i-100, #e0e7ff);
	border-radius: var(--volade-radius-sm, 8px);
	box-shadow: 0 1px 2px rgba(79, 70, 229, 0.06);
}

.pcc-workflow-num {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--volade-i-600, #4f46e5);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.pcc-workflow-step strong {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	color: var(--volade-g-900, #111827);
}

.pcc-workflow-step span {
	font-size: 12px;
	line-height: 1.4;
	color: var(--volade-g-500, #6b7280);
}

.pcc-feature-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.pcc-feature-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 600;
	color: var(--volade-i-700, #4338ca);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--volade-i-200, #c7d2fe);
}

/* ——— Profil ——— */

.pcc-profile-chip {
	margin: 0 0 20px 18px;
	padding: 14px 18px;
	border-radius: var(--volade-radius, 12px);
	border: 1px solid var(--volade-g-200, #e5e7eb);
	background: #fff;
	box-shadow: var(--volade-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.pcc-profile-chip-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--volade-g-500, #6b7280);
	margin-bottom: 4px;
}

.pcc-profile-chip-value {
	font-size: 16px;
	color: var(--volade-i-700, #4338ca);
}

.pcc-profile-chip-desc {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--volade-g-600, #4b5563);
}

.pcc-profile-chip.pcc-profile-guest {
	border-color: var(--volade-i-200, #c7d2fe);
	background: linear-gradient(135deg, var(--volade-i-50, #eef2ff) 0%, #fff 100%);
}

.pcc-profile-chip.pcc-profile-premium {
	border-color: #fcd34d;
	background: linear-gradient(135deg, var(--volade-amber-bg, #fffbeb) 0%, #fff 100%);
}

.pcc-profile-chip.pcc-profile-premium .pcc-profile-chip-value {
	color: #b45309;
}

/* ——— Stats bar ——— */

.pcc-stats-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 14px;
	margin: 0 0 20px 18px;
}

.pcc-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	flex: 1;
	min-width: 0;
}

.pcc-stat-pill {
	background: #fff;
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: 10px;
	padding: 10px 16px;
	min-width: 120px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pcc-stat-pill strong {
	display: block;
	font-size: 22px;
	line-height: 1.2;
	color: var(--volade-i-600, #4f46e5);
}

.pcc-stat-pill span {
	font-size: 12px;
	color: var(--volade-g-500, #6b7280);
}

.pcc-stat-pill-error strong {
	color: #dc2626;
}

.pcc-stat-pill-warning strong {
	color: #d97706;
}

.pcc-stat-pill-success strong {
	color: #059669;
}

.pcc-stat-pill-muted strong {
	color: var(--volade-g-700, #374151);
	font-size: 18px;
}

.pcc-stats-hint {
	flex: 1 1 100%;
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: #f0f6ff;
	border: 1px solid #c7d7fe;
	color: #3730a3;
	font-size: 12px;
	line-height: 1.5;
}

.pcc-info-tip {
	position: relative;
	flex-shrink: 0;
	align-self: center;
}

.pcc-info-tip-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--volade-i-200, #c7d2fe);
	border-radius: 50%;
	background: var(--volade-i-50, #eef2ff);
	color: var(--volade-i-600, #4f46e5);
	cursor: help;
	box-shadow: 0 1px 2px rgba(79, 70, 229, 0.12);
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.pcc-info-tip-trigger:hover,
.pcc-info-tip-trigger:focus {
	background: #fff;
	border-color: var(--volade-i-400, #818cf8);
	color: var(--volade-i-700, #4338ca);
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
	outline: none;
}

.pcc-info-tip-bubble {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	z-index: 20;
	width: max-content;
	max-width: min(320px, calc(100vw - 48px));
	padding: 12px 14px;
	border-radius: var(--volade-radius-sm, 8px);
	background: var(--volade-g-900, #111827);
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	pointer-events: none;
}

.pcc-info-tip-bubble::after {
	content: "";
	position: absolute;
	right: 11px;
	bottom: -6px;
	width: 12px;
	height: 12px;
	background: var(--volade-g-900, #111827);
	transform: rotate(45deg);
	border-radius: 2px;
}

.pcc-info-tip-bubble p {
	margin: 0 0 8px;
	color: #fff;
}

.pcc-info-tip-bubble p:last-child {
	margin-bottom: 0;
}

.pcc-info-tip:hover .pcc-info-tip-bubble,
.pcc-info-tip:focus-within .pcc-info-tip-bubble,
.pcc-info-tip.is-open .pcc-info-tip-bubble {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* ——— Bandeau environnement ——— */

.pcc-env-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px 18px;
}

.pcc-env-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--volade-radius-sm, 8px);
	background: #fff;
	border: 1px solid var(--volade-g-200, #e5e7eb);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	font-size: 12px;
	color: var(--volade-g-700, #374151);
}

.pcc-env-chip strong {
	font-weight: 700;
	color: var(--volade-g-900, #111827);
}

.pcc-env-chip-ok {
	border-color: #a7f3d0;
	background: #ecfdf5;
}

.pcc-env-chip-warn {
	border-color: #fcd34d;
	background: #fffbeb;
}

.pcc-ext-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.pcc-ext-chip {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	font-family: ui-monospace, monospace;
	color: var(--volade-i-700, #4338ca);
	background: var(--volade-i-50, #eef2ff);
	border: 1px solid var(--volade-i-100, #e0e7ff);
}

/* ——— Layout principal ——— */

.pcc-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
}

.pcc-main-column {
	min-width: 0;
}

.pcc-aside-column {
	position: sticky;
	top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pcc-panels {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 24px;
}

/* ——— Panneaux ——— */

.pcc-panel {
	background: #fff;
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: var(--volade-radius, 12px);
	padding: 22px 26px;
	box-shadow: var(--volade-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
	transition: box-shadow 0.2s;
	margin-bottom: 0;
}

.pcc-panel:hover {
	box-shadow: var(--volade-shadow-lg, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.pcc-panel h2 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--volade-g-900, #111827);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pcc-panel-icon {
	font-size: 18px;
	line-height: 1;
}

.pcc-panel-lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--volade-g-600, #4b5563);
}

.pcc-panel .description {
	color: var(--volade-g-500, #6b7280);
	font-size: 13px;
	margin: 0 0 12px;
}

.pcc-panel-locked,
.pcc-panel.pcc-gated {
	background: var(--volade-g-50, #f9fafb);
	border-style: dashed;
}

.pcc-tier {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 10px;
	border-radius: 99px;
	background: var(--volade-i-100, #e0e7ff);
	color: var(--volade-i-700, #4338ca);
}

.pcc-tier-premium {
	background: var(--volade-amber-bg, #fffbeb);
	color: #b45309;
}

.pcc-env-list {
	margin: 0 0 8px;
	padding-left: 18px;
	font-size: 13px;
	color: var(--volade-g-600, #4b5563);
}

/* ——— Presets ——— */

.pcc-preset-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.pcc-preset-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: var(--volade-radius, 10px);
	background: var(--volade-g-50, #f9fafb);
	margin: 0;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pcc-preset-card:hover {
	border-color: var(--volade-i-300, #a5b4fc);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
	transform: translateY(-1px);
}

.pcc-preset-icon {
	font-size: 24px;
	line-height: 1;
}

.pcc-preset-icon-ver {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	color: var(--volade-i-700, #4338ca);
	background: var(--volade-i-100, #e0e7ff);
	border: 1px solid var(--volade-i-200, #c7d2fe);
}

.pcc-preset-card strong {
	font-size: 14px;
	color: var(--volade-g-900, #111827);
}

.pcc-preset-desc {
	font-size: 12px;
	color: var(--volade-g-500, #6b7280);
	flex: 1;
	line-height: 1.4;
	margin: 0;
}

.pcc-preset-apply {
	margin-top: 4px;
	align-self: flex-start;
}

/* ——— Formulaire scan ——— */

.pcc-field-row {
	margin-bottom: 14px;
}

.pcc-field-row label {
	font-weight: 600;
	font-size: 13px;
	color: var(--volade-g-800, #1f2937);
}

.pcc-field-help {
	display: block;
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--volade-g-500, #6b7280);
	max-width: 520px;
}

.pcc-checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.pcc-checkboxes label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 12px;
	border-radius: var(--volade-radius-sm, 8px);
	background: var(--volade-g-50, #f9fafb);
	border: 1px solid var(--volade-g-200, #e5e7eb);
	font-weight: 500;
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.pcc-checkboxes label:hover {
	border-color: var(--volade-i-200, #c7d2fe);
	background: var(--volade-i-50, #eef2ff);
}

.pcc-scan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--volade-g-100, #f3f4f6);
}

.pcc-scan-actions .button-primary {
	padding: 6px 20px !important;
	height: auto !important;
	font-weight: 600;
}

.pcc-guest-limit {
	margin-top: 10px;
	padding: 10px 14px;
	border-radius: var(--volade-radius-sm, 8px);
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
	font-weight: 600;
	font-size: 13px;
}

.pcc-delta-row label {
	margin-right: 12px;
}

.pcc-target-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-height: 240px;
	overflow: auto;
	margin-top: 10px;
	padding: 12px;
	background: var(--volade-g-50, #f9fafb);
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: var(--volade-radius-sm, 8px);
}

.pcc-target-bulk {
	margin: 8px 0 12px;
}

.pcc-target-bulk .button {
	margin-right: 6px;
}

.pcc-target-picker summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--volade-i-600, #4f46e5);
}

/* ——— Progression ——— */

.pcc-progress-wrap {
	margin-top: 18px;
	padding: 16px;
	border-radius: var(--volade-radius-sm, 8px);
	background: var(--volade-i-50, #eef2ff);
	border: 1px solid var(--volade-i-200, #c7d2fe);
}

.pcc-progress-bar {
	height: 12px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	overflow: hidden;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.pcc-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--volade-i-500, #6366f1), var(--volade-i-600, #4f46e5));
	transition: width 0.25s ease;
	border-radius: 999px;
}

.pcc-progress-label {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--volade-i-700, #4338ca);
}

/* ——— Verdict ——— */

.pcc-verdict-hero {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 16px 20px;
	align-items: center;
	padding: 20px 22px;
	border-radius: var(--volade-radius, 12px);
	margin-bottom: 20px;
	border: 1px solid transparent;
}

.pcc-verdict-ready {
	background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
	border-color: #6ee7b7;
}

.pcc-verdict-caution {
	background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
	border-color: #fcd34d;
}

.pcc-verdict-blocked {
	background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
	border-color: #fca5a5;
}

.pcc-verdict-unknown {
	background: linear-gradient(135deg, var(--volade-g-50, #f9fafb) 0%, #fff 100%);
	border-color: var(--volade-g-200, #e5e7eb);
}

.pcc-verdict-icon {
	font-size: 36px;
	line-height: 1;
}

.pcc-verdict-body strong {
	display: block;
	font-size: 18px;
	margin-bottom: 4px;
	color: var(--volade-g-900, #111827);
}

.pcc-verdict-body span {
	font-size: 13px;
	color: var(--volade-g-600, #4b5563);
}

.pcc-verdict-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pcc-verdict-metric {
	text-align: center;
	min-width: 72px;
	padding: 8px 12px;
	border-radius: var(--volade-radius-sm, 8px);
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.pcc-verdict-metric strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
}

.pcc-verdict-metric span {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--volade-g-500, #6b7280);
}

.pcc-verdict-ready .pcc-verdict-metric-errors strong {
	color: #dc2626;
}

.pcc-verdict-ready .pcc-verdict-metric-warnings strong {
	color: #d97706;
}

.pcc-top-issues {
	margin: 16px 0;
	padding: 14px 18px;
	background: var(--volade-g-50, #f9fafb);
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: var(--volade-radius-sm, 8px);
}

.pcc-top-issues h3 {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--volade-g-900, #111827);
}

.pcc-top-issues ol {
	margin: 0;
	padding-left: 20px;
	font-size: 13px;
	line-height: 1.55;
}

/* ——— Tableaux ——— */

.pcc-component-table,
.pcc-findings-table {
	border-radius: var(--volade-radius-sm, 8px);
	overflow: hidden;
	border: 1px solid var(--volade-g-200, #e5e7eb);
}

.pcc-sev-error td:first-child {
	color: #b91c1c;
	font-weight: 600;
}

.pcc-sev-warning td:first-child {
	color: #b45309;
}

.pcc-findings-toolbar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0;
	padding: 12px;
	background: var(--volade-g-50, #f9fafb);
	border-radius: var(--volade-radius-sm, 8px);
	border: 1px solid var(--volade-g-200, #e5e7eb);
}

.pcc-findings-details summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--volade-g-800, #1f2937);
	padding: 4px 0 12px;
}

.pcc-file-path {
	font-size: 11px;
	word-break: break-all;
}

.pcc-hint-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-left: 6px;
	border-radius: 50%;
	font-weight: 700;
	font-size: 11px;
	text-decoration: none;
	color: var(--volade-i-700, #4338ca);
	background: var(--volade-i-100, #e0e7ff);
}

.pcc-row-actions .button-link {
	margin-right: 8px;
}

/* ——— Export & divers ——— */

.pcc-export-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--volade-g-100, #f3f4f6);
}

.pcc-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}

.pcc-badge-ready {
	background: #d1fae5;
	color: #065f46;
}

.pcc-badge-warning {
	background: #fef3c7;
	color: #92400e;
}

.pcc-badge-error {
	background: #fee2e2;
	color: #991b1b;
}

.pcc-guest-hint,
.pcc-gated .volade-access-gate {
	margin-top: 8px;
}

.pcc-compare-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pcc-import-whitelist {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.pcc-scan-link {
	margin-left: 6px;
	font-size: 11px;
}

.pcc-runtime-log .widefat {
	border-radius: var(--volade-radius-sm, 8px);
	overflow: hidden;
}

/* ——— Guide latéral ——— */

.pcc-guide {
	background: #fff;
	border: 1px solid var(--volade-g-200, #e5e7eb);
	border-radius: var(--volade-radius, 12px);
	box-shadow: var(--volade-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
	overflow: hidden;
}

.pcc-guide-header {
	padding: 18px 18px 14px;
	background: linear-gradient(180deg, var(--volade-g-50, #f9fafb) 0%, #fff 100%);
	border-bottom: 1px solid var(--volade-g-100, #f3f4f6);
}

.pcc-guide-header h2 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--volade-g-900, #111827);
}

.pcc-guide-header p {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--volade-g-500, #6b7280);
}

.pcc-guide-cards {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pcc-guide-card {
	display: flex;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--volade-g-100, #f3f4f6);
}

.pcc-guide-card:last-child {
	border-bottom: none;
}

.pcc-guide-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	background: var(--volade-i-50, #eef2ff);
	border-radius: 8px;
}

.pcc-guide-card h3 {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--volade-g-900, #111827);
	line-height: 1.3;
}

.pcc-guide-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--volade-g-500, #6b7280);
}

.pcc-guide-compare {
	padding: 14px 18px;
	background: var(--volade-i-50, #eef2ff);
	border-top: 1px solid var(--volade-i-100, #e0e7ff);
}

.pcc-guide-compare-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--volade-i-700, #4338ca);
	margin-bottom: 6px;
}

.pcc-guide-compare p {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--volade-g-600, #4b5563);
}

.pcc-volade-sidebar {
	margin-top: 0;
	max-width: none;
}

/* ——— Responsive ——— */

@media (max-width: 1100px) {
	.pcc-main-layout {
		grid-template-columns: 1fr;
	}

	.pcc-aside-column {
		position: static;
		order: -1;
	}

	.pcc-guide-cards {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 0;
	}

	.pcc-guide-card {
		border-bottom: none;
		border-right: 1px solid var(--volade-g-100, #f3f4f6);
	}

	.pcc-workflow {
		grid-template-columns: 1fr;
	}

	.pcc-verdict-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.pcc-verdict-metrics {
		justify-content: center;
	}
}

@media (max-width: 782px) {
	.pcc-intro,
	.pcc-profile-chip,
	.pcc-stats-bar,
	.pcc-page-header,
	.pcc-env-strip {
		margin-left: 0;
		margin-right: 0;
	}

	.pcc-intro {
		flex-direction: column;
	}

	.pcc-target-columns {
		grid-template-columns: 1fr;
	}
}

@media print {
	.pcc-wrap-inner .pcc-presets,
	.pcc-wrap-inner .pcc-scan-config,
	.pcc-wrap-inner .pcc-advanced-settings,
	.pcc-wrap-inner .pcc-header-actions,
	.pcc-wrap-inner .pcc-export-actions,
	.pcc-wrap-inner .pcc-findings-toolbar,
	.pcc-wrap-inner .pcc-row-actions,
	.pcc-wrap-inner .pcc-aside-column,
	.pcc-wrap-inner .pcc-stats-bar,
	.pcc-wrap-inner .pcc-env-strip,
	.pcc-wrap-inner .notice {
		display: none !important;
	}
}
