export function withFocusedInputTip(
  label: string,
  focused: boolean,
  tip: string,
): string {
  const base = String(label ?? '').trim()
  const suffix = String(tip ?? '').trim()
  if (!focused || !suffix) return base
  if (!base) return suffix
  return `${base} • ${suffix}`
}
