.tfwa-wrap {
	max-width: 1100px;
}

.tfwa-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 16px 20px;
	margin: 16px 0;
	box-sizing: border-box;
}

.tfwa-scan-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.tfwa-progress {
	background: #f0f0f1;
	border-radius: 9999px;
	height: 12px;
	overflow: hidden;
	margin: 12px 0 6px;
}

.tfwa-progress-bar {
	background: #2271b1;
	height: 100%;
	width: 0;
	transition: width 0.3s;
}

/* KPIs */
.tfwa-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
}

.tfwa-kpi {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tfwa-kpi-value {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
}

.tfwa-kpi-label {
	color: #646970;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tfwa-good {
	color: #00a32a;
}

.tfwa-warn {
	color: #dba617;
}

.tfwa-bad {
	color: #d63638;
}

/* Alerts */
.tfwa-alert-action {
	border-left: 4px solid #dba617;
}

.tfwa-alert-danger {
	border-left: 4px solid #d63638;
}

/* Provider cards */
.tfwa-card details summary {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

.tfwa-provider-stats {
	color: #646970;
}

.tfwa-badge {
	background: #fcf0f1;
	color: #d63638;
	border-radius: 9999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
}

.tfwa-card details table {
	margin-top: 12px;
}

.tfwa-num {
	text-align: right;
	width: 8ch;
}

.tfwa-row-unused td {
	color: #a7aaad;
}

.tfwa-row-unused td code {
	opacity: 0.7;
}

.tfwa-doc-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.tfwa-doc-list li {
	margin: 0;
	padding: 4px 12px;
	background: #f0f0f1;
	border-radius: 3px;
}

.tfwa-doc-list strong {
	color: #2271b1;
}

/* Pro upsell teaser */
.tfwa-pro-teaser { border-left: 4px solid #15803d; background: linear-gradient( 180deg, #fff, #f0fdf4 ); }
.tfwa-pro-teaser h2 { color: #15803d; }
.tfwa-pro-teaser ul { margin: 8px 0 14px 18px; list-style: disc; }
