.wcsu-wrap { box-sizing: border-box; margin: 32px 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.wcsu-wrap * { box-sizing: border-box; }

.wcsu-action {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 48px; /* 两种状态统一高度 */
}

.wcsu-state {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.wcsu-btn {
	display: inline-block;
	padding: 10px 32px;
	background: #07c160;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s, transform .1s;
	box-shadow: 0 4px 14px rgba(7,193,96,.25);
	white-space: nowrap;
}
.wcsu-btn:hover { background: #06ad56; transform: translateY(-1px); }
.wcsu-btn:active { transform: translateY(0); }

.wcsu-btn-edit { padding: 8px 24px; font-size: 14px; background: #fff; color: #07c160; border: 1px solid #07c160; box-shadow: none; }
.wcsu-btn-edit:hover { background: #f0fdf4; }

.wcsu-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #f3f4f6;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #e5e7eb;
	flex-shrink: 0;
}
.wcsu-signed-text { font-size: 14px; color: #047857; }

/* 弹窗通用 */
.wcsu-modal { position: fixed; inset: 0; z-index: 99999; }
.wcsu-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.wcsu-modal-body {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
	background: #fff; border-radius: 12px; padding: 20px; width: 90%; max-width: 380px;
	max-height: 90vh; overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.wcsu-modal-head {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 16px;
}
.wcsu-modal-title { font-size: 16px; font-weight: 600; color: #222; }
.wcsu-modal-close {
	background: #f3f4f6; border: none; width: 28px; height: 28px;
	border-radius: 50%; font-size: 18px; cursor: pointer; color: #666;
	line-height: 1;
}
.wcsu-modal-close:hover { background: #e5e7eb; }

/* 表单 */
.wcsu-form label {
	display: block; margin-bottom: 12px; font-size: 13px; color: #555; text-align: left;
}
.wcsu-form input, .wcsu-form textarea {
	width: 100%; padding: 10px 12px; margin-top: 5px;
	border: 1px solid #e5e7eb; border-radius: 6px; font-size: 14px; font-family: inherit;
	background: #fafafa; transition: border-color .2s;
}
.wcsu-form input:focus, .wcsu-form textarea:focus {
	outline: none; border-color: #07c160; background: #fff;
}
.wcsu-submit {
	width: 100%; margin-top: 6px; padding: 11px;
	background: #07c160; color: #fff; border: none;
	border-radius: 6px; cursor: pointer; font-size: 15px;
}
.wcsu-submit:hover { background: #06ad56; }
.wcsu-msg { margin: 10px 0 0; font-size: 13px; color: #c0392b; min-height: 18px; text-align: center; }
.wcsu-msg.ok { color: #07c160; }

/* 扫码框 */
.wcsu-qr-frame { width: 100%; height: 320px; border: 1px solid #eee; border-radius: 6px; }
.wcsu-modal-tip { text-align: center; color: #888; font-size: 13px; margin: 12px 0 0; }
