﻿* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
	color: #22314a;
	background: #f2f5fa;
}
header {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px;
	background: #ffffff;
	border-bottom: 1px solid #e6ecf6;
	position: sticky;
	top: 0;
	z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
	width: 56px; height: 44px; border-radius: 12px;
	background: linear-gradient(135deg, #2f6fed, #1b4fc0);
	color: #fff; font-size: 11px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	letter-spacing: 0;
	white-space: nowrap;
}
.title { font-size: 17px; font-weight: 700; line-height: 20px; }
.title small { display: block; font-size: 11px; color: #8894a8; font-weight: 400; }
.actions { display: flex; align-items: center; gap: 8px; }
.status { font-size: 12px; color: #20a15c; margin-right: 6px; }

.btn {
	height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #2f6fed;
	background: #2f6fed; color: #fff; font-size: 13px; cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn.primary { width: 132px; font-weight: 600; }
.btn.ghost { background: #fff; color: #425273; border-color: #d7e0ee; }
.btn.danger { background: #fff; color: #e2483d; border-color: #f0c9c6; }
.btn.full-w { width: 100%; margin-top: 8px; }

main { display: flex; height: calc(100vh - 64px); }
aside {
	width: 268px; flex-shrink: 0; background: #fff; border-right: 1px solid #e6ecf6;
	display: flex; flex-direction: column;
}
.aside-head {
	padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 8px;
	font-size: 13px; color: #5b6a80; border-bottom: 1px solid #f0f4fa;
}
.aside-head input {
	height: 32px; border: 1px solid #dfe6f1; border-radius: 8px; padding: 0 10px; font-size: 12px;
	outline: none;
}
.list { flex: 1; overflow-y: auto; padding: 8px; }
.card {
	display: flex; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer;
	border: 1px solid transparent;
}
.card:hover { background: #f6f9ff; }
.card.on { background: #eef4ff; border-color: #cfe0ff; }
.card img { width: 52px; height: 42px; object-fit: contain; background: #f7f9fc; border-radius: 8px; }
.card .comp-noimg { width: 52px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f7f9fc; border-radius: 8px; color: #a4b1c5; }
.card .meta { flex: 1; min-width: 0; }
.card .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .k { font-size: 11px; color: #8b97ac; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

section { flex: 1; overflow-y: auto; padding: 16px 18px; }
.empty { padding-top: 90px; text-align: center; color: #8b97ac; }
.empty-ico {
	width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px;
	border: 2px dashed #c8d4e6;
}
.empty p { font-size: 14px; margin: 4px 0; }
.empty .tip { font-size: 12px; color: #a6b1c4; }

.form { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 6px 24px rgba(31, 42, 61, .06); }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.form-head h2 { margin: 0; font-size: 16px; }
.sub { margin: 4px 0 0; font-size: 12px; color: #8b97ac; }
.form-actions { display: flex; gap: 8px; }

.cols { display: flex; gap: 18px; }
.col { flex: 1; min-width: 0; }
.col.right { max-width: 420px; border-left: 1px solid #f0f4fa; padding-left: 18px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: block; font-size: 12px; color: #5b6a80; }
label input, label select, label textarea, .field-grid input, .field-grid select {
	width: 100%; margin-top: 5px; height: 32px; border: 1px solid #dfe6f1; border-radius: 8px;
	padding: 0 9px; font-size: 12px; color: #22314a; outline: none; background: #fff;
}
label textarea { height: auto; padding: 8px 9px; line-height: 18px; resize: vertical; }
label.full { margin-top: 10px; }
label input:focus, label select:focus, label textarea:focus { border-color: #2f6fed; }

.img-tools { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.file-btn { display: inline-flex; align-items: center; cursor: pointer; }
.muted { font-size: 11px; color: #9aa6ba; }

.canvas-box { margin-top: 12px; }
.imgbox {
	position: relative; width: 100%; max-width: 470px; height: 220px;
	background: #f7f9fc url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect width="10" height="10" fill="%23eff3f9"/><rect x="10" y="10" width="10" height="10" fill="%23eff3f9"/></svg>');
	border: 1px solid #dde5f1; border-radius: 10px; overflow: hidden;
	cursor: crosshair;
}
.imgbox img { width: 100%; height: 100%; object-fit: fill; pointer-events: none; display: block; }
.markers {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(47,111,237,.10) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(47,111,237,.10) 1px, transparent 1px);
	background-size: 2% 2%;
	pointer-events: none;
}
.markers.no-grid { background-image: none; }
.markers .marker, .markers .guide { pointer-events: auto; }
.guide { position: absolute; display: none; background: #2f6fed; opacity: .72; pointer-events: none !important; z-index: 1; }
.guide-v { top: 0; bottom: 0; width: 1px; }
.guide-h { left: 0; right: 0; height: 1px; }
.marker {
	position: absolute; width: var(--mr, 16px); height: var(--mr, 16px); margin: calc(var(--mr, 16px) / -2) 0 0 calc(var(--mr, 16px) / -2);
	border-radius: 50%;
	border: 0;
	box-shadow: 0 2px 6px rgba(0,0,0,.24);
	cursor: grab; display: flex; align-items: center; justify-content: center;
	font-size: 10px; color: #fff; font-weight: 700; user-select: none;
	background: transparent;
	z-index: 2;
}
.marker::before {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	background:
		radial-gradient(circle at 50% 18%,
			rgba(255,255,255,.62) 0 12%,
			rgba(255,255,255,0) 34%),
		radial-gradient(circle at 50% 46%,
			rgba(20,24,30,.88) 0 30%,
			var(--c, #9aa7ba) 31% 66%,
			rgba(0,0,0,.42) 67% 100%);
	box-shadow: inset 0 0 2px rgba(0,0,0,.32);
}
.marker span { position: relative; z-index: 2; text-shadow: 0 1px 2px #000, 0 0 2px #000; }
.marker.transparent {
	background: transparent; border: 1.5px dashed rgba(47,111,237,.75);
	box-shadow: none; opacity: .7;
}
.marker.transparent::before { display: none; }
.marker.transparent span { display: none; }
.marker.on { outline: 3px solid rgba(47,111,237,.35); outline-offset: 2px; }
.ratio { color: #4c5a72 !important; font-weight: 600; }
.snap-bar { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.snap-check { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #3f4c61; cursor: pointer; }
.snap-step { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #6b7a90; }
.snap-step select { height: 26px; border: 1px solid #dde5f1; border-radius: 7px; padding: 0 4px; background: #fff; font-size: 11.5px; }
.snap-info { font-size: 11px; color: #96a2b6; }
.hint { font-size: 11.5px; color: #96a2b6; line-height: 17px; margin: 8px 0 0; }

.sec-title { font-size: 13px; font-weight: 600; margin: 6px 0 10px; }
.badge {
	display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center;
	background: #eef4ff; color: #2f6fed; border-radius: 9px; font-size: 11px; padding: 0 5px;
}
.terms { display: flex; flex-direction: column; gap: 6px; max-height: 210px; overflow-y: auto; }
.term-head {
	display: grid; grid-template-columns: 54px 1fr 64px 48px 48px 34px 20px;
	gap: 5px; padding: 0 6px 4px; font-size: 10px; line-height: 13px;
	color: #8b98ab; font-weight: 600;
}
.term-head span { white-space: nowrap; }
.term-head span:nth-child(4), .term-head span:nth-child(5),
.term-head span:nth-child(6) { text-align: center; }
.term-help { margin-top: 8px; line-height: 18px; }
.trow {
	display: grid; grid-template-columns: 54px 1fr 64px 48px 48px 34px 20px;
	gap: 5px; align-items: center; padding: 6px; border: 1px solid #eff3f9; border-radius: 8px;
}
.trow.on { border-color: #cfe0ff; background: #f6f9ff; }
.trow input, .trow select {
	width: 100%; height: 26px; border: 1px solid #e2e8f2; border-radius: 6px; padding: 0 5px;
	font-size: 11.5px; outline: none;
}
.trow .sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #d6dfec; }
.trow .tcheck { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; }
.trow .tcheck input { width: 13px; height: 13px; margin: 0; }
.trow .tcheck i { font-style: normal; font-size: 9px; line-height: 10px; color: #7f8ca1; }
.trow .x { background: none; border: none; color: #e2483d; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.trow .x svg { width: 13px; height: 13px; display: block; }
#pv { width: 100%; max-width: 360px; height: 200px; background: #f2f4f7; border-radius: 10px; border: 1px solid #e4eaf4; }

/* 状态图列表 */
.states { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.srow {
	display: grid; grid-template-columns: 46px 68px 1fr 62px 24px;
	gap: 8px; align-items: center; padding: 6px;
	border: 1px solid #eff3f9; border-radius: 8px; cursor: pointer;
}
.srow:hover { background: #f8fbff; }
.srow.on { border-color: #cfe0ff; background: #f4f8ff; }
.sthumb {
	width: 46px; height: 40px; object-fit: contain; border-radius: 6px;
	background: #f7f9fc url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"><rect width="6" height="6" fill="%23eff3f9"/><rect x="6" y="6" width="6" height="6" fill="%23eff3f9"/></svg>');
}
.srow input {
	width: 100%; height: 28px; border: 1px solid #e2e8f2; border-radius: 6px; padding: 0 6px;
	font-size: 12px; outline: none;
}
.srow input.skey { font-weight: 600; color: #2f6fed; }
.srow .x { background: none; border: none; color: #e2483d; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.srow .x svg { width: 13px; height: 13px; display: block; }
.btn.mini { height: 28px; padding: 0 8px; font-size: 12px; }
.muted.small { font-size: 11px; font-weight: 400; margin-left: 6px; }

/* ============================================================ 审核台 */
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.review-main {
	display: block;
	padding: 16px 20px 40px;
	border-left: none;
}
.review-wrap { max-width: 1080px; margin: 0 auto; }
.login-box {
	background: #fff;
	border: 1px solid #e2e8f2;
	border-radius: 14px;
	padding: 22px;
	max-width: 460px;
	margin: 40px auto;
	box-shadow: 0 8px 24px rgba(31, 42, 61, 0.08);
}
.login-box h2 { margin: 0 0 6px; font-size: 17px; color: #1d2a3e; }
.login-box .sub { margin: 0 0 16px; font-size: 12px; color: #8b97a9; }
.login-row { display: flex; gap: 8px; }
.login-row input {
	flex: 1;
	height: 38px;
	border: 1px solid #e2e8f2;
	border-radius: 9px;
	padding: 0 10px;
	font-size: 13px;
	background: #f8fafd;
}
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
	height: 34px;
	padding: 0 16px;
	border: 1px solid #e2e8f2;
	border-radius: 9px;
	background: #fff;
	font-size: 13px;
	color: #5b6a80;
	cursor: pointer;
}
.tab.on { background: #2f6fed; border-color: #2f6fed; color: #fff; }
.tab b { font-weight: 600; margin-left: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.rcard {
	background: #fff;
	border: 1px solid #e2e8f2;
	border-radius: 13px;
	padding: 14px;
	box-shadow: 0 6px 18px rgba(31, 42, 61, 0.05);
}
.rc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-type {
	font-size: 11px;
	color: #fff;
	padding: 3px 8px;
	border-radius: 7px;
	background: #2f6fed;
}
.rc-type.sim { background: #20b26b; }
.rc-title { font-size: 14.5px; font-weight: 600; color: #1d2a3e; }
.rc-feature {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 7px;
	background: #fff4d8;
	color: #b47605;
	white-space: nowrap;
	font-weight: 600;
}
.rc-meta { font-size: 11px; color: #a0abbb; margin-left: auto; }
.rc-desc { font-size: 12px; color: #6b7a90; margin: 8px 0 0; }
.rc-struct { font-size: 11.5px; color: #2f6fed; margin: 8px 0 0; }
.rc-detail {
	font-size: 11px;
	color: #8b97a9;
	margin: 6px 0 0;
	line-height: 16px;
	max-height: 48px;
	overflow: hidden;
}
.rc-acts { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.rc-reason {
	flex: 1;
	height: 34px;
	border: 1px solid #e2e8f2;
	border-radius: 8px;
	padding: 0 10px;
	font-size: 12px;
	background: #f8fafd;
}
.users-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.users-table th,
.users-table td { padding: 11px 12px; font-size: 12.5px; text-align: left; border-bottom: 1px solid #eef2f8; }
.users-table th { background: #f5f8fd; color: #5b6a80; font-weight: 600; }
.empty.small { padding: 30px 0; }

/* 审核卡片按钮排版修正 */
.btn { white-space: nowrap; }
.rc-acts { flex-wrap: wrap; }
.rc-reason { flex: 1 1 100%; }

/* ---------------------------------------------------------------- 左侧菜单（v1.3） */
.shell { display: flex; height: calc(100vh - 64px); overflow: hidden; }
.shell main { flex: 1; min-width: 0; height: 100%; }
.side {
	width: 210px; flex: 0 0 210px;
	background: linear-gradient(180deg, #1c2b4a 0%, #16233c 100%);
	border-right: 1px solid #0f1a2d;
	padding: 10px 8px 0; display: flex; flex-direction: column; gap: 1px;
	overflow-y: auto; scrollbar-color: #3b4e70 transparent;
}
.side a {
	display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px 0 12px;
	border-radius: 7px; font-size: 13px; color: #c5d3e8; text-decoration: none;
	white-space: nowrap;
}
.side a:hover { background: rgba(100, 145, 255, .12); color: #ffffff; }
.side a.on { background: #2f6fed; color: #ffffff; font-weight: 600; box-shadow: 0 4px 12px rgba(20, 60, 150, .25); }
.side .ico {
	width: 18px; height: 18px; border-radius: 0; background: transparent; color: #8db2ff;
	font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.side .ico svg { width: 15px; height: 15px; display: block; }
.side a.on .ico { background: transparent; color: #ffffff; }
.side .num {
	margin-left: auto; font-size: 11px; font-weight: 600; color: #a9b8cf; background: rgba(255,255,255,.08);
	border-radius: 9px; padding: 1px 7px;
}
.side .s-foot {
	margin-top: auto; font-size: 11px; color: #8492aa; line-height: 17px;
	padding: 14px 10px 16px; border-top: 1px solid rgba(255,255,255,.08);
}
.side-group { margin: 3px 0 1px; }
.side-group-toggle {
	width: 100%; height: 38px; border: 0; background: transparent; color: #e2ebfb;
	font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 10px; border-radius: 7px; cursor: pointer; text-align: left;
}
.side-group-toggle:hover { background: rgba(255,255,255,.05); }
.side-group-toggle .chevron { width: 14px; height: 14px; color: #91a3bf; transform: rotate(0deg); transition: transform .18s ease; flex-shrink: 0; }
.side-group.open .side-group-toggle .chevron { transform: rotate(180deg); }
.side-group-body { display: none; flex-direction: column; gap: 1px; padding: 0 0 5px 8px; }
.side-group.open .side-group-body { display: flex; }
.side-group-body a { height: 36px; font-size: 12.5px; padding-left: 10px; }
.side > a { flex-shrink: 0; }


.page-title { font-size: 17px; font-weight: 700; margin: 4px 0 14px; }
.page-title small { font-size: 11.5px; color: #8b97a9; font-weight: 400; margin-left: 8px; }

/* 审核卡片：左预览 + 右信息 */
.rc-body { display: flex; gap: 14px; margin-top: 10px; align-items: flex-start; }
.rc-shot {
	width: 300px; flex: 0 0 300px; height: 178px; border: 1px solid #e6ecf6;
	border-radius: 10px; overflow: hidden; background: #f7f9fd;
}
.rc-canvas { width: 100%; height: 100%; display: block; }
.rc-info { flex: 1; min-width: 0; }
.rc-info .rc-desc { margin-top: 0; }

/* 放大查看弹层 */
.pv-modal {
	position: fixed; inset: 0; background: rgba(17, 26, 40, .5);
	display: flex; align-items: center; justify-content: center; z-index: 60;
}
.pv-modal-box {
	width: min(920px, 92vw); background: #fff; border-radius: 16px; padding: 14px 16px 12px;
	box-shadow: 0 24px 60px rgba(15, 24, 40, .28);
}
.pv-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pv-modal-head span { font-size: 14.5px; font-weight: 600; }
#pvBig { width: 100%; border-radius: 10px; background: #f7f9fd; display: block; }

.help-card { background: #fff; border: 1px solid #e6ecf6; border-radius: 12px; padding: 16px 18px; }
.help-card p { font-size: 13px; color: #465a78; line-height: 22px; margin: 0 0 10px; }

.u-acts { display: flex; gap: 8px; }
.users-table td.u-acts .btn { height: 28px; padding: 0 10px; font-size: 12px; }
.review-main { overflow-y: auto; }
.pv-modal[hidden] { display: none; }
/* 审核卡片占满一行：左预览 300 + 右信息，避免信息列被挤成一条 */
.cards { grid-template-columns: 1fr; }
.rcard { width: 100%; }
@media (max-width: 900px) {
	.rc-body { flex-wrap: wrap; }
	.rc-shot { flex: 1 1 100%; width: 100%; height: 200px; }
}
/* ---------------- 界面图标配置页 ---------------- */
.ui-hint {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: #fff7e8;
	border: 1px solid #ffe0a3;
	border-radius: 10px;
	font-size: 13px;
	color: #7a5a17;
	line-height: 1.6;
}

.ui-hint code {
	background: #fff;
	padding: 1px 5px;
	border-radius: 5px;
	border: 1px solid #ffdf9e;
}

.ui-group h3 {
	margin: 22px 0 10px;
	font-size: 14px;
	color: #1f2a3d;
}

.ui-row {
	position: relative;
	display: grid;
	grid-template-columns: 170px 64px 1fr 232px;
	gap: 10px;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e6eaf2;
	border-radius: 12px;
	padding: 10px 12px;
	margin-bottom: 8px;
}

.ui-name b {
	display: block;
	font-size: 13px;
	color: #1f2a3d;
}

.ui-name small {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	color: #9aa8bd;
}

.ui-pv {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background: #f4f7fc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ui-pv-img {
	max-width: 44px;
	max-height: 44px;
}

.ui-pv-def {
	font-size: 11px;
	color: #9aa8bd;
}

.ui-inputs {
	display: flex;
	gap: 8px;
	min-width: 0;
}

.ui-inputs input {
	flex: 1;
	min-width: 0;
	height: 34px;
	border: 1px solid #dfe5ef;
	border-radius: 8px;
	padding: 0 10px;
	font-size: 13px;
	color: #1f2a3d;
	background: #fbfcfe;
}

.ui-btns {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
}

.ui-up {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.ui-toast {
	position: absolute;
	right: 10px;
	top: -9px;
	background: #16a34a;
	color: #ffffff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
}

@media (max-width: 900px) {
	.ui-row {
		grid-template-columns: 1fr 56px;
	}
	.ui-inputs {
		grid-column: 1 / -1;
	}
	.ui-btns {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}
/* 画布尺寸：锁定原图比例 */
.lock-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #4a5b73;
}

.lock-row input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin: 0;
}

.fit-img {
	height: 32px;
	align-self: end;
	font-size: 12px;
	padding: 0 12px;
}
/* 原理图符号自绘 */
.sym-box {
	border: 1px solid #e2e8f2;
	border-radius: 10px;
	padding: 8px;
	background: #fbfdff;
}

.sym-box canvas {
	display: block;
	width: 300px;
	height: 210px;
	margin: 6px 0;
	border: 1px solid #dde5f0;
	border-radius: 8px;
	background: #fff;
	cursor: crosshair;
	touch-action: none;
}

.sym-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.sym-bar select {
	flex: 1;
	min-width: 110px;
	height: 30px;
	border: 1px solid #d7e0ee;
	border-radius: 7px;
	font-size: 12px;
	color: #2f3d56;
	background: #fff;
}
.sym-bar button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* 前端原理图绘制专用：一个元件多张图 */
.sch-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}
.sch-empty {
	padding: 12px;
	border: 1px dashed #d8e2f0;
	border-radius: 10px;
	background: #fbfdff;
	font-size: 12px;
	color: #8b99ad;
	text-align: center;
}
.sch-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid #e2e8f2;
	border-radius: 10px;
	background: #fff;
}
.sch-thumb {
	width: 88px;
	height: 62px;
	object-fit: contain;
	border: 1px solid #e8edf5;
	border-radius: 7px;
	background: #fff;
	flex-shrink: 0;
}
.sch-info {
	flex: 1;
	min-width: 0;
}
.sch-name {
	font-size: 13px;
	font-weight: 600;
	color: #243044;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sch-meta {
	margin-top: 3px;
	font-size: 11px;
	color: #8b99ad;
	line-height: 16px;
}
.sch-ops {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}
.sch-ops .btn {
	height: 30px;
	font-size: 12px;
	padding: 0 10px;
}
.sch-mask {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
}
.sch-mask[hidden] {
	display: none;
}
.sch-dialog {
	width: 380px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
	overflow: hidden;
}
.sch-head {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	border-bottom: 1px solid #eff3fa;
}
.sch-head h3 {
	margin: 0;
	font-size: 15px;
	color: #1f2a3d;
}
.sch-x {
	height: 28px;
	font-size: 12px;
	padding: 0 10px;
}
.sch-body {
	padding: 12px 14px;
}
.sch-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.sch-fields label {
	font-size: 12px;
	color: #54657d;
}
.sch-fields input,
.sch-fields select {
	display: block;
	width: 100%;
	height: 34px;
	margin-top: 5px;
	border: 1px solid #d7e0ee;
	border-radius: 8px;
	background: #fff;
	color: #2f3d56;
	font-size: 12px;
	padding: 0 9px;
	box-sizing: border-box;
}
.sch-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}
.sch-bar select {
	flex: 1;
	min-width: 130px;
	height: 32px;
	border: 1px solid #d7e0ee;
	border-radius: 8px;
	font-size: 12px;
	color: #2f3d56;
	background: #fff;
}
.sch-dialog canvas {
	display: block;
	width: 300px;
	height: 210px;
	margin: 10px auto 0;
	border: 1px solid #dde5f0;
	border-radius: 8px;
	background: #fff;
	cursor: crosshair;
	touch-action: none;
}
.sch-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 14px 14px;
}
.sch-foot .btn {
	height: 36px;
	font-size: 13px;
	padding: 0 16px;
}

/* 管理列表分页（banners / home / videos / theory 共用） */
.lv-pager {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: wrap;
	margin: 16px 0 2px;
	font-size: 12px;
	color: #7b8aa0;
}
.lv-pager .pager-info { margin-right: 6px; white-space: nowrap; }
.lv-pager button {
	min-width: 32px;
	height: 30px;
	padding: 0 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dbe4f2;
	border-radius: 7px;
	background: #fff;
	color: #40526b;
	font-size: 12px;
	cursor: pointer;
}
.lv-pager .pg-ico { width: 11px; height: 11px; display: block; }
.lv-pager button:hover { border-color: #9db8ef; color: #2f6fed; }
.lv-pager button.on {
	border-color: #2f6fed;
	background: #2f6fed;
	color: #fff;
	font-weight: 700;
}
.lv-pager button:disabled {
	opacity: .45;
	cursor: default;
}

/* ---------------------------------------------------------------- 用户管理（v1.4） */
.users-main { overflow-y: auto; background: #f6f8fc; padding: 22px 26px 48px; }
.users-wrap { max-width: 1080px; margin: 0 auto; }
.users-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.users-head h1 { margin: 0; font-size: 21px; color: #1d2a3e; letter-spacing: .2px; }
.users-head p { margin: 5px 0 0; color: #8490a4; font-size: 12.5px; }
.user-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.user-stat { background: #fff; border: 1px solid #e6edf8; border-radius: 12px; padding: 13px 15px; }
.user-stat span { display: block; color: #8793a7; font-size: 12px; }
.user-stat b { display: block; margin-top: 3px; font-size: 21px; color: #22314a; line-height: 26px; }
.user-stat.danger b { color: #e2483d; }
.user-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.user-tools input { width: 230px; height: 34px; border: 1px solid #dfe6f1; border-radius: 9px; padding: 0 11px; font-size: 12.5px; background: #fff; color: #22314a; }
.user-tools select { height: 34px; border: 1px solid #dfe6f1; border-radius: 9px; padding: 0 10px; font-size: 12.5px; background: #fff; color: #425273; }
.user-tools .muted { color: #96a2b5; font-size: 12px; margin-left: auto; }
.table-wrap { background: #fff; border: 1px solid #e6edf8; border-radius: 12px; overflow: hidden; }
.user-table { width: 100%; table-layout: fixed; }
.user-table th, .user-table td { padding: 11px 12px; font-size: 12.5px; }
.user-table td { color: #4b5d76; }
.user-table .u-name { color: #1d2a3e; font-weight: 600; }
.user-table .u-sub { display: block; color: #9aa6ba; font-size: 11px; margin-top: 2px; font-weight: 400; }
.user-table td.u-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.role-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; line-height: 15px; }
.role-super { background: #f2ecff; color: #6b45c9; }
.role-admin { background: #eaf2ff; color: #245ecf; }
.role-editor { background: #eaf7f1; color: #1d8a61; }
.role-reviewer { background: #fff3e4; color: #b96a1c; }
.role-user { background: #f1f4f9; color: #6f7d92; }
.st-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; }
.st-on { background: #eaf7f1; color: #1d8a61; }
.st-off { background: #fdeeed; color: #d94a40; }
.user-form-panel { background: #fff; border: 1px solid #e6edf8; border-radius: 14px; padding: 20px; margin-top: 4px; }
.user-table .u-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.user-table .u-meta { min-width: 0; }
.user-table .u-avatar {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	background: linear-gradient(135deg, #4d8cff, #2f6fed);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}
.user-table .u-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-detail {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 0 0 16px;
	margin-bottom: 15px;
	border-bottom: 1px solid #eef2f8;
}
.user-detail[hidden] { display: none; }
.ud-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 82px; flex-shrink: 0; }
.ud-avatar {
	width: 68px;
	height: 68px;
	border-radius: 34px;
	background: linear-gradient(135deg, #4d8cff, #2f6fed);
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 8px 18px rgba(47, 111, 237, .2);
}
.ud-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ud-avatar span[hidden] { display: none; }
.ud-grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.ud-item span { display: block; font-size: 11px; color: #8b97ac; }
.ud-item b { display: block; margin-top: 3px; font-size: 12.5px; color: #24304a; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#btnAvatar { height: 30px; padding: 0 10px; font-size: 12px; }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.form-head h2 { margin: 0; font-size: 18px; color: #1d2a3e; }
.form-head .sub { margin: 5px 0 0; color: #8490a4; font-size: 12px; }
.user-form-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
.user-form-grid .full-span { grid-column: 1 / -1; }
.perm-box { margin-top: 16px; border: 1px solid #e6edf8; border-radius: 12px; padding: 13px 14px; background: #f9fbff; }
.perm-head b { font-size: 13px; color: #22314a; }
.perm-head p { margin: 3px 0 0; font-size: 11.5px; color: #8b97ac; }
.perm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.perm-item { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border: 1px solid #e5edf8; border-radius: 9px; background: #fff; cursor: pointer; }
.perm-item input { margin-top: 2px; }
.perm-item .pt { display: block; color: #2d3d57; font-size: 12.5px; font-weight: 600; }
.perm-item .pd { display: block; color: #93a0b3; font-size: 11px; line-height: 15px; margin-top: 1px; }
.perm-item.disabled { opacity: .62; cursor: default; background: #f5f8fd; }
.form-msg { min-height: 18px; color: #e2483d; font-size: 12px; margin: 12px 0 0; }
.user-form-actions { display: flex; gap: 9px; align-items: center; margin-top: 4px; }
.btn.danger.ghost { margin-left: auto; }
@media (max-width: 920px) {
	.users-main { padding: 16px 14px 32px; }
	.user-stats { grid-template-columns: 1fr 1fr; }
	.user-form-grid { grid-template-columns: 1fr; }
	.ud-grid { grid-template-columns: 1fr 1fr; }
	.perm-list { grid-template-columns: 1fr; }
	.user-table { table-layout: auto; }
	.user-table th:nth-child(5), .user-table td:nth-child(5) { display: none; }
}
/* 权限复选框不要被通用 input 样式撑大 */
.perm-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	min-width: 16px;
	flex: 0 0 16px;
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	background: none;
}

/* 全部作品 / 审核栏 */
.works-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 14px;
}
.work-alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid #ffe2b8;
	border-radius: 12px;
	background: #fffaf1;
	color: #9a5a09;
	font-size: 13px;
}
.work-alert b { color: #d47a0b; }
.work-status {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 7px;
	background: #eef1f7;
	color: #6b7a90;
	white-space: nowrap;
}
.work-status.pending { background: #fff4e6; color: #d97a12; }
.work-status.approved { background: #e8f8f0; color: #128c58; }
.work-status.down,
.work-status.rejected { background: #fff0ef; color: #e2483d; }
.work-reason {
	font-size: 11.5px;
	color: #c1574c;
	margin: 7px 0 0;
	line-height: 17px;
}
.work-acts { display: flex; gap: 8px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.work-acts .rc-reason { flex: 1 1 100%; }
.work-delete { margin-left: auto; }

/* ============================== 会员管理 ============================== */
.shell main.mem-main {
	display: block;
	overflow-y: auto;
	padding: 22px 26px 48px;
	background: #f6f8fc;
}
.mem-main > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.mem-main .page-head { margin-bottom: 16px; }
.mem-main .page-head h1 { margin: 0; font-size: 21px; color: #1d2a3e; letter-spacing: .2px; }
.mem-main .page-head p { margin: 5px 0 0; color: #8490a4; font-size: 12.5px; line-height: 1.7; }
.mem-card {
	flex: none;
	overflow: visible;
	padding: 18px 20px;
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #e6edf8;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(31, 42, 61, .04);
}
.mem-overview {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	padding: 18px 20px;
}
.mem-stat {
	background: #f7f9fd;
	border: 1px solid #edf2f9;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.mem-stat span { font-size: 11.5px; color: #8b98ab; }
.mem-stat b { font-size: 24px; line-height: 1; color: #29364f; }
.mem-stat b.green { color: #159a67; }
.mem-stat b.blue { color: #2f6fed; }
.mem-stat b.gray { color: #8b98ab; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-head h2 { margin: 0; font-size: 15px; color: #1f2a3d; }
.card-head p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.7; color: #8b98ab; }
.mem-plans { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.plan-row {
	display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px;
	border: 1px solid #e7edf6; border-radius: 10px; background: #fbfcff;
}
.coupon-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.coupon-row {
	display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px;
	border: 1px solid #eadfca; border-radius: 10px;
	background: linear-gradient(180deg, #fffdf7 0%, #fff9ed 100%);
}
.coupon-row .plan-field input { width: 100px; }
.coupon-row .plan-field.wide { min-width: 130px; }
.coupon-plans { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 34px; }
.coupon-plan-check { height: auto; font-size: 11.5px; }
.coupon-float-box { margin-top: 16px; padding: 14px; border: 1px dashed #d9c9a8; border-radius: 10px; background: #fffdf8; }
.coupon-float-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.coupon-float-head h3 { margin: 0; font-size: 13px; color: #6f5520; }
.plan-field { display: flex; flex-direction: column; gap: 4px; }
.plan-field.wide { flex: 1; min-width: 90px; }
.plan-field label { font-size: 10.5px; color: #8b98ab; }
.plan-field input, .mem-field input, .mem-field select, .mem-field textarea, .mem-filters input, .mem-filters select, .mem-search input {
	height: 34px; border: 1px solid #dde6f3; border-radius: 8px; background: #fff;
	padding: 0 9px; font-size: 12px; color: #29364f; outline: none;
}
.plan-field input { width: 88px; }
.plan-field.wide input { width: 100%; }
.mem-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #52617a; white-space: nowrap; height: 34px; }
.mem-pay-row { margin-top: 12px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mem-hint { font-size: 11px; color: #98a4b7; }
.mem-field { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.mem-field label { font-size: 11.5px; color: #52617a; font-weight: 600; }
.mem-field textarea { height: auto; padding: 9px; line-height: 1.7; resize: vertical; }
.mem-actions { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.mem-result { font-size: 11.5px; color: #159a67; line-height: 1.6; }
.mem-badge-block {
	margin-top: 14px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 16px;
	border: 1px solid #eadfc8;
	border-radius: 12px;
	background: linear-gradient(135deg, #fffdf8 0%, #fbf6ea 100%);
}
.mem-badge-preview {
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: 16px;
	border: 1px solid #ead8ae;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: inset 0 0 0 2px #fff, 0 4px 12px rgba(151, 113, 34, .12);
}
.mem-badge-img { width: 48px; height: 48px; object-fit: contain; display: block; }
.mem-badge-img[hidden], .mem-badge-default[hidden] { display: none !important; }
.mem-badge-default { font-size: 30px; line-height: 1; color: #c79a3b; text-shadow: 0 1px 0 #fff; }
.mem-badge-copy { min-width: 0; flex: 1; }
.mem-badge-copy label { font-size: 11.5px; color: #52617a; font-weight: 600; }
.mem-badge-copy p { margin: 5px 0 0; font-size: 11px; line-height: 1.7; color: #8b98ab; }
.mem-badge-actions { margin-top: 9px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.mem-badge-file { position: relative; overflow: hidden; height: 34px; line-height: 32px; }
.mem-badge-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mem-badge-file .btn { pointer-events: none; }
.mem-perm-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.mem-perm-col { min-width: 0; }
.mem-perm-col h3 { margin: 0; font-size: 13px; color: #29364f; }
.mem-perm-col > p { margin: 5px 0 0; font-size: 11px; line-height: 1.6; color: #98a4b7; }
.mem-check-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.perm-item {
	display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px;
	border: 1px solid #eff3f9; background: #fbfcff; font-size: 12px; color: #34425a;
}
.perm-item input { flex: 0 0 auto; }
.perm-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perm-key { font-size: 10.5px; color: #a2adbe; font-family: ui-monospace, Menlo, Consolas, monospace; }
.perm-hidden { color: #d98519; font-size: 10px; font-style: normal; }
.comp-list { max-height: 340px; }
.mem-search { margin-top: 10px; }
.mem-search input { width: 100%; }
.mem-form-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.mem-form-grid .mem-field { margin-top: 0; }
.mem-form-grid .mem-field input, .mem-form-grid .mem-field select { width: 100%; }
.mem-filters { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mem-filters input { width: 260px; }
.mem-table-wrap { margin-top: 12px; overflow-x: auto; border: 1px solid #e7edf6; border-radius: 10px; }
.mem-table { width: 100%; border-collapse: collapse; min-width: 920px; font-size: 12px; }
.mem-table th, .mem-table td { padding: 9px 10px; border-bottom: 1px solid #eff3f9; text-align: left; vertical-align: middle; }
.mem-table th { background: #f7f9fd; color: #73809a; font-size: 11px; font-weight: 600; white-space: nowrap; }
.mem-table td small { color: #98a4b7; font-size: 10px; }
.mem-table tr:last-child td { border-bottom: none; }
.code-copy {
	border: none; background: transparent; padding: 0; cursor: pointer;
	font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #2f6fed; font-weight: 600;
}
.code-copy:hover { text-decoration: underline; }
.badge.green { background: #eaf8f0; color: #159a67; }
.badge.blue { background: #eef4ff; color: #2f6fed; }
.badge.gray { background: #f0f2f6; color: #8b98ab; }
.mem-pager { margin-top: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11.5px; color: #8b98ab; }
.mem-empty { padding: 18px; text-align: center; color: #98a4b7; font-size: 12px; }
.pay-config-card .card-head { align-items: center; }
.pay-head-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pay-summary, .pay-state {
	display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px;
	font-size: 10.5px; font-weight: 600; color: #8b98ab; background: #f0f3f8; white-space: nowrap;
}
.pay-summary.ok, .pay-state.ok { color: #127a52; background: #e8f7ef; }
.pay-summary.warn, .pay-state.warn { color: #b16b12; background: #fff3df; }
.pay-warning {
	margin: 12px 0 0;
	padding: 9px 11px;
	border-radius: 8px;
	background: #fff8e9;
	border: 1px solid #f3e2bc;
	font-size: 11.5px;
	line-height: 1.6;
	color: #98641a;
}
.pay-warning[hidden] { display: none; }
.pay-channel-grid { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-channel { min-width: 0; padding: 14px; border: 1px solid #e7edf6; border-radius: 12px; background: #fbfcff; }
.pay-channel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pay-channel-head .mem-check { height: auto; font-size: 13px; font-weight: 700; color: #29364f; }
.pay-channel > .mem-hint { display: block; margin-top: 5px; line-height: 1.6; }
.pay-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pay-pair-grid { grid-template-columns: 1fr 1fr; }
.pay-form-grid .mem-check { height: 34px; }
.pay-form-grid input[type=checkbox] { width: 16px; height: 16px; }
.pay-channel .mem-field { margin-top: 9px; }
.pay-channel .mem-field textarea { min-height: 76px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; line-height: 1.45; }
.pay-channel .mem-field input[data-secret], .pay-channel .mem-field textarea[data-secret] { background: #fbfdff; }
.pay-callback-grid { margin-top: 14px; grid-template-columns: 1.35fr 1.35fr .6fr; }
.pay-callback-grid .mem-field .mem-hint { line-height: 1.5; }
.pay-order-table { min-width: 1040px; }
@media (max-width: 1100px) {
	.mem-main { padding: 16px 14px 32px; }
	.mem-overview { grid-template-columns: repeat(3, 1fr); }
	.mem-perm-grid { grid-template-columns: 1fr; }
	.mem-form-grid { grid-template-columns: 1fr 1fr; }
	.plan-row { flex-wrap: wrap; }
	.pay-channel-grid { grid-template-columns: 1fr; }
	.pay-form-grid { grid-template-columns: 1fr 1fr; }
	.pay-callback-grid { grid-template-columns: 1fr 1fr; }
	.pay-callback-grid .mem-field:last-child { grid-column: 1 / -1; }
}
.member-set-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.member-set-row label { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: #52617a; }
.member-set-row input { width: 90px; height: 34px; border: 1px solid #dde6f3; border-radius: 8px; padding: 0 9px; font-size: 12px; }
.member-hint { margin-top: 8px; font-size: 11px; }

/* 未登录不再在内容页里显示登录框，统一跳转 login.html */
.login-box { display: none !important; }

/* 元件富文本介绍 */
.rt-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rt-toolbar button {
  height: 28px; padding: 0 9px; border: 1px solid #dfe6f1; border-radius: 7px;
  background: #f7f9fd; color: #46556c; font-size: 12px; cursor: pointer;
}
.rt-toolbar button:hover { border-color: #b9c9df; background: #fff; }
.rich-editor {
  min-height: 300px; margin-top: 6px; padding: 12px 14px;
  border: 1px solid #dfe6f1; border-radius: 8px; background: #fff;
  font-size: 13px; line-height: 1.75; color: #45564d; outline: none; overflow: auto;
}
.rich-editor:empty::before { content: attr(data-placeholder); color: #a9b4c4; }
.rich-editor:focus { border-color: #2f6fed; box-shadow: 0 0 0 3px rgba(47, 111, 237, .08); }

.rich-editor img { max-width: 100%; height: auto; display: block; margin: 10px 0; border-radius: 8px; }
