.wuai-editor-pro-page {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 992px) {
	.wuai-editor-pro-page .wuai-editor-pro-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 304px;
		gap: 18px;
		align-items: start;
	}
	.wuai-editor-pro-page .wuai-editor-main {
		min-width: 0;
	}
	.wuai-editor-pro-page .wuai-lite-editor-shell {
		max-width: none;
		width: 100%;
	}
	.wuai-editor-pro-page .wuai-lite-editor-card {
		border-color: rgba(139, 92, 246,.18);
		box-shadow: 0 16px 42px rgba(37,47,63,.08);
	}
	.wuai-editor-pro-page .wuai-lite-field label {
		color: #252a36;
		font-weight: 800;
	}
	.wuai-editor-pro-page .wuai-lite-textarea {
		min-height: 520px;
		padding: 18px 20px;
		border: 1px solid rgba(139, 92, 246,.26);
		border-radius: 16px;
		background: #fff;
		color: #252a36;
		font-size: 16px;
		line-height: 1.8;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
	}
	.wuai-editor-pro-page .wuai-lite-textarea:focus {
		border-color: rgba(139, 92, 246,.58);
		box-shadow: 0 0 0 3px rgba(139, 92, 246,.10);
	}
	.wuai-editor-pro-page .wuai-lite-upload-panel {
		border-color: rgba(139, 92, 246,.20);
		background: linear-gradient(180deg, rgba(248, 245, 255,.84), rgba(255,255,255,.96));
	}
}

@media (max-width: 991.98px) {
	.wuai-editor-pro-page {
		max-width: none;
	}
	.wuai-editor-sidebar,
	.wuai-editor-toolbar-wrap {
		display: none !important;
	}
}

.wuai-editor-toolbar-wrap {
	position: sticky;
	top: 76px;
	z-index: 8;
	margin: 0 0 12px;
	padding: 8px;
	border: 1px solid rgba(139, 92, 246,.16);
	border-radius: 14px;
	background: rgba(255,255,255,.94);
	box-shadow: 0 8px 20px rgba(139, 92, 246,.06);
	backdrop-filter: blur(10px);
}

.wuai-editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wuai-editor-toolbar-btn,
.wuai-editor-tool-btn,
.wuai-editor-side-action {
	appearance: none;
	border: 1px solid rgba(139, 92, 246,.18);
	border-radius: 10px;
	background: #fff;
	color: #333847;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.wuai-editor-toolbar-btn {
	min-height: 34px;
	padding: 0 12px;
}

.wuai-editor-toolbar-primary,
.wuai-editor-side-action[data-wuai-preview] {
	border-color: rgba(139, 92, 246,.34);
	background: linear-gradient(135deg, #8B5CF6, #a855f7);
	color: #fff;
}

.wuai-editor-toolbar-btn:hover,
.wuai-editor-tool-btn:hover,
.wuai-editor-side-action:hover {
	border-color: rgba(139, 92, 246,.38);
	background: rgba(139, 92, 246,.08);
	color: #8B5CF6;
	transform: translateY(-1px);
}

.wuai-editor-toolbar-primary:hover,
.wuai-editor-side-action[data-wuai-preview]:hover {
	background: linear-gradient(135deg, #A855F7, #7c3aed);
	color: #fff;
}

.wuai-editor-sidebar {
	position: sticky;
	top: 74px;
	display: grid;
	gap: 12px;
}

.wuai-editor-card {
	padding: 14px;
	border: 1px solid rgba(139, 92, 246,.16);
	border-radius: 8px;
	background: rgba(255,255,255,.94);
	box-shadow: 0 10px 28px rgba(37,47,63,.07);
}

.wuai-editor-card-title {
	margin-bottom: 10px;
	color: #252a36;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.3;
}

.wuai-editor-tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.wuai-editor-tool-btn {
	min-height: 38px;
	padding: 0 8px;
}

.wuai-editor-template-list {
	display: grid;
	gap: 8px;
}

.wuai-editor-template-item {
	display: block;
	width: 100%;
	padding: 10px;
	border: 1px solid rgba(148,163,184,.26);
	border-radius: 8px;
	background: #fff;
	text-align: left;
	cursor: pointer;
}

.wuai-editor-template-item strong {
	display: block;
	color: #2f3440;
	font-size: 13px;
	line-height: 1.35;
}

.wuai-editor-template-item span {
	display: block;
	margin-top: 4px;
	color: #7a7f8f;
	font-size: 12px;
	line-height: 1.45;
}

.wuai-editor-template-item:hover {
	border-color: rgba(139, 92, 246,.32);
	background: rgba(248, 245, 255,.92);
}

.wuai-editor-check-list {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wuai-editor-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	color: #4b5260;
	font-size: 12px;
	line-height: 1.45;
}

.wuai-editor-check-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 18px;
}

.wuai-editor-check-ok .wuai-editor-check-dot {
	background: #6366f1;
}

.wuai-editor-check-warn .wuai-editor-check-dot {
	background: #f59e0b;
}

.wuai-editor-check-danger .wuai-editor-check-dot {
	background: #ef4444;
}

.wuai-editor-mini-actions {
	display: grid;
	gap: 8px;
}

.wuai-editor-side-action {
	min-height: 38px;
	padding: 0 12px;
}

.wuai-editor-modal-mask {
	position: fixed;
	inset: 0;
	z-index: 1080;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15,23,42,.46);
}

