/* ==========================================================================
   状态占位符视觉契约（app / admin 共用，唯一配置源）
   页面内所有空数据/错误/警告/锁定/无结果/上传/空对话占位图标统一为 24x24 线性 SVG，
   由 shared/js/icons.js 的 MIcon() 输出；尺寸/颜色只在此处按容器统一管理。
   ========================================================================== */

.m-icon {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.125em;
}

/* 占位容器（class 沿用，布局/间距契约不变；原 opacity 由弱化描边色替代） */
.leads-empty-icon,
.tracking-empty-icon,
.dashboard-empty-icon,
.empty-state-icon,
.perm-empty-icon,
.map-list-state-icon {
  color: var(--text-subtle);
  opacity: 1;
}
.leads-empty-icon svg,
.tracking-empty-icon svg,
.dashboard-empty-icon svg,
.empty-state-icon svg,
.map-list-state-icon svg {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto;
}
.perm-empty-icon svg { width: 32px; height: 32px; }
.de-upload-icon svg { width: 40px; height: 40px; color: var(--text-secondary); }
.bc-error-icon svg { width: 14px; height: 14px; }

/* 语义色（错误红 / 警告琥珀，深色自动提亮） */
.m-icon-error { color: #ef4444; }
.m-icon-warn  { color: #f59e0b; }
body.dark .m-icon-error { color: #f87171; }
body.dark .m-icon-warn  { color: #fbbf24; }
