export function resolveDocumentTitle(title: unknown, siteName = "HWLAB Cloud Web"): string {
  const text = typeof title === "string" && title.trim() ? title.trim() : "平台控制台";
  return `${text} - ${siteName}`;
}