.wuai-editor-modal {
	width: min(760px, 100%);
	max-height: min(86vh, 780px);
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15,23,42,.28);
	overflow: hidden;
}

.wuai-editor-modal-sm {
	width: min(520px, 100%);
}

.wuai-editor-modal-head,
.wuai-editor-modal-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(148,163,184,.18);
}

.wuai-editor-modal-foot {
	border-top: 1px solid rgba(148,163,184,.18);
	border-bottom: 0;
	justify-content: flex-end;
}

.wuai-editor-modal-title {
	margin: 0;
	color: #252a36;
	font-size: 16px;
	font-weight: 900;
}

.wuai-editor-modal-close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: rgba(148,163,184,.14);
	color: #4b5260;
	font-size: 22px;
	line-height: 30px;
	cursor: pointer;
}

.wuai-editor-modal-body {
	overflow: auto;
	padding: 16px;
}

.wuai-editor-form-grid {
	display: grid;
	gap: 12px;
}

.wuai-editor-form-grid label {
	display: grid;
	gap: 6px;
	margin: 0;
	color: #3a4050;
	font-size: 13px;
	font-weight: 800;
}

.wuai-editor-form-grid input,
.wuai-editor-form-grid select,
.wuai-editor-form-grid textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(148,163,184,.34);
	border-radius: 10px;
	padding: 9px 10px;
	color: #252a36;
	font-size: 14px;
	line-height: 1.5;
}

.wuai-editor-form-grid textarea {
	min-height: 110px;
	resize: vertical;
}

.wuai-editor-modal-btn {
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid rgba(148,163,184,.30);
	border-radius: 10px;
	background: #fff;
	color: #333847;
	font-weight: 800;
	cursor: pointer;
}

.wuai-editor-modal-btn-primary {
	border-color: rgba(139, 92, 246,.38);
	background: linear-gradient(135deg, #8B5CF6, #a855f7);
	color: #fff;
}

.wuai-editor-preview-modal .wuai-editor-modal {
	width: min(820px, 100%);
}

.wuai-editor-preview-body {
	min-height: 220px;
	border: 1px solid rgba(148,163,184,.22);
	border-radius: 12px;
	padding: 18px;
	background: #fff;
	overflow-wrap: anywhere;
}

.wuai-editor-preview-body.wuai-editor-preview-mobile {
	max-width: 390px;
	margin: 0 auto;
}

.wuai-editor-drop-active .wuai-lite-textarea {
	border-color: rgba(47,128,237,.55) !important;
	box-shadow: 0 0 0 4px rgba(47,128,237,.10) !important;
}

.wuai-post-divider,
.message .wuai-post-divider,
.wuai-post-message-body .wuai-post-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 22px 0;
}

.wuai-post-divider:before,
.wuai-post-divider:after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(139, 92, 246,.45), transparent);
}

.wuai-post-divider-text {
	max-width: 72%;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(139, 92, 246,.10);
	color: #8B5CF6;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.35;
	text-align: center;
	overflow-wrap: anywhere;
}

.wuai-post-divider-purple:before,
.wuai-post-divider-purple:after {
	background: linear-gradient(90deg, transparent, rgba(124,58,237,.44), transparent);
}
.wuai-post-divider-purple .wuai-post-divider-text {
	background: rgba(124,58,237,.10);
	color: #7c3aed;
}
.wuai-post-divider-blue:before,
.wuai-post-divider-blue:after {
	background: linear-gradient(90deg, transparent, rgba(47,128,237,.42), transparent);
}
.wuai-post-divider-blue .wuai-post-divider-text {
	background: rgba(47,128,237,.10);
	color: #2f80ed;
}
.wuai-post-divider-gold:before,
.wuai-post-divider-gold:after {
	background: linear-gradient(90deg, transparent, rgba(217,119,6,.42), transparent);
}
.wuai-post-divider-gold .wuai-post-divider-text {
	background: rgba(245,158,11,.14);
	color: #b45309;
}
.wuai-post-divider-gray:before,
.wuai-post-divider-gray:after {
	background: linear-gradient(90deg, transparent, rgba(100,116,139,.36), transparent);
}
.wuai-post-divider-gray .wuai-post-divider-text {
	background: rgba(100,116,139,.10);
	color: #475569;
}

.wuai-post-notice,
.wuai-post-activity,
.wuai-post-guarantee,
.wuai-post-steps,
.wuai-post-copy,
.wuai-post-collapse {
	width: 100%;
	max-width: 100%;
	margin: 14px 0;
	overflow-wrap: anywhere;
}

.wuai-post-notice {
	display: flex;
	gap: 12px;
	padding: 14px;
	border: 1px solid rgba(47,128,237,.22);
	border-radius: 14px;
	background: linear-gradient(180deg, #fff, #f7fbff);
}

.wuai-post-notice-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border-radius: 999px;
	background: #2f80ed;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	line-height: 28px;
}

