/* Waysill results in the block editor sidebar and the classic editor meta box. */
.waysill-panel {
	padding: 16px;
}

.waysill-results .waysill-check {
	margin-bottom: 12px;
}

.waysill-results .components-toggle-control {
	margin: 12px 0;
}

.waysill-hint,
.waysill-checked,
.waysill-note,
.waysill-untested {
	color: #50575e;
	font-size: 12px;
}

.waysill-counts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px 12px;
	margin: 8px 0;
	padding: 0;
	list-style: none;
}

.waysill-count {
	font-weight: 700;
}

.waysill-group h3 {
	margin: 20px 0 8px;
	font-size: 13px;
}

.waysill-group h3 a {
	font-weight: 400;
}

.waysill-issue {
	margin: 0 0 8px;
	padding: 8px;
	border: 1px solid #dcdcde;
	border-radius: 2px;
}

.waysill-issue summary {
	cursor: pointer;
	font-weight: 600;
}

.waysill-issue h4 {
	margin: 12px 0 4px;
	font-size: 12px;
	text-transform: uppercase;
}

.waysill-issue ol {
	margin-left: 18px;
}

.waysill-number {
	color: #50575e;
}

.waysill-badge {
	display: inline-block;
	padding: 0 6px;
	border-radius: 2px;
	font-size: 11px;
	font-weight: 600;
	background: #f0f0f1;
	color: #1d2327;
}

.waysill-badge.waysill-impact-critical {
	background: #8a1325;
	color: #fff;
}

.waysill-badge.waysill-impact-serious {
	background: #b32d2e;
	color: #fff;
}

.waysill-badge.waysill-impact-moderate {
	background: #f0c33c;
	color: #1d2327;
}

.waysill-label {
	margin: 8px 0 2px;
	font-weight: 600;
}

.waysill-code {
	max-height: 160px;
	margin: 0;
	padding: 6px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-all;
	background: #f6f7f7;
	font-size: 11px;
}

.waysill-swatch {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	border: 1px solid #c3c4c7;
	font-weight: 700;
}

.waysill-links {
	margin-top: 12px;
}

.waysill-outline {
	margin-top: 16px;
}

.waysill-outline summary {
	cursor: pointer;
	font-weight: 600;
}

.waysill-headings,
.waysill-problems {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.waysill-problems li {
	color: #b32d2e;
}

.waysill-skipped {
	color: #b32d2e;
}
