.cs-chat-shell {
	max-width: 42rem;
	margin: 1.5rem auto;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background: #fff;
	display: flex;
	flex-direction: column;
	min-height: 28rem;
	font-family: system-ui, -apple-system, sans-serif;
}
.cs-chat-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e4e7ec;
}
.cs-chat-header strong { flex: 1; }
.cs-chat-btn {
	background: #175cd3;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0.4rem 0.8rem;
	cursor: pointer;
}
.cs-chat-card {
	margin: 0.75rem 1rem;
	padding: 0.75rem;
	background: #f8fafc;
	border-radius: 8px;
}
.cs-chat-card input,
.cs-chat-form input {
	width: 100%;
	padding: 0.5rem;
	margin: 0.4rem 0;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	box-sizing: border-box;
}
.cs-chat-messages {
	list-style: none;
	margin: 0;
	padding: 1rem;
	flex: 1;
	overflow-y: auto;
}
.cs-chat-messages li {
	margin: 0.4rem 0;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	max-width: 85%;
	white-space: pre-wrap;
}
.cs-chat-messages li.user {
	background: #d1e0ff;
	margin-left: auto;
}
.cs-chat-messages li.assistant {
	background: #f2f4f7;
}
.cs-chat-messages li.partial {
	opacity: 0.7;
	font-style: italic;
}
.cs-chat-form {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid #e4e7ec;
}
.cs-chat-form input { flex: 1; margin: 0; }
.cs-chat-status { color: #067647; font-size: 0.9rem; }
