.wss-scanner-box {
	max-width: 980px;
	margin: 1em 0;
	font-family: inherit;
}

.wss-scanner-box form {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

.wss-scanner-box input[type="text"] {
	flex: 1 1 280px;
	padding: 0.6em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.wss-scanner-box button {
	padding: 0.6em 1.2em;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
}

.wss-scanner-box button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Score-Kreis */
#wss-score[hidden] {
	display: none;
}

.wss-score-wrap {
	display: flex;
	align-items: center;
	gap: 1.2em;
	margin-top: 1.2em;
	padding: 1em;
	border-radius: 6px;
	background: #f6f7f7;
}

.wss-score-circle {
	flex: 0 0 auto;
}

.wss-score-circle .wss-score-track {
	fill: none;
	stroke: #e2e4e7;
	stroke-width: 10;
}

.wss-score-circle .wss-score-arc {
	fill: none;
	stroke: #cccccc;
	stroke-width: 10;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 50% 50%;
	transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}

.wss-score-circle .wss-score-number {
	font-size: 1.4em;
	font-weight: 600;
	fill: #555;
	text-anchor: middle;
	dominant-baseline: middle;
}

.wss-score-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}

.wss-score-label {
	font-weight: 600;
	font-size: 1.05em;
}

.wss-score-sub {
	color: #666;
	font-size: 0.9em;
}

/* Ergebnis-/Vorschau-Kacheln */
#wss-result {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.8em;
	margin-top: 0.8em;
	align-items: stretch;
}

@media (max-width: 900px) {
	#wss-result {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	#wss-result {
		grid-template-columns: 1fr;
	}
}

.wss-tile {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	padding: 0.9em;
	border-radius: 4px;
	border-left: 4px solid #999;
}

.wss-tile strong {
	color: #1d2327;
	font-size: 0.98em;
}

.wss-tile .wss-msg {
	color: #3c434a;
	font-size: 0.92em;
	line-height: 1.4;
}

.wss-pending {
	background: #f6f7f7;
	border-color: #ccc;
}

.wss-pending .wss-sub {
	color: #8c8f94;
	font-style: italic;
	font-size: 0.9em;
}

.wss-ok {
	background: #eafaf0;
	border-color: #2ea44f;
}

.wss-warn {
	background: #fff8e6;
	border-color: #dba617;
}

.wss-bad {
	background: #fdecea;
	border-color: #d63638;
}
