.hzw-merchant-source-status {
  flex: 0 0 auto;
  max-width: 360px;
  margin-left: auto;
  margin-right: 14px;
  padding: 6px 10px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.96);
  color: #475569;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
}

.hzw-merchant-source-path {
  overflow: hidden;
  color: #334155;
  font-weight: 600;
  text-overflow: ellipsis;
}

.hzw-merchant-source-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.hzw-merchant-source-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.hzw-merchant-source-state {
  color: #15803d;
  font-weight: 600;
}

.hzw-merchant-source-time {
  color: #64748b;
}

.hzw-merchant-source-status.is-modifying {
  border-color: #fdba74;
  background: #fff7ed;
}

.hzw-merchant-source-status.is-modifying .hzw-merchant-source-dot {
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  animation: hzw-merchant-source-pulse 1.2s ease-in-out infinite;
}

.hzw-merchant-source-status.is-modifying .hzw-merchant-source-state {
  color: #c2410c;
}

@keyframes hzw-merchant-source-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 1500px) {
  .hzw-merchant-source-status {
    max-width: 285px;
  }
  .hzw-merchant-source-time {
    display: none;
  }
}

@media (max-width: 1180px) {
  .hzw-merchant-source-status {
    max-width: 210px;
    margin-right: 8px;
    padding: 5px 8px;
  }
  .hzw-merchant-source-meta {
    gap: 5px;
  }
}
