.cvs-wrap {
	max-width: 960px;
	margin: 20px 0;
}

.cvs-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.cvs-page-header h1 {
	margin: 0 0 8px;
}

.cvs-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 16px;
}

@media (max-width: 960px) {
	.cvs-grid {
		grid-template-columns: 1fr;
	}
}

.cvs-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 20px 24px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.cvs-card h2 {
	margin-top: 0;
	font-size: 1.1em;
}

.cvs-status-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cvs-status-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f1;
}

.cvs-status-list li:last-child {
	border-bottom: none;
}

.cvs-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #f0f0f1;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
}

.cvs-badge-active {
	background: #e7f5ff;
	color: #135e96;
}

.cvs-ok {
	color: #008a20;
}

.cvs-warn {
	color: #b32d2e;
}

.cvs-muted {
	color: #646970;
}

.cvs-cta {
	margin: 16px 0 8px;
}

.cvs-warnings {
	margin: 0;
	padding-left: 1.2em;
	color: #646970;
}

.cvs-warnings li {
	margin-bottom: 6px;
}

.cvs-inline-form {
	margin-top: 12px;
}

.cvs-card-tools {
	margin-top: 16px;
}

.cvs-guest-hint {
	color: #646970;
	font-style: italic;
}

.cvs-presets {
	margin-bottom: 16px;
}

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

.cvs-preset-card {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 14px;
	background: #f9f9f9;
}

.cvs-preset-icon {
	font-size: 1.5em;
	margin-bottom: 6px;
}

.cvs-preset-version {
	display: inline-block;
	margin-left: 6px;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	color: #135e96;
}

.cvs-preset-card p {
	margin: 8px 0 12px;
	font-size: 12px;
	color: #646970;
}

.cvs-security {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
}

.cvs-security-latest { color: #008a20; }
.cvs-security-outdated { color: #996800; }
.cvs-security-insecure { color: #b32d2e; }

.cvs-diagnostics {
	margin-top: 16px;
}

.cvs-diag-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cvs-diag-list li {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f1;
}

.cvs-diag-pass .cvs-diag-label::before { content: "✓ "; color: #008a20; }
.cvs-diag-warn .cvs-diag-label::before { content: "⚠ "; color: #996800; }
.cvs-diag-fail .cvs-diag-label::before { content: "✕ "; color: #b32d2e; }

.cvs-input-warn {
	border-color: #b32d2e !important;
	box-shadow: 0 0 0 1px #b32d2e;
}

.cvs-header-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.cvs-intro {
	display: flex;
	gap: 16px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 16px;
}

.cvs-intro.is-collapsed .cvs-intro-collapsible[hidden] {
	display: none;
}

.cvs-intro-icon {
	font-size: 2rem;
	line-height: 1;
}

.cvs-intro-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.cvs-intro-head h2 {
	margin: 0 0 8px;
	font-size: 1.05em;
}

.cvs-intro-lead {
	font-size: 14px;
}

.cvs-intro-list {
	margin: 8px 0;
	padding-left: 1.2em;
}

.cvs-intro-tip {
	margin-bottom: 0;
	font-size: 13px;
	color: #646970;
}

.cvs-profile-chip {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.cvs-profile-chip-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #646970;
	letter-spacing: 0.04em;
}

.cvs-profile-chip-value {
	display: block;
	margin: 4px 0;
}

.cvs-profile-chip-desc {
	margin: 0;
	font-size: 13px;
	color: #50575e;
}

.cvs-compat {
	margin-top: 16px;
}

.cvs-compat-errors,
.cvs-compat-warnings {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.cvs-compat-errors {
	color: #b32d2e;
}

.cvs-compat-warnings {
	color: #996800;
}
