/* ===== 隔壁有货 · 运营平台（eladmin 风格） ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px; color: #333; background: #f0f2f5;
}

/* ---- 登录 ---- */
.login-page {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1f3b73 0%, #0a1e3c 60%, #001529 100%);
}
.login-card {
  width: 380px; background: #fff; border-radius: 8px; padding: 40px 36px 24px;
  box-shadow: 0 8px 30px rgba(0, 21, 41, .35);
}
.login-logo { font-size: 26px; font-weight: 700; color: #001529; letter-spacing: 2px; }
.login-sub { color: #909399; margin: 6px 0 28px; font-size: 13px; }
.login-btn { width: 100%; margin-top: 8px; background: #ff6b1a; border-color: #ff6b1a; }
.login-btn:hover { background: #ff7d36; border-color: #ff7d36; }
/* min-height：错误提示出现/消失时卡片高度不跳 */
.login-tip { margin-top: 18px; min-height: 18px; line-height: 18px; text-align: center; color: #b0b7c4; font-size: 12px; }
/* 登录失败原因：常驻红字（toast 3 秒就没了，切窗口回来会以为没反应） */
.login-tip.is-error { color: #f56c6c; font-weight: 600; }

/* ---- 布局 ---- */
.layout { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  width: 210px; background: #001529; transition: width .25s; flex-shrink: 0;
  display: flex; flex-direction: column;
}
.sidebar.collapsed { width: 64px; }
.logo { height: 56px; display: flex; align-items: center; padding: 0 16px; color: #fff; overflow: hidden; }
.logo-dot {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 6px;
  background: linear-gradient(135deg, #ff8a3c, #ff5a3c); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.logo-text { margin-left: 10px; font-size: 15px; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }
.side-menu { border-right: none; flex: 1; overflow-y: auto; }
.side-menu:not(.el-menu--collapse) { width: 210px; }
.side-menu .el-menu-item.is-active { background: #1e6fff !important; }
.side-menu .el-menu-item:hover, .side-menu .el-sub-menu__title:hover { background: #0c2a4d !important; }

.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.topbar {
  height: 56px; background: #fff; box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 5;
}
.topbar-left { display: flex; align-items: center; }
.collapse-btn { font-size: 20px; cursor: pointer; color: #5a5e66; margin-right: 14px; user-select: none; }
.crumb { font-size: 15px; font-weight: 500; color: #303133; }
.user-chip { display: flex; align-items: center; cursor: pointer; }
.user-avatar { background: #1e6fff; font-size: 14px; }
.user-name { margin: 0 6px; color: #303133; }
.user-caret { color: #909399; font-size: 12px; }

.content { flex: 1; overflow-y: auto; padding: 18px; }

/* ---- 页面卡片 ---- */
.page-card { background: #fff; border-radius: 6px; padding: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: center; }
.toolbar .spacer { flex: 1; }
.form-tip { font-size: 12px; color: #909399; line-height: 1.5; margin-top: 4px; }
.region-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.el-table { font-size: 13px; }
.pager { display: flex; justify-content: flex-end; margin-top: 16px; }

/* ---- 统计卡 ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card {
  background: #fff; border-radius: 6px; padding: 18px 20px; display: flex; align-items: center;
  box-shadow: 0 1px 3px rgba(0, 21, 41, .06);
}
.stat-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin-right: 14px; flex-shrink: 0; }
.stat-card .num { font-size: 24px; font-weight: 700; color: #303133; line-height: 1.2; }
.stat-card .lbl { font-size: 13px; color: #909399; margin-top: 2px; }

/* ---- 模块开关 ---- */
.mod-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.mod-row:last-child { border-bottom: none; }
.mod-name { font-size: 14px; font-weight: 500; color: #303133; }
.mod-key { font-size: 12px; color: #b0b7c4; margin-top: 3px; }
.mod-switch { flex-shrink: 0; }

/* ---- 其他 ---- */
.dialog-desc { white-space: pre-wrap; word-break: break-all; color: #606266; }
.emoji-thumb { font-size: 26px; }
/* 服务分类图标：列表缩略图 / 上传控件（正方形容器 + contain 保持比例不变形） */
.cat-thumb { width: 40px; height: 40px; object-fit: contain; display: block; }
.cat-uploader .el-upload {
  width: 96px; height: 96px; border: 1px dashed #d9d9d9; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; background: #fafafa;
}
.cat-uploader .el-upload:hover { border-color: #ff6a00; }
.cat-uploader-img { width: 96px; height: 96px; object-fit: contain; display: block; }
.cat-uploader-ph { display: flex; flex-direction: column; align-items: center; color: #8c8c8c; font-size: 12px; line-height: 1.4; }
.cat-uploader-ph .plus { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.cat-tip { font-size: 12px; color: #8c8c8c; margin-top: 6px; }
/* 输入值格式的实时识别提示（教程配置里的「第一个外卖券链接」）：ok=已识别，warn=未识别 */
.cat-tip.is-ok { color: #67c23a; }
.cat-tip.is-warn { color: #e6a23c; }
/* ---- 外卖红包：教程配置弹窗里的「外卖券链接 + 每步文案」多行编辑器 ----
   每个链接在小程序「一键查询」结果里**各占一个步骤**，所以按顺序编号展示；
   每行两排：第一排是链接地址 + 调序/删除按钮，第二排是该步骤的标题与简介。
   行内提示（小程序链接 / 网页链接 / 未识别）换行挂在输入框下方，避免行被撑宽。 */
.tut-links { width: 100%; }
.tut-link-row {
  display: block;
  padding: 8px 10px; margin-bottom: 8px;
  background: #f5f7fa; border: 1px dashed #dcdfe6; border-radius: 4px;
}
.tut-link-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tut-text-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-left: 30px; }
.tut-lbl { flex-shrink: 0; color: #606266; font-size: 12px; }
.tut-link-no {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #ff6a00; color: #fff; font-size: 12px; line-height: 22px; text-align: center;
}
.tut-link-row .cat-tip { margin-top: 2px; flex-basis: 100%; padding-left: 30px; }
.tut-links-head { margin: 0 0 6px; }
.tut-links-sum { margin-top: 2px; }
.tut-last { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tut-last .cat-tip { flex-basis: 100%; margin-top: 0; }
.img-thumb { font-size: 24px; }
.tag-status { margin-right: 4px; }
.user-cell { display: flex; align-items: center; gap: 8px; }
/* 用户头像：avatar 字段是双语义（老用户 emoji / 新用户 OSS 图片 URL），
   必须按 isImg() 分支渲染 —— 直接把 URL 当文本渲染会撑爆单元格、把昵称挤成竖排。 */
.user-avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.array-editor-block {
  border: 1px solid #ebeef5; border-radius: 4px; padding: 10px; margin-bottom: 10px;
  background: #fafafa;
}
.array-editor-row {
  display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) auto auto auto;
  gap: 8px; align-items: center; margin-bottom: 8px;
}
.array-editor-row:last-child { margin-bottom: 0; }
.array-editor-row.nested-array-row {
  grid-template-columns: minmax(120px, 1fr) minmax(180px, 2fr) auto;
  padding-left: 18px;
}
.array-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* ---- 低价好物：平台管理弹窗 ---- */
.pf-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.pf-bar .cat-tip { margin-top: 0; }
.pf-draft {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; margin-bottom: 10px;
  background: #f5f7fa; border: 1px dashed #dcdfe6; border-radius: 4px;
}
/* ---- 外卖红包：券封面缩略图（emoji 或图片地址） ---- */
.rp-cover {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  font-size: 22px; background: #f4f4f5;
}
.rp-cover-img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; display: block; }
/* ---- 外卖红包：券/方案编辑弹窗里的「方案步骤」编辑器 ---- */
.rp-step {
  border: 1px solid #ebeef5; border-left: 3px solid #f0a04b;
  border-radius: 4px; padding: 10px; margin-bottom: 10px; background: #fafafa;
}
.rp-step-head { display: flex; align-items: center; gap: 8px; }
.rp-step-no {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #FF8F1F, #FF5A3C); color: #fff;
  font-size: 12px; font-weight: 700;
}
.rp-link-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-left: 30px; }
.rp-step-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding-left: 30px; }

/* 步骤配图行（低价好物 / 外卖红包 / 其他优惠 三处步骤编辑器共用）
   每步最多 1 张：上传按钮 + 缩略图 + 可手填地址 + 删除，横向一行放下。
   缩进分两种：低价好物用 .array-editor-block（无缩进），红包/其他优惠用 .rp-step（与链接行同为 30px）。 */
.step-img-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.rp-step .step-img-row { padding-left: 30px; }
.step-img-row .el-upload { flex: none; }
.step-img-thumb {
  width: 40px; height: 40px; flex: none;
  border-radius: 6px; object-fit: cover; display: block;
  border: 1px solid #ebeef5; background: #fff;
}
.step-img-none {
  flex: none; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px dashed #dcdfe6; border-radius: 6px;
  color: #c0c4cc; font-size: 10px; background: #fff;
}
.step-img-row .el-input { flex: 1; min-width: 200px; }
@media (max-width: 900px) {
  .array-editor-row,
  .array-editor-row.nested-array-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- 轮播图：列表预览缩略图（按 image 字段缩放 100×20） ---- */
.banner-thumb-img {
  width: 100px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ebeef5;
  background: #f5f7fa;
  display: block;
}

/* ---- 轮播图：编辑弹窗上传（预览按 750×300 等比缩放，保持页面美观） ---- */
.img-upload { width: 100%; }
.img-preview {
  width: 100%;
  aspect-ratio: 750 / 300;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ebeef5;
  background: #f5f7fa;
  display: block;
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 750 / 300;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
  font-size: 13px;
  border: 1px dashed #dcdfe6;
  border-radius: 6px;
  background: #fafafa;
}
.img-actions { margin-top: 8px; display: flex; gap: 8px; }
.img-tip { color: #909399; font-size: 12px; line-height: 1.5; margin-top: 6px; }

/* ---- 金刚区入口：列表预览缩略图（按比例缩放，不拉伸变形） ---- */
.entrance-thumb-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #ebeef5;
  background: #f5f7fa;
  display: block;
}

/* ---- 消息管理 · 系统消息 ---- */
/* 弹窗表单项下方的说明文字（复用 .img-tip 的口径，语义更明确） */
.notice-tip { color: #909399; font-size: 12px; line-height: 1.5; margin-top: 6px; }
/* 列表「提醒设置」列里的有效期两行小字（拆成两行，避免长日期把列撑宽/换行） */
.notice-validity { color: #909399; font-size: 12px; line-height: 1.5; margin-top: 4px; word-break: keep-all; }

/* ---- 图片尺寸标注（后端 /admin/upload 返回像素宽高，见 app/image_meta.py） ----
   上传后让运营直接看到「这张图多大、什么比例」，与建议值对比，避免被固定框裁掉。 */
/* 弹窗里：当前图片尺寸 + 建议尺寸（常驻一行，比 toast 更容易回看） */
.img-size-line { color: #E6A23C; font-size: 12px; line-height: 1.5; margin-top: 6px; word-break: break-all; }
/* 列表缩略图下方：尺寸小字（两行内，不撑宽列） */
.img-size-mini { color: #909399; font-size: 11px; line-height: 1.4; margin-top: 4px; word-break: keep-all; }

/* ---- 金刚区入口：编辑弹窗上传（图标按比例缩放，保持页面美观） ---- */
.img-preview-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #ebeef5;
  background: #f5f7fa;
  display: block;
}
.img-placeholder-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  color: #c0c4cc;
  font-size: 12px;
  border: 1px dashed #dcdfe6;
  border-radius: 8px;
  background: #fafafa;
}

/* ---- 服务商管理：列表封面缩略图（正方形，不变形） ---- */
.sp-cover {
  width: 56px; height: 56px; object-fit: cover; display: block;
  border-radius: 6px; border: 1px solid #ebeef5; background: #f5f7fa;
}

/* ---- 服务商管理：封面图上传（正方形方块 + contain 保持比例） ---- */
.cover-uploader .el-upload {
  width: 120px; height: 120px; border: 1px dashed #d9d9d9; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; background: #fafafa;
}
.cover-uploader .el-upload:hover { border-color: #ff6a00; }
.cover-img { width: 120px; height: 120px; object-fit: cover; display: block; border-radius: 8px; }
.cover-ph {
  display: flex; flex-direction: column; align-items: center;
  color: #8c8c8c; font-size: 12px; line-height: 1.4;
}
.cover-ph .plus, .banner-ph .plus { font-size: 28px; line-height: 1; margin-bottom: 4px; }

/* ---- 服务商管理：轮播图（多张网格，按 2:1 比例预览） ---- */
.banner-list { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.banner-item {
  position: relative; width: 120px; height: 60px; border-radius: 6px;
  overflow: hidden; border: 1px solid #ebeef5; background: #f5f7fa;
}
.banner-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-del {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  line-height: 18px; text-align: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; cursor: pointer;
}
.banner-del:hover { background: rgba(245, 108, 108, .9); }
.banner-add .el-upload {
  width: 120px; height: 60px; border: 1px dashed #d9d9d9; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: #fafafa;
}
.banner-add .el-upload:hover { border-color: #ff6a00; }
.banner-ph { color: #8c8c8c; font-size: 22px; }

/* ---- 服务商管理：富文本编辑器容器（wangEditor 5 本地化） ---- */
/* 说明：el-form-item__content 是 flex 布局，工具栏/编辑器必须包在 width:100% 的
   .we-wrap 里作为唯一 flex 子项，否则会并排显示且编辑器宽度塌缩成竖条。 */
.we-wrap { width: 100%; min-width: 0; }
.we-toolbar {
  width: 100%;
  border: 1px solid #d9d9d9; border-bottom: none;
  border-radius: 4px 4px 0 0; background: #fafafa;
}
.we-editor {
  width: 100%;
  border: 1px solid #d9d9d9; border-radius: 0 0 4px 4px;
  height: 240px; overflow-y: auto;
}
.we-editor img, .we-editor video { max-width: 100%; height: auto; }

/* ---- 商家券返现：请求/返回美团信息（JSON 报文原样展示，可滚动 + 保留换行） ---- */
.json-box {
  margin: 0;
  max-height: 460px;
  overflow: auto;
  padding: 12px 14px;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #303133;
  white-space: pre-wrap;
  word-break: break-all;
}
.cb-muted { color: #c0c4cc; }

/* ---- 羊毛短链接：列表里的短链文本（等宽 + 可折行，避免撑破列宽） ---- */
.sl-url {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #303133;
  word-break: break-all;
}

/* ---- 意见反馈：详情弹窗里的反馈正文（保留换行，长串强制折行） ---- */
.fb-content {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px 12px;
  border: 1px solid #EBEEF5;
  border-radius: 4px;
  background: #FAFAFA;
  color: #303133;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- 其他优惠：图标（emoji 或 OSS 图片）选择行 ---- */
.icon-pick { display: flex; align-items: center; gap: 10px; }
.icon-pick-box {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #dcdfe6; border-radius: 8px; background: #fafafa;
  overflow: hidden;
}
.icon-pick-img { width: 34px; height: 34px; object-fit: contain; display: block; }
.icon-pick-emoji { font-size: 22px; line-height: 1; }

/* ===== 多标签页（顶部标签条） =====
   标签盒固定在 40px 高的条内，激活态用「白底 + 蓝边 + 盒内下划线」表现，
   不使用负外边距去压条的下边框 —— .tabs-scroll 需要 overflow-x:auto，
   负偏移会被 overflow 裁掉。 */
.tabs-bar {
  height: 40px; flex-shrink: 0;
  display: flex; align-items: center;
  background: #f7f8fa;
  border-bottom: 1px solid #e6e8eb;
  padding-left: 8px;
}
.tabs-scroll {
  flex: 1; min-width: 0;
  display: flex; align-items: center;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar { height: 0; }
.tab-item {
  position: relative; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; margin-right: 6px; padding: 0 10px;
  font-size: 13px; color: #5a5e66;
  background: #eceef1; border: 1px solid transparent; border-radius: 4px;
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.tab-item:hover { background: #e3e8ef; color: #1e6fff; }
.tab-item.is-active { background: #fff; border-color: #c3d9ff; color: #1e6fff; font-weight: 500; }
.tab-item.is-active::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0;
  height: 2px; border-radius: 1px; background: #1e6fff;
}
.tab-text { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.tab-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; flex-shrink: 0; border-radius: 50%;
  font-size: 13px; line-height: 1; color: #a8aeb8;
}
.tab-close:hover { background: #f6d8d8; color: #e24b4a; }
.tabs-actions {
  flex-shrink: 0; display: flex; align-items: center; gap: 2px;
  padding: 0 12px; margin-left: 4px;
  border-left: 1px solid #e6e8eb;
}
.tab-act {
  font-size: 12px; color: #7d838c;
  padding: 3px 8px; border-radius: 4px;
  cursor: pointer; user-select: none; white-space: nowrap;
}
.tab-act:hover { color: #1e6fff; background: #e9efff; }

/* =====================================================================
 * 羊毛管理 > 水印管理
 * 编辑器是「左画布 + 右参数」两栏；画布尺寸恒等于原图像素，靠 CSS 缩进容器显示，
 * 所以这里只负责把 canvas 缩进可视区（max-width/height），不改它的内部分辨率。
 * ===================================================================== */
.wm-hint {
  margin: 8px 0 12px; padding: 8px 12px; font-size: 13px; line-height: 1.7;
  color: #7a6a3f; background: #fdf6ec; border-radius: 6px;
}
.wm-thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: 6px;
  display: block; cursor: zoom-in; background: #f5f5f5;
}
.wm-thumb-sm { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; display: block; background: #f5f5f5; }
.wm-thumb-none { color: #ccc; font-size: 12px; }
.wm-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60vh; gap: 14px; }
.wm-empty-tip { color: #909399; font-size: 13px; }
.wm-ed { display: flex; gap: 16px; height: calc(100vh - 170px); min-height: 420px; }
.wm-ed-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wm-canvas-wrap {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: 8px; background: #f5f6f8; border: 1px solid #e4e7ed; border-radius: 8px; overflow: hidden;
}
.wm-canvas-wrap canvas {
  max-width: 100%; max-height: 100%; cursor: move; touch-action: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); background: #fff;
}
.wm-canvas-wrap canvas.is-dragging { cursor: grabbing; }
.wm-ed-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding-top: 8px; font-size: 13px; color: #606266;
}
.wm-dot { color: #c0c4cc; }
.wm-muted { color: #909399; }
.wm-ok { color: #67c23a; }
.wm-warn { color: #e6a23c; }
.wm-ed-right {
  width: 344px; flex-shrink: 0; overflow-y: auto;
  padding-left: 14px; border-left: 1px solid #ebeef5;
}
.wm-field { margin: 10px 0; }
.wm-field > label { display: block; margin-bottom: 4px; font-size: 13px; color: #606266; }
.wm-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* 文字水印 / 图片水印两个 Tab：常驻在右栏顶部，无论画布点到哪一层都能切回 */
.wm-tabs > .el-tabs__header { margin: 4px 0 10px; }
.wm-tabs .el-tabs__item { font-size: 14px; }
.wm-tabs .el-tabs__content { overflow: visible; }
.wm-img-tabs { gap: 6px; }
.wm-img-tabs .el-button + .el-button { margin-left: 0; }
.wm-tip { margin-top: 6px; font-size: 12px; line-height: 1.7; }
.wm-warn-box {
  margin-top: 8px; padding: 8px 10px; border-radius: 6px;
  font-size: 12px; line-height: 1.6; color: #e6a23c; background: #fdf6ec;
}

/* 社群管理 → 街道 / 小区 抽屉（左栏街道、右栏该街道下的小区） */
.ad-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ad-tip { font-size: 12px; line-height: 1.7; color: #909399; }
.ad-cols { display: flex; gap: 16px; align-items: flex-start; }
.ad-col { flex: 1; min-width: 0; }
.ad-col-left { width: 344px; flex: 0 0 344px; }
.ad-col-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #303133;
}
.ad-list { max-height: 620px; overflow: auto; border: 1px solid #ebeef5; border-radius: 8px; }
.ad-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid #f2f6fc; cursor: pointer;
}
.ad-item:last-child { border-bottom: none; }
.ad-item:hover { background: #fafcff; }
.ad-item.active { background: #ecf5ff; box-shadow: inset 3px 0 0 #409eff; }
.ad-item-main { flex: 1; min-width: 0; }
.ad-item-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #303133; word-break: break-all;
}
.ad-item-sub { margin-top: 2px; font-size: 12px; color: #909399; }
.ad-item-ops { flex-shrink: 0; }
.ad-empty { padding: 18px 12px; font-size: 13px; text-align: center; color: #909399; }
.ad-off { color: #c0c4cc; text-decoration: line-through; }