.wuai-post-notice-title {
	margin-bottom: 4px;
	color: #253044;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.45;
}

.wuai-post-notice-content {
	color: #4b5260;
	font-size: 14px;
	line-height: 1.75;
}

.wuai-post-notice-success {
	border-color: rgba(99,102,241,.24);
	background: linear-gradient(180deg, #fff, #f4f3ff);
}
.wuai-post-notice-success .wuai-post-notice-icon {
	background: #6366f1;
}
.wuai-post-notice-warning {
	border-color: rgba(245,158,11,.30);
	background: linear-gradient(180deg, #fff, #fffbeb);
}
.wuai-post-notice-warning .wuai-post-notice-icon {
	background: #f59e0b;
}
.wuai-post-notice-danger {
	border-color: rgba(239,68,68,.26);
	background: linear-gradient(180deg, #fff, #fff5f5);
}
.wuai-post-notice-danger .wuai-post-notice-icon {
	background: #ef4444;
}
.wuai-post-notice-purple,
.wuai-post-notice-pink {
	border-color: rgba(139, 92, 246,.24);
	background: linear-gradient(180deg, #fff, #F8F5FF);
}
.wuai-post-notice-purple .wuai-post-notice-icon,
.wuai-post-notice-pink .wuai-post-notice-icon {
	background: #8B5CF6;
}

.wuai-post-activity {
	padding: 18px;
	border: 1px solid rgba(139, 92, 246,.20);
	border-radius: 16px;
	background: linear-gradient(135deg, #F8F5FF 0%, #fff 48%, #f7fbff 100%);
	box-shadow: 0 14px 34px rgba(37,47,63,.07);
}

.wuai-post-activity-tag {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(139, 92, 246,.10);
	color: #8B5CF6;
	font-size: 12px;
	font-weight: 900;
}

.wuai-post-activity-title,
.wuai-post-guarantee-title {
	color: #252a36;
	font-size: 19px;
	font-weight: 900;
	line-height: 1.35;
}

.wuai-post-activity-desc,
.wuai-post-guarantee-desc {
	margin-top: 8px;
	color: #596171;
	font-size: 14px;
	line-height: 1.7;
}

.wuai-post-activity-actions,
.wuai-post-guarantee-actions {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.wuai-post-guarantee {
	padding: 18px;
	border: 1px solid rgba(139, 92, 246,.26);
	border-radius: 16px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(139, 92, 246,.65), rgba(245,158,11,.56)) border-box;
	box-shadow: 0 14px 34px rgba(37,47,63,.07);
}

.wuai-post-guarantee-amount {
	margin-top: 10px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(245,158,11,.12);
	color: #b45309;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.45;
}

.wuai-post-steps {
	display: grid;
	gap: 10px;
}

.wuai-post-step {
	display: flex;
	gap: 12px;
	padding: 13px;
	border: 1px solid rgba(168,85,247,.18);
	border-radius: 14px;
	background: #fff;
}

.wuai-post-step-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, #8B5CF6, #7c3aed);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
}

.wuai-post-step-title {
	color: #252a36;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.4;
}

.wuai-post-step-content {
	margin-top: 3px;
	color: #596171;
	font-size: 14px;
	line-height: 1.7;
}

.wuai-post-copy {
	padding: 14px;
	border: 1px solid rgba(47,128,237,.18);
	border-radius: 14px;
	background: #f8fbff;
}

.wuai-post-copy-title {
	margin-bottom: 8px;
	color: #253044;
	font-size: 14px;
	font-weight: 900;
}

.wuai-post-copy-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.wuai-post-copy-text {
	display: block;
	min-width: 0;
	flex: 1;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
	color: #2f3440;
	white-space: normal;
	word-break: break-all;
}

.wuai-post-copy-btn {
	min-height: 38px;
	flex: 0 0 auto;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: #2f80ed;
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}

.wuai-post-collapse {
	border: 1px solid rgba(148,163,184,.24);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.wuai-post-collapse-toggle {
	width: 100%;
	padding: 13px 14px;
	border: 0;
	background: #f8f9fb;
	color: #252a36;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.wuai-post-collapse-toggle:after {
	content: "+";
	float: right;
	font-weight: 900;
}

.wuai-post-collapse.is-open .wuai-post-collapse-toggle:after {
	content: "-";
}

.wuai-post-collapse-body {
	display: none;
	padding: 14px;
	color: #4b5260;
	font-size: 14px;
	line-height: 1.75;
}

.wuai-post-collapse.is-open .wuai-post-collapse-body {
	display: block;
}

@media (max-width: 575.98px) {
	.wuai-post-divider {
		gap: 8px;
		margin: 18px 0;
	}
	.wuai-post-divider-text {
		max-width: 78%;
		padding: 5px 10px;
		font-size: 13px;
	}
	.wuai-post-notice,
	.wuai-post-activity,
	.wuai-post-guarantee,
	.wuai-post-copy {
		padding: 12px;
		border-radius: 12px;
	}
	.wuai-post-copy-row {
		display: grid;
	}
	.wuai-post-copy-btn {
		width: 100%;
	}
}
