/**
 * SCI widget container styles (POC).
 * Lit web components render in their own shadow DOM, so this only styles the
 * host container, the loading placeholder, and the error state.
 */
.sci-widget {
	display: block;
	width: 100%;
	min-height: 80px;
}

.sci-widget__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 1.5rem;
	color: #6b7280;
	font-size: 0.95rem;
}

.sci-widget--ready .sci-widget__placeholder {
	display: none;
}

.sci-widget__error {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid #fca5a5;
	border-radius: 6px;
	background: #fef2f2;
	color: #991b1b;
	font-size: 0.9rem;
}

.sci-widget__error code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.8rem;
	color: #7f1d1d;
	word-break: break-word;
}
