/*
 * LinsGeek ERP —— Mercado Livre 各功能页面的「立即同步」按钮（配合 52-ml-sync.js）。回滚：删除这两个文件。
 */
.lg-mlsync {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(13, 123, 109, .35);
  background: #fff; color: #0d7b6d; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.lg-mlsync svg { width: 15px !important; height: 15px !important; flex: 0 0 auto; padding: 0 !important; background: none !important; color: inherit !important; border-radius: 0 !important; }
.lg-mlsync:hover { background: #e7f2f0; border-color: #0d7b6d; }
.lg-mlsync:focus-visible { outline: 2px solid #13b8a6; outline-offset: 2px; }
.lg-mlsync:disabled { cursor: default; }
.lg-mlsync.is-starting, .lg-mlsync.is-running { background: #e7f2f0; }
.lg-mlsync.is-starting svg, .lg-mlsync.is-running svg { animation: lg-mlsync-spin 1s linear infinite; }
.lg-mlsync.is-done { background: #0d7b6d; border-color: #0d7b6d; color: #fff; }
.lg-mlsync.is-done:hover { background: #0a6a5e; }
.lg-mlsync.is-wait { color: #6b7a77; border-color: #dfe6e4; background: #f6f9f8; }
.lg-mlsync.is-error { color: #b23b3b; border-color: rgba(214, 69, 69, .4); background: #fdecec; white-space: normal; height: auto; min-height: 32px; padding: 6px 12px; line-height: 1.4; }
@keyframes lg-mlsync-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lg-mlsync svg { animation: none !important; } }
